Arduino

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(External Links)
 
(One intermediate revision by one user not shown)
Line 16: Line 16:
 
echo "host" > /sys/devices/platform/s3c2410-ohci/usb_mode
 
echo "host" > /sys/devices/platform/s3c2410-ohci/usb_mode
 
</pre>
 
</pre>
 +
 +
== Connection to Neo via I2C ==
 +
 +
To connect Neo to Arduino you need to solder the internals pines for I2C.
 +
 +
The library [http://www.mokardu.com MokArdu] already have a class to easy communicate with Arduino through I2C.
  
 
== Comunication ==
 
== Comunication ==
Line 27: Line 33:
 
* [http://arduino.cc/ Official Arduino website ]
 
* [http://arduino.cc/ Official Arduino website ]
 
* [http://www.youtube.com/watch?v=rOBWSrI14BM Moving a servo with openmoko accelerometers]
 
* [http://www.youtube.com/watch?v=rOBWSrI14BM Moving a servo with openmoko accelerometers]
* [http://openmatica.es/openmatica/investigacionydesarrollo/24-robotica OpenMàtica I+D]
+
* [http://www.mokardu.com MokArdu]
 
[[Category:Hardware]]
 
[[Category:Hardware]]

Latest revision as of 17:12, 17 April 2010

ArduinoDuemilanove.jpg

Contents

[edit] Description

Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.

Arduino can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators. The microcontroller on the board is programmed using the Arduino programming language (based on Wiring) and the Arduino development environment (based on Processing). Arduino projects can be stand-alone or they can communicate with software on running on a computer (e.g. Flash, Processing, MaxMSP).

[edit] Connection to Neo via USB

To connect Neo to Arduino you need a cable with "usb mini-b" for the Neo and "usb b-type" for the Arduino.

To send voltage to the Arduino and to make Neo host of usb devices:

echo "1" > /sys/devices/platform/neo1973-pm-host.0/hostmode
echo "host" > /sys/devices/platform/s3c2410-ohci/usb_mode

[edit] Connection to Neo via I2C

To connect Neo to Arduino you need to solder the internals pines for I2C.

The library MokArdu already have a class to easy communicate with Arduino through I2C.

[edit] Comunication

I have create a new project in http://projects.openmoko.org/projects/mokardu/ for colaborate.

The name is MokArdu ( Moko + Arudino ).

[edit] External Links

Personal tools

ArduinoDuemilanove.jpg

Description

Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.

Arduino can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators. The microcontroller on the board is programmed using the Arduino programming language (based on Wiring) and the Arduino development environment (based on Processing). Arduino projects can be stand-alone or they can communicate with software on running on a computer (e.g. Flash, Processing, MaxMSP).

Connection to Neo via USB

To connect Neo to Arduino you need a cable with "usb mini-b" for the Neo and "usb b-type" for the Arduino.

To send voltage to the Arduino and to make Neo host of usb devices:

echo "1" > /sys/devices/platform/neo1973-pm-host.0/hostmode
echo "host" > /sys/devices/platform/s3c2410-ohci/usb_mode

Comunication

I have create a new project in http://projects.openmoko.org/projects/mokardu/ for colaborate.

The name is MokArdu ( Moko + Arudino ).

External Links