A really Brief INTRODUCTION TO
Arduino
Accessories
IDE and project
APIs
What is Arudino
Atmel AVR serie MCU
Education & Open Source
MCU
A single chip that contains
-
processor
-
RAM
-
ROM: EEPROM(Flash)
-
clock
-
I/O control unit
Characteristics
Realtime
No OS
IO friendly
v.s.
Raspberry PI
Programming Languages
Assemble
C
C++(Subset)
IDE
Process Project
Project Structure
PDE & INO
Library
H/Cpp
IO API
HIGH & LOW
pinMode
digitalWrite & digitalRead
analogWrite
analogRead
Time APIs
delay
delayMicroseconds
Implementation: NOP loops
Debug and Communication
Serial Module
Programming EXERCISE
1. LED Blink
Blink with interval
Control Luminous
Full Color
2. Buzzer
Buzz
Buzz with different frequency
Control frequency with potentiometer