Silicon ChipJMP012 - WiFi Relay Remote Control - October 2024 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: There are still TDM TLAs
  4. Feature: The life of Nikola Tesla, Part 1 by Dr David Maddison
  5. Project: 3D Printer Filament Dryer, Part 1 by Phil Prosser
  6. Feature: The new MIPI I3C Bus standard by Andrew Levido
  7. Project: 8Ch Learning Remote Receiver by John Clarke
  8. Review: MG4 XPower Electric Car by Julian Edgar
  9. Feature: 1-24V USB Power Supply by Jim Rowe
  10. Project: JMP012 - WiFi Relay Remote Control by Tim Blythman
  11. Project: JMP015 - Analog Servo Gauge by Tim Blythman
  12. Project: Dual-Rail Load Protector by Stefan Keller -Tuberg
  13. Subscriptions
  14. Project: Micromite Explore-40 by Tim Blythman
  15. Serviceman's Log: I got the power by Dave Thompson
  16. PartShop
  17. Vintage Radio: The New Zealand-made ZC1 MkII military transceiver by Dr Hugo Holden
  18. Feature: Mouser’s Australian Office by Tim Blythman
  19. Market Centre
  20. Advertising Index
  21. Notes & Errata: Automatic LQ Meter, July 2024
  22. Outer Back Cover

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

You can view 45 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.

Articles in this series:
  • The life of Nikola Tesla, Part 1 (October 2024)
  • The life of Nikola Tesla, Part 1 (October 2024)
  • Nikola Tesla, Part 2 (November 2024)
  • Nikola Tesla, Part 2 (November 2024)
Items relevant to "3D Printer Filament Dryer, Part 1":
  • Filament Dryer Control PCB [28110241] (AUD $7.50)
  • PIC16F15214-I/P programmed for the 3D Printer Filament Dryer [2811024A.HEX] (Programmed Microcontroller, AUD $10.00)
  • Firmware and 3D printing (STL) files for the 3D Printer Filament Dryer (Software, Free)
  • Filament Dryer Control PCB pattern (PDF download) [28110241] (Free)
  • 3D Printer Filament Dryer drilling templates (Panel Artwork, Free)
Articles in this series:
  • 3D Printer Filament Dryer, Part 1 (October 2024)
  • 3D Printer Filament Dryer, Part 1 (October 2024)
  • 3D Printer Filament Dryer, Part 2 (November 2024)
  • 3D Printer Filament Dryer, Part 2 (November 2024)
Items relevant to "8Ch Learning Remote Receiver":
  • 8-Channel Learning Remote Recevier PCB [15108241] (AUD $7.50)
  • PIC16F1459-I/P programmed for the 8Ch Learning IR Remote (1510824A.HEX) (Programmed Microcontroller, AUD $10.00)
  • Firmware (ASM and HEX) files for the 8-Channel Learning IR Remote Receiver (Software, Free)
  • 8-Channel Learning Remote Recevier PCB pattern (PDF download) [15108241] (Free)
  • 8-Channel Learning IR Remote Receiver panel artwork and drilling templates (Free)
Articles in this series:
  • El Cheapo Modules From Asia - Part 1 (October 2016)
  • El Cheapo Modules From Asia - Part 1 (October 2016)
  • El Cheapo Modules From Asia - Part 2 (December 2016)
  • El Cheapo Modules From Asia - Part 2 (December 2016)
  • El Cheapo Modules From Asia - Part 3 (January 2017)
  • El Cheapo Modules From Asia - Part 3 (January 2017)
  • El Cheapo Modules from Asia - Part 4 (February 2017)
  • El Cheapo Modules from Asia - Part 4 (February 2017)
  • El Cheapo Modules, Part 5: LCD module with I²C (March 2017)
  • El Cheapo Modules, Part 5: LCD module with I²C (March 2017)
  • El Cheapo Modules, Part 6: Direct Digital Synthesiser (April 2017)
  • El Cheapo Modules, Part 6: Direct Digital Synthesiser (April 2017)
  • El Cheapo Modules, Part 7: LED Matrix displays (June 2017)
  • El Cheapo Modules, Part 7: LED Matrix displays (June 2017)
  • El Cheapo Modules: Li-ion & LiPo Chargers (August 2017)
  • El Cheapo Modules: Li-ion & LiPo Chargers (August 2017)
  • El Cheapo modules Part 9: AD9850 DDS module (September 2017)
  • El Cheapo modules Part 9: AD9850 DDS module (September 2017)
  • El Cheapo Modules Part 10: GPS receivers (October 2017)
  • El Cheapo Modules Part 10: GPS receivers (October 2017)
  • El Cheapo Modules 11: Pressure/Temperature Sensors (December 2017)
  • El Cheapo Modules 11: Pressure/Temperature Sensors (December 2017)
  • El Cheapo Modules 12: 2.4GHz Wireless Data Modules (January 2018)
  • El Cheapo Modules 12: 2.4GHz Wireless Data Modules (January 2018)
  • El Cheapo Modules 13: sensing motion and moisture (February 2018)
  • El Cheapo Modules 13: sensing motion and moisture (February 2018)
  • El Cheapo Modules 14: Logarithmic RF Detector (March 2018)
  • El Cheapo Modules 14: Logarithmic RF Detector (March 2018)
  • El Cheapo Modules 16: 35-4400MHz frequency generator (May 2018)
  • El Cheapo Modules 16: 35-4400MHz frequency generator (May 2018)
  • El Cheapo Modules 17: 4GHz digital attenuator (June 2018)
  • El Cheapo Modules 17: 4GHz digital attenuator (June 2018)
  • El Cheapo: 500MHz frequency counter and preamp (July 2018)
  • El Cheapo: 500MHz frequency counter and preamp (July 2018)
  • El Cheapo modules Part 19 – Arduino NFC Shield (September 2018)
  • El Cheapo modules Part 19 – Arduino NFC Shield (September 2018)
  • El cheapo modules, part 20: two tiny compass modules (November 2018)
  • El cheapo modules, part 20: two tiny compass modules (November 2018)
  • El cheapo modules, part 21: stamp-sized audio player (December 2018)
  • El cheapo modules, part 21: stamp-sized audio player (December 2018)
  • El Cheapo Modules 22: Stepper Motor Drivers (February 2019)
  • El Cheapo Modules 22: Stepper Motor Drivers (February 2019)
  • El Cheapo Modules 23: Galvanic Skin Response (March 2019)
  • El Cheapo Modules 23: Galvanic Skin Response (March 2019)
  • El Cheapo Modules: Class D amplifier modules (May 2019)
  • El Cheapo Modules: Class D amplifier modules (May 2019)
  • El Cheapo Modules: Long Range (LoRa) Transceivers (June 2019)
  • El Cheapo Modules: Long Range (LoRa) Transceivers (June 2019)
  • El Cheapo Modules: AD584 Precision Voltage References (July 2019)
  • El Cheapo Modules: AD584 Precision Voltage References (July 2019)
  • Three I-O Expanders to give you more control! (November 2019)
  • Three I-O Expanders to give you more control! (November 2019)
  • El Cheapo modules: “Intelligent” 8x8 RGB LED Matrix (January 2020)
  • El Cheapo modules: “Intelligent” 8x8 RGB LED Matrix (January 2020)
  • El Cheapo modules: 8-channel USB Logic Analyser (February 2020)
  • El Cheapo modules: 8-channel USB Logic Analyser (February 2020)
  • New w-i-d-e-b-a-n-d RTL-SDR modules (May 2020)
  • New w-i-d-e-b-a-n-d RTL-SDR modules (May 2020)
  • New w-i-d-e-b-a-n-d RTL-SDR modules, Part 2 (June 2020)
  • New w-i-d-e-b-a-n-d RTL-SDR modules, Part 2 (June 2020)
  • El Cheapo Modules: Mini Digital Volt/Amp Panel Meters (December 2020)
  • El Cheapo Modules: Mini Digital Volt/Amp Panel Meters (December 2020)
  • El Cheapo Modules: Mini Digital AC Panel Meters (January 2021)
  • El Cheapo Modules: Mini Digital AC Panel Meters (January 2021)
  • El Cheapo Modules: LCR-T4 Digital Multi-Tester (February 2021)
  • El Cheapo Modules: LCR-T4 Digital Multi-Tester (February 2021)
  • El Cheapo Modules: USB-PD chargers (July 2021)
  • El Cheapo Modules: USB-PD chargers (July 2021)
  • El Cheapo Modules: USB-PD Triggers (August 2021)
  • El Cheapo Modules: USB-PD Triggers (August 2021)
  • El Cheapo Modules: 3.8GHz Digital Attenuator (October 2021)
  • El Cheapo Modules: 3.8GHz Digital Attenuator (October 2021)
  • El Cheapo Modules: 6GHz Digital Attenuator (November 2021)
  • El Cheapo Modules: 6GHz Digital Attenuator (November 2021)
  • El Cheapo Modules: 35MHz-4.4GHz Signal Generator (December 2021)
  • El Cheapo Modules: 35MHz-4.4GHz Signal Generator (December 2021)
  • El Cheapo Modules: LTDZ Spectrum Analyser (January 2022)
  • El Cheapo Modules: LTDZ Spectrum Analyser (January 2022)
  • Low-noise HF-UHF Amplifiers (February 2022)
  • Low-noise HF-UHF Amplifiers (February 2022)
  • A Gesture Recognition Module (March 2022)
  • A Gesture Recognition Module (March 2022)
  • Air Quality Sensors (May 2022)
  • Air Quality Sensors (May 2022)
  • MOS Air Quality Sensors (June 2022)
  • MOS Air Quality Sensors (June 2022)
  • PAS CO2 Air Quality Sensor (July 2022)
  • PAS CO2 Air Quality Sensor (July 2022)
  • Particulate Matter (PM) Sensors (November 2022)
  • Particulate Matter (PM) Sensors (November 2022)
  • Heart Rate Sensor Module (February 2023)
  • Heart Rate Sensor Module (February 2023)
  • UVM-30A UV Light Sensor (May 2023)
  • UVM-30A UV Light Sensor (May 2023)
  • VL6180X Rangefinding Module (July 2023)
  • VL6180X Rangefinding Module (July 2023)
  • pH Meter Module (September 2023)
  • pH Meter Module (September 2023)
  • 1.3in Monochrome OLED Display (October 2023)
  • 1.3in Monochrome OLED Display (October 2023)
  • 16-bit precision 4-input ADC (November 2023)
  • 16-bit precision 4-input ADC (November 2023)
  • 1-24V USB Power Supply (October 2024)
  • 1-24V USB Power Supply (October 2024)
  • 14-segment, 4-digit LED Display Modules (November 2024)
  • 0.91-inch OLED Screen (November 2024)
  • 0.91-inch OLED Screen (November 2024)
  • 14-segment, 4-digit LED Display Modules (November 2024)
  • The Quason VL6180X laser rangefinder module (January 2025)
  • TCS230 Colour Sensor (January 2025)
  • The Quason VL6180X laser rangefinder module (January 2025)
  • TCS230 Colour Sensor (January 2025)
  • Using Electronic Modules: 1-24V Adjustable USB Power Supply (February 2025)
  • Using Electronic Modules: 1-24V Adjustable USB Power Supply (February 2025)
Items relevant to "JMP012 - WiFi Relay Remote Control":
  • Firmware for JMP012 - WiFi Relay Remote (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)
Items relevant to "JMP015 - Analog Servo Gauge":
  • Analog Servo Gauge face artwork and cutting diagram (Panel Artwork, 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)
Items relevant to "Dual-Rail Load Protector":
  • Dual Rail Load Protector PCB [18109241] (AUD $5.00)
  • Hard-to-get parts for the Dual Rail Load Protector (Component, AUD $50.00)
  • Dual Rail Load Protector PCB pattern (PDF download) [18109241] (Free)
Items relevant to "Micromite Explore-40":
  • Micromite Explore-40 PCB [07106241] (AUD $2.50)
  • Pico BackPack stereo jack socket adaptor PCB [07101222] and connectors (Component, AUD $2.50)
  • PIC32MX170F256B-50I/SO and PIC16F1455-I/SL programmed for the Micromite Explore 28 or Explore 40 (Programmed Microcontroller, AUD $25.00)
  • Micromite Explore-40 kit (Component, AUD $35.00)
  • Software for the Microbridge (Free)
  • Firmware (HEX) file and documents for the Micromite Mk.2 and Micromite Plus (Software, Free)
  • Micromite Explore-40 PCB pattern (PDF download) [07106241/07101222] (Free)

Purchase a printed copy of this issue for $13.00.

SILICON CHIP Mini Projects #012 – by Tim Blythman There are lots of IoT (Internet of Things) gadgets and widgets available, but many require a subscription to work. The WiFi Relay Remote Control could be considered one of the simplest IoT devices. You don’t need to sign up for anything, and you can build it yourself. WiFi Relay Remote Control W e covered Jaycar’s XC3804 WiFi Relay Module in January 2024 (siliconchip.au/Article/16088). As the name suggests, it is a small module containing a relay and a WiFi radio. The Relay Module can be controlled by sending commands over a WiFi network. It doesn’t even need an internet connection to work. While it’s a handy tool, another device is required to operate it. You could use an old mobile phone or similar WiFi-equipped device to control it, but we think there are better ways. So we’ve designed the WiFi Relay Remote Control. As the name suggests, it is a remote controller for the Relay Module. Since the Relay Module uses a dedicated WiFi network for its operation, it’s easy to set up a controller dedicated to that task. WiFi Relay Module There are more details on the WiFi Relay Module in our other article, but the principle of operation is as follows. The Relay Module sets up a WiFi access point, allowing WiFi clients to connect. When it receives particular web page requests, it operates the relay in response. So we just need to create a client that connects to the access point and then sends the appropriate requests depending on user input, like pushing a button. It would be good if it also indicated if the request has worked or not. That’s basically how the WiFi Relay Remote works. It has two pushbuttons connected to a WiFi Mini Main Board that connects to the access point provided by the Relay Module. When the buttons are pressed, it sends commands to open or close the relay. We’ve used illuminated pushbuttons, so the LEDs light up to show what is happening. You can see a video showing the WiFi Relay Remote in operation at siliconchip.au/link/abx4 Circuit details Fig.1 shows the circuit diagram. The pushbutton contacts are each connected between a digital I/O pin and ground. Internally, the processor on the WiFi Mini applies a weak pullup Fig.1: you could easily rig it up on a breadboard if you wanted to test it before building it. We recommend using the same pins on the D1 Mini as we did, as some other pins have special functions that might cause a conflict. Fig.2: how we placed parts on the underside of the shield (also refer to the adjacent photo). The shield’s top side is bare, apart from the switches. The wiring is hidden on the underside of the shield. We originally planned to use the D8 pin instead of D1, which would have made the layout neater. However, that is impractical, as D8 has a pulldown instead of a pullup. for those pins, so it can sense when the switch is closed and the I/O pin is pulled to ground. Two status LEDs are also provided that are internal to the illuminated pushbuttons. Each has a 220W series resistor to limit the current flow to an appropriate level for the LEDs. The WiFi Mini also has an onboard LED that lights up when pin D4 is driven low, so we can also use that as an indicator. Construction We intended the Remote to be a compact and self-contained unit, so the hardware has been assembled onto a small prototyping shield that can plug into a WiFi Mini. Fig.2 and the photos show how it has been laid out. Start by fitting the switches. Straighten the leads so that they will slot straight into the prototyping shield. To get the orientation correct, note the longer (LED anode) pins and place them as shown. Solder them after making sure the switches are flat against the shield. Solder the two resistors as shown, from the longer anode pin to the pads for D6 and D7. We use the inside row of pads so the outer rows are free for attaching the headers later. Keep the wire lead offcuts for the next steps. Next, solder a wire from the D5 pad to the corner lead of the switch as shown. All three leads on the other side of both switches connect to ground, so run a wire from each group of three back to the ground (G) pin. Then run a piece of insulated wire from the switch with the red LED back to D1. Slot the header pins onto the WiFi Mini (to align them) and then solder them to the prototyping shield. That’s it, the hardware is finished! Software operation The software consists of an Arduino sketch that uses the ESP8266 board profile. The sketch attempts to connect to the ‘Duinotech WiFi Relay’ access The assembled shield slots onto the top of the WiFi Mini, making for a compact unit. We used a small breadboard and jumper wires to power the WiFi Relay Module from the same supply for testing. The switch with the red ‘off’ LED is at the top, while the green ‘on’ LED is at the bottom. Unfortunately, there is no way to tell them apart when unlit, so our software lights both LEDs dimly so you can tell which is which. point created by the Relay Module, flashing the onboard (D4) LED until it does. Both switch LEDs are made to light dimly by driving them with a low duty cycle PWM (pulse width modulated) waveform so you can see which is on (green) and off (red). The software then waits until one of the buttons is pressed and sends the corresponding request to the Relay Module. Simultaneously, both LEDs switch off to indicate that a request is pending. If there is a successful response, the corresponding LED is switched on at full brightness, and the Relay Module will have its state set accordingly. If the request fails, both LEDs will return to a dim state after a while. The request can be tried again by pushing one of the buttons. Firmware installation Open the Arduino IDE and check that you have https://arduino.esp8266. com/stable/package_esp8266com_ index.json in your list of Board Manager URLs. Next, install the ESP8266 board profile from the Boards Manager Parts List – WiFi Relay Remote Control (JMP012) 1 Smart WiFi Relay Main Board [Jaycar XC3804] 1 WiFi Mini Main Board [Jaycar XC3802] 1 WiFi Mini Prototyping Shield [Jaycar XC3850] 1 PCB-mounting tactile switch with integrated red LED [Jaycar SP0620] 1 PCB-mounting tactile switch with integrated green LED [Jaycar SP0621] 2 220W ½W 1% axial resistors [Jaycar RR0556] 1 25mm length of insulated wire 2 5V DC power supplies siliconchip.com.au Australia's electronics magazine window. We used version 3.1.2 of the board profile, but later versions should work too. Download the software package for this project from siliconchip.com.au/ Shop/6/460 and then choose the ‘D1 R2 & Mini’ board type and its corresponding serial port in the IDE. Upload the sketch; no changes need to be made as the Relay Module uses a fixed WiFi network. Operation The LEDs on both buttons should light up dimly and the small blue LED on the WiFi Mini should start flashing. Power on the Relay Module. As you can see from our video and photo above, we just used a pair of jumper wires connected to the WiFi Mini’s 5V & GND (G) pins to get power for testing. After a few seconds, the blue LED will light solidly and you can control the Relay Module by pressing the buttons. If the blue LED goes out at any point, the Remote has lost its connection. In that case, check that the Relay Module is powered correctly. Note that other devices (such as a mobile phone or another Remote) can control the Relay Module. In this case, the LEDs might not show the correct status. There is no way to get the Relay Module’s status without triggering it, so there is no workaround for that without reprogramming the WiFi Relay Module with altered firmware. Now you can set up the Relay Module to run off its own power source and also control something. SC October 2024  67