0% found this document useful (0 votes)
0 views12 pages

Lec 1

Arduino is an open-source electronics platform that combines hardware and software to control devices based on user-written instructions. Key components include the Arduino IDE for programming, the Arduino board with a microcontroller, and various input/output pins for digital and analog signals. The document also briefly introduces a simple project to blink an LED using Arduino code.

Uploaded by

ak6987274
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views12 pages

Lec 1

Arduino is an open-source electronics platform that combines hardware and software to control devices based on user-written instructions. Key components include the Arduino IDE for programming, the Arduino board with a microcontroller, and various input/output pins for digital and analog signals. The document also briefly introduces a simple project to blink an LED using Arduino code.

Uploaded by

ak6987274
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

ARDUINO

2025
PREPARED BY:
MOHAMED ABDEL-AAL EL-NAHHAS
ASTRO
WHAT IS ARDUINO?

Arduino is an easy-to-use open-source electronics platform


consisting of hardware and software. Arduino boards can
read signals from sensors or buttons and control other
devices like motors or LEDs based on instructions you write
using the Arduino programming language and development
environment.
CORE COMPONENTS OF
THE ARDUINO:

1.0 Arduino IDE


(Software):

A cross-platform
2.0 the Arduino
Integrated
Firmware
Development
(Microcontroller
Environment for
3.0 Arduino Board Software)
writing and
(Hardware):
uploading code to
Arduino boards.
1. Microcontroller 2. USB port 3. USB to Serial chip 4. Digital pins 5. Analog pins 6. 5V / 3.3V pins
the USB to Serial is an
this is the brain of an important component, as pins that use digital
Arduino, and is the it helps translating data
used to connect your logic (0,1 or LOW/HIGH). pins that can read
component that we load that comes from e.g. a
Arduino board to a Commonly used for analog values in a 10 bit these pins are used to
programs into. Think of it computer to the on-board
computer. microcontroller. This is switches and to turn resolution (0-1023). power external
as a tiny computer,
what makes it possible to on/off an LED components.
designed to execute
only a specific number program the Arduino
board from your
of things.
computer.

7. GND 8. VIN

also known as ground,


negative or simply -, is
stands for Voltage In,
used to complete a
where you can connect
circuit, where the
external power supplies.
electrical level is at 0
volt.
IDE
DIGITAL VS ANALOG SIGNALS IN
ARDUINO:

Two discrete states:


HIGH (5V) or LOW (0V)
Common uses:

01 On/off control (LEDs, buttons, relays)

02 Uses digitalRead() and digitalWrite() functions


DIGITAL VS ANALOG
SIGNALS IN ARDUINO:
Arduino converts an analog voltage from 0 to 5 volts into
a digital value between 0 and 1023.
This is because the ADC (Analog-to-Digital Converter)
which means there are 2¹⁰ = 1024 possible values (from 0
to 1023).
DIGITAL PINS:
are 14 in total, numbered from 0 to 13. In the code,
you can define the function of each pin.When these pins work
as outputs, you can make them output 5V or 0V, depending
on how you write the code.
You can also make these pins work as digital inputs (e.g., to
detect the state of a push button).
Each digital pin can supply a connected load with 5V and up
to 20 milliamps (mA)
ANALOG PINS:
There are 6 of them (A0-A5) and they can measure voltage
(analogously) - and they are dealt with by connecting them to
the necessary wire to measure the voltage, then controlling
them in the program.
PROJECT 1

BLINK LED CODE


THANKS

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy