» Electronics » Arduino »We control the TV or the musical center with gestures

We control the TV or the musical center with gestures



Electronics manufacturers are gradually coming to the conclusion that the best remote control is the user's palm. So in the new column "Yandex.Station Mini" provides such management. Do not stand aside from trends and friends. For example, the author of Instructables under the nickname dan_nicholson came up with a simple device that allows you to control your TV with gestures. By default, it is programmed to work with Sony TVs, but can also be configured to control any other TVs, music centers, etc. As can be seen from KDPV, consists homemade from the range finder Arduino and several additional components. Can be made even more compact:




And even more compact if you abandon the breadboard and connect everything by soldering using wires. The master makes a device diagram in the Fritzing program, which not everyone likes, but do not rush to throw slippers, this method of drawing up diagrams can also be convenient. The master connects an infrared LED through a resistor, and all crystals of the RGB LED are directly connected. He writes that resistors are also desirable here, but in fact they are required.



Having assembled the circuit, the master takes the library here, and the command codes are herewrites and fills the sketch:



A feature of the program is sending to the Arduino IDE serial port monitor debugging messages about what is happening at the moment. After making sure that everything works correctly, in the future you can power the device not from the computer, but from the power supply.

The order of sending commands:

1. Turn the TV on or off: wave your palm in front of the range finder at a distance of 0 to 75 mm, the RGB LED will light up purple for 5 seconds, while it is lit, wave at the same distance again.

2. Decrease the channel number - swing at a distance from 75 (not inclusive) to 250 mm. Zoom - the same, but at a distance of 250 (not inclusive) to 500 mm.

3. Decrease or increase the volume - the same as with the channels, but do not wave, but hold your palm motionless. While the user is holding his palm, the volume, depending on the distance, decreases or increases according to the same logic as the channel number.

To use other functions (EPG, teletext, low-frequency input, etc.) you should keep a regular remote control next to you. In modern conditions, it is advisable to program the device to control a DVB-T2 standard set-top box. In the case of the music center, everything is different: analog broadcasting is still there, although in the future there will be a transition to the start-up DAB + or DRM +.

Having debugged the structure, it should be placed in the body of any structure - from the manufactured do it yourself from plexiglass, plywood, to any suitable finished box, for example, soldering. Holes should be provided in the housing for the rangefinder, cable, and both LEDs. It is advisable to direct the rangefinder and the RGB LED in one direction, and the IR diode in the opposite direction.
7.8
7
7.8

Add a comment

    • smilesmilesxaxaokdontknowyahoonea
      bossscratchfoolyesyes-yesaggressivesecret
      sorrydancedance2dance3pardonhelpdrinks
      stopfriendsgoodgoodgoodwhistleswoontongue
      smokeclappingcraydeclarederisivedon-t_mentiondownload
      heatirefullaugh1mdameetingmoskingnegative
      not_ipopcornpunishreadscarescaressearch
      tauntthank_youthisto_clueumnikacuteagree
      badbeeeblack_eyeblum3blushboastboredom
      censoredpleasantrysecret2threatenvictoryyusun_bespectacled
      shokrespektlolprevedwelcomekrutoyya_za
      ya_dobryihelperne_huliganne_othodifludbanclose

We advise you to read:

Hand it for the smartphone ...