Close
0%
0%

IR power switch for NucBox G5

Add IR power switch to a mini PC to turn on it with TV remote.

Similar projects worth following
127 views
0 followers
I am going to use this tiny PC to watch netflix on my living room. So it would be handy if I am able to power on the PC with a TV remote. This project aims to achieve it without compromising compactness of the PC.

In mini PCs, power switch is soldered to a board directly and I need custom solution.

What I need to do is simple:

  1. Find out which pin is the pin to turn on and attach a cable to it to connect to a mcu.
  2. Find out what can be used to power mcu.
  3. Connect IR receiver to mcu.
  4. Program mcu to output low to power switch pin when it received particular remote control signal.

irswitch-sch.pdf

circuit diagram

application/pdf - 9.88 kB - 07/18/2025 at 12:14

Preview

  • Add learning mode

    teru08/03/2025 at 06:36 0 comments

    Added code learning mode so power on code can be changed without uploading firmware.

    Add push switch between IR pin and ground, and hold it down while reset, then device enters learning mode.

    In this learning mode, device accepts IR signal twice. If the 2 signals are same, it is saved to eeprom and will be used as power on code.

  • IR library works

    teru07/29/2025 at 12:31 0 comments

    After some push and pulls, I mostly understand the IR library and now it recognize TV remote signals.

    It blinks red LED upon receiving specific IR signal.

  • Development on a breadboard

    teru07/23/2025 at 12:30 0 comments

    I set up development environment on a breadboard.

    I'm trying to make IR library work with ATtiny85. IR library is this one by ChaN.

  • Circuit diagram

    teru07/18/2025 at 12:13 0 comments

    For a mcu, I am planning to use ATtiny85, specifically Adafruit's trinket.

    Althogh the device has USB connector, I don't remember how to use it. I ignored the USB and flashed optiboot and using serial to communicate to the device.

  • Find out pin assignments of the power switch

    teru07/15/2025 at 12:04 0 comments

    First of all, I need to know which pins should I short to turn on the PC.

    I opened case and checked pin assignments by measuring voltage and resistance.
    Result is in the following picture:

    First pin, left most one, outputs 3.3V even if system is shut down. This seems to powering LED.
    Second pin is connected to ground.
    Third is the one I need. Shorting it to ground turns on the PC.
    Forth pin controls the LED. Shorting it to ground turns on the LED.
    In the other words, outer pins are for LED, inner pins are for switch.

    It turned out there is everything I need: power, ground and switch. Additionaly, I may be able to use LED control pin to detect whether PC is on or off.
    I don't know how much power I can draw from the 3.3V source, but it is unlikely to hurt anything if I draw a few milliamperes.

View all 5 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

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