Dasar-dasar Arduino
➤
➤ Pemrograman Arduino
➤
➤
➤
➤
DASAR ARDUINO
🔻 Tab, Banyak File dan Kompilasi
🔻 Mengunggah
🔻 Perpustakaan
🔻 Perangkat Keras Pihak Ketiga
🔻 Serial Monitor
🔻 Dukungan Bahasa
🔻 Memasang Core Tambahan
🔻 Menginstal Perpustakaan Arduino Tambahan
🔻 Mengunggah
🔻 Perpustakaan
🔻 Perangkat Keras Pihak Ketiga
🔻 Serial Monitor
🔻 Dukungan Bahasa
🔻 Memasang Core Tambahan
🔻 Menginstal Perpustakaan Arduino Tambahan
MIKROKONTROLER
PROGRAMMING
➤ Fungsi
🔻Digital I/O
⏬ digitalRead()
⏬ digitalWrite()
⏬ pinMode()
🔻 Analog I/O
⏬ analogRead()
⏬ analogReference()
⏬ analogWrite()
🔻 Zero, Due & MKR Family
⏬ analogReadResolution()
⏬ analogWriteResolution()
🔻 Advanced I/O
⏬ noTone()
⏬ Pulsein()
⏬ pulseInLong()
⏬ shiftIn()
⏬ shiftOut()
⏬ tone()
🔻 Time
⏬ delay()
⏬ delayMicroseconds()
⏬ micros()
⏬ milis()
🔻 Math
⏬ abs()
⏬ constrain()
🔻 Trigonometry
⏬ cos()
⏬ sin()
⏬ tan()
🔻 Character
⏬ isAlpha()
⏬ isAlphaNumeric()
⏬ isAscii()
⏬ isControl()
⏬ isDigit()
⏬ isGraph()
⏬ isHexadecimalDigit()
⏬ isLowerCase()
⏬ isPrintable()
⏬ isPunct()
⏬ isSpace
⏬ isUpperCase()
⏬ isWhitespace()
🔻 Random Numbers
⏬ random()
⏬ randomSeed()
🔻 Bits and Bytes
⏬ but()
⏬ bitClear()
⏬ bitRead()
⏬ bitSet()
⏬ bitWrite()
⏬ highByte()
⏬ lowByte()
🔻 External Interrupts
⏬ attachInterrupt()
⏬ detachInterrupt()
🔻 Interrupts
⏬ interrupts()
⏬ nointerrupts()
🔻 Communication
⏬ Serial
⏬ Stream
🔻 USB
⏬ Keyboard
⏬ Mouse
➤ Variabel
🔻 Constants
⏬ Floating Point Constants
⏬ Integer Constants
⏬ HIGH | LOW
⏬ INPUT | OUTPUT | INPUT_PULLUP
⏬ LED_BUILTIN
⏬ true | False
🔻 Conversion
⏬ byte()
⏬ char()
⏬ float()
⏬ int()
⏬ long()
⏬ word()
🔻 Data Types
⏬ String()
⏬ array
⏬ bool
⏬ boolean
⏬ byte
⏬ char
⏬ double
⏬ float
⏬ int
⏬ long
⏬ short
⏬ size_t
⏬ string
⏬ unsigned char
⏬ unsigned int
⏬ unsigned long
⏬ void
⏬ word
🔻 Variable Scope & Qualifiers
⏬ const
⏬ scope
⏬ static
⏬ volatile
🔻 Utilities
⏬ PROGMEM
⏬ sizeof()
🔻 STRUCTURE
⏬ Sketch
⏬ loop()
⏬ setup()
🔻 Control Structure
⏬ break
⏬ continue
⏬ do...while
⏬ else
⏬ for
⏬ goto
⏬ if
⏬ return
⏬ switch...case
⏬ while
🔻 Further Syntax
⏬ #define(define)
⏬ #include (include)
⏬ /* */ (block comment)
⏬ // (single line comment)
⏬ ; (semicolon)
⏬ {} (curly braces)
🔻 Arithmetic Operator
⏬ % (remainder)
⏬ = (multiplication)
⏬ + (addition)
⏬ - (subtraction)
⏬ / (division)
⏬ = (assignment operator)
🔻 Comparison Operator
⏬ != (not equal to)
⏬ < (less than)
⏬ <= (less than or equal to)
⏬ == (equal to)
⏬ > (greater than)
⏬ >= (greater than or equal to)
🔻 Boolean Operator
⏬ ! (logical not)
⏬ && (logical and)
⏬ || (logical or)
🔻 Pointer Access Operators
⏬ & (reference operator)
⏬ * (deference operator)
🔻 Bitwise Operator
⏬ & (bitwise and)
⏬ << (bitshift left)
⏬ >> (bitshift right)
⏬ ^ (bitwise xor)
⏬ | (bitwise or)
⏬ ~ (bitwise not)
🔻 Compound Operator
⏬ %= (compound remainder)
⏬ &= (compound bitwise and)
⏬ ++ (increment)
⏬ += (compound addition)
⏬ --(decrement)
⏬ -=(compound subtraction)
⏬ /= (compound division)
⏬ ^= (compound bitwise xor)
➤ Libraries
➤ Cores
➤ Vidor HLD basics
🔻Digital I/O
⏬ digitalRead()
⏬ digitalWrite()
⏬ pinMode()
🔻 Analog I/O
⏬ analogRead()
⏬ analogReference()
⏬ analogWrite()
🔻 Zero, Due & MKR Family
⏬ analogReadResolution()
⏬ analogWriteResolution()
🔻 Advanced I/O
⏬ noTone()
⏬ Pulsein()
⏬ pulseInLong()
⏬ shiftIn()
⏬ shiftOut()
⏬ tone()
🔻 Time
⏬ delay()
⏬ delayMicroseconds()
⏬ micros()
⏬ milis()
🔻 Math
⏬ abs()
⏬ constrain()
🔻 Trigonometry
⏬ cos()
⏬ sin()
⏬ tan()
🔻 Character
⏬ isAlpha()
⏬ isAlphaNumeric()
⏬ isAscii()
⏬ isControl()
⏬ isDigit()
⏬ isGraph()
⏬ isHexadecimalDigit()
⏬ isLowerCase()
⏬ isPrintable()
⏬ isPunct()
⏬ isSpace
⏬ isUpperCase()
⏬ isWhitespace()
🔻 Random Numbers
⏬ random()
⏬ randomSeed()
🔻 Bits and Bytes
⏬ but()
⏬ bitClear()
⏬ bitRead()
⏬ bitSet()
⏬ bitWrite()
⏬ highByte()
⏬ lowByte()
🔻 External Interrupts
⏬ attachInterrupt()
⏬ detachInterrupt()
🔻 Interrupts
⏬ interrupts()
⏬ nointerrupts()
🔻 Communication
⏬ Serial
⏬ Stream
🔻 USB
⏬ Keyboard
⏬ Mouse
➤ Variabel
🔻 Constants
⏬ Floating Point Constants
⏬ Integer Constants
⏬ HIGH | LOW
⏬ INPUT | OUTPUT | INPUT_PULLUP
⏬ LED_BUILTIN
⏬ true | False
🔻 Conversion
⏬ byte()
⏬ char()
⏬ float()
⏬ int()
⏬ long()
⏬ word()
🔻 Data Types
⏬ String()
⏬ array
⏬ bool
⏬ boolean
⏬ byte
⏬ char
⏬ double
⏬ float
⏬ int
⏬ long
⏬ short
⏬ size_t
⏬ string
⏬ unsigned char
⏬ unsigned int
⏬ unsigned long
⏬ void
⏬ word
🔻 Variable Scope & Qualifiers
⏬ const
⏬ scope
⏬ static
⏬ volatile
🔻 Utilities
⏬ PROGMEM
⏬ sizeof()
🔻 STRUCTURE
⏬ Sketch
⏬ loop()
⏬ setup()
🔻 Control Structure
⏬ break
⏬ continue
⏬ do...while
⏬ else
⏬ for
⏬ goto
⏬ if
⏬ return
⏬ switch...case
⏬ while
🔻 Further Syntax
⏬ #define(define)
⏬ #include (include)
⏬ /* */ (block comment)
⏬ // (single line comment)
⏬ ; (semicolon)
⏬ {} (curly braces)
🔻 Arithmetic Operator
⏬ % (remainder)
⏬ = (multiplication)
⏬ + (addition)
⏬ - (subtraction)
⏬ / (division)
⏬ = (assignment operator)
🔻 Comparison Operator
⏬ != (not equal to)
⏬ < (less than)
⏬ <= (less than or equal to)
⏬ == (equal to)
⏬ > (greater than)
⏬ >= (greater than or equal to)
🔻 Boolean Operator
⏬ ! (logical not)
⏬ && (logical and)
⏬ || (logical or)
🔻 Pointer Access Operators
⏬ & (reference operator)
⏬ * (deference operator)
🔻 Bitwise Operator
⏬ & (bitwise and)
⏬ << (bitshift left)
⏬ >> (bitshift right)
⏬ ^ (bitwise xor)
⏬ | (bitwise or)
⏬ ~ (bitwise not)
🔻 Compound Operator
⏬ %= (compound remainder)
⏬ &= (compound bitwise and)
⏬ ++ (increment)
⏬ += (compound addition)
⏬ --(decrement)
⏬ -=(compound subtraction)
⏬ /= (compound division)
⏬ ^= (compound bitwise xor)
➤ Libraries
➤ Cores
➤ Vidor HLD basics
PANDUAN LAINNYA
TUTORIAL
Built-In Examples
1. Basics
⏬Analog Read Serial
⏬Bare Minimum
⏬Blink
⏬Digital Read Serial
⏬Fade
⏬Read Analog Voltage
2. Digital
⏬Blink Without Delay
⏬Button
⏬Debounce
⏬Digital Input Pullup
⏬State Change Detection
⏬Tone Keyboard
⏬Tone Melody
⏬one Multiple
⏬Tone Pitch Follower
3. Analog
⏬Analog In Out Serial
⏬Analog Input
⏬Analog Write Mega
⏬Calibration
⏬Fading
⏬Smoothing
4. Communication
⏬ASCIITable
⏬Dimmer
⏬Graph
⏬Midi
⏬Multi Serial Mega
⏬Physical Pixel
⏬Read ASCII String
⏬Serial Call Response
⏬Serial Call Response ASCII
⏬Serial Event
⏬Serial Passthrough
⏬Virtual Color Mixer:
5. Control Structures
⏬Arrays
⏬For Loop Iteration
⏬If Statement Conditional
⏬Switch Case
⏬Switch Case 2
⏬While Statement Conditional
6. Sensor
⏬ADXL3xx
⏬Knock
⏬Memsic2125
⏬Ping
7. Display
⏬Bar Graph
⏬RowColumnScanning
8. Strings
⏬Character Analysis
⏬String Addition Operator
⏬String Append Operator
⏬String Case Changes
⏬String Characters
⏬String Comparison Operators
⏬String Constructors
⏬String Index Of
⏬String Length & String Length Trim
⏬String Replace
⏬String Start With Ends With
⏬String Substring
⏬String To Int
9. USB
Keyboard
⏬Keyboard Logout
⏬Keyboard Message
⏬Keyboard Reprogram
⏬Keyboard Serial
⏬Keyboard Mouse Control
Mouse
⏬Button Mouse Control
⏬Joystick Mouse Contol
10. Starterkit & Basickit
11. Arduino ISP
1. Basics
⏬Analog Read Serial
⏬Bare Minimum
⏬Blink
⏬Digital Read Serial
⏬Fade
⏬Read Analog Voltage
2. Digital
⏬Blink Without Delay
⏬Button
⏬Debounce
⏬Digital Input Pullup
⏬State Change Detection
⏬Tone Keyboard
⏬Tone Melody
⏬one Multiple
⏬Tone Pitch Follower
3. Analog
⏬Analog In Out Serial
⏬Analog Input
⏬Analog Write Mega
⏬Calibration
⏬Fading
⏬Smoothing
4. Communication
⏬ASCIITable
⏬Dimmer
⏬Graph
⏬Midi
⏬Multi Serial Mega
⏬Physical Pixel
⏬Read ASCII String
⏬Serial Call Response
⏬Serial Call Response ASCII
⏬Serial Event
⏬Serial Passthrough
⏬Virtual Color Mixer:
5. Control Structures
⏬Arrays
⏬For Loop Iteration
⏬If Statement Conditional
⏬Switch Case
⏬Switch Case 2
⏬While Statement Conditional
6. Sensor
⏬ADXL3xx
⏬Knock
⏬Memsic2125
⏬Ping
7. Display
⏬Bar Graph
⏬RowColumnScanning
8. Strings
⏬Character Analysis
⏬String Addition Operator
⏬String Append Operator
⏬String Case Changes
⏬String Characters
⏬String Comparison Operators
⏬String Constructors
⏬String Index Of
⏬String Length & String Length Trim
⏬String Replace
⏬String Start With Ends With
⏬String Substring
⏬String To Int
9. USB
Keyboard
⏬Keyboard Logout
⏬Keyboard Message
⏬Keyboard Reprogram
⏬Keyboard Serial
⏬Keyboard Mouse Control
Mouse
⏬Button Mouse Control
⏬Joystick Mouse Contol
10. Starterkit & Basickit
11. Arduino ISP
GLOSSARY
REFERENSI
- [1] https://www.arduino.cc/en/Guide/Environment
- [2] https://www.arduino.cc/en/Guide/HomePage
- [3] https://www.arduino.cc/reference/en/
NB : ARTIKEL INI MERUPAKAN TRANSLATE DARI SITUS RESMI ARDUINO