{"id":10525,"date":"2015-05-07T14:29:35","date_gmt":"2015-05-07T05:29:35","guid":{"rendered":"https:\/\/www.hardkernel.com\/?p=10525"},"modified":"2018-11-23T19:00:52","modified_gmt":"2018-11-23T10:00:52","slug":"android-for-the-embedded-system","status":"publish","type":"post","link":"https:\/\/www.hardkernel.com\/ko\/blog\/android-for-the-embedded-system\/","title":{"rendered":"Android for the Embedded System"},"content":{"rendered":"<p><b>Do you want to control various GPIO\/<\/b><b>ADC\/<\/b><b>PWM\/I2C\/UART\/1-Wire devices on Android?<br \/>\nQuick &amp; Easy to make a nice GUI application with Java on Android ?<br \/>\nCan we call it &#8220;Embedded Android&#8221; ?<\/b><\/p>\n<p>We&#8217;ve prepared 5 examples with some proper Kernel drivers for the ODROID-C1.<br \/>\nIt is very basic and essential to learn the Embedded Android.<br \/>\nNote that you must update the Android OS image to enjoy below examples.<\/p>\n<p><b>LED on GPIOs control with ADC input<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-10528\" src=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_ADC.jpg\" alt=\"\" width=\"1280\" height=\"720\" srcset=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_ADC.jpg 1280w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_ADC-800x450.jpg 800w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_ADC-768x432.jpg 768w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_ADC-247x139.jpg 247w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_ADC-510x287.jpg 510w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p><b>PWM Duty control GUI<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-10526\" src=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_PWM.jpg\" alt=\"\" width=\"1280\" height=\"720\" srcset=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_PWM.jpg 1280w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_PWM-800x450.jpg 800w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_PWM-768x432.jpg 768w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_PWM-247x139.jpg 247w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_PWM-510x287.jpg 510w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p><b>I2C sensor access and Display temperature, pressure, humidity, UV index, illumination and so on.<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-10530\" src=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_I2C.jpg\" alt=\"\" width=\"1280\" height=\"720\" srcset=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_I2C.jpg 1280w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_I2C-800x450.jpg 800w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_I2C-768x432.jpg 768w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_I2C-247x139.jpg 247w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_I2C-510x287.jpg 510w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p><b>UART read\/write access. You can test Tx and Rx signals.<\/b><br \/>\n<img decoding=\"async\" src=\"http:\/\/dn.odroid.com\/homebackup\/android_wiringPi_UART.png\" border=\"0\" \/><\/p>\n<p><b>1-wire access example can read the DS1820 sensor values from two nodes.<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-10532\" src=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_1wire.jpg\" alt=\"\" width=\"1280\" height=\"720\" srcset=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_1wire.jpg 1280w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_1wire-800x450.jpg 800w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_1wire-768x432.jpg 768w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_1wire-247x139.jpg 247w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/android_wiringPi_1wire-510x287.jpg 510w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p><b>Source code and how-to guide are available now!<br \/>\n<a href=\"http:\/\/odroid.com\/dokuwiki\/doku.php?id=en:c1_enhancement_gpio40_on_android\" target=\"_blank\" rel=\"noopener\">http:\/\/odroid.com\/dokuwiki\/doku.php?id=en:c1_enhancement_gpio40_on_android<\/a><\/p>\n<p>Android OS image v1.5 for C1 is here.<br \/>\n<a href=\"http:\/\/odroid.com\/dokuwiki\/doku.php?id=en:c1_android_release_note_v1.5\" target=\"_blank\" rel=\"noopener\">http:\/\/odroid.com\/dokuwiki\/doku.php?id=en:c1_android_release_note_v1.5<\/a><\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you want to control various GPIO\/ADC\/PWM\/I2C\/UART\/1-Wire devices on Android? Quick &amp; Easy to make a nice GUI application with Java on Android ? Can we call it &#8220;Embedded Android&#8221; ? We&#8217;ve prepared 5 examples with some proper Kernel drivers for the ODROID-C1. It is very basic and essential to learn the Embedded Android. Note [&#8230;]\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18463],"tags":[20876],"class_list":["post-10525","post","type-post","status-publish","format-standard","hentry","category-blog","tag-odroid-c1"],"_links":{"self":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/10525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/comments?post=10525"}],"version-history":[{"count":1,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/10525\/revisions"}],"predecessor-version":[{"id":10534,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/10525\/revisions\/10534"}],"wp:attachment":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/media?parent=10525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/categories?post=10525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/tags?post=10525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}