Main Content

I’ve got a TV in my garage that I use to test things out on, I lost the remote for it, when I did find it it had seen better days. This got me thinking that I should just make my own with just the basic functionally that I need. Join me below to see how it worked out

Hardware
Arduino pro mini
MX cherry blue keys x5
GX-12 5pin connector
TP4056 USB C charger
DD0505MD DCDC boost
IR LED 940nm
IR receiver
Lipo
3 way switch
With most projects I try to introduce A new part or a new way of doing something, This time its the MX cherry blue keys I’m using as buttons. I could have just used boring clicky button which would have made it much smaller but I wanted to try using these as button to see how well they work. I have also got a 3d printer while doing this project which makes it easy to make custom key caps for it.

I was going to use a Arduino pro micro because it has USB HID built in so I could use this in other ways but the IR library I use doesn’t play well with the ATmega32U4. Since I’m using a arduino pro mini I will need to find a way of programing it. In the “Accidentally a lightsaber” project I used the GX-12 5pin connector with an adapter to a FTDI board. I’m going to reuse this adapter and 5pin GX-12 connector because the male GX-12 port is about the same size as a MX cherry blue with a key cap on top.

As I was making this project feature creep creept in, I thought I might as well add a IR receiver because if I wanted to change the what the buttons did later on I could use the remote itself to capture new IR codes. I wanted to be able to put the remote into two different modes with two switches. I also didn’t want to have 2 switches as it might confuse the user, I found a 3 way switch I has ordered for a different project. This way I could have the switch in the central position to be off then slide to the right for on then all the way over to the left for IR receiver mode. This would also mean that when it was in IR receiver mode it wouldn’t also be running off batteries or getting charged when connecting the FTDI cable.

To extend the range of the IR LED I used a 2N2222 transistor which I managed to get wrong when doing the footprint, But luckily I wired it up with some bodge wires and hide it under the PCB. It took me awhile to track down this problem.”

Link to article