6. As my Nodes 1 and 2 do not have FTDI pins for receiving voltage from my computer,
I looked for a Battery. As I could not find one in the lab, I connected
the GND and VCC pins of my Nodes to its respective GND and VCC in an
Arduino UNO and connected it to my computer
7. I repeated the CONNECTING THE BOARDS and CHARGING PROGRAM (above) sections when charging the programs of the Node 1 and Node 2.
8. I added a new end (in the middle) to my Multicoulour cable. I followed ththe CONNECTING THE BOARDS section and connected the Bridge, and the Nodes using the correspondance rule.
9. Open Arduino IDE
10. I clicked on Tools -> Port -> COM6 (my case)
11. I clicked on Tools -> Serial Monitor
12. I made sure that the baud rate is 9600; otherwise, you will get random letters, numbers and symbols.
13. I picked '0', '1' and '2' numbers and clicked Send.
14.
If my Bridge, Node 1 and Node 2 light up when I picked '0', '1' and '2'
numbers, it means that my Bridge and my Nodes are working....and they are!
14.
Here, is the video that proves that my Networking system works.
HOW NETWORKING WORKS? (PROTOCOL, WHAT I LEARNED)
From Neil's class
-Small processors (boards) do small tasks better and faster
- When the host transmits, everybody can listen to it, but respondingNOT (we have a porblem)
- Remember each of the pins can be high, low or disconnected
- I learned that in a NODE, Rx and Tx pins usually go this way:
1st pin = Rx
2nd pin = Tx
-
Normally if one wants to return information, one should change pins;
howeve, what Neil does, is to alternate the transmission and reception
order using the C program