Introduction: Lab 3
This lab utilizes three arduino microcontrollers that has a potentiometer and two led lights that are all using one breadboard and have each output and input connected to a different microcontroller. The potentiometer adjusts the brightness of both led lights.
Step 1: Step 1: Connect 3 Microcontrollers.
1) Get three microcontrollers
2)Connect a GND jumper wire to each microcontroller as shown and place two led lights on the breadboard.
Step 2: Step 2: Set Up Led Lights
1)Connect a 220 resistor to both led lights
2) Attach a jumper wire from each led light to the negative power rail as shown
3)From the resistor that is with the green led attach a jumper wire to port 10 on one microcontroller
4)From the resistor that is with the blue led attach a jumper wire to port 10 on a different microcontroller
Step 3: Step:3 Set Up Potentiometer
1)Attach one potentiometer to the breadboard
2)Attach a jumper wire to the same row on the potentiometer to the left and connect it to the 5V port on a microcontroller different from the ones utlizing the leds.
3)Attach a jumper wire in the same row as the middle and the other end to the A1 port.
4)Attach a jumper wire in the same row as the right and other end to the negative power rail.
Step 4: Step 4: Code and Final Wires
1) Connect a jumper wire to the negative power rail that is in the same column as the other jumper wires connected to it and the other end to the microcontroller using the potentiometer.
2)Connect or splice a jumper wire to have it connect to all three A5 ports on each microcontroller.
3)Connect or splice a jumper wire to have it connect to all three A4 ports on each microcontroller.
4)Finally upload the master and slave codes