Week Fifteen

Networking and Communications

Assignment

The assignment this week is to design and build a wired or wireless network connecting at least two processors. I choseto to my use Control board for my final project and have a node that the control board would communicate to, that node would then have control of a servo
This is a board i did not use in the final project.

schematic
board


I had tryed to program the control board but the programming did not take and i needed to go over it to see whats wrong with it since its a mashup of two boards. i went over the board to see what the problem was and i did not have a multimeter at home to go over it better.
Needed to fix my board the power was going to the wrong pin so I needed to solder togeather ground to ground on the pins, then magic smoke appered becouse i put the restrictor the wrong way round .
The Fix was, Ripping up the path of where the regulator was going so that i could solder some wires to reut the power the right way otherwise i would be sending 6v to the microcontroler and 5v to the servos.

Board functions

The board is now connected up to the NERF node and will be giving it commands based on the input form the IR sensors.
How it does that is that the Command board is the master and the node '4' is the slave board and the command board is listening and waiting for signals form the IR sensors then it tells the node what to do
based on the signal its getting form them and how to react, while the Nodes perpose is to listen to the Command board and wait for instructions and act acordingly to them waiting for its id '4' and the command 'A' for activating the motors.

Boards and programming

The programming codes for the Commandboard wich can all be found in week 19 where the magic happens

What the board does

This board is a asyncronus serial communication and uses a RS-232 Electrical Specifications and a Typical Connection
wich is in the orginal example code from Neil and the princible and function is explained on the site, but in simple terms ther is a master board and a slave board an the master board
communicates to the slave board or multible slaves on a single serial line and the slaves listen to their id on the line otherwise they do nothing, unless instructed to do so.

home
Back to Top