3rd year group project. Electronic and Electrical Engineering. Heriot-Watt University. This is the code for the mbed for the Automatic Little Object Organiser (ALOO).

Dependencies:   MCP23017 TCS3472_I2C WattBob_TextLCD mbed

Changes

RevisionDateWhoCommit message
32:9a4046224b11 2015-12-17 dreamselec Comments and clean up. default tip
31:16e056b9f9e0 2015-12-03 dreamselec Fixed different colour detection algorithm. Detects all colours correctly.; Final code used for exhibition.
30:c0bc92d009fe 2015-12-01 dreamselec All functions appear to be ... functioning. Need to test set new haz block mode with hardware.
29:9c0339e3c593 2015-12-01 dreamselec Set new haz block mode should work.
28:7e4d29977d72 2015-12-01 dreamselec Intialization sequence optimised, it will also sync with PC's current state.
27:2cb1bdb7ae3d 2015-12-01 dreamselec Adding set new haz block mode, not completed.
26:bbcc25418ffa 2015-11-30 dreamselec Small changes in program so it doesn't get stuck and PC receives correct commands. Also commented out hard-coded red values. currently use a buffer error variables which can be set to anything.
25:792540d69c49 2015-11-30 dreamselec Colour sensor test mode, new commands for servo to toggle. Needs to be tested with hardware.
24:02c61793f90b 2015-11-29 dreamselec Both break-beam and servo test modes working.
23:db91aaa43a9e 2015-11-28 dreamselec Added break beam test mode, also values and status of tests are now synced with PC.
22:993821a4c396 2015-11-26 dreamselec Taking 3 colour values and averaging it to determine the colour of the block.
21:60c4fe94d79c 2015-11-25 dreamselec Optimised the code so, bottom servo is fast enough to sort the blocks. Code starts moving the servo after it detects block, checks the colour, then the size, if size and colour don't match then it moves the servo back to non haz.
20:4e0f0944f28f 2015-11-24 dreamselec Hardcoded red small block values. Testing with hardware was working.
19:61b21ac4896e 2015-11-24 dreamselec Modes testing working. Need to work on setting new has block similar to other program. Added tags.
18:44a1c1a30166 2015-11-24 dreamselec Implemented new algorithm, now supports different modes on PC.
17:af373246bf80 2015-11-23 dreamselec Added tags for parsing on PC. Added more commands.
16:4a41cb9e525f 2015-11-22 dreamselec Fixed error mentioned in previous commit, command parsing shows positive results. Initialisation working fine when opening port from PC.
15:777390eb5afd 2015-11-22 dreamselec For some reason cannot assign Commander's command and commandValue properties, to received string. The execution stop not that statement. Noticed using print statements.
14:cf2f255b5560 2015-11-22 dreamselec Changed sorting algorithm for colour sensor next to top beam.
13:4f24da6e2f8e 2015-11-21 dreamselec Building without errors.
12:f485796016f8 2015-11-21 dreamselec Improved command parsing. Now supports multiple commands.
11:0fe833f8a1ab 2015-11-21 dreamselec Testing with hardware, working fine. Implemented servo test mode. Need to change sorting algorithm because now we're reading colour right after top beam break, and size after that.
10:16ba52f8e025 2015-11-18 dreamselec Fine tuneing with the hardware. Logic seems fine. Need to fill in all command functions.
9:dc8f155b71c8 2015-11-16 dreamselec Testing of command parsing successful. Implementing ability to declare new has block.
8:e1da2ae62885 2015-11-16 dreamselec Ready for PC command parsing testing. Currently only prints command to PC.
7:b6e31bfdb2af 2015-11-16 dreamselec Program building with online compiler.
6:98fe30430194 2015-11-16 dreamselec Started using class-object structure instead of structs. More control.
5:6ef2d954fca3 2015-11-16 lordlycastle Test for updating from local.
4:4eebb4de22a7 2015-11-16 dreamselec Published
3:843b830ee8bd 2015-11-11 dreamselec The MBED program is supposed to work both when connected to PC, and on it's own. So making use of Serial (UART) interrupts, to listen for incoming commands when PC is connected. Currently only mbed control works, no commands are sent to PC, or FPGA
2:7a55cb10259f 2015-10-30 dreamselec Added globals class which keeps track of global variables.; Added commander class which is to work together will command controller class from Swift. ; Test show some what parsing capabilities, needs a lot of work to be be fail proof.
1:92a2a5ef65a8 2015-10-29 dreamselec Initial commit imported required libs.
0:fe5cb0a8fc5a 2015-10-18 dreamselec Fully featured colour sensor config program.