Ict Exam Coverage and Reviewer.docx
Ict Exam Coverage and Reviewer.docx
★ ARDUINO UNO ★
An open-source microcontroller board based on the
Microchip ATmega328P microcontroller and developed by
Arduino cc.
• Digital Pins: For input/output, either HIGH (on) or LOW ★ BASIC FUNCTIONS ★
(off). There are 12 digital pins in Arduino UNO.
pinMode(pin, mode) - Sets a pin as either an INPUT (for input
• Analog Pins: Read variable voltages (0 to 5V) with values devices), OUTPUT (for output devices), or
from 0 to 1023. There are 6 analog pins in Arduino UNO. INPUT_PULLUP(reversing input logic).
• Ground (GND): Common ground reference for the circuit.
digitalWrite(pin, value) - Sends a HIGH or LOW signal to a
• Power: 5V (from USB or direct power) and 3.3V (for low digital output pin.
powered sensors) outputs to power components.
digitalRead(pin): Reads the state of a digital input pin as
★ ARDUINO IDE ★ either HIGH or LOW.
A software made by the Arduino cc where you write
sketch (code) and upload it to the microcontroller. analogRead(pin) - Reads an analog input value (0 to 1023).
void setup() - Runs once when the program starts (initialize
pins, etc.) analogWrite(pin, value) - Writes an analog output (PWM)
value (0 to 255). HIGH (Pressed): The circuit is closed, sending a signal.
LOW (Not pressed): The circuit is open, no signal is sent.
delay (ms) - Pauses the program for a specified number of
Connect one pin to a digital input, the other to GND, and a
milliseconds (1 second = 1000 ms).
pull-up resistor to VCC (or use INPUT_PULLUP).
★LED★
Light Emitting Diode is a small light source commonly
used in electronics. It has two terminals.
• Anode (+): Longer leg, connects to a positive voltage.
• Cathode (-): Shorter leg, connects to ground (GND).
★ POTENTIOMETER ★
• Use a current-limiting resistor (220Ω – 1kΩ) in series to A potentiometer (or "pot") is a variable resistor used
protect the LED. to adjust voltage by turning a knob.
★ PUSHBUTTON ★
- ISR MODES -
• GND: Ground.
3. Arduino PINOUT
★ BONUS ★
Side Note: Give all your best in answering the exam.
Don’t CHEAT!
1. A code for Arduino si called Sketch.
James 4:17
“So whoever knows the right thing to do and fails to do it, for
him it is sin.”
Philippians 4:13
----------------------------------------------------------------------------------
----