lesson 4 "" Flashcards
RGB leds and arduinos
what is an arduino made up of
ATmega
USB (universal serial bus) port
12 V charging point
several input- and output pins
The ATmega chip is where …
The pins are used to …
code is stored and calculations are made
control devices such as lights, alarms and motors.
go to page 2 and 3 to study the parts of an arduino
Vin
GND
5 V
3.3 V
RESET
IOREF
> used to get voltage power from our external power supply.
ground pins to connect to negative rails
supplies 5 Volts to a separate device or circuit
supplies 3.3 Volts to a separate device or circuit.
can reset the Arduino when it is polled.
provides a reference for external communication.
An RGB LED is the …
combination of three LEDs (red (R), green (G) and blue (B)) in one little package
the intensity of each LED can be changed in one of two ways…
Resistor connected to each LED can be changed (higher resistances will lower the intensity on theLED)
the voltage applied to each LED can be changed (higher voltage will increase the intensity of the LED)
OHM’s Law…
V=IR
There are two main types of RGB LEDs: and explain
anode RGB LED
cathode RGB LED
main differences are the way they are connected and the type of signal sent to the RGB LED to three LEDs.
An RGB LED works by …
connecting the LED colours so that they can combine to generate a secondary colour.
RGB LEDs are used in plenty of different environments, such as:
LED strips
colour changing light bulbs
On gaming computers, mouse and keyboards
LED screen that you use, on your phone, computer or TV
why are colours important in coding
to confirm that circuits are built correctly and components are functioning properly
longer word for arduino
Arduino Development Board.
…should come on to show that the arduino is on
The … should also blink
green light
orange light
cathode =
anode =
negative
positive
The voltage and current in a circuit are …to one another hence … can be used to control the colour of the LED
linearly proportional
both
The common Ohm’s law equation shows the …
direct proportionality of voltage and current and how they both affect the resistance
If the current in the circuit stays constant, and the voltage is increased, the resistance of the LED will need to… for the equation to be valid;
decrease
if the Resistor connected to the LED is increased; the voltage used by the LED will need to …, thus affecting the light intensity emitted.
increase
red and blue are both connected, the resulting light emitted will be a combination of these two colours –>
magenta
RGB additive colours
red, green and blue
emitted (a process …
which uses the additive colours to create secondary colours
painted (a process …
which uses the primary colours to create secondary colours
RGB lights will cause the emitted light to appear as a secondary colour, i.e….
.yellow, magenta, cyan or white
Each colour has associated RGB values. These values tell us …
what voltage each LED must be set to, in order to emit that specific colour