Posts

Showing posts from February, 2019

Full - Scale Wayside (01/28/2019 - 02/27/2019)

Image
Team + Individual (Tynan) Blog (Up until 02/27/2019) Programming:  ATtiny841 ATtiny841 is configured and accepting code from master. (Not through UART but ISP). Explanation of the code can be seen in the flow chart on the ride hand side of the above schematic ("1st Attempt"). Each controller will have to be programmed an a value (controller #1, #2, ... , #n) in EEPROM using EEPROM.write ( EEPROM_ARDUINO ). EEPROM is essentially an extra hard drive with limited space. Things stored in here will remain when the chip is shut off. Using Serial Communications, (Sent in Binary with serial.write( SERIAL_ARDUINIO )) the master can send a value to a specific chip telling it to turn on, read its supercapacitors voltage, send it back to the master and finally turn back off. This method ensures minimum current draw from cells and eliminates the need for a voltage divider (which is constantly drawing power). The slaves are isolated from the master by a device called optoisolat