Arduino

From Openmoko

(Difference between revisions)
Jump to: navigation, search
 
(3 intermediate revisions by one user not shown)
Line 8: Line 8:
  
 
== Connection to Neo via USB ==
 
== 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:
 
To send voltage to the Arduino and to make Neo host of usb devices:
Line 15: Line 17:
 
</pre>
 
</pre>
  
== Comunication via USB ==
+
== 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 ==
  
 
I have create a new project in http://projects.openmoko.org/projects/mokardu/ for colaborate.
 
I have create a new project in http://projects.openmoko.org/projects/mokardu/ for colaborate.
Line 23: Line 31:
 
== External Links ==
 
== External Links ==
  
* [http://arduino.cc/ Official 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://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 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 via USB

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

The name is MokArdu ( Moko + Arudino ).

External Links