Fifteenth Assignment:

Contents:

  1. Bridge and Node boards
  2. Programming Boards
  3. Selft evaluation
  4. File download

Requirement:

  1. Eagle software.
  2. Milling machine.
  3. Electronics components.
  4. Welding station.
  5. AVR Programmer.

For this assignment I had to design and build a wired &/or wireless network connecting at least two processors

I decided to make fab academy exmaple: asynchronous communication

Bridge and Node boards

Bridge Node: It will be the connection between PC program and rest of boards (nodes).

Also, Bridge board has a special confguration that I show you after.

And like before assignments that are about Electronics boards (Input device, Output device, etc), is necessary to use a milling machine to make those boards (Bridge and Node)

As assignments before, is necessary to download Fab academy files like:

- hello.bus.45.bridge




These are the parameters of the ROLAND MODELA MDX-20 for the PCB master

- hello.bus.45.node




These are the parameters of the ROLAND MODELA MDX-20 for the PCB slave

In my case I use 2 node boards

Programming Boards

To Program those Boards( Bridge and nodes), is necessary to download allow Fab Academy files:

  1. hello.bus.45.c (on this file is necessary con change node_ID)
  2. hello.bus.45.make
  3. term.py

IMPORTANT

  1. Allways bridge board has to be program with number "0"
  2. Node boards have to be differents node_ID, because it will be like a "bard's name"
  3. On term.py comand is necessary to put a communication velocity

Comands are next:

- sudo make -f hello.bus.45.make program-usbtiny (using FabISP)

- python hello.temp.45.py /dev/ttyUSB0 9600




Self evaluation

  1. What worked:
    • I designed, and programed my master-slave board with success

  2. What did not work:
    • All was ok

  3. Things to improve:
    • I like to test others industrial communications like Modbus

File download