Networking and Communications

1. Group Assignment

Send a message between two projects

1.1Send a message between two projects

For this assigment we used Carlos and my board to communicate. Using Software Serial we will sending signal through a button push. Code for this next:


Code for this next:

Button board code:


LED board code:


We set the Arduino IDE parameters for using it as a programmer. This parameters are for a Attin44 microcontroller:


Now the parameters for a Attiny45 microcontroller:


Once burned, we test it. We are using a Arduino One board to power it:

It works!

Downloads code

It works!

2. Individual Assignment

Design, build, and connect wired or wireless node(s) with network or bus addressese

2.1 Serial Bus

Data transmission refers to the process of transferring data between two or more digital devices. Data is transmitted from one device to another in analog or digital format. Basically, data transmission enables devices or components within devices to speak to each other

Data is transferred in the form of bits between two or more digital devices. There are two methods used to transmit data between digital devices: serial transmission and parallel transmission.

When data is sent or received using serial data transmission, the data bits are organized in a specific order, since they can only be sent one after another. The order of the data bits is important as it dictates how the transmission is organized when it is received. It is viewed as a reliable data transmission method because a data bit is only sent if the previous data bit has already been received.(More about it)

  • parallel transmission
  • When data is sent using parallel data transmission, multiple data bits are transmitted over multiple channels at the same time. This means that data can be sent much faster than using serial transmission methods.


  • Asynchronous Serial Transmission
  • Data bits can be sent at any point in time. Stop bits and start bits are used between data bytes to synchronize the transmitter and receiver and to ensure that the data is transmitted correctly. The time between sending and receiving data bits is not constant, so gaps are used to provide time between transmissions.

  • Synchronous Serial Transmission
  • Data bits are transmitted as a continuous stream in time with a master clock. The data transmitter and receiver both operate using a synchronized clock frequency; therefore, start bits, stop bits, and gaps are not used. This means that data moves faster and timing errors are less frequent because the transmitter and receiver time is synced. However, data accuracy is highly dependent on timing being synced correctly between devices. In comparison with asynchronous serial transmission, this method is usually more expensive.


    2.1.1 Making PCB Boards

    FFor the assignment this week, I used the schemes provided by the FabAcademy..( click here). For this example, three PCB bords have to be manufactured. A bords that will be called BRIDGE and two other bords NODES. The BRIDGE bords; it serves as a union between the interface (through the FTDI) and the NODES. The BRIDGE and the NODES will communicate through the asynchronous serial bus.


    The scheme of the BRIDGE and NODES boards


    The traces and the interior of the BRIDGE board.


    The traces and the interior of the NODE boards.


    BRIDGE and finished NODES boards:


    2.1.2 Programming Bords

    For the programming of boards it is necessary to download the file "hello.bus.45.c" and "makefile", provided by the FabAcademy.

    For the BRIDGE board we must name it with a name (hello.bus.45.ID0) and node ID number (ID 0). Also the file make file contain the designated name:


    For the NODE 1 board we must name it with a name (hello.bus.45.ID1) and node ID number (ID 1). Also the file make file contain the designated name:


    For the NODE 2 board we must name it with a name (hello.bus.45.ID2) and node ID number (ID 2). Also the file make file contain the designated name:


    It is recommended to save both files in folders named BRIGDE and NODES.


    To program the boards, it is necessary to use a programmer type "ISPTiny".

               $ sudo make program-usbtiny (Your programmer)
    2.1.3 Results

    To verify serial communication. I used the FTDI controller interface. This connects the BRIDGE and NODES cards with the PC; to observe the changes, a python file ( is used.

               $ sudo python /dev/cu.usbserial-FTFOYQZS 9600 


    • I probe with a output device.
    • I verified the connection characteristics of output device.
    • I used an interface, where I could see through the computer how these motor act.
    • I could not try other types of output device. Because we did not have available in the lap or why they need to make another electronic bord.
    • Control my time.
    • Learn more about the operation of other types of output device. That will be useful for my final project.

    If you want to review the previous topics, click on the following icons.

    WEEK 11 WEEK 13

    Contact Me

    Feel free to contact me via email or phone.


    Ate - Lima, PerĂº

    Phone Number

    +51 945 065 478