Uh Oh It Go BOOM!
I am Captain Douglas Adams of the Andromeda Class Starship Heart of Stainless Steel. It is a single person craft. My exploration mission to M97 was delayed when a meteor shower caused the ship to crash. After I woke up from the crash, I managed to salvage a few Arduino Controllers and connect the I2C bus together to start repairing the ship. This mission was just me. It is very dark. I cannot even see the control boards around the ship. My repairs started when I went below deck to fix the computer and controllers for the ship. I still need to get to the back of the ship. You can see off to the middle left of the front of the ship.
As you can see in the video log. The I2C bus is working. I am counting to 6. Devices are 1 to 5 left to right. As the loop cycles, pin 13 LED turns on for each device. When it reaches 6, all 5 LEDs turn on.
The I2C bus connections are as follows
Ground: Green: I connected both – bars on the bread board with a green cross over wire. All I2C devices will need a common ground to work.
I2C uses SDA and SCL connections.
SDA: Serial Data: Data moves here
SCL: Serial Clock: Clock sync here
SDA : pin 20
SCL: pin 21
Arduino Uno and Hero
SDA: pin A4
SCL: pin A5
The Arduino devices have 9V-1A power supplies to the reactor. I have two of the UNO devices rigged up on battery power till I find the power supplies to the reactor.
The next project is creating the power and ground buses to the other control boards. I also need to fix the two front LEDs.
I configured the I2C bus so all 5 devices were connected to it. LED 13 blinks from left to right 1 to 5. On 6, all 5 devices have LED 13 light up. I put the bread boards in a row above the 5 Arduino devices and connected the ground, SDA and SCL writes in a bus.
Links to the code below: