BRITOV DENIS

Status:

COMPLEATED

 

Week 13: networking and communications

This week assignmet is to create a wired network connecting at least two processors. I choose to create a simple asynchronous bridge and 2 nodes.

 

I used png files from: http://academy.cba.mit.edu/classes/networking_communications/

 

Bridge:

Nodes:

Here is all necessery components:

 

My soldered boards looks like:

It`s time to program them. .c and .make files you can find in the same page as pngs.

First board should be programmed with line: #define node_id '0' in .c file

Second: #define node_id '1'

Third: #define node_id '2'

 

To program them use:

sudo make -f hello.bus.45.make program-usbtiny

 

Boards are ready, time to check. I use Arduino Serial Monitor.

Baud rate is set to 9600.

Just enter necessery number and that board blink twice, all other once.

Here is a video: