| Branch: | Revision:

root / toolbox @ 36f3b65f

# Date Author Comment
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