Networking and Communications. Let's Connect some boards.

Assignment

Design and build a wired and/or wireless network connecting at least two processors

This week we had to make massive production of PCB board to make a wired network connection. Since my final project doesn't have any components that interact together, I decided to make The HELLO BOARD BUS 45 with some serial communication.

--Serial communication is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. This is in contrast to parallel communication, where several bits are sent as a whole, on a link with several parallel channels. The protocol used was RS-232 which is a standard for serial communication transmission of data More information--

For making this possible we have to make a bridge board (image at the left) and 2 node boards (image at the right)


Now the massive production begins. For this you need the following items (one for each board):

  • (1) 3x ATtiny45
  • (2) 3x 1kΩ resistors TIP: identify in component as 1001
  • (3) 3x 10kΩ resistors TIP: identify in component as 1002
  • (4) 1x 6 pin header (Just for the bridge board)
  • (5) 3x green LED
  • (6) 3x 1uF capacitor
  • (7) 3x 2x3 pin header
  • (8) 3x 2x2 pin header


First try making massive PCB's and 45 minutes Later:

Massive Production of PCB's from Norella Coronell on Vimeo.


Final Results on massive production.(image above)


NOW THE PROGRAMMING BEGINS: this tutorial Hello Serial was the one I took as a reference. But the boards didn’t work, the programming failed so I did a redesign of the board thinking that maybe something went wrong (later on the problem was that the batch of attinys was damaged).


In the image above you can see the new designs and batch of board that I had to re-do.


PROGRAMMING AGAIN: understand how a networking works. The programming was done in Arduino using the ATtinyCore library, the same one we used in Assignment 8: Embedded Programming


In the images above you can see the progress on programming the board.


Making communication with one board at a time and finally we make communication with the board, this step is repeated 2 more times since we have to make communication between the 3 boards. Always make sure you differ between boards by the ID defined by the node-id value at the beginning go the code..


Download Files here:
Hello_board and Mynet Board