Switch ADC to timer 1 because timer 0 was taken. Oops.
Untested current RMS calculation
It's not actually RMS, it's variance. Same general idea.
Fixed annoying warnings about avr/signal.h
mainbox now prints error on 404 or 500 from server
Moved tool address to Makefile
Made errors less noisy
If it can't connect to a tool, it will print an error once, and thenprint another message when it is able to reconnect.
Merge branch 'master' of ssh://roboclub.org/home/svn/tooltron
jeff made changes to model and added migrations
updated boards to include holes.
Added getopt for inputting serial device and CRM server
updated urls page.
added tool authentication system. It works!
working on urls. views not working right
changed model to allow for hex rfid cards
added first attempt to do machine authentication
Added query.c for queries from database web interface
customizing user admin
preformed database migrations to fix null issues
added admin interface.
still trying to fix null
fixed not allowing null for db for dates
fixed issue with models for form validation. Allowed fields to be blankthat should be able to be blank.
added unicode functions to models
fixed a couple errors in the models.py. Then preformed a migration.
Finished defining models. Also added function to create RoboUserinstances. Also modified settings to look for RoboUser as the defaultuser class.
Updated user model
created new app roboclub crm. I will be working on user authentication andthe user model
added south for database migration
initial commit of virtual python enviornment and django project. this shouldcreate a fully reproduceable devolopment enviornment. for info seewww.jeffknupp.com/blog/2012/02/09/starting-a-django-project-the-right-way/
Added flushing before write to rfid reader
And other various fixes and changes, which I don't remember. Changedrfid reading to read every tick, but only try writing if enough tickshave passed.
Changed read util to flush input and wait for reads to complete
Moved timing to time.c, and increased period of rfid polling
initial commit of tooltron boards
Added current sensing to toolbox
Tool stops waiting for access response if id is removed
Added c program for reading from rfid reader on computer
Added tool state TS_DENY, with red LED until card is removed
Fixed timer error correction
Made rfid.c more robust against false negatives
Also changed LED code to be more generally usable, and changed mainboxto grant access to a particular user id instead of randomly choosing
Fixes. It tooltrons at a basic level now.
Added LED blinking, and other fixes
Fixed compile errors; finished converting char -> uint8_t
Revert "Removed superfluous printf in rfid read script"
This reverts commit e66d0e5c23eaaf3db53409d05beb0e1fcdbe1610.
Eradicated use of signed chars in serial d'oh
Changed F_CPU to 8MHz instead of 1MHz
Added LED header, and some rfid debugging
Added serial_flush
Added printing the response timeout, and other fixes
- Fixed using SLAVE_ADDR instead of tool->address- Replaced read_registers with read_input_registers
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
Added RTS_ENABLE to Makefile
Also added UL to end of F_CPU
Fixed U2X1 being set in the wrong control register
Changed register/coil addresses to be 1 indexed
Removed superfluous printf in rfid read script
Deleted accidently commited vim swap file
Fixed problem with high error in serial clock
Made some changes to the tool state machine
Added actual control of tool
Renamed tool_get_user to tool_read_user
Added capability to read/write coils to toolbox
Initial commit of mainbox code.
Added script to read from rfid reader
Moved toolbox code into its own directory
Added ATtiny1634 write to UCSRC in portserial.c
Got rid of annoying warning about usTimerOCRBDelta
Added ability to read input registers
Moved rfid functions into their own file
Initial commit of freemodbus and code by Anson and me