Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:odroidoduinoone [2013/11/04 15:33] codewalker |
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. | ||
Line 44: | Line 44: | ||
I should restart the Arduino IDE after copying to use the library. | I should restart the Arduino IDE after copying to use the library. | ||
- | [code] | + | <code> |
#include <LiquidCrystal.h> | #include <LiquidCrystal.h> | ||
#include <dht.h> | #include <dht.h> | ||
Line 182: | Line 182: | ||
delay(50); // delay 50 msec. | delay(50); // delay 50 msec. | ||
} | } | ||
- | [/code] | + | </code> |
===== Application ===== | ===== Application ===== | ||
Line 191: | Line 191: | ||
http://dn.odroid.com/ODUINO/binary/Ubuntu_Qt/arm/oduino | 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}} | + | {{http://dn.odroid.com/ODUINO/binary/Ubuntu_Qt/screenshot, 2013-11-04 14:32:15.png?600|}} |
- | The binary source code of PC Application. | + | The binary & source code of PC Application. |
http://dn.odroid.com/ODUINO/source/Ubuntu_Qt/oduino.zip | http://dn.odroid.com/ODUINO/source/Ubuntu_Qt/oduino.zip | ||
- | === How to compile x86 and ARM Application for Ubuntu === | + | === How to compile x86 and ARM Application for Ubuntu/Linux === |
== install packages == | == install packages == | ||
<code> | <code> | ||
- | apt-get install qt4-default qt4-designer libqwt-dev | + | $ sudo apt-get install qt4-default qt4-designer libqwt-dev |
</code> | </code> | ||
== build the oduino == | == build the oduino == | ||
Line 208: | Line 208: | ||
</code> | </code> | ||
+ | == Tip == | ||
+ | If you need the application with Qt5, refer this link.\\ | ||
+ | http://forum.odroid.com/viewtopic.php?f=90&t=8524#p104675 | ||
==== Android ==== | ==== Android ==== | ||
http://dn.odroid.com/ODUINO/binary/Android/Oduino.apk | http://dn.odroid.com/ODUINO/binary/Android/Oduino.apk | ||
- | {{http://dn.odroid.com/ODUINO/binary/Android/Screenshot_2013-11-04-14-46-26.png}} | + | {{http://dn.odroid.com/ODUINO/binary/Android/Screenshot_2013-11-04-14-46-26.png?600|}} |
- | The binary source code of Android Application. | + | The binary & source code of Android Application.\\ |
http://dn.odroid.com/ODUINO/source/Android/Oduino.zip | http://dn.odroid.com/ODUINO/source/Android/Oduino.zip |