Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:c2_enhancement_gpio40_on_android [2017/05/19 16:16] odroid [ADC and GPIO output] |
en:c2_enhancement_gpio40_on_android [2017/05/19 16:27] odroid [I2C] |
||
---|---|---|---|
Line 85: | 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 === | === Gmail Notifier example === | ||
- | This is fun and useful project. \\ | + | 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. \\ | 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. \\ | The flag is moving by servo motor which is connected to a PWM pin on 40pin GPIO port. \\ | ||
Line 95: | Line 97: | ||
{{youtube>Vvq77w87RWQ?medium}} | {{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|}} | ||