Kubulu Arduino Workshop: Difference between revisions

From SGMK-SSAM-WIKI
Jump to navigation Jump to search
Line 30: Line 30:


VVVV
VVVV
in vvvv you can use the RS232 and regex object to receive data and translate the ASCII values back to decimal.
check the vvvv regex documentation for details. in the following patch i used <code>a(\d+)z</code> for the parsing, that's an 'a' followed by one or more numeric values, followed by a 'z'. patterns in brackets () will be shown as outputs in the regex object.


ASCII - Dezimal Umwandlung:
[[File:Vvvv.PNG|340px]]


ASCII - decimal conversion:
serial data between arduino and the computer is sent in ASCII format. values have to be translated back to decimal.
[http://www.asciitable.com/ http://www.asciitable.com/]


==Sensoren==
==Sensoren==

Revision as of 21:19, 10 February 2012

Infos zum Workshop

Infos und Anmeldung

Hardware Übersicht Arduino Uno

Mehr infos: Arduino Uno

Software

Software installieren

Referenz

Basics

LED Blinker Arduino Schaltung

Arduino-Computer Serial Kommunikation

Beispiel: Potentiometer auslesen und Wert an Computer senden

Arduino Schaltung

MaxMSP

VVVV in vvvv you can use the RS232 and regex object to receive data and translate the ASCII values back to decimal. check the vvvv regex documentation for details. in the following patch i used a(\d+)z for the parsing, that's an 'a' followed by one or more numeric values, followed by a 'z'. patterns in brackets () will be shown as outputs in the regex object.

ASCII - decimal conversion: serial data between arduino and the computer is sent in ASCII format. values have to be translated back to decimal. http://www.asciitable.com/

Sensoren

  • Phototransistor
  • Piezo
  • Infrarot Distanzmesser
  • Beschleunigungssensor (X-Y-Z)
  • Flex
  • Luftdruck
  • ...

Anwendung

Arduino Clones

Mit etwas Erfahrung kann man sein eigenes Arduino designen oder ein bestehender Clone nachbauen. Nebst dem Löten der Bauteile muss der Arduino Bootloader auf den ATMega geladen werden. Ist der Bootloader einmal auf dem chip, kann das Arduino mit einem USB zu Serial Interface (z.B. FTDI Basic Breakout - 5V von sparkfun) programmiert werden.

SGMK Arduino clone: SGMKduino

Arduino auf dem breadboard


Partslist

Experimentierset / Werkzeug

  • Breadboard
  • Steckkabel
  • Drahtlitze
  • Seitenschneider/Zangen etc.
  • Lötkolben etc.

Material

  • Arduino UNO
  • Potentiometer
  • Phototransistor
  • Piezo
  • LED
  • Taster
  • Widerstände
  • Kondensatoren