Networking and communications

Page 1

FAB ACADEMY 2012 FĂŠlix Libio

Networking and Communications


bridge

node


Milling and Soldering


OPEN DE FAB MODULES/FAB/ ROLAND MODELA


LOAD THE IMAGEN Diameter 0.4/number de pass 2



bridge

node


Programming


The programming follows a sequence, first the bridge, then the nodes. You must download files from here: Archivo Make Archivo C

Then I programmed the boards using the terminal, first the bridge using the c file "hello.bus.45.c" and the make file "hello.bus.45.make". The commands for programming all the boards are: sudo make -f hello.bus.45.make program-usbtiny, for making the hex file, and sudo avrdude -p t45 -P usb -c usbtiny -U flash:w:hello.bus.45.c.hex, for flashing the microcontroller


1. 2. 3. 4. 5. 6. 7. 8. 9.

Plug your bridge into your computer (with the nodes attaches). Connect the nodes with a cable as shown in the picture. Open a Arduino IDE Open the serial monitor from the "Tools" menu > serial monitor Make sure the baud rate is set to 9600. Enter number of a note (pick a number) into serial monitor - press the key or the "send" button on the serial monitor. The LEDs on all the boards should light up once. After all the boards light up, the board with the number you entered into the serial monitor should light up again. The node name (ex: node 1) should also be displayed on the serial monitor.



Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.