Electronics

Electronics

Τρίτη 24 Φεβρουαρίου 2015

Control Tv With Ultrasonic Module

Here is a circuit I've made based on an idea by Lucky_Larry, unfortunatelly Eset doesn't allow me to visit his site anymore because of a trojan virus.... Anyway the concept is this : We have an ultrasonic sensor connected to arduino and depending of the distance of our hand & the time we have it in front of the module, it commands the tv to do different operations. So it goes like this (distance is in inches)

A)Wave hand < 10in change Channel Up
B)Wave hand > 10in change Channel Down
C)Hold hand at < 10in Volume Up
D)Hold hand at > 10in Volume Down
E)Hold hand at < 3 in Power Up/Down TV


Of course you have to change the IR codes depending on your tv, but other than that Larry explains his code very well.





Arduino Code https://www.dropbox.com/s/f0gd9pqf148o1g8/control_tv_with_ultrasonic.ino?dl=0

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου