14 Networking and Communications

This week, we connected 3 boards together into a network. One was the master (bridge), and the other two were nodes. Their code is identical, but each gets its own name (0, 1, 2) and only one has the ftdi header connecting it to the computer. There are many more advanced, and complicated, ways to do this, but as I'm focusing on my final project, I did this the quickest way - with simple LED boards.

The code flashed fine on the first try, I think for the first time ever. Each board is connected separately to the fabISP and receives the code, while the master board provides power via FTDI. The only odd thing was that the serial monitor returned a gabrled signal for the bridge, as visible in the pic below. The baud rate was fine, and a few classmates had the same issue. They resolved it by modifying the bit delay time into the C code, from 100 to 101 or 102.

 

 

14 Networking from Kate Balug on Vimeo.

Published on   April 30th, 2013