Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: RumblePuff on February 19, 2017, 03:51:05 pm

Title: Arduino + IR Sender to control a TV on Power up
Post by: RumblePuff on February 19, 2017, 03:51:05 pm
Hello all.

Busy working away on my cabinet and I'm getting close to mounting the 27" LG TV I have.
So I want the TV to come on when the main power switch in turned on and I've read a few things on this site about people using capacitors and stuff thats way beyond my electronics ability.

So I had the idea of using an Arduino Uno board I have spare and an IR Sender to send the power on to the TV when the PC starts up.
Note that the original TV remote was lost a few years ago and I'd rather not take it apart if possible.

Is this a stupid way of doing it?
Be gentle please.


Title: Re: Arduino + IR Sender to control a TV on Power up
Post by: thomas_surles on February 19, 2017, 03:59:09 pm
I mean I theory this could work. Where would you mouth the sensor? I'm assuming behind the bezel
Title: Re: Arduino + IR Sender to control a TV on Power up
Post by: baritonomarchetto on February 19, 2017, 04:09:44 pm
Placing a capacitor between the two pins of the power on button calls for 2 solders... arduino+IR receiver is a waaaaaay more complex way to solve the problem.
Title: Re: Arduino + IR Sender to control a TV on Power up
Post by: RumblePuff on February 19, 2017, 06:18:41 pm
I mean I theory this could work. Where would you mouth the sensor? I'm assuming behind the bezel

I figured I'd just stick the IR Sender right next to the IR Receiver on the TV. Not sure if you need to have any distance between the two but I'll check.
Title: Re: Arduino + IR Sender to control a TV on Power up
Post by: RumblePuff on February 20, 2017, 01:54:17 pm
Placing a capacitor between the two pins of the power on button calls for 2 solders... arduino+IR receiver is a waaaaaay more complex way to solve the problem.

Not sure my TV is as simple as two pins for the power on.
I removed the front bezel to take a look. The TV has a touch sensitive panel for turning on the power/volume etc.
I have no idea what I would do with the wires below.

Anyone any suggestions?

Title: Re: Arduino + IR Sender to control a TV on Power up
Post by: bismark0610 on April 18, 2017, 08:15:24 pm
I struggled to get my raspberry pi to control an IR transmitter and ultimately failed.  I ended up modifying my remote by soldering an NPN transistor across the pads under the button and driving the transistor with a GPIO pin.
Title: Re: Arduino + IR Sender to control a TV on Power up
Post by: mahuti on April 20, 2017, 03:38:06 pm
If you're de-casing the TV, you can see where the on/off switch actually wires into. It is possible it might even be marked on the board.

That said, If you're not going to do any soldering, you might want to research and see if there's a hidden menu in your TV that has any power-up after power failure type of options. Some TVs have service menus with additional options. My crappy magnavox doesn't, so I had to jumper the on/off switch (eventually put in a toggle). Some of my other TV's do have those power options though. It's a lot easier then soldering. Lot easier than arduinos.

Quote
Not sure my TV is as simple as two pins for the power on.

Most every function somewhere along the line starts out life as a single wire/circuit that gets jumped to a ground. There may be a lot of other crap in front of, or in back of it... but somewhere there's probably something you can solder into. Will it be easy to find?   :dunno
Title: Re: Arduino + IR Sender to control a TV on Power up
Post by: NickG on April 25, 2017, 05:31:46 am
Placing a capacitor between the two pins of the power on button calls for 2 solders... arduino+IR receiver is a waaaaaay more complex way to solve the problem.

Not sure my TV is as simple as two pins for the power on.
I removed the front bezel to take a look. The TV has a touch sensitive panel for turning on the power/volume etc.
I have no idea what I would do with the wires below.

Anyone any suggestions?

If you can get a meter on them, the ones which get closer to zero ohms when you press power are probably the ones to which to attach a capacitor.  I would just try de-casing enough to access switch panel to check for label like mahuti suggests; or if it a harder panel to get to; attaching a non-electrolytic from the blue wire to the grey wires one at a time until it toggles on/off.   I use an arduino for xm-2950 because de-casing / re-mounting it is a project in itself. I do have the ir led within a few CM of the ir receiver, and it works.     
Title: Re: Arduino + IR Sender to control a TV on Power up
Post by: mahuti on April 25, 2017, 10:32:40 am
Code: [Select]
because de-casing / re-mounting it is a project in itself.
Ain't that the truth. Every time I've used a tv... that's the #1 most complicated part to deal with (for me). Just getting it to sit back in the machine and look like it belongs there without being easy to mess up. Older TVs... I could just swap with existing arcade monitor mounts. Newer (even newer round ones) just don't seem to fit existing mounts at all. Then you have to build a box frame or get out the welder and some steel hah hah.
Title: Re: Arduino + IR Sender to control a TV on Power up
Post by: menace on April 25, 2017, 01:29:42 pm
I bought a little relay thing from Aliexpress--basically after seeing power (from the pc or whatever) it waits 5 seconds, then closes a switch (which was jumpered across the tv's own power button) and then opens--so basically a momentary contact relay switch.

Works great, cost $5 I think.

link:
https://www.aliexpress.com/item/12V-Normally-closed-momentary-disconnect-switch-trigger-delay-relay-module-trigger-delay-module/1000001574885.html?spm=2114.01010208.3.8.6NgFsy&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10068_10130_10139_10136_10137_10060_10138_10155_10062_10156_10154_10056_10055_10054_10059_10099_10103_10102_10096_10148_10147_10052_10053_10142_10107_10050_10051_10084_10083_10080_10082_10081_10178_10110_10111_10112_10113_10114_10181_10037_10032_10078_10079_10077_10073_10070_10123_10124,searchweb201603_2,ppcSwitch_5&btsid=0a27b553-ca15-4cf6-bbac-d4dc1e8f45bf&algo_expid=ed816ffa-8caf-4eb5-83ab-57811c3bf55a-4&algo_pvid=ed816ffa-8caf-4eb5-83ab-57811c3bf55a (https://www.aliexpress.com/item/12V-Normally-closed-momentary-disconnect-switch-trigger-delay-relay-module-trigger-delay-module/1000001574885.html?spm=2114.01010208.3.8.6NgFsy&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10065_10151_10068_10130_10139_10136_10137_10060_10138_10155_10062_10156_10154_10056_10055_10054_10059_10099_10103_10102_10096_10148_10147_10052_10053_10142_10107_10050_10051_10084_10083_10080_10082_10081_10178_10110_10111_10112_10113_10114_10181_10037_10032_10078_10079_10077_10073_10070_10123_10124,searchweb201603_2,ppcSwitch_5&btsid=0a27b553-ca15-4cf6-bbac-d4dc1e8f45bf&algo_expid=ed816ffa-8caf-4eb5-83ab-57811c3bf55a-4&algo_pvid=ed816ffa-8caf-4eb5-83ab-57811c3bf55a)