Difference between revisions of "Arduino"

From OnnoWiki
Jump to navigation Jump to search
Line 26: Line 26:
  
 
'''BASIC'''
 
'''BASIC'''
 
 
* [[Arduino: Bare Minimum]]
 
* [[Arduino: Bare Minimum]]
 
* [[Arduino: Blink]]
 
* [[Arduino: Blink]]
Line 37: Line 36:
  
 
'''Digital'''
 
'''Digital'''
 
 
* [[Arduino: Blink Without Delay]]
 
* [[Arduino: Blink Without Delay]]
 
* [[Arduino: Button]]
 
* [[Arduino: Button]]
Line 50: Line 48:
  
 
'''Analog'''
 
'''Analog'''
 
 
* [[Arduino: Analog In Out Serial]]
 
* [[Arduino: Analog In Out Serial]]
 
* [[Arduino: Analog Input]]
 
* [[Arduino: Analog Input]]
Line 60: Line 57:
 
'''Communication''
 
'''Communication''
  
These examples include code that allows the Arduino to talk to Processing sketches running on the computer. For more information or to download Processing, see processing.org. There are also Max/MSP patches that can communicate with each Arduino sketch as well. For more on Max/MSP see Cycling 74.
+
Contoh-contoh ini termasuk kode yang memungkinkan Arduino untuk berbicara dengan sketch yang berjalan pada komputer. Untuk informasi lebih lanjut atau untuk men-download Processing, lihat processing.org. Ada juga Max / MSP patch yang dapat berkomunikasi antar sketch Arduino.
 
 
    ASCIITable: Demonstrates Arduino's advanced serial output functions.
 
    Dimmer: Move the mouse to change the brightness of an LED.
 
    Graph: Send data to the computer and graph it in Processing.
 
    Midi: Send MIDI note messages serially.
 
    Multi Serial Mega: Use two of the serial ports available on the Arduino Mega.
 
    Physical Pixel: Turn a LED on and off by sending data to your Arduino from Processing or Max/MSP.
 
    Read ASCII String: Parse a comma-separated string of integers to fade an LED.
 
    Serial Call Response: Send multiple variables using a call-and-response (handshaking) method.
 
    Serial Call Response ASCII: Send multiple variables using a call-and-response (handshaking) method, and ASCII-encode the values before sending.
 
    Serial Event: Demonstrates the use of SerialEvent().
 
    Virtual Color Mixer: Send multiple variables from Arduino to your computer and read them in Processing or Max/MSP.
 
 
 
 
 
 
 
 
 
 
 
  
  
 +
* [[Arduino: ASCIITable]]
 +
* [[Arduino: Dimmer]]
 +
* [[Arduino: Graph]]
 +
* [[Arduino: Midi]]
 +
* [[Arduino: Multi Serial Mega]]
 +
* [[Arduino: Physical Pixel]]
 +
* [[Arduino: Read ASCII String]]
 +
* [[Arduino: Serial Call Response]]
 +
* [[Arduino: Serial Call Response ASCII]]
 +
* [[Arduino: Serial Event]]
 +
* [[Arduino: Virtual Color Mixer]]
  
 
'''Struktur Control'''
 
'''Struktur Control'''
 
 
* [[Arduino: Arrays]]
 
* [[Arduino: Arrays]]
 
* [[Arduino: For Loop Iteration]]
 
* [[Arduino: For Loop Iteration]]
 
* [[Arduino: If Statement Conditional]]
 
* [[Arduino: If Statement Conditional]]
    Switch Case: How to choose between a discrete number of values.
+
* [[Arduino: Switch Case]]
    Switch Case 2: A second switch-case example, showing how to take different actions based on the characters received in the serial port.
+
* [[Arduino: Switch Case 2]]
    While Statement Conditional: How to use a while loop to calibrate a sensor while a button is being read.
+
* [[Arduino: While Statement Conditional]]
 
 
 
 
 
 
 
 
6. Sensors
 
  
    ADXL3xx: Read an ADXL3xx accelerometer.
+
'''Sensors'''
    Knock: Detect knocks with a piezo element.
+
* [[Arduino: ADXL3xx]]
    Memsic2125: Two-axis accelerometer.
+
* [[Arduino: Knock]]
    Ping: Detect objects with an ultrasonic range finder.
+
* [[Arduino: Memsic2125]]
 +
* [[Arduino: Ping]]

Revision as of 05:35, 20 November 2015

Arduino adalah platform open-source elektronik berdasarkan hardware yang mudah digunakan dan perangkat lunak. Ini ditujukan untuk siapa pun yang membuat proyek interaktif.


Referensi


Tutorial

Pranala Menarik


Tutorial

BASIC


Digital


Analog

'Communication

Contoh-contoh ini termasuk kode yang memungkinkan Arduino untuk berbicara dengan sketch yang berjalan pada komputer. Untuk informasi lebih lanjut atau untuk men-download Processing, lihat processing.org. Ada juga Max / MSP patch yang dapat berkomunikasi antar sketch Arduino.


Struktur Control

Sensors