Tinker Cad Circuits
This circuit made with Tinkercad was created with the purpose of allowing the ability for different outputs to change the inputs present. The Potentiometer allows for a knob to be turned changing the signals being sent out by the output. The Arduino board then recognizes these signals to send out to the 3 different inputs of LED colors. The challenge in the environment to where this circuit would be used is an Escape Room. The circuit would be changed by the knob and you will need to see the sequence of LED lighting up in order to get to the next step.
Supplies
Arduino Uno Board
Breadboard
Potentiometer
Resistors
LED
Wires
The Build
Supplies are above:
Step 1: 5V wire to Positive, GND to Negative.
Step 2: LED's: Blue-J5/6, Red-J7/8, Yellow-J9/10
Step 3: Resistors: F6 to D6, F8 to D8, F10 to D10
Step 4: Potentiometer: E26 to E28
Step 5: Wires: F5 to Negative, F7 to Negative, F9 to Negative, ~11 to A6 , ~10 to A8, ~9 to A10, A26 to Negative, A19 to Positive, A27 to A0
The Code
Look at the image above. As you can see an Arduino Uno needs a set of code in order to interpret and create the response you want from the input you give it. The image is attached with notes on every line of code. Take a look and try to understand how each line fits into the bigger picture.
The Result
Above is the video of the Arduino Uno. Look for the sequence of LED's. Now in the Escape Room use that sequence to continue to the next puzzle.