Arduino Basics Class 1 (1) (2)
Arduino Basics Class 1 (1) (2)
CLASS 1
Class 1 Learning
Objectives
1 What are
Microcontrollers?
2 What is Arduino
UNO/Nano?
We can create and operate simple electronics devices, sensors, motors, leds etc.
ATmega328P Microcontroller:
It's based on the ATmega328P microcontroller, which is the "brain" of the board.
Arduino IDE:
It's programmed using the Arduino IDE (Integrated Development Environment), a free software that
simplifies programming.
Analog Pins: They are used to read data from different analog sensors such as IR
sensor, Sonar sensors, Temperature Sensors, Sound Sensors etc. and can have
different values ranging from 0-1023.
Digital pins: They can be used for i/o and can read digital data from sensors and
are used to control electronic components such as motors, LEDs, buzzers, etc.
the have only 2 i/o values 0 & 1( HIGH & LOW) (ON & OFF) (YES & NO).
1. laptop/desktop
2. arduino UNO/NANO
3. A to B USB cable ( printer cable) for arduino UNO / a Mini USB cable for
arduino Nano
Let's find the blinking Led Code in Arduino IDE
BLINK CODE: This Makes our inbuilt arduino LED blink
HOW DOES THIS CODE WORK?
WHAT IS VOID SETUP AND VOID LOOP?
WHAT DO ALL THESE COMMANDS MEAN?
DID YOU HAVE FUN?
THANK YOU