Home
Assignments
About me
Final project
WEEK 15 - NEXTWORKING AND COMMUNICATIONS

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.

Board design

I did the design of the slave board with the Eagle program.

FABDUINO SCHEMATIC DESIGN
Programming
Communication code

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).

The boards are connected to the PC through a FTDI cable; the board to board are connected through an arc iris cable, this will allow communication entering numbers 1 or 2 into the "serial monitor" of "IDE ARDUINO".

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.

Testing Program

To display the operation of the network I used the ARDUINO serial monitor.

Click here to download the files

Click here to download the board files