This week, I built the network of bus boards. I downloaded the C file and Makefile from the Fab Academy website and built and programmed my boards. Made my boards with red and green LEDs. The bus network was setup and worked well as you can see in my video. I opened the Arduino IDE serial monitor to send 0's, 1's and 2's, and got the proper response from each node. It is demonstrated here in the video.

Video

Next, I tried to do something more with the project. I linked one of my input boards with a button and led to the network of boards and wrote code to send characters from the input board to the bus boards to make them flash instead of putting characters in through the serial monitor in the Arduino IDE. I changed the program to send the character out over the MOSI pin, which was also connected to the led. The led came on when it was supposed to but the light was very dim. I also realized that I had not set up a way for the node to respond back or do anything. I will continue working on this in future weeks to develop this new iteration of the networking project. I have a video demonstrating this. When the button is pressed the light comes on. When not pressed, the button board will send a 0 character to the network of bus boards in 2 second increments.

Link to reprogrammed LED-Button code

Link to reprogrammed hello.bus code

Second Video

Back Home