Silicon ChipTrusting our lives to computers / A different approach to project construction - May 2018 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: Trusting our lives to computers / A different approach to project construction
  4. Feature: Drone Air Taxis – Autonomous, Pilotless and Soon! by Dr David Maddison
  5. Feature: Tiny capsule measures, radios your gut gas data by Ross Tester
  6. Project: 800W (+) Uninterruptible Power Supply (UPS) by Duraid Madina and Tim Blythman
  7. Project: Multi-use Frequency Switch by John Clarke
  8. PartShop
  9. Feature: LTspice Simulation: Analysing/Optimising Audio Circuits by Nicholas Vinen
  10. Project: USB Port Protector – just in case! by Nicholas Vinen
  11. Serviceman's Log: The Serviceman's Curse by Dave Thompson
  12. Project: 12V Battery Balancer by Nicholas Vinen
  13. Feature: El Cheapo Modules 16: 35-4400MHz frequency generator by Jim Rowe
  14. Product Showcase
  15. Vintage Radio: Zenith Royal 500 "Owl Eye" AM Radio by Dr Hugo Holden
  16. PartShop
  17. Subscriptions
  18. Market Centre
  19. Advertising Index
  20. Notes & Errata: Majestic Speakers / Battery-Pack Cell Balancer / WiFi Water Tank Level Meter / 6-Element VHF TV Yagi Antenna / AM Radio Transmitter / The Clayton’s “GPS” Time Signal Generator
  21. Outer Back Cover: Hare & Forbes Machineryhouse

This is only a preview of the May 2018 issue of Silicon Chip.

You can view 35 of the 104 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 "800W (+) Uninterruptible Power Supply (UPS)":
  • 800W+ Uninterruptible Power Supply control shield PCB [11106181] (AUD $5.00)
  • Arduino Sketches (.ino) and library for the 800W+ Uninterruptable Power Supply (Software, Free)
  • 800W+ Uninterruptible Power Supply control shield PCB pattern (PDF download) [11106181] (Free)
  • 800W+ Uninterruptible Power Supply front panel artwork (PDF download) (Free)
Articles in this series:
  • 800W (+) Uninterruptible Power Supply (UPS) (May 2018)
  • 800W (+) Uninterruptible Power Supply (UPS) (May 2018)
  • 800W (+) Uninterruptible Power Supply (UPS) Part II (June 2018)
  • 800W (+) Uninterruptible Power Supply (UPS) Part II (June 2018)
  • 800W (+) Uninterruptible Power Supply (UPS) Part III (July 2018)
  • 800W (+) Uninterruptible Power Supply (UPS) Part III (July 2018)
Items relevant to "Multi-use Frequency Switch":
  • Deluxe Frequency Switch PCB [05104181] (AUD $7.50)
  • PIC16F88-I/P programmed for the Deluxe Frequency Switch [0510418A.HEX] (Programmed Microcontroller, AUD $15.00)
  • Firmware (HEX and ASM) files for the Deluxe Frequency Switch [0510418A.HEX] (Software, Free)
  • Deluxe Frequency Switch PCB pattern (PDF download) [05104181] (Free)
Items relevant to "LTspice Simulation: Analysing/Optimising Audio Circuits":
  • Software for the LTspice Tutorial, Part 4 (Free)
Articles in this series:
  • LTspice – simulating and circuit testing, Part 1 (June 2017)
  • LTspice – simulating and circuit testing, Part 1 (June 2017)
  • LTspice Part 2: Simulating and Testing Circuits (August 2017)
  • LTspice Part 2: Simulating and Testing Circuits (August 2017)
  • LTspice Tutorial Part 3: Modelling an NTC Thermistor (September 2017)
  • LTspice Tutorial Part 3: Modelling an NTC Thermistor (September 2017)
  • LTspice Simulation: Analysing/Optimising Audio Circuits (May 2018)
  • LTspice Simulation: Analysing/Optimising Audio Circuits (May 2018)
Items relevant to "USB Port Protector – just in case!":
  • USB Port Protector PCB [07105181] (AUD $2.50)
  • Complete kit for the USB Port Protector (Component, AUD $20.00)
  • USB Port Protector PCB pattern (PDF download) [07105181] (Free)
Items relevant to "12V Battery Balancer":
  • 2 x 12V Battery Balancer PCB [14106181] (AUD $2.50)
  • 12V Battery Balancer PCB pattern (PDF download) [14106181] (Free)
Items relevant to "El Cheapo Modules 16: 35-4400MHz frequency generator":
  • Software for El Cheapo Modules: ADF4351 (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)

Purchase a printed copy of this issue for $10.00.

SILICON SILIC CHIP www.siliconchip.com.au Publisher Leo Simpson, B.Bus., FAICD Editor Nicholas Vinen Technical Editor John Clarke, B.E.(Elec.) Technical Staff Jim Rowe, B.A., B.Sc Bao Smith, B.Sc Tim Blythman, B.E., B.Sc Technical Contributor Duraid Madina, B.Sc, M.Sc, PhD Art Director & Production Manager Ross Tester Reader Services Ann Morris Advertising Enquiries Glyn Smith Phone (02) 9939 3295 Mobile 0431 792 293 glyn<at>siliconchip.com.au Regular Contributors Dave Thompson David Maddison B.App.Sc. (Hons 1), PhD, Grad.Dip.Entr.Innov. Geoff Graham Associate Professor Graham Parslow Ian Batty Cartoonist Brendan Akhurst Silicon Chip is published 12 times a year by Silicon Chip Publications Pty Ltd. ACN 003 205 490. ABN 49 003 205 490. All material is copyright ©. No part of this publication may be reproduced without the written consent of the publisher. Subscription rates: $105.00 per year in Australia. For overseas rates, see our website or the subscriptions page in this issue. Editorial office: Unit 1 (up ramp), 234 Harbord Rd, Brookvale, NSW 2100. Postal address: PO Box 139, Collaroy Beach, NSW 2097. Phone (02) 9939 3295. E-mail: silicon<at>siliconchip.com.au Printing and Distribution: Derby Street, Silverwater, NSW 2148. ISSN 1030-2662 Recommended & maximum price only. 2 Silicon Chip Editorial Viewpoint Trusting our lives to computers In the January editorial, I raised concerns about the digital security of autonomous vehicles. While two fatal accidents relating to (semi-)autonomous vehicles have been in the news lately, both appear to be due to failures in the sensors or software. One resulted in Uber suspending North American autonomous vehicle testing for an indeterminate period. Consider that in the last 12 months, around 1250 people were killed in road accidents in Australia. Let’s imagine that by making every vehicle on our roads autonomous, we could halve that, to 625 deaths per year (without any negative effects). This seems like it would be a good thing. But will the general public accept software errors killing two people every day in Australia alone? Most of these people will not have done anything wrong and there may be nobody to “blame” in most of these incidents. Based on the reaction to the aforementioned deaths, I don’t think it would go down well at all. And then consider the future posed by the article on flying passenger drones in this issue. This brings us the possibility of fatal crashes involving not just drone passengers but also (from time to time) some hapless people on the ground, too. They could be minding their own business when, with no warning, a drone falls on them. Yes, flying is very safe these days but commercial aviation is heavily regulated and the aircraft are well-maintained. They still crash occasionally. And while there are a huge number of planes in the air at any given time, there would have to be many more small drones to have a significant impact on transportation. They’d have to come crashing down to earth from time to time. So the question is this: will the general public get used to the idea of computer errors or hardware failures being responsible for so many deaths? A different approach to project construction On another topic, we have the first part of a very practical major project in this issue, namely, the lithium-battery-based Uninterruptible Power Supply. This is an unusual project for us because while it’s quite a large and complex design, there’s little soldering involved. It’s mostly built from off-the-shelf building blocks that are wired together. It does have a custom control PCB, the details of which will be presented next month but even this is based on pre-built Arduino and relay driver modules. When you look at the UPS box, mostly what you see are the large batteries and the impressive sinewave inverter. The fascinating aspect of this project is that you could take essentially the same design and scale it down to a tiny backup supply for a few LED lights. Or you could scale it up to a huge device that would keep a household running for days without mains power. The design principles used would be basically the same. So we had some “spirited” discussions about just how best to present it in the magazine. Is it just a UPS or is it something much more than that? We wound up mentioning some of the many other possibilities in the article. But there are lots of aspects of this design to be explored. We’ll finish describing this UPS design – which has quite a few different uses – over the next couple of issues. But we intend to revisit the concept in the future, to flesh it out. For example, we may add solar panels to keep the batteries charged when the grid fails. And we might increase the size of the battery bank and inverter power. This would greatly expand its possible uses. In the meantime, some readers may see what we’ve done and decide to expand the design on their own. There’s certainly nothing to stop you from doing that. Nicholas Vinen Celebrating 30 Years siliconchip.com.au