Silicon ChipIR Helper - September 2024 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: Intel is in trouble
  4. Product Showcase
  5. Subscriptions
  6. Feature: Energy Harvesting by Dr David Maddison, VK3DSM
  7. Review: Exteek C28 transmitter/receiver by Allan Linton-Smith
  8. Project: Compact OLED Clock/Timer by Tim Blythman
  9. Feature: Mains Earthing Systems by Brandon Speedie
  10. Project: Pico Mixed-Signal Analyser (PicoMSA) by Richard Palmer
  11. Project: IR Helper by Tim Blythman
  12. Project: No-IC Colour Shifter by Tim Blythman
  13. Feature: Electronics Manufacturing in Oz Part 2 by Kevin Poulter
  14. Project: Discrete Ideal Bridge Rectifiers by Phil Prosser & Ian Ashford
  15. Project: Electric Guitar Pickguards by Brandon Speedie
  16. Serviceman's Log: Turning to the dark side by Dave Thompson
  17. Vintage Radio: Stromberg-Carlson “Air Hostess” model 4A19 by Associate Professor Graham Parslow
  18. PartShop
  19. Market Centre
  20. Advertising Index
  21. Notes & Errata: 180-230V DC Motor Speed Controller, July-August 2024
  22. Outer Back Cover

This is only a preview of the September 2024 issue of Silicon Chip.

You can view 42 of the 112 pages in the full issue, including the advertisments.

For full access, purchase the issue for $10.00 or subscribe for access to the latest issues.

Items relevant to "Compact OLED Clock/Timer":
  • Compact OLED Clock & Timer PCB [19101231] (AUD $5.00)
  • PIC16F18146-I/SO programmed for the Compact OLED Clock & Timer [1910123A.HEX] (Programmed Microcontroller, AUD $10.00)
  • Short-form kit for the Compact OLED Clock & Timer (Component, AUD $45.00)
  • Firmware (C and HEX) files for the Compact OLED Clock/Timer [0910123A.HEX] (Software, Free)
  • Compact OLED Clock & Timer PCB pattern (PDF download) [19101231] (Free)
Items relevant to "Pico Mixed-Signal Analyser (PicoMSA)":
  • PicoMSA PCB [04109241] (AUD $7.50)
  • Firmware for the PicoMSA (Software, Free)
  • PicoMSA PCB pattern (PDF download) [04109241] (Free)
  • PicoMSA lid panel artwork and drilling diagrams (Free)
Items relevant to "IR Helper":
  • Firmware for JMP010 - IR Helper (Software, Free)
Articles in this series:
  • Wired Infrared Remote Extender (May 2024)
  • Symbol USB Keyboard (May 2024)
  • Wired Infrared Remote Extender (May 2024)
  • Thermal Fan Controller (May 2024)
  • Symbol USB Keyboard (May 2024)
  • Thermal Fan Controller (May 2024)
  • Self Toggling Relay (June 2024)
  • Self Toggling Relay (June 2024)
  • Arduino Clap Light (June 2024)
  • Arduino Clap Light (June 2024)
  • Lava Lamp Display (July 2024)
  • Digital Compass (July 2024)
  • Digital Compass (July 2024)
  • Lava Lamp Display (July 2024)
  • JMP009 - Stroboscope and Tachometer (August 2024)
  • JMP007 - Ultrasonic Garage Door Notifier (August 2024)
  • JMP009 - Stroboscope and Tachometer (August 2024)
  • JMP007 - Ultrasonic Garage Door Notifier (August 2024)
  • IR Helper (September 2024)
  • IR Helper (September 2024)
  • No-IC Colour Shifter (September 2024)
  • No-IC Colour Shifter (September 2024)
  • JMP012 - WiFi Relay Remote Control (October 2024)
  • JMP012 - WiFi Relay Remote Control (October 2024)
  • JMP015 - Analog Servo Gauge (October 2024)
  • JMP015 - Analog Servo Gauge (October 2024)
  • JMP013 - Digital spirit level (November 2024)
  • JMP013 - Digital spirit level (November 2024)
  • JMP014 - Analog pace clock & stopwatch (November 2024)
  • JMP014 - Analog pace clock & stopwatch (November 2024)
  • WiFi weather logger (December 2024)
  • Automatic night light (December 2024)
  • WiFi weather logger (December 2024)
  • Automatic night light (December 2024)
  • BIG LED clock (January 2025)
  • Gesture-controlled USB lamp (January 2025)
  • Gesture-controlled USB lamp (January 2025)
  • BIG LED clock (January 2025)
  • Transistor tester (February 2025)
  • Wireless flashing LEDs (February 2025)
  • Transistor tester (February 2025)
  • Wireless flashing LEDs (February 2025)
  • Continuity Tester (March 2025)
  • RF Remote Receiver (March 2025)
  • Continuity Tester (March 2025)
  • RF Remote Receiver (March 2025)
  • Discrete 555 timer (April 2025)
  • Weather monitor (April 2025)
  • Discrete 555 timer (April 2025)
  • Weather monitor (April 2025)
Articles in this series:
  • Wired Infrared Remote Extender (May 2024)
  • Symbol USB Keyboard (May 2024)
  • Wired Infrared Remote Extender (May 2024)
  • Thermal Fan Controller (May 2024)
  • Symbol USB Keyboard (May 2024)
  • Thermal Fan Controller (May 2024)
  • Self Toggling Relay (June 2024)
  • Self Toggling Relay (June 2024)
  • Arduino Clap Light (June 2024)
  • Arduino Clap Light (June 2024)
  • Lava Lamp Display (July 2024)
  • Digital Compass (July 2024)
  • Digital Compass (July 2024)
  • Lava Lamp Display (July 2024)
  • JMP009 - Stroboscope and Tachometer (August 2024)
  • JMP007 - Ultrasonic Garage Door Notifier (August 2024)
  • JMP009 - Stroboscope and Tachometer (August 2024)
  • JMP007 - Ultrasonic Garage Door Notifier (August 2024)
  • IR Helper (September 2024)
  • IR Helper (September 2024)
  • No-IC Colour Shifter (September 2024)
  • No-IC Colour Shifter (September 2024)
  • JMP012 - WiFi Relay Remote Control (October 2024)
  • JMP012 - WiFi Relay Remote Control (October 2024)
  • JMP015 - Analog Servo Gauge (October 2024)
  • JMP015 - Analog Servo Gauge (October 2024)
  • JMP013 - Digital spirit level (November 2024)
  • JMP013 - Digital spirit level (November 2024)
  • JMP014 - Analog pace clock & stopwatch (November 2024)
  • JMP014 - Analog pace clock & stopwatch (November 2024)
  • WiFi weather logger (December 2024)
  • Automatic night light (December 2024)
  • WiFi weather logger (December 2024)
  • Automatic night light (December 2024)
  • BIG LED clock (January 2025)
  • Gesture-controlled USB lamp (January 2025)
  • Gesture-controlled USB lamp (January 2025)
  • BIG LED clock (January 2025)
  • Transistor tester (February 2025)
  • Wireless flashing LEDs (February 2025)
  • Transistor tester (February 2025)
  • Wireless flashing LEDs (February 2025)
  • Continuity Tester (March 2025)
  • RF Remote Receiver (March 2025)
  • Continuity Tester (March 2025)
  • RF Remote Receiver (March 2025)
  • Discrete 555 timer (April 2025)
  • Weather monitor (April 2025)
  • Discrete 555 timer (April 2025)
  • Weather monitor (April 2025)
Articles in this series:
  • Electronics Manufacturing in Oz Part 1 (August 2024)
  • Electronics Manufacturing in Oz Part 1 (August 2024)
  • Electronics Manufacturing in Oz Part 2 (September 2024)
  • Electronics Manufacturing in Oz Part 2 (September 2024)
Items relevant to "Discrete Ideal Bridge Rectifiers":
  • Discrete Ideal Bridge Rectifier TH PCB [18108241] (AUD $5.00)
  • Discrete Ideal Bridge Rectifier SMD PCB [18108242] (AUD $2.50)
  • Discrete Ideal Bridge Rectifier all-TH kit (Component, AUD $30.00)
  • Discrete Ideal Bridge Rectifier SMD kit (Component, AUD $27.50)
  • Discrete Ideal Bridge Rectifier PCB patterns (PDF download) [18108241-2] (Free)
Items relevant to "Electric Guitar Pickguards":
  • Guitar Pickguard - Jazz Bass [23109241] (PCB, AUD $10.00)
  • Guitar Pickguard - J&D T-Style Bass [23109242] (PCB, AUD $10.00)
  • Guitar Pickguard - Music Man Stingray Bass [23109243] (PCB, AUD $10.00)
  • Guitar Pickguard - Fender Telecaster [23109244] (PCB, AUD $5.00)
  • Guitar Pickguard PCB patterns (PDF download) [23109241-4] (Free)

Purchase a printed copy of this issue for $12.50.

SILICON CHIP Mini Projects #010 – by Tim Blythman IR Helper Infrared (IR) remote controls make life easier. However, each controlled device typically needs its own remote control, making it awkward when you have many devices. The IR Helper can simplify things by emulating different remote controls. T he main role of the IR Helper is to send IR signals automatically, so you don’t have to juggle multiple IR remote controls. Our prototype can do this in a couple of ways, but since it is programmed using the Arduino IDE, it is easy to extend and adapt. You will need some Arduino knowledge, though, since you will have to change our prototype sketch to suit your equipment and its IR codes. The IR Helper can be programmed to send a signal when it is powered on. Many devices like TVs have USB ports, so you can simply plug the IR Helper in, and it will power on when the TV does and send out the signals it’s programmed to generate. The IR Helper can also respond to IR commands and perform extra actions by sending further signals to other devices. For example, the IR Helper could detect the TV being switched on remotely and then turn on a receiver, amplifier, DVD player or all three! From the photos, you can see that the IR Helper has simple hardware. It uses two main modules: a small microcontroller module and an IR receiver module. We have used a module rather than a simple IR receiver because of its handy onboard LED indicator; it is also slightly cheaper. An IR emitter LED is included so that the IR Helper can transmit as well as receive IR signals. The main processor is a compact Leonardo Tiny board with a USB interface. The USB interface is used to display received codes for testing, among other things. We published an article in the August 2018 issue titled “Turn any PC into a media centre – with remote control!” (siliconchip.au/Article/11195). These two projects use very similar hardware, so you might be interested in reading the earlier article to see what else can be done with this basic combination of parts. Circuit details Fig.1 is the wiring diagram. We assembled our prototype by soldering the parts to the Leonardo Tiny board, using heatshrink tubing to protect the exposed leads where necessary. You could also use a full-sized Leonardo board if you wanted to. If you have the Arduino Beetle board from the 2018 article, you could add the IR Transmitter LED, updating the hardware to suit this article, since both projects use the same pin for the IR receiver. The IR Receiver Module incorporates one LED that illuminates when the IR receiver chip sees a valid, mod- Parts List – IR Helper (JMP010) 1 Leonardo Tiny board [Jaycar XC4431] 1 IR Receiver Module [Jaycar XC4427] 1 IR Transmitter LED [Jaycar ZD1946] 1 220W 1% ½W axial resistor [Jaycar RR0556] 1 3cm length of red wire [Jaycar WH3010] 1 3cm length of 5mm diameter heatshrink tubing [Jaycar WH5553] 66 Silicon Chip Australia's electronics magazine ulated signal. The S pin of the module goes low at the same time, signalling to the processor in the Leonardo Tiny that a signal has been received. The Leonardo Tiny sends an IR signal by driving its A0 pin high, sending current through the IR transmitter LED. The pin does not have a lot of drive capability, but it’s enough for transmitting commands over short distances. The IR LED in your handheld IR remote control will be driven much harder than the one in the IR Helper, but we expect that most readers will situate their IR Helper near the devices it is transmitting to. You can see that the IR receiver and transmitter are on opposite sides to facilitate this. Assembly Solder the short length of red wire to the middle pin of the IR Receiver module, then cover the exposed parts of the pin and wire with a few centimetres of heatshrink tubing and shrink it into place. Solder the two outer pins of the module to the D11 and GND (−) pins of the Leonardo Tiny, as shown in the photos. Note that the module has to be upside-down for this to happen. Next, solder the other end of the red wire to the 5V pad on the other side of the Leonardo Tiny. Prepare the LED by cutting the longer anode lead to around 5mm. Cut one of the resistor’s leads to a similar length. Solder the two cut leads together, then use the heatshrink tubing to cover most of the LED’s leads separately. This LED assembly can now be powered directly from a DC supply. You could use this idea on a breadboard or siliconchip.com.au similar to add LEDs without needing to wire up separate resistors. Now solder the exposed ends of the LED assembly to the A0 and GND pins of the Leonardo Tiny. You should be able to re-check the polarity by observing that the side of the LED with the flat edge connects to GND. You can do a quick test by applying power and aiming a signal from an IR remote control at the receiver module. Its indicator LED should flicker while it is receiving a valid IR remote control signal. Arduino sketch You can download the Arduino sketch for this project: siliconchip. au/Shop/6/450 If you don’t already have it, download and install the Arduino IDE from www.arduino.cc/en/software The sketch uses the “irremote” library. This library contains just about everything you need to send and receive IR signals for all manner of devices. To install it, search for “irremote” in the Arduino Library Manager and click the install button when you find it. We used version 4.3.1 of the library. Then open and upload the IR_ HELPER sketch. You will need to customise your sketch to work with your devices, but this is made easier since the prototype sketch will also show received codes on the Serial Monitor, allowing you to find the correct protocol and codes for customisation. Screen 1 shows the typical result when two different buttons on the same remote control are pressed. Note how the sketch even displays the recommended Arduino code. We used three for the <numberOfRepeats>, but you could try increasing that if you find that codes are not being received. Fig.1: this wiring diagram shows how our prototype is connected, with components and modules wired directly to the processor board. You could instead use a full-sized Leonardo board with jumper wires to make the connections. Protocol=NEC Address=0xEF00 Command=0x3 Raw-Data=0xFC03EF00 32 bits LSB first Send with: IrSender.sendNEC(0xEF00, 0x3, <numberOfRepeats>); Protocol=NEC Address=0xEF00 Command=0x3 Repeat gap=40800us Protocol=NEC Address=0xEF00 Command=0x2 Raw-Data=0xFD02EF00 32 bits LSB first Send with: IrSender.sendNEC(0xEF00, 0x2, <numberOfRepeats>); Protocol=NEC Address=0xEF00 Command=0x2 Repeat gap=40800us Screen 1: the terminal output from the IR Helper shows the protocol, address and command of received IR codes. The sketch also prints the necessary Arduino code to replicate a received signal. Information about supported remote control protocols is at https://github.com/Arduino-IRremote/Arduino-IRremote Press the button you wish to emulate and check its code using the sketch, then copy it to the triggeredAction() function of the sketch and upload it again. You can then check whether the transmitter works by typing ‘t’ into the serial monitor. The prototype sketch also sends this code whenever it sees a code matching the RX_ADDRESS and RX_COMMAND values. The prototype sketch will also run the powerOnAction() function every time it is powered on; you can add another IrSender command to that function if needed. You would use this feature by plugging the IR Helper into the USB port of a device like a TV, so that when it is switched on, the powerOnAction() is run. Since many remote controls have a toggle action power button (ie, pressing power can both switch the device on and off), this can be a good way to distinguish an ‘on’ action from an ‘off’ action. From here, you should be able to see what changes you need to make to fit the sketch to your situation. You could also add other sensors to automate other functions. For example, you could rig up a light or motion sensor to switch on a lamp that has IR remote control when it gets dark or movement is detected. The IR Helper could also be used to add IR remote controls to devices that do not have it by wiring up a relay module to the Leonardo board to switch things on or off upon receipt SC of certain commands. The assembly is compact at just 10cm long. We’ve left quite a bit of lead on the LED to allow it to be bent for aiming purposes, but it could be made shorter if necessary. The IR Receiver Module is mounted upside-down (relative to the Leonardo Tiny) so the pins align with the correct pads on the Leonardo Tiny board. siliconchip.com.au Australia's electronics magazine September 2024  67