Statistics
| Branch: | Revision:

root / toolbox @ master

# Date Author Comment
e2a3c71f 10/18/2014 03:27 pm Thomas Mullins

Added shutoff when current is sensed when enabling tool

Also made a number of fixes to current sensing, which was quite broken.

2f795968 02/13/2014 03:39 pm Thomas Mullins

Fixed card removal detection

Also switched from using seek command to select command with the reader.
Select returns a result immediately, rather than seek which first
returns an "in progress" error then later returns the card (as far as I
can tell).

6fbe093f 02/12/2014 10:39 pm Thomas Mullins

Implemented code for new RFID readers

It's not fully working yet. When the checksum is enabled, it ignores all
responses. Also, it no longer recognizes a missing card.

36f3b65f 03/24/2013 04:18 pm Thomas Mullins

Removed rfid_restart flag

This way the AVR will always repoll the rfid reader after the timeout,
so hopefully it will never hang. Who knows?

f15d9227 03/24/2013 03:29 pm Thomas Mullins

Adding program_tool script so we remember how to set tool id

e8960789 02/28/2013 09:32 pm Thomas Mullins

Fixed another overflow bug and removed isqrt

db11713d 02/27/2013 08:38 pm Thomas Mullins

Fixed timing in current sensing

The ADC interrupt didn't clear the TIFR timer interrupt flag, which
means the ADC wasn't triggered again on the next compare match.

975af07c 02/18/2013 12:05 am Thomas Mullins

Fixed overflow in current calculation

f4df665c 02/10/2013 03:20 pm Thomas Mullins

Switch ADC to timer 1 because timer 0 was taken. Oops.

cbda92cc 02/09/2013 10:40 pm Thomas Mullins

Untested current RMS calculation

It's not actually RMS, it's variance. Same general idea.

036b4f9a 02/03/2013 04:25 pm Thomas Mullins

Fixed annoying warnings about avr/signal.h

a96c5547 01/27/2013 09:10 pm Thomas Mullins

Moved tool address to Makefile

bbf2f5ad 12/13/2012 04:04 pm Thomas Mullins

Added flushing before write to rfid reader

And other various fixes and changes, which I don't remember. Changed
rfid reading to read every tick, but only try writing if enough ticks
have passed.

94548bf4 12/12/2012 07:29 pm Thomas Mullins

Moved timing to time.c, and increased period of rfid polling

10936c07 12/11/2012 03:39 pm Thomas Mullins

Added current sensing to toolbox

4b7d087b 12/03/2012 04:18 pm Thomas Mullins

Tool stops waiting for access response if id is removed

f5d1f56a 12/03/2012 12:08 am Thomas Mullins

Added tool state TS_DENY, with red LED until card is removed

215b2fa6 12/03/2012 12:02 am Thomas Mullins

Fixed timer error correction

1085ef77 12/02/2012 05:11 pm Thomas Mullins

Made rfid.c more robust against false negatives

Also changed LED code to be more generally usable, and changed mainbox
to grant access to a particular user id instead of randomly choosing

1b054655 12/01/2012 05:59 pm Thomas Mullins

Fixes. It tooltrons at a basic level now.

dc472500 11/28/2012 09:31 pm Thomas Mullins

Added LED blinking, and other fixes

e1d61b43 11/28/2012 04:19 pm Thomas Mullins

Fixed compile errors; finished converting char -> uint8_t

6ca98a3f 11/27/2012 05:59 pm Thomas Mullins

Eradicated use of signed chars in serial d'oh

92a430bc 11/21/2012 01:52 am Thomas Mullins

Changed F_CPU to 8MHz instead of 1MHz

532ba0bd 11/21/2012 01:52 am Thomas Mullins

Added LED header, and some rfid debugging

89915eeb 11/18/2012 07:35 pm Thomas Mullins

Added serial_flush

76915f20 11/17/2012 09:52 pm Thomas Mullins

Various fixes to tool main.c

- Input register callback no longer copies current_user to reg_buf
prematurely, and then write the uninitialized serno into reg_buf (?!)
- tool_disable was missing a ~
- Updated coil read/write to use new 1 indexed addresses

e80ba701 11/17/2012 09:50 pm Thomas Mullins

Added RTS_ENABLE to Makefile

Also added UL to end of F_CPU

a7a56246 11/17/2012 09:50 pm Thomas Mullins

Fixed U2X1 being set in the wrong control register

4e6334de 11/17/2012 08:49 pm Thomas Mullins

Deleted accidently commited vim swap file

07718da3 11/17/2012 08:48 pm Thomas Mullins

Fixed problem with high error in serial clock

e53aa5c5 11/15/2012 12:38 am Thomas Mullins

Made some changes to the tool state machine

12ea39cc 11/14/2012 09:50 pm Thomas Mullins

Added actual control of tool

208a6fb2 11/13/2012 08:23 pm Thomas Mullins

Added capability to read/write coils to toolbox

ae250f1a 11/12/2012 01:51 pm Thomas Mullins

Moved toolbox code into its own directory