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
Next revision Both sides next revision
en:c2_enhancement_gpio40_on_android [2017/05/18 14:40]
odroid [Configure NDK path for Android Studio]
en:c2_enhancement_gpio40_on_android [2017/05/19 18:26]
odroid [PWM]
Line 44: Line 44:
 ===== Windows ===== ===== Windows =====
  
-1. Install git +==== Set environment PATH to point NDK folder path ==== 
 + 
 +{{:​en:​advanced_system_setting.png?​nolink|}} 
 + 
 +{{:​en:​environment.png?​nolink|}} 
 + 
 +{{:​en:​ndk_path.png?​nolink|}} 
 + 
 + ​Reboot Windows. 
 + 
 +==== Install git client program ====
  
 [[https://​git-for-windows.github.io/​]] [[https://​git-for-windows.github.io/​]]
  
-2, clone project+==== Clone project ​====
  
 {{:​en:​git.png?​nolink&​700|}} {{:​en:​git.png?​nolink&​700|}}
Line 56: Line 66:
 {{:​en:​branch.png?​nolink|}} {{:​en:​branch.png?​nolink|}}
  
-3. Set environment PATH to point NDK folder path+==== Install ​NDK ====
  
-{{:​en:​advanced_system_setting.png?​nolink|}} +Toos -> Android -> SDK Manager
- +
-{{:​en:​environment.png?​nolink|}} +
- +
-{{:​en:​ndk_path.png?​nolink|}} +
- +
-4. Install NDK+
  
 {{:​en:​android_sdk.png?​nolink$500|}} {{:​en:​android_sdk.png?​nolink$500|}}
Line 71: Line 75:
  
  
-===== Import ​project ​& build ===== + 
-There are five functions in this single application. Choose the function with "​tab"​.\\+===== Features of example ​project =====
  
 ==== ADC and GPIO output ==== ==== ADC and GPIO output ====
-Read ADC value and show the level with 19 LEDs on GPIO output.\\+Read ADC value and show the voltage ​level with 19 LEDs on GPIO output.\\
 {{http://​dn.odroid.com/​homebackup/​android_wiringPi_ADC.png?​600|}} {{http://​dn.odroid.com/​homebackup/​android_wiringPi_ADC.png?​600|}}
 {{youtube>​zyfULOkj0Vw?​medium}} {{youtube>​zyfULOkj0Vw?​medium}}
Line 81: Line 85:
  
 ==== PWM ==== ==== PWM ====
 +Basic PWM control example. You can choose the number of PWM outputs 1 or 2.\\
 +And control the frequency and duty ratio.\\
 {{http://​dn.odroid.com/​homebackup/​android_wiringPi_PWM.png?​600|}} {{http://​dn.odroid.com/​homebackup/​android_wiringPi_PWM.png?​600|}}
  
 +=== Gmail Notifier example ===
 +This is fun and useful project using the PWM port. \\
 +When you watch video or play games, you might lose a notification of the important email or message. \\
 +The flag is moving by servo motor which is connected to a PWM pin on 40pin GPIO port. \\
 +https://​github.com/​codewalkerster/​GMailNotifier
 +
 +{{youtube>​Vvq77w87RWQ?​medium}}
 ==== I2C ==== ==== I2C ====
 +An example code to access our [[http://​www.hardkernel.com/​main/​products/​prdt_info.php?​g_code=G144533067183|Weather Board]] to measure the temperature,​ humidity, atmospheric pressure, altitude and visible/​invisible light intensities via I2C interface.\\
 {{:​en:​screenshot_2016-04-25-02-38-54.png?​600|}} {{:​en:​screenshot_2016-04-25-02-38-54.png?​600|}}
  
 ==== UART ==== ==== UART ====
 +A demo software for Sending and Receiving characters via UART interface. \\
 {{http://​dn.odroid.com/​homebackup/​android_wiringPi_UART.png?​600|}} {{http://​dn.odroid.com/​homebackup/​android_wiringPi_UART.png?​600|}}
  
 ==== 1 Wire ==== ==== 1 Wire ====
 +A demo software to access 1-wire protocol interfaced DS18S20 temperature sensor.\\
 {{http://​dn.odroid.com/​homebackup/​android_wiringPi_1wire.png?​600|}} {{http://​dn.odroid.com/​homebackup/​android_wiringPi_1wire.png?​600|}}
  
en/c2_enhancement_gpio40_on_android.txt · Last modified: 2017/05/30 17:27 by codewalker
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0