AN ASYNCHRONOUS BUS CIRCUIT OF 3 LEDS

This week I chose to make Neil's asynchronous bus example and continue the development of my final project.

 

HOW TO MAKE ASYNCHRONOUS BUS TALKING LED CIRCUITS

1: MILL AND STUFF NEIL'S HELLO.BUS.45 BOARDS

Mill and stuff the hello.bus.45 bridge and node examples (you need one bridge and as many nodes as you like).

Make a ribbon cable with as many 2x2 IDC headers as you have bridges and nodes

2: PROGRAM THE BOARDS

You need to program each of the boards separately using your FabISP. The bridge circuit can be powered through the FTDI cable, but the node circuit boards need to be powered using a battery connected carefully to the 2x2 headers. Once connected, upload the hello.bus.45.c code to the boards through the makefile and the standard Terminal commands: make -f hello.bus.45.make and make -f hello.bus.45.make program-usbtiny




4: CONNECT THE BOARDS TOGETHER AND TALK TO THEM THROUGH THE TERMINAL

  • Connect your the bridge and nodes together using the ribbon cable to the 2x2 headers and the bridge to the USB port using the FTDI cable
  • Open up Terminal and use the screen function to send commands to the bridge
    • Find the USB port name using: ls /dev/tty.usb*\
    • Find the baud rate - this is the data transmission speed and related to the serial data standard used in the circuit (quoted on the top of Neil's code - 9600 in this case)
    • Open a screen function to send data to your USB port at the speed you need and the circuits: screen /dev/tty.usbserial-FTD09QXM 9600