Silicon ChipProgramming a Micromite over Bluetooth - June 2024 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: Avoid cheap extension cords!
  4. Feature: Privacy Phones by Dr David Maddison
  5. Subscriptions
  6. Feature: Electronex 2024 by Noel Gray
  7. Project: Self Toggling Relay by Tim Blythman
  8. Project: Arduino Clap Light by Tim Blythman
  9. Project: ESR Test Tweezers by Tim Blythman
  10. Feature: MicroMag3 Magnetic Sensor by Jim Rowe
  11. Project: USB-C Serial Adaptor by Tim Blythman
  12. Project: DC Supply Protectors by John Clarke
  13. Project: WiFi DDS Function Generator, Pt2 by Richard Palmer
  14. Serviceman's Log: Another mixed bag of servicing stories by Various
  15. Circuit Notebook: Arduino bin reminder by Geoff Coppa
  16. Circuit Notebook: Programming a Micromite over Bluetooth by Grant Muir
  17. Vintage Radio: HeathKit GW-21A handheld transceivers by Dr Hugo Holden
  18. PartShop
  19. Market Centre
  20. Advertising Index
  21. Notes & Errata: Skill Tester 9000, April & May 2024
  22. Outer Back Cover

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

You can view 57 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:
  • 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 "Arduino Clap Light":
  • Arduino firmware for JMP006 - Clap Light (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 "ESR Test Tweezers":
  • ESR Test Tweezers four PCB set (AUD $10.00)
  • Advanced/ESR Test Tweezers back panel PCB (blue) [04105242] (AUD $2.50)
  • PIC24FJ256GA702-I/SS programmed for the ESR Test Tweezers (0410524A.HEX) (Programmed Microcontroller, AUD $15.00)
  • 0.96in white OLED with SSD1306 controller (Component, AUD $10.00)
  • ESR Test Tweezers kit (Component, AUD $50.00)
  • Firmware for the ESR Test Tweezers [0410524A.HEX] (Software, Free)
  • ESR Test Tweezers PCB patterns (PDF download) [04105241-2] (Free)
Items relevant to "MicroMag3 Magnetic Sensor":
  • Sample software for the MicroMag3 3-Axis Magnetic Sensor module (Free)
Items relevant to "USB-C Serial Adaptor":
  • USB-C Serial Adaptor PCB (black) [24106241] (AUD $2.50)
  • USB-C Serial Adaptor PCB (green) [24106241] (AUD $1.00)
  • PIC16F1455-I/SL programmed for the Type-C USB Serial Adaptor [2410624A.HEX] (Programmed Microcontroller, AUD $10.00)
  • USB-C Serial Adaptor full kit (Component, AUD $20.00)
  • Firmware for the USB-C Serial Adaptor [2410624A.HEX] (Software, Free)
  • USB-C Serial Adaptor PCB pattern (PDF download) [24106241] (Free)
Items relevant to "DC Supply Protectors":
  • DC Supply Protector PCB (adjustable SMD version) [08106241] (AUD $2.50)
  • DC Supply Protector PCB (adjustable TH version) [08106242] (AUD $2.50)
  • DC Supply Protector PCB (fixed TH version) [08106243] (AUD $2.50)
  • DC Supply Protector kit (adjustable SMD version) (Component, AUD $17.50)
  • DC Supply Protector kit (adjustable TH version) (Component, AUD $22.50)
  • DC Supply Protector kit (fixed TH version) (Component, AUD $20.00)
  • DC Supply Protector PCB patterns (PDF download) [08106241-3] (Free)
Items relevant to "WiFi DDS Function Generator, Pt2":
  • WiFi DDS Function Generator PCB [04104241] (AUD $10.00)
  • 3.5-inch TFT Touchscreen LCD module with SD card socket (Component, AUD $35.00)
  • Laser-cut pieces for optional WiFi DDS Function Generator stand (PCB, AUD $7.50)
  • Firmware for the WiFi DDS Function Generator (Software, Free)
  • WiFi DDS Function Generator PCB pattern (PDF download) [04104241] (Free)
  • WiFi DDS Function Generator case drilling diagram and labels (Panel Artwork, Free)
Articles in this series:
  • WiFi DDS Function Generator, Pt1 (May 2024)
  • WiFi DDS Function Generator, Pt1 (May 2024)
  • WiFi DDS Function Generator, Pt2 (June 2024)
  • WiFi DDS Function Generator, Pt2 (June 2024)
Items relevant to "Arduino bin reminder":
  • Software for the Arduino-based Bin Reminder (Free)

Purchase a printed copy of this issue for $12.50.

Programming a Micromite over Bluetooth In the September 2021 issue, Tom Hartley described how to connect an HC-05 device to a Micromite using an Android phone (siliconchip.au/ Article/15031). Tom's article made me realise that if I could get an HC-05 to work under TeraTerm, I could change my programs wirelessly. Many computers these days have built-in WiFi (including many desktops and virtually all portable computers). If they do, they usually have Bluetooth support as well. If not, you can get a USB Bluetooth adaptor for just a few dollars. Once you have a Windows computer with Bluetooth, you just need an HC-05 adaptor to program Micromites remotely! Under Windows 10, when an HC-05 Bluetooth device is detected, it creates two virtual COM ports. Windows 10 has drivers for the HC-05, so no drivers need to be installed. The great thing is that TeraTerm does not know the difference between virtual and real COM ports, so it works as if wires were connected. In Tom's article from September 2021, he describes how to attach the HC-05 to a USB-TTL serial converter to set it up. He mentioned that some HC-05 devices come without an enable button, but these may be set up to a baud rate of 38,400, so they may work without being set up. The devices I received had the enable button; they were set to 38,400 baud, but they still did not work without the setup procedure. Try to get the HC-05 that looks the same as the picture in Tom's article, with the tiny button on one side of the board close to the EN pin. Another thing to check is that there are six pins on the module. Setting up the module Set up the module using Tom's 98 Silicon Chip excellent instructions. He suggested powering the module from a 4.5V battery pack via a switch, but I used 3.3V from a CP2102 USB-TTL serial converter (Jaycar XC4464) via jumper wires. Plugging and unplugging the 3.3V jumper wire acts as a switch. We are not using USB to connect to the Micromite; the HC-05 has a serial output and connects directly to the serial input of the Micromite. If the Micromite has a USB connection, it must be disabled. For example, a Micromite LCD Backpack V3 can be configured for straight serial by removing the PIC16F1455 chip and connecting via the 5V/TX/RX/ GND header. Once you have followed Tom’s instructions to set up the HC-05, unplug it from the CP210x USB-toTTL serial converter and remove the CP210x from the computer USB port. Connect the HC-05 Tx pin to the Micromite’s Rx pin and vice versa. Connect the two GNDs together and the HC-05 Vcc to the Micromite’s 5V pin. Don’t connect the STATE or EN pins on the HC-05 module. The Micromite may be powered from any 5V source. The Micromite can now be several meters away from the Windows 10 computer, with no wires connected between them. Once the HC-05 is powered up (no need to press the button this time), go to the computer’s Bluetooth settings to pair with the HC-05. You should see a Bluetooth symbol next to the computer’s system clock, at the right end of the taskbar. If you can't see it, try pressing the ^ symbol. Click on the Bluetooth symbol and choose “Add a Bluetooth Device”. On the screen that pops up, click on the plus button next to “Add Bluetooth or other device” near the top of the window. You will get a menu Australia's electronics magazine titled “Add a device”. Choose the top option: “Bluetooth (Mice, keyboards, pens, or audio and other kinds of Bluetooth devices)”. You might see “HC-05” or “unknown device” appear, then the name should change to the name you gave it during set-up. Click on that and type 1234 in the password box that pops up. When the ‘paired’ notification pops up, click Done. Open Device Manager again and look under ports. You should see two new serial ports; mine were COM3 and COM6. I used the first one, COM3. In TeraTerm, use the File → New Connection menu option, set the Serial Port to COM3 (or whatever the first port in Device Manager was), then click OK. Set the terminal settings to how they should be to talk to a Micromite (in the Setup menu, click Terminal). That is, Local Echo off, Receive set to CR and Transmit set to CR. Now you are all set to program your Micromite. To test the connection, press Enter, and you should see the ">" prompt. You can type EDIT to access the full-screen editor or LIST to view the program. Note that if you have more than one HC-05, you have to remove one HC-05 from the Bluetooth setup window before you can communicate with the next one; at least, that was my experience. Now we have an HC-05 programmed to talk to the Micromite at 38,400 baud with the correct parity settings. It can be left attached to the Micromite board. You could put it in a project anywhere nearby and blissfully program away with nothing cluttering up the place except your computer! Grant Muir, Sockburn, New Zealand. ($75) siliconchip.com.au