The MBED firmware used on the Chipin sorter, developed over 12 weeks for a 3rd year university systems project. Chipin is a token sorter, it sorts tokens by colours and dispenses them to order through an online booking system and card reader. This program interfaces with an FPGA, PC and LCD screen to control the sorter. The sorter has an operation mode where it can process orders when a card is entered into the machine. There is also a maintenance mode where the device responds to maintenance instructions such as 'dispense all'. More information at http://www.ionsystems.uk/

Dependencies:   MCP23017 TCS3472_I2C WattBob_TextLCD mbed-rtos mbed

Revisions of main.cpp

Revision Date Message Actions
17:6a0bb0ad5bb4 2014-11-24 fixed some bugs, great comment i know File  Diff  Annotate
16:498359d078dc 2014-11-23 Storage mode now increments all stored values by 2 on button 2 press, rather than set all values to 2. File  Diff  Annotate
15:0c5f20e15b6a 2014-11-21 card object created and database object created for testing language emun created File  Diff  Annotate
14:31ba3e56c788 2014-11-20 Euan broke dispense mode File  Diff  Annotate
13:0661d658d9d1 2014-11-20 Maintenance mode added, still need to do the printouts to the lcd. File  Diff  Annotate
12:814a8fdbb6f7 2014-11-17 dispense and sort working well, also stored correct chip values File  Diff  Annotate
11:06f6e82b40a8 2014-11-13 Changed colour values for blue bottom plate File  Diff  Annotate
10:8c0696b99692 2014-11-12 works with serial and buttons, ready for demo tomorrow 13-11-14 File  Diff  Annotate
9:8d78eb55ad5e 2014-11-10 red dispenser currently controlled by button 2 on MBED for testing File  Diff  Annotate
8:b7771391adc9 2014-11-10 added red dispense test File  Diff  Annotate
7:6ba00694f9cd 2014-11-10 Started state machine File  Diff  Annotate
6:e64796f1f384 2014-11-07 Recovered from the attack of Euan File  Diff  Annotate
5:644bca33c1ca 2014-11-06 This is what is left after Euan took over. The binary file has been halfed i.e most of the code I made has been removed. File  Diff  Annotate
4:f3be545b3826 2014-11-05 Added read/write to file File  Diff  Annotate
3:97668a4cd69d 2014-11-04 Integrated card reader and colour sensor. Serial communication currently disabled. File  Diff  Annotate
2:168850019d5a 2014-10-29 More commenting and cases added File  Diff  Annotate
1:a8a01df48d1a 2014-10-29 Added more comments and another case for startDispense control line pulse. File  Diff  Annotate
0:8d54ffcf256e 2014-10-29 Added comments File  Diff  Annotate