To compile this test code, you must install the library of DHT sensor.
Download dht.cpp and dht.h from below link and copy them into "/home/odroid/sketchbook/libraries/dht".http://playground.arduino.cc/Main/DHTLib
I should restart the Arduino IDE after copying to use the library.

If you run the test code on the Arduino,
- Read the DHT sensor and show the Humidity and Temperature on LCD
- Read the keypad and show the pressed keypad
- Send the data to ODROID via Serial port (USB)

SerialMonitor.png (23.56 KiB) Viewed 30247 times

DHT11 uses one-wire communication and I connected it to the digital Pin#3 of Arduino.
Also note that I also added a 4.7K~5Kohm pull-up resistor on that pin.

Good approach Odroid!
I have the same setup,running from February on a Usb port free in my bedroom.
Same board,same LCD keypad shield,same sensor,apart i use DHT22 and not 11 because 11 is less accurate having a T range of 2°C where 22 has +- 0.5°C.
To ALL--if you already have a shield similar to this,pay attention on the fact not all Keypad shields are the same internally.What change is the buttons assignements,some has and use one pin for every buttons,others instead only a pin and in the code you can know which pin is pressed because give different impedance being in series in between.
I'm very interested in the future qt\graphical design for read this on odroids.I used a similar approach time ago,did by a guy in Qt,and on my linux host i can see temperatures and pressure in a nice qt interface,all of that connected on internet and loaded via Pachube to read that data remotely.Was amazing!
Many thanks for this 3ad Odroid!

This is a very useful article even I'm using the USB-IO board based on Microchip's PIC MCU.
I like to make a servo motor driven motion controller with a few sensors.

HK's USB-IO vs. Arduino Uno.
The USB-IO is much cheaper than Arduino.
If you consider to make your own device in high volume, the USB-IO is better choice.
Microchip also supports many various example codes.

But if you make a few devices like DIY stuff and familiar with Arduino development, the Arduino is the best solution.
Tons of examples, various shields, books for beginners.... you can buy it locally without relatively expensive shipping cost from Korea.
Processing language on Arduino is very fun and productive.

I hope Hardkernel also sells their own Arduino compatible board at lower cost in near future.

streetboy wrote:
I hope Hardkernel also sells their own Arduino compatible board at lower cost in near future.

We are heavilly considering to sell the Arduino Uno + LCD_Key_Shield + DHT11(assembled) + USB cable at $25.
But those are not the original one. They are clone(100% compatible) and manufactured by our partner in China.
The price will be about $50 if you like the orignal one.

When we complete a few applications for Linux and Android, we will start to sell it.
I think it will be available in middle of November.

Wow it will be great to have some apps for android to interface odroid and arduino!
Please take a look also on connect arduino via internet by odroid or its ethernet shield(10 dollars the clone chinese)and have possibility to exchange datas over internet\web pages via qt.
it would be awesome!

Because the Arduino serial monitor supports only 115200bps max, I should use the minicom.
In the settings of Baud-rate in the minicom, I pressed a few of 'A' and 'B' to see the 2Mbps in the minicom memu.

Awesome!
I love the Qt app source code and Android source code.
It is really helpful and useful for my projects.

One simple question !
When I installed the Arduino IDE into ODROID-U2, apt-get installed the OpenJDK automatically.
It seems to be obviously slower than the Oracle JDK.
Can I uninstall the OpenJDK and run the Arduino IDE with only Oracle's JDK?

Firmata is a generic protocol for communicating with microcontrollers from software on a host computer. It is intended to work with any host computer software package. Right now there is a matching object in a number of languages. It is easy to add objects for other software to use this protocol. Basically, this firmware establishes a protocol for talking to the Arduino from the host software. The aim is to allow people to completely control the Arduino from software on the host computer.http://firmata.org/wiki/Main_Page

Hey! Great guide. I only use my Odroid for arudino projects now, it's all you need! I'll be posting the details of my 3D laser scanner when it's complete, developed in python on odroid making use of an arduino uno with an adafruit motor driver shield version 1.

I realize it's been over a year since the last post, but I have a XU4 and would love to use the latest Arduino IDE (1.6.8) and I'm wondering if it's even worth trying to get it running via compiling from source code or not or is there a deb package already out there that I'm unaware of?