We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:odroidoduinoone [2013/11/04 14:08]
odroid
en:odroidoduinoone [2015/09/04 18:23] (current)
odroid [Qt(Ubuntu arm)]
Line 15: Line 15:
 Connections are (V)oltage, (S)ignal, (G)round Connections are (V)oltage, (S)ignal, (G)round
  
-{{en:​dht11-humiditytempvsg.jpg}}+{{en:oduinoone:​dht11-humiditytempvsg.jpg}}
  
 DHT11 uses one-wire communication and I connected it to the digital Pin#3 of Arduino. DHT11 uses one-wire communication and I connected it to the digital Pin#3 of Arduino.
 Also note that we should add a 10Kohm pull-up resistor on that pin. Also note that we should add a 10Kohm pull-up resistor on that pin.
  
-{{en:s_20131020_184658.jpg}}+{{en:oduinoone:​oduinoone_side.jpg?600|}}
  
 The example code shows the temperature,​ humidity and pressed keypad information on LCD. The example code shows the temperature,​ humidity and pressed keypad information on LCD.
 It also transmit that information to the host via USB. It also transmit that information to the host via USB.
  
-{{en:s_20131020_173251.jpg}}+{{en:oduinoone:​oduinoone_top.jpg?600|}}
  
  
 To compile this source code, you need to install the Arduino IDE on your ODROID board or PC. To compile this source code, you need to install the Arduino IDE on your ODROID board or PC.
-[code] +<code> 
-sudo apt-get install arduino +sudo apt-get install arduino 
-[/code]+</code>
  
 I could run the Arduino IDE on ODROID with Ubnutu image. I could run the Arduino IDE on ODROID with Ubnutu image.
 The connection node of Arduino USB is "/​dev/​ttyACM0"​ or "/​dev/​ttyACM1"​. The connection node of Arduino USB is "/​dev/​ttyACM0"​ or "/​dev/​ttyACM1"​.
  
-[code]+To complete 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 "​~/​sketchbook/​libraries/​dht"​. 
 + 
 +[[http://​playground.arduino.cc/​Main/​DHTLib]
 + 
 +I should restart the Arduino IDE after copying to use the library. 
 + 
 +<​code>​
     #include <​LiquidCrystal.h>​     #include <​LiquidCrystal.h>​
     #include <​dht.h>​     #include <​dht.h>​
Line 174: Line 182:
          ​delay(50);​ // delay 50 msec.          ​delay(50);​ // delay 50 msec.
     }     }
-[/code]+</code
 + 
 +===== Application ===== 
 +==== Qt(Ubuntu x86) ==== 
 +http://​dn.odroid.com/​ODUINO/​binary/​Ubuntu_Qt/​x86/​oduino 
 + 
 +==== Qt(Ubuntu arm) ==== 
 +http://​dn.odroid.com/​ODUINO/​binary/​Ubuntu_Qt/​arm/​oduino 
 + 
 +{{http://​dn.odroid.com/​ODUINO/​binary/​Ubuntu_Qt/​screenshot,​ 2013-11-04 14:​32:​15.png?​600|}} 
 + 
 +The binary & source code of PC Application. 
 +http://​dn.odroid.com/​ODUINO/​source/​Ubuntu_Qt/​oduino.zip 
 +=== How to compile x86 and ARM Application for Ubuntu/​Linux === 
 +== install packages == 
 +<​code>​ 
 +$ sudo apt-get install qt4-default qt4-designer libqwt-dev 
 +</​code>​ 
 +== build the oduino == 
 +<​code>​ 
 +$ cd oduino 
 +$ uic oduin.ui > ui_oduino.h 
 +$ qmake 
 +$ make 
 +</​code>​ 
 + 
 +== Tip == 
 +If you need the application with Qt5, refer this link.\\ 
 +http://​forum.odroid.com/​viewtopic.php?​f=90&​t=8524#​p104675 
 +==== Android ==== 
 +http://​dn.odroid.com/​ODUINO/​binary/​Android/​Oduino.apk 
 + 
 +{{http://​dn.odroid.com/​ODUINO/​binary/​Android/​Screenshot_2013-11-04-14-46-26.png?​600|}} 
 + 
 +The binary & source code of Android Application.\\ 
 +http://​dn.odroid.com/​ODUINO/​source/​Android/​Oduino.zip
en/odroidoduinoone.1383541688.txt.gz · Last modified: 2013/11/04 14:08 by odroid
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0