Part 1 Experimenters Guide For Arduino 2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Experimenter's guide for Arduino

By: Brayden Dostal


Circuit 1A: BLINKING AN LED
The purpose of this circuit is
to make a light blink every two
seconds.
Challenge Circuit 1A: Morse Code

The purpose of my circuit is to display the


message “Hello” through the blinking of lights.
The lights display the 5 letters by using morse
code with a 2 second delay between each
blink. A dash is representing by a 300
millisecond delay and a dot is a 100
millisecond delay.
Circuit 1B: Potentiometer
The purpose of the potentiometer is to change the rate
at which the led blinks based on how far the
potentiometer is turned.
Challenge Circuit 1B: 2 lights and changing the
range
I had to attach another light the same way I attached
the first and changed the code to increase the range of
the potentiometer.
Circuit 1C:
Photoresistor The purpose of the photoresistor is to turn a light off
when the light level is low enough. It does this by
using an if else statements to determine if the light
level is above or below threshold
Challenge Circuit 1C:
Photoresistor flash below light level To make the photo resistor blink when I put my hand
over the light, I have to alter the if statement and make
it loop in the pattern that I want it to. This is when the
photoresistor level is below the threshold.
Circuit 1D:
Night Light
The Purpose of this circuit is to turn on the RGB LED
Night Light when the light level in the room is low. The
potentiometer also has the ability to change the light’s
color by using if statements to determine the
potentiometer value and choose a color based on that.

You might also like