TV-B-On(the box)

The thing you need when your TV remote power button fails.

Similar projects worth following
A while back the power button on my remote started to fail. It's become harder to get it to send the IR code to turn on the TV. The contact is likely dirty but didn't want to risk destroying the remote by the extreme violence it that would be required to get the shell open.

Frustrated, I threw together a quick and dirty solution using one of my Atmega328P Target boards, a AA battery pack, an IR LED, a transistor, a push button, an AMS sample box I had laying around, and the requisite wiring and rubber band to hold it all together. A bit on the crude side, but it works!

I'm planning to make a more-refined version.

The current version (the Attiny85 one is a bit more refined than my original, crude thrown together version.  It's designed to send the IR code on power on/reset and then go in a very low power sleep mode until the reset push button switch is pressed again.  An on-board push button switch or an external  push button switch wired to the J3 pin header can be used.  I added jumper J2 to allow the IR LED to be disconnected when uploading code to the Attiny85 to eliminate the risk of damaging the IR LED from being driven at too-high a duty cycle (it's perhaps a bit overkill. I also added an indicator LED to show when it's transmitting (surprisingly useful for debuting.)  I chose a red LED for the indicator due to the relatively low forward voltage it needs.

On the parts list there are some different values listed vs what's shown on the KiCad schematic.  This was due to me making some value adjustments after doing the schematic, and thus the values listed on the parts list are current. NOTE: The R2 and R4 values are based on the board being powered by 2xAA batteries. If you plan to use a higher voltage, the values may need to be increased.

sample code for transmitting NEC IR codes

x-zip-compressed - 6.80 kB - 07/03/2019 at 17:18


Code that I used to turn on my Insignia TV, of course not the finished product.

x-zip-compressed - 6.63 kB - 07/02/2019 at 22:24


TV-B-On KiCad board files

x-zip-compressed - 104.74 kB - 04/03/2019 at 19:14


  • 2 × 0805 10K resistor (R1 and R3)
  • 1 × 0805 150 ohm resistor(R2)
  • 2 × .100" 2 pin pin headers (J1 and J2, if soldering directly to the power header only 1 is needed) Batteries and Battery Accessories / Battery Holders, Snaps and Contacts
  • 1 × 6mm thu-hole 4-pin push button (not needed if using an external push button)
  • 1 × .100" 2x3 pin header or shrouded pin header (for ICSP, optional if not programming the attiny on the board)

View all 19 components

  • Well there appears to be a sign that I should get back to work

    mcu_nerd07/02/2019 at 22:22 0 comments

    I went on HaD today only to find an article on my project! Thanks for the article, Lewin Day.  I'm taking it as a sign that I should get back to work on the software side of things.  I've been holding off on the code until I got to a more finished product but I guess it wouldn't hurt to release the code for turning on the Insignia TV.  Be warned that it's far from polished.

    UPDATE: Today (7/3/2019) I just uploaded some code for transmitting NEC IR codes.

  • Been doing a bit more work on a more refined version

    mcu_nerd04/03/2019 at 19:09 0 comments

    I've been doing a bit more on it.  I still got a bit more work on the software side of things, but the hardware side of things didn't come out too bad. I did take some inspiration from the TV-B-Gone.  

    For the MCU I decided to use the Attiny85 (attiny85v-10pu variant as that can work down to 1.8V.)  I've added things such as a small 6 pin ICSP header, an indicator LED, both a PCB mounted push button switch and some pads to use an external push button switch (great if you want to put it in a box), and a space for an external crystal.

    The board can be easily put on top of a 2xAA battery back with some hot glue or mounted inside of something.

View all 2 project logs

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates