//////013

Networking and Communication


I have used the I2C protocol in order to design a network of 3 microcontrollers. The bridge sends information to the two nodes of the network and flashes alternatively their two embedded LEDs. The Wire library has been employed and the three boards where physically connected by their SDA (data), SCL (clock) pins. The boards were also sharing the same ground and power. The following code has been uploaded on the boards.

Bridge:

First node:

Second node:

The following video demonstrates the communication. The bridge is also connected with the computer via the serial port. In the current example the user is changing the rate that the LEDs are flashing sequentially.

For the current assignment Fabduino boards have been developed and used (a version designed by FabLab Barcelona). I simplified further and I recreated the board design (.brd) which was trickier than I expected! Below you can find my code and a video that demonstrates it.

The schematic and the boards design can be found :

schematic / board

The images (.png files) ready for milling on the Modela milling machine running the fab modules cam software are illustrated bellow:

The following pictures were taken during the fabrication of the board

The final stuffed board and one without the electronic components soldered is presented below.