Your guide to the Arduino Family and understanding the use of the different models of Arduino. Getting started with Arduino Uno and a demo on a simple experiment using the Arduino Board.
2. Overview of what we are going to cover
1
What is Arduino?
2
Different kinds of
Arduino Boards
3
Features of popular
Arduino Boards
4
Let’s get programming
5
Code for blinking an
LED using millis()
6
Q&A
7
Overview of
Arduino Week
3. What is Arduino?
4
Wide variety of
applications
2
Easy to use hardware and
software
1
Open source electronics
platform
5
Easiest way to get started
with electronics and
programming
3
Interface with a wide range
of sensor and actuators
4. Different kinds of Arduino boards
Uno Mega
Leonardo
Nano 33 BLE
Portenta H7 Nano RP2040 Connect
and many more!
MKR GSM 1400
5. Arduino UNO
III
Applications & Projects
● Great getting started board
● Traffic Light Control
● Smart Irrigation
II
Key Specifications
● ATmega328
● GPIO - 14 DIO, 6 AI, 6 PWM
● Peripherals - UART, I2C, SPI
● Dimensions: 68.6 mm x 53.4
mm
I
Brief Overview
One of the most widely used and
versatile arduino boards.
Recommended board to get
started with your embedded
systems journey
6. Arduino Mega 2560
III
Applications & Projects
II
Key Specifications
● ATmega2560
● GPIO - 54 DIO, 16 AIO, 15
PWM
● Peripherals - UART, I2C, SPI
● Dimensions: 101.52mm x
53.3mm
I
Brief Overview
Arduino Mega is the bigger
brother to Arduino Uno with much
more IOs allowing for far more
complicated projects
It is widely used in applications
that require a many sensors to be
interfaced with microcontroller
board
● Robotic Arms
● Intelligent 4-wheel robot
● Smart pill dispenser
7. Arduino Nano 33 BLE
III
Applications & Projects
● Great board to get started
with TinyML
● Keyword spotting device
● Gesture sensor
● Motion sensor
II
Key Specifications
● nRF52840 processor
● GPIO - 14 DIO, 8 AIO , 14
PWM
● Peripherals - UART, I2C, SPI
● BLE connectivity
● Onboard IMU, light sensor,
color sensor, microphone,
pressure sensor
● Dimensions: 101.52mm x
53.3mm
I
Brief Overview
Nano 33 BLE is one of the
newer more compact Arduino
Board focused for TInyML
It has a whole host of sensors
suitable for running various
kinds of TinyML applications
8. Arduino Nano RP2040 Connect
III
Applications & Projects
● Fantastic for IoT projects
due to built in WiFi and
Bluetooth
● Smart home appliances
● Smart garage door
opener
II
Key Specifications
● Comes with Raspberry Pi
RP2040
● GPIO - 20 DIO with PWM, 8
AIO
● Peripherals - UART, I2C, SPI
● Bluetooth and WiFi, IMU,
microphone
● Dimensions: 101.52mm x
53.3mm
I
Brief Overview
Nano RP2040 is newer compact
Arduino based on Raspberry Pi’s
RP2040
The board is ideal for IoT based
application and also support
python
9. Arduino Portenta H7
III
Applications & Projects
II
Key Specifications
● STM32H747XI dual Cortex®-
M7+M4 with graphics
accelerator
● High-density 2x 80 pin
connectors
● Connectivity: Wifi, Bluetooth,
USB C with PD, camera,
ethernet, SDCard
● Dimensions: 62 mm x 25
mm
I
Brief Overview
Arduino Portenta H7 is one of
Arduino’s series of high-
performance industry-rated
boards.
It can be programmed with high
level languages and AI while
performing low latency tasks on
its customizable hardware
● Automating real time
Industrial processes
● AI/ML applications
● Computer Vision
● Laboratory Equipment
10. Let’s get programming!
We will be demonstrating a simple program to blink Arduino Uno’s onboard LED.
However, we will be using millis() function instead of delay() function
Difference between millis() and delay()?
delay() millis()
Pauses the program for specified amount
of time in ms
Records the current time in ms
Blocking function, ie pauses the program
Non-blocking function ie, continues the
program
11. Blink LED Code with millis()
int time_interval = 1000;
unsigned long int previousBlink = 0;
bool ledState = false;
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
if (millis() - previousBlink > time_interval) {
digitalWrite(LED_BUILTIN, ledState);
ledState = !ledState;
previousBlink = millis();
}
}
12. More experiments to try out
● Create different LED light patterns such as trailing, SOS, alternative, fade
● Use a button to turn on/off LEDs
14. Day 1
March 21
Introduction to Arduino
Overview of Various
Arduino Boards
Getting Started with
Arduino
Day 2
March 22
Averse to writing code?
Program Arduino using
Blocks
Day 3
March 24
Arduino & Industry
Day 5
March 26
End to End TinyML
application using
Sensa & AIFES with
Arduino
Day 4
March 25
Exploring TinyML with
Arduino & Edge
Impulse
Overview of the Arduino Week
Editor's Notes
Explain what is millis and why it is better - then explain code
Explain what is millis and why it is better - then explain code