Uh Oh It Go BOOM!

Stardate 98775.14

I am Captain Douglas Adams of the Andromeda Class Starship Heart of Stainless Steel.  I was on an exploration mission to M97, when a meteor shower caused the ship to crash.   I managed to salvage a few Arduino Controllers and connect the I2C bus together to start repairing the ship.   I am all alone.  It is very dark.  I can’t even see the control boards around the ship.   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 the front of the ship.  

As you can see in the video log.  The I 2C 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.

Video Log of I2C Bus Working

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

Mega 2560:
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: