NETWORKING AND COMMUNICATIONS

For this assignment we have to create a wired or wireless network at least 2 nodes. For this it is necessary a FabISP a flat cable, FTDI, micro-usb USB cable. I used hello.bus.45 with some modifications to make a tone with the flash of the led. Finally, I had a lot of problems so I decided to use the original design of hello.bus.45 for bridge and nodes adding a label to each one.
The importance of this assignment is because they are an example of the fundamentals of internet of things.

COMPONENTS
The components are:
Bridge
1x Attiny45
1x 1K ohms SMD resistor
1x 499 ohms SMD resistor
1x LED smd
1x 1uF Cap
1x 2x2 Pin Header
1x 2x3 Pin Header
1x 1x6 Pin header
Nodes
1x Attiny45
1x 1K ohms SMD resistor
1x 499 ohms SMD resistor
1x LED smd
1x 1uF Cap
1x 2x2 Pin Header
1x 2x3 Pin Header
You must remember that at least two nodes should be performed, and bridge. To do this you must download the node from here and the bridge here. To introduce a label, I have used Photoshop.

- Nodes:

- Bridge:

First you must program the "bridge" for that you connect your FABISP and FTDI Cable to your bridge, remember that it is the FABISP who records the data on the plate while the FTDI cable is used as a transmitter of data to the computer and as a power supply . For this you need the following file: C

Then we modify this file C in the following point syntax:
#define node_id ‘0’
For each of boards you should change that line, finally being:
Bridge: 0 #define node_id ‘0’
Node1: 1 #define node_id ‘1’
Node2: 2 #define node_id ‘2’

After you've downloaded the file, you should open a console, put yourself as ROOT, find the downloaded file and do:
sudo make -f program-usbtiny hello.bus.45.make

After burning the bridge, we must change the C file and change the 0 to 1 and proceed to burn node 1. To burn node1 and node2 must keep the bridge connected with the FTDI cable to connect your FABISP node1 this It is because it is the bridge which provides power to the node.

Here you can see a video with the final result: