IoT PPT04 Intro Arduino Board and IDE
IoT PPT04 Intro Arduino Board and IDE
Introduction to Arduino
Arduino UNO Board & IDE
“The soil of India is my highest heaven, the good of India is my good.” – Swami Vivekananda
What is Arduino?
• Arduino is an open-source electronics platform
– based on easy-to-use hardware and software.
• It has the capability to act as an interface for electrical and electronic systems
Source: https://docs.arduino.cc/hardware/uno-rev3
09-08-2023 Dr. Manas Khatua 5
Detailed Pin Diagram
ICSP: In-Circuit ICSP pins: Used to code and boot an Arduino from an external source.
Serial MISO, VCC, Allow inter workings of two or more Arduino boards.
Programming SCK, MOSI, Allow you to upload your firmware.
RESET, GND
Digital Input/output pin Digital Pins 2 - 13 Can be used as input or output pins.
Serial Communication 0(Rx),1(Tx) Used to receive and transmit TTL serial data.
I2C: Inter-IC, or A4 (SDA: Serial Data), Used for TWI / I2C communication.
TWI: Two Wire Interface A5 (SCL: Serial Clock)
AREF AREF : Analog Reference To provide reference voltage from an external
Voltage power supply for analog-to-digital conversion of
inputs to the analog pins.
E.g. if AREF is 4V – the analogRead() range of
0~1023 will relate to 0~4V and not 0~5V.
09-08-2023 Dr. Manas Khatua 8
Arduino in IoT
• Arduinos are used to create IoT projects.
• The Arduino Software (IDE) allows you to write programs and upload them to your board.
• When the Arduino IDE first opens, this is what you should see:
• Compilation
successful
message at the
bottom left
corner.
Serial Monitor
output
• Output:
In-built LED will glow
continuously
• Output:
In-built LED will glow
continuously
• Output:
In-built LED will glow
periodically
Arduino in IoT
Arduino IDE