Documentation can be found in the blog for this project and in the final report.
You need the Arduino IDE to flash the software on the corresponding microcontrollers.
The AtomWire+ code for the master can be found in AtomWire_fork/AtomWireMaster
.
- Open
AtomWireMaster.ino
. - Make sure your Arduino Uno is connected
- Choose in
Tools
the Arduino Uno board and the port it is connected to the computer. - Upload the sketch to the board
- Connect the one-wire line to the configured pin(s) in the sketch
- Open the serial terminal to see the number of nodes on every line and any message that might be received
The AtomWire+ code for the slave can be found in AtomWire_fork/AtomWireSlave
.
- You will need a AVR programmer. Put in the AVR Attiny85 into the programmer and plug the the programmer into the USB port of the system.
- Open
AtomWireSlave.ino
. - Follow the steps here to add AVRAttiny85 as a list of components to Arduino IDE.
- Copy the
boards.txt
file and paste it inSketchbook folder > hardware > attiny > avr
- Choose
Tools > Processor > ATtiny85
- Choose
Tools > Clock > 8Mhz "Internal
- Choose
Tools > Programmer > USBTinyISP
- Select
Tools > Burn Bootloader
. This will burn the bootloader to the AVR with configuration in theboards.txt
. - Change the address of the node by modifying
rom[8]
in the sketch. - Press upload to upload the sketch to the ATtiny.
- Remove the IC from the programmer and connect it along with the accompanying circuitry.