Design and build a wired or wireless network connecting at least two processors.
For me this assignment has been very difficult. With the help of tutorials I had learn to communicate the Fabduino with the Arduino.
The assignment was divided into two parts:
1.- To design two boards to handle Attiny44 LED strips (to communicate through I2C protocol, between two microcontrollers).
2.- To modify the program to control some elements connected to the nodes.
I did the design of the slave board with the Eagle program.
I used the ARDUINO IDE programming for our boards that will work as a slave, which consists of a serial communication between the Attiny44 (receive and send Bytes asynchronous serial).
1. I used the library Software-Serial declare that I'm going to send and receive data of them pin 0 and 1 of the Attiny44.
2. Then declare that "data" and "id" will make letters in ASCII.
3. In the Void setup, I declare the bit rate used for communication and the pins that I will use for my LEDs.
4. In the Void loop, I put the codes so that the integrated read data and write them in the 8 pin.
To display the operation of the network I used the ARDUINO serial monitor.