{"id":8763,"date":"2011-03-10T13:38:37","date_gmt":"2011-03-10T04:38:37","guid":{"rendered":"https:\/\/www.hardkernel.com\/?p=8763"},"modified":"2018-11-09T17:59:39","modified_gmt":"2018-11-09T08:59:39","slug":"oscilloscope-on-odroid-7","status":"publish","type":"post","link":"https:\/\/www.hardkernel.com\/ko\/blog\/oscilloscope-on-odroid-7\/","title":{"rendered":"Oscilloscope on ODROID-7"},"content":{"rendered":"<p>ODROID-7 has an expansion port of TTA20 connector.<br \/>\nThere is an ADC port which is connected to S5PC110 processor.<br \/>\nWe are using the ADC port to make a simple oscilloscope.<\/p>\n<p>Please note the ADC sample rate is only 1Mega samples per sec and it causes very low band width.<br \/>\nBut, it is still useful to see any moving\/static level of signals on GPIO or audio frequency band.<\/p>\n<p>We could grab SINE wave signal as below picture.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8764\" src=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101252129360.jpg\" alt=\"\" width=\"448\" height=\"299\" srcset=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101252129360.jpg 448w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101252129360-247x165.jpg 247w\" sizes=\"auto, (max-width: 448px) 100vw, 448px\" \/><\/p>\n<p><strong><span style=\"font-size: medium;\">Hardware structure.<\/span><\/strong><br \/>\n&#8211; One OPAMP for signal conditioning (Attenuation as well as makes high input impedance)<br \/>\n&#8211; One LDO for power supply of OPAMP<br \/>\n&#8211; One LED can be controlled by CPU to display status<br \/>\n&#8211; This board can work with Odroid-T as well.<br \/>\n&#8211; TP1 is signal input and TP2 is reference(ground).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8768\" src=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101253199467.jpg\" alt=\"\" width=\"400\" height=\"151\" srcset=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101253199467.jpg 400w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101253199467-247x93.jpg 247w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>This 20pin TTA connector can be attached to ODROID-7 directly or through debug board.<\/p>\n<p>Schematics of OSC board.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8770\" src=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101355535299.png\" alt=\"\" width=\"1110\" height=\"722\" srcset=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101355535299.png 1110w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101355535299-800x520.png 800w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101355535299-768x500.png 768w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101355535299-247x161.png 247w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101355535299-510x332.png 510w\" sizes=\"auto, (max-width: 1110px) 100vw, 1110px\" \/><\/p>\n<p><strong><span style=\"font-size: medium;\">Software structure.<\/span><\/strong><br \/>\n&#8211; Modified ADC device driver in Kernel<br \/>\n&#8211; JNI parts for inter-connection with Java (We call it NDK from time to time)<br \/>\n&#8211; Java application to display signals.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8772\" src=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101400002788.png\" alt=\"\" width=\"720\" height=\"432\" srcset=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101400002788.png 720w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101400002788-247x148.png 247w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201103101400002788-510x306.png 510w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/p>\n<p><strong><span style=\"font-size: medium;\">What to do&#8230;.\u00a0 (Future improvement)<\/span><\/strong><br \/>\n&#8211; Trigger function<br \/>\n&#8211; Zoom In\/Out with multi-touch pinch input<br \/>\n&#8211; Better Horizontal\/Vertical scaling<br \/>\n&#8211; Math lib for FFT\/DCT<\/p>\n<p>We will open the source code within couple of weeks.<br \/>\nI think this is a very nice example to learn how real embedded system can run with Android OS.<br \/>\nIt also can be a good text book\/reference for beginners.<\/p>\n<p>Thanks,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ODROID-7 has an expansion port of TTA20 connector. There is an ADC port which is connected to S5PC110 processor. We are using the ADC port to make a simple oscilloscope. Please note the ADC sample rate is only 1Mega samples per sec and it causes very low band width. But, it is still useful to [&#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":[20148],"class_list":["post-8763","post","type-post","status-publish","format-standard","hentry","category-blog","tag-odroid-7"],"_links":{"self":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/8763","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=8763"}],"version-history":[{"count":2,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/8763\/revisions"}],"predecessor-version":[{"id":8775,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/8763\/revisions\/8775"}],"wp:attachment":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/media?parent=8763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/categories?post=8763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/tags?post=8763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}