Introduction: Gesture Controlled Ebook Reader, Slideshow Image View, and Ingame Zooming

Picture of Gesture Controlled Ebook Reader, Slideshow Image View, and Ingame Zooming

Controlling an image viewer with hand gesture.
Swipe right to next image, swipe left to previous image.

Step 1: Parts and the Circuit

Picture of Parts and the Circuit

Parts:

- 1x Arduino leonardo (pro micro)

- 2x HC-SR04 Ultrasonic sensor

Check the image for the connecting.

Arduino code is on the bottom.

The idea is very simple:

If swipe right, then the left sensor detect first, and store "1" value in the arduino eeprom.

When hand reach the right sensor, the code check the eeprom for value.

If the value is "1", the app know, the gesture coming from the left, and the leonardo

send to the windows "right arrow key", and clear the eeprom.

If we swipe left, the right sensor detect first, and store "2" value in the eeprom.

When hand reach the left sensor, the code check thee eeprom again for value.

If the value is "2", the app know, we started the swipeing from the right, the leonardo

send "left arrow key", and clear the eeprom, ready to next measuring.

Comments

PriyaranjanR1 (author)2016-12-21

Can i use arduino uno mega?
And how u connected this to your laptop.?
Can i use infrared sensor ?
Plzz reply soon


markz_14 (author)2016-12-19

Those applications are amazing! Keep up the good work bro!

planetleak (author)markz_142016-12-19

Hello, thanks. Check my youtube channel too, there is more.

fikifirmansyah (author)2016-01-15

Very Clever...

seamster (author)2014-10-30

This looks like a great idea!

About This Instructable

1,730views

24favorites

License:

More by planetleak:iPhone Touch ID windows loginESP8266 TV remote for HomekitRaspberry Pi 2 Homekit - from zero to Hey, Siri (Updated)
Add instructable to: