Silicon Chip30V 2A Bench Supply, Part 2 - November 2022 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: Close-up vision: use it or lose it / Competition resulting in innovation
  4. Feature: The Technology of Torches by Dr David Maddison
  5. Project: Christmas LED Icicle Decoration by Tim Blythman
  6. Project: LC Meter Mk3 by Charles Kosina
  7. Project: DC Supply Transient Filter by John Clarke
  8. Review: Raspberry Pi Pico W by Tim Blythman
  9. Project: Active Monitor Speakers, Part 1 by Phil Prosser
  10. Feature: WiFi-Synchronised Analog Clock by Geoff Graham
  11. Feature: Particulate Matter (PM) Sensors by Jim Rowe
  12. Vintage Radio: Philips Minstrel radios by Associate Professor Graham Parslow
  13. PartShop
  14. Project: 30V 2A Bench Supply, Part 2 by John Clarke
  15. Serviceman's Log: Toys with a serious purpose by Dave Thompson
  16. Market Centre
  17. Advertising Index
  18. Notes & Errata: isoundBar, August 2022; Motion-Sensing 12V Power Switch, February 2019
  19. Outer Back Cover

This is only a preview of the November 2022 issue of Silicon Chip.

You can view 43 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 "Christmas LED Icicle Decoration":
  • Tiny LED Icicle PCB [16111192] (AUD $2.50)
  • PIC12F1572-I/SN (or equivalent) programmed for the Tiny LED Christmas Ornaments (Programmed Microcontroller, AUD $10.00)
  • Tiny LED Christmas Ornament complete kit (Component, AUD $15.00)
  • Firmware for the LED Christmas Ornaments (Software, Free)
  • Eight Tiny LED Xmas Ornament PCB patterns (PDF download) [16111191-16111199] (Free)
Articles in this series:
  • Eight Small LED Christmas Ornaments (November 2020)
  • Eight Small LED Christmas Ornaments (November 2020)
  • Christmas LED Icicle Decoration (November 2022)
  • Christmas LED Icicle Decoration (November 2022)
Items relevant to "LC Meter Mk3":
  • LC Meter Mk3 PCB [CSE220503C] (AUD $7.50)
  • LC Meter Mk3 add-on PCB [CSE200603] (AUD $2.50)
  • 0.96in cyan OLED with SSD1306 controller (Component, AUD $10.00)
  • Short-form kit for the LC Meter Mk3 (Component, AUD $65.00)
  • Firmware for the LC Meter Mk3 (Software, Free)
  • LC Meter Mk3 PCB patterns (PDF download) [CSE220503C & CSE220603] (Free)
  • Lid panel label & drilling template for the LC Meter Mk3 (Panel Artwork, Free)
Items relevant to "DC Supply Transient Filter":
  • Transient DC Supply Filter PCB [08108221] (AUD $5.00)
  • Transient DC Supply Filter PCB pattern (PDF download) (08108221) (Free)
  • Lid panel label for the Transient DC Supply Filter (Panel Artwork, Free)
Items relevant to "Active Monitor Speakers, Part 1":
  • Active Monitor Speakers power supply PCB [01112221] (AUD $10.00)
  • Active Monitor Speakers cutting and assembly diagrams (Panel Artwork, Free)
  • Cutting diagrams for the Active Monitor Speakers (Panel Artwork, Free)
Articles in this series:
  • Active Monitor Speakers, Part 1 (November 2022)
  • Active Monitor Speakers, Part 1 (November 2022)
  • Active Monitor Speakers, Part 2 (December 2022)
  • Active Monitor Speakers, Part 2 (December 2022)
  • Active Subwoofer, Part 1 (January 2023)
  • Active Subwoofer, Part 1 (January 2023)
  • Active Subwoofer, Part 2 (February 2023)
  • Active Subwoofer, Part 2 (February 2023)
Items relevant to "WiFi-Synchronised Analog Clock":
  • Kit for the new GPS Analog Clock Driver (Component, AUD $55.00)
  • Kit for the new GPS Analog Clock Driver without GPS module (Component, AUD $35.00)
  • Revised firmware for the ESP8266 in the WiFi-Synchronised Analog Clock (Software, Free)
Articles in this series:
  • New GPS-Synchronised Analog Clock (September 2022)
  • New GPS-Synchronised Analog Clock (September 2022)
  • WiFi-Synchronised Analog Clock (November 2022)
  • WiFi-Synchronised Analog Clock (November 2022)
Items relevant to "Particulate Matter (PM) Sensors":
  • Sample code for El Cheapo Modules - PM2.5 Sensors (Software, 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 "30V 2A Bench Supply, Part 2":
  • 30V 2A Bench Supply front panel control PCB [04105222] (AUD $2.50)
  • 30V 2A Bench Supply main PCB [04105221] (AUD $5.00)
  • INA282AIDR shunt monitor IC and 20mΩ 1W shunt resistor for 30V 2A Bench Supply (Component, AUD $10.00)
  • 30V 2A Bench Supply PCB patterns (PDF download) [04105221/2] (Free)
  • 30V 2A Bench Supply front panel artwork (PDF download) (Free)
Articles in this series:
  • 30V 2A Bench Supply, Part 1 (October 2022)
  • 30V 2A Bench Supply, Part 1 (October 2022)
  • 30V 2A Bench Supply, Part 2 (November 2022)
  • 30V 2A Bench Supply, Part 2 (November 2022)

Purchase a printed copy of this issue for $11.50.

0-30V 0-2A Part 2 by John Clarke bench supply This new Bench Supply, introduced last month, is basic yet feature-packed, including full onboard metering and an adjustable current limit. It’s pretty easy and cheap to build, so it is suitable for relative beginners. You will find it handy for various purposes, including powering circuits for testing or development. It also fits neatly into a compact and attractive instrument case. So let’s get to building it. P art of the reason for the 30V and 2A limits is that they allow us to use an inexpensive and modestly-sized transformer that fits neatly alongside the regulator board in a compact 160 × 180 × 70mm benchtop instrument case. It’s small enough to stay out of your way but powerful enough for many jobs. You could even stack two or three to have a few different voltages available or connect two in series to form a split supply. Just keep in mind that their current limits will be enforced separately, so if there is a fault, it’s possible that one Supply would go into current limiting while the other(s) wouldn’t. While this is a mains-based project, anyone who is good at following instructions and with reasonable soldering skills should be able to build it safely. Just make sure you perform all the wiring as described using correctly rated wire, and don’t skip any of the required insulation or cable ties. 90 Silicon Chip Before we get to construction, a word about the metering. We tested some low-cost volt/ammeters from eBay but found that they were too inaccurate, which is why we specified the part from Core Electronics. Use caution if you want to substitute another meter, as its readings could be way off. As with many projects, the first step in construction is soldering the majority of the components to the printed circuit boards. Construction Most of the parts for the Supply mount on two PCBs. The main 76 × 140mm PCB is coded 04105221 and includes most of the components, while the smaller 56 × 61mm PCB coded 04105222 has the front panel parts such as voltage and current setting potentiometers, indicator LEDs and load switch. A 14-way ribbon cable fitted with insulation displacement connectors (IDCs) connects the two PCBs. Australia's electronics magazine As explained last month, there is the option to use a single 2.5kW multi-turn potentiometer for VR1 or a standard single-turn 5kW potentiometer in conjunction with a 5kW multi-turn trimpot (VR2). If you are using the 2.5kW multi-turn potentiometer, VR2 is not used and must be left off the PCB. During the following process, refer to the PCB overlay diagrams (Figs.5 & 6) to see which parts go where. Begin construction with the main PCB by fitting the two surface-mount components. These are the INA282 shunt monitor (IC2) and the 20mW resistor. For the resistor, we have made provision on the PCB for either two 10mW resistors in series or a single 20mW resistor. Both the resistor and IC are relatively easy to solder. Find the pin 1 orientation marker on the INA282. This can be a dot on the top face, a notch at the pin 1 end of the device, or a chamfer along the pin 1 to 4 edge of the package. Position the IC over the pads and siliconchip.com.au Fig.5: fit the components to the main PCB as shown here, watching the orientations of the polarised parts. VR2 is not shown as it is only needed if VR1 is 5kW; in that case, install it with the adjustment screw towards the top of the board like the other trimpots. Leave Q1 and REG1 off until the case has been prepared (see text). Ensure the sockets for CON1 and CON2 are rotated so the wires exit on the correct side per the photos. Figs.6(a) & (b): this board carries the front panel controls and indicator LEDs. Potentiometer VR3 is held to the board using PCB pins, and its terminals are also connected via PCB pins. VR1 is attached using brackets on either side of its body and connected to its three pads (labelled “Anti CW”, “Wiper” and “CW”) via short lengths of wire. solder a corner pin using a fine-tipped soldering iron. Once soldered, check the alignment against the remaining IC pin leads and PCB pads. Remelt the solder and realign the IC if necessary until each pin aligns with its pad, then solder the remaining pins to the PCB. Any solder bridges can be fixed using solder wick with flux paste to draw up the excess solder. The surface-mounting resistor can be soldered similarly, one end at a time. Straighten the resistor by remelting the solder and nudging it after the first end is soldered should it be skewed. The next components to be installed are the through-hole (axial) resistors. The resistors have colour bands, but it is a good idea to check the values using a multimeter too. Leave the larger 1W resistor for last. Fit the four types of diodes next. They are all polarised and must be oriented as shown in Fig.5 and the screen printing on the PCB. Use the smaller siliconchip.com.au glass-encapsulated 1N4148 diodes for D5, D6 and D9. D1, D3, D4, D7, D8 and D10 are the larger 1N4004 devices, while D2 is a larger still 1N5404 diode. The three remaining diodes are zener diodes ZD1, ZD2 and ZD3, which are in larger glass packages. ZD1 is 33V (1N4752) while ZD2 and ZD3 are 12V (1N4742) types. Ensure each is installed in the correct position. Operational amplifier (op amp) IC1 can now be installed, taking care to orientate it correctly. This can be mounted using a socket or directly on the PCB. Follow with transistors Q2-Q6 and REG2. These all are in TO-92 plastic packages, so be sure the correct device is installed in each location. Q2 is a 2N7000 while Q3-Q5 are BC547s and Q6 is a BC327. REG2 is the LM336-2.5. Mount the trimpots next. These are top-adjust multi-turn types; two are 10kW (VR6 and VR7), one or two are 5kW (VR2 and VR4), while VR5 is 100W. The 10kW trimpots might be Australia's electronics magazine labelled 103, the 5kW trimpots as 502 and the 100W trimpot as 101. Be sure to orientate these with the adjustment screws as shown in Fig.5. Note that if using a 2.5kW multi-turn pot for VR1, VR2 is not fitted. Now install rectifier bridge BR1; the diagonally cut corner is the positive side, so make sure that faces as shown. You can install the four-way pluggable terminals for CON1 and CON2 now. Ensure these are oriented correctly by inserting the plugs into the sockets first, then rotating them so that CON1’s screw heads face toward the edge of the PCB and CON2’s screw heads are toward CON3. Then solder the terminals in place, followed by box header CON3, orientated as shown. There are 12 test points located around the PCB. You can fit PC stakes/ pins in each or leave them bare and use your multimeter probe directly onto the PCB pad instead. It is easier to have a PC stake at TP GND so that you can use an alligator or crocodile November 2022  91 The main and both sides of the front panel PCB are shown here at 75% of actual size. Shown opposite is an internal photo of the completed Supply minus both PCBs, so you can more clearly see where the various other parts mount and how the wiring is run. Note the locations of the three plugs in the lower portion, ready to plug into the main PCB. clip for measurements with respect to 0V. If fitting the PC pins, do that now. Mount the capacitors next. The 100nF, 10nF and 1μF ceramic types can be installed either way, but most of the electrolytic capacitors are polarised and must be inserted with the polarity shown. The positive side usually has a longer lead, while there is a stripe on the negative side of the can. The 10μF capacitor marked NP is non-polarised and can insert either way around. Now mount relay RLY1 and two-way header CON7. Leave Q1 and REG1 off for now. Front panel PCB assembly The front panel PCB has components mounted on both sides. The potentiometers, switch and LEDs are on the top, while CON4-CON6 are mounted on the underside. It is easier to solder in the 14-way box header (CON4) first so that you have full access to solder its pins on the top side of the PCB. It is installed on the underside of the PCB; ensure it is oriented correctly, as shown in Fig.6(b), before soldering it in place. Next, install the six PC stakes for VR1 and the three for VR2. Then fit CON5 on the underside of the PCB, with its wire entries towards the nearest PCB edge. 92 Silicon Chip Mount switch S2 on the top side of the PCB. This sets the height position for the potentiometers and LEDs; however, LED1 and LED2 are mounted after the front panel holes are drilled and LED bezels are inserted. Fit VR2 next, but first cut its shaft so that the length from the top of the threaded mounting boss to the end of the shaft is 15mm. VR2 is supported by PC stakes soldered to the potentiometer body. You need to scrape off the passivation coating in the area where the PC stakes will be soldered so that the solder will adhere. Solder it so that the top of the threaded section matches that of switch S2. Once it is in place, make the electrical connections to the potentiometer using PC stakes. Mounting VR1 The mounting method for VR1 depends on whether you are using a single-turn or multi-turn pot. The circular cut-out allows the multi-turn potentiometer to pass through the hole. Solder right-angle brackets to the back of the PCB and use a cable tie to position the pot as shown above. Connect short wires from the pot terminals to the wiper, anticlockwise and clockwise terminals on the PCB. Australia's electronics magazine Similarly, if using a single-turn pot, it is held in position by right-angle brackets soldered to the pot body and the PCB. The brackets need to be soldered to the PCB such that they reach the pot body and there is some overhang from the cut-out. Again, you will have to scrape off the passivation coating from the pot body where you will solder the brackets. For a single-turn pot, solder its terminals directly to the PC stake connection points. Making the ribbon cable Fig.7 shows how the IDC line sockets are attached to the ribbon cable. Ensure the 14-way wire and sockets are oriented correctly, with the notches positioned as shown, before compressing the connectors. You can do this by placing a small piece of soft timber (such as radiata pine) over each side of the connector and compressing it with a G clamp or bench vice. Alternatively, you can buy a specialised IDC crimping tool. Metalwork Now it’s time to drill and shape holes in the baseplate of the enclosure and the heatsink, as shown in Fig.8. Rectangular and similarly-shaped cut-outs can be made by drilling a siliconchip.com.au series of small holes around the inside perimeter, then knocking out the centre piece and filing the job to a smooth straight finish. The power switch hole must be sized so that it stays clipped in when inserted into the cut-out, so take care when shaping it. The banana sockets have ovalshaped holes (“F”) that can be made by first drilling round holes and then using a round file to elongate them. There are four holes for mounting the regulator, power transistor and thermal switch on the rear panel; these are the holes marked “A” not near the mains input socket. After drilling them, clean them up around the edges on both sides with a deburring tool or a larger drill bit, so there are no sharp edges around the rims. This will avoid puncturing the insulation pads for the regulator and transistor and allow the heatsink to sit flat against the rear panel for maximum heat transfer. It would give even better heat transfer to the heatsink if you cut out a rectangular hole for the transistor, so the transistor and its insulating pad can be mounted directly against the heatsink instead of the rear panel of the case. However, we found that mounting onto the rear panel provided sufficient heat transfer to the heatsink, satisfactory for most Supply use cases. Still, if you require a high current at low voltages for an extended period, having this cut-out will reduce the transistor temperature. Once the drilling and cutting are finished, temporarily install the mains IEC input connector and then place the heatsink against the back panel with its side about 1mm away from the IEC connector and the top edge in line with the top edge of the rear panel. Mark out the positions for the transistor, regulator and thermal switch holes on the heatsink through those already in the back panel. Make sure all the holes will be within the central mounting area of the heatsink and not through the fins, or the screws won’t fit. Once you’ve Fig.7: fit the IDC line sockets to the cable as shown here. This way, pin 1 is correct on both sockets but having them on opposite sides makes routing the cable easier once everything is in the case. Note that some sockets don’t come with the third locking bar over the top, in which case the ribbon cable isn’t looped. siliconchip.com.au Australia's electronics magazine November 2022  93 Fig.8: the shapes and sizes of some of the cut-outs are critical, so file them to shape carefully and periodically test to see if the parts fit in the holes. For example, the panel meter will fall out if its hole is too large, as will the rocker switch. For the binding posts (marked “F”), drill round holes, then elongate them to ovals using a round file. checked that, drill them in the heatsink, then deburr them for a smooth finish on the heatsink. Case assembly Attach the four 6.3mm-long M3-tapped spacers to the corners of the main PCB using 5mm M3 machine screws. Next, insert the power transistor and the regulator leads into their allocated holes in the PCB. Slide the PCB so the transistor and regulator can later be attached to the rear panel via the pre-drilled holes using machine screws (temporarily secure the transistor and regulator to the rear panel with M3 screws and nuts). Adjust the leads so that the device tabs sit flat against the rear of the case then, making sure the PCB is straight and not skewed in the case and the standoffs are directly on the base, 94 Silicon Chip solder the leads to the PCB on the top side. Next, mark out the locations for the standoff mounting holes in the base of the case. Also mark out the mounting holes for the transformer. This sits between the left edge of the PCB and the left edge of the case, leaving equal clearance on both sides. The transformer is also positioned centrally between the front and rear of the case. Once that is done, remove the transistor and regulator mounting screws. Solder the transistor and regulator leads on the underside of the PCB. Now drill out the holes for the PCB and transformer (see Fig.9 for the component layout in the case). Also, drill the Earth lug holes in the base and scrape away the paint from around the holes so the Earth connections will be against the metal, not the paint. Australia's electronics magazine Attaching the heatsink The heatsink is a little taller than the enclosure. There are two ways of preventing the heatsink from touching the workbench, as the enclosure mounting feet are not tall enough to prevent this from happening. One option is to add extra spacers between the feet and the case, such as two M3 Nylon washers under each foot to raise the enclosure a little. This prevents the heatsink from touching the bench. Use the longer self-tapping screws supplied with the enclosure to secure the mounting feet. The second method is to cut the bottom of the heatsink off, so it is 67mm tall. That can be done with a hacksaw or a metal cutting saw. After you’ve sorted that out, apply a smear of heatsink compound to the rear of the heatsink. Press it onto siliconchip.com.au the rear panel in its correct position and install the thermal cut-out using 15mm-long M3 machine screw and nuts. Leave the screws loose for the moment, so there is movement to adjust the mounting. Insert the 20mm screws for the transistor and regulator through the heatsink, then feed them through the rear panel. Place the TO-3P silicone washer for Q1 and TO-220 washer for the regulator onto the screw ends. Now you can re-mount the PCB, with the mounting screws for the regulator and transistor passing through the device holes. Push the insulation bush into the regulator mounting hole before attaching it with a hex nut. For the transistor, add a steel washer against the device before attaching the nut. Secure the PCB to the base with M3 × 5mm screws and then tighten up the screws for the thermal cut-out, transistor and regulator, ensuring the heatsink stays square against the rear panel. The main PCB is attached to the base using four M3 × 5mm screws with Nylon washers. The washers allow the screws to tighten into the standoffs without touching the screws that enter from the top. Front panel label The panel label (see Fig.10) can be made using overhead projector film, printed as a mirror image so the ink/ toner will be between the enclosure and film when affixed. Use projector film that is suitable for your printer (either inkjet or laser) and affix it using clear neutral-cure silicone sealant. Roof and gutter silicone is suitable. Squeegee out the lumps and air bubbles before it cures. Once cured, cut out the holes through the film with a hobby or craft knife. For other options and more detail on making labels, see the page on our website: siliconchip.au/Help/FrontPanels Insert the two LED bezels for the Fig.9: the internal case layout and wiring. Take care that your unit is wired up exactly as shown here, especially the mains wiring, and don’t skimp on the cable ties, insulation or Earthing. See the notes in the text about the transformer secondaries; they might be labelled backwards, in which case you’ll have to reverse the connections. The transformer is shown here closer to the front of the case than in reality. siliconchip.com.au Australia's electronics magazine November 2022  95 LEDs into the front panel and place the LEDs into the holes from the top side of the PCB, taking care to orientate them with the longer lead to the anode (“A”) side. Push the LEDs down onto the PCB but do not solder the leads yet. Break off the locating spigot on potentiometer VR3 (and single-turn potentiometer VR1, if used) and mount them onto the front panel with the washer on the pot side and nut on the outside. Then mount the on/off switch with one nut on first, to set the depth that the panel sits into the threaded section, then place the second nut on the outside to hold it in place. Move the LEDs off the PCB, insert them into the bezels and solder the LEDs in place. The front panel PCB is held in position by the switches and potentiometers; there is no need for extra support. If you wish, you can add 15mm-long standoffs at a couple of the corners. Now attach the pot knobs. For VR2, ensure the pointer is correctly positioned so it points to the end stops on the front panel label at both rotation extremes. Remaining parts Mount the IEC connector to the rear panel using M3 × 15mm screws and nuts, and the transformer to the base using M4 × 10mm screws, star washers and nuts. The panel meter can be installed next. This is intended to slide and clip into the panel cut-out, but the top and bottom clips will not compress because they impinge on the seven-segment displays. The solution is to lever out the side clips to allow the internal PCB and displays to come out of the surround, then insert the surround through the front panel. The top and bottom clips can now be compressed so the meter can sit in the front panel. Once it’s in place, reinstall the meter internals. Mains wiring All mains wiring must be done using mains-rated cable. Be sure that brown wire is used for Active while the blue wire is used for Neutral. The green/yellow-striped wire is for the Earth wiring only (see the wiring diagram, Fig.9). Connect up the mains leads to the IEC connector and use a cable tie to secure the wires together and insulate using the rubber boot after it is cut so that the main section is 30mm long. This is so there is room for the transformer. Pass the wires through the boot before fitting it. The Earth wire from the IEC connector must go straight to the Earth mounting point on the case. This is attached using a crimp eyelet secured to the base with a 10mm M4 screw, star washer and two M4 nuts. If you haven’t already done so, you must scrape the paint away from around the hole to ensure the Earth connects to the metal of the case and not just the paint. The wires connect to the mains switch using female spade crimp connectors. Be sure to cable tie the wires together to prevent any broken wires from coming adrift. Additionally, cover the spade connections with 25mm diameter heatshrink tubing. Connect the transformer secondaries to CON1 using 7.5A-rated wire. Note that there is an anomaly for the transformer secondary outputs. The photos shown for the transformer on Fig.10: this front panel label can be downloaded as a PDF from the Silicon Chip website and printed out to form a label for the case. There is an alternative label without voltage markings to suit a multi-turn potentiometer. 96 Silicon Chip Australia's electronics magazine siliconchip.com.au These four close-up views show how the panel meter, mains switch, mains input socket and thermal switch are wired up and insulated. the Jaycar website have the terminals for the 0, 9, 12, 15, 18, 21, 24 and 30V as shown in our wiring diagram. But on our sample transformer from Jaycar, the windings only produced the expected AC voltages when the order of the taps (including the 0V and 30V ends) were reversed. The discrepancy wouldn’t matter if the taps were symmetrical, but they are not, and the resulting voltages are quite different depending on which end is defined as the 0V tap. It is important to have the 0V tap correct to get the required sequence of 0, 9, 12, 15, 18, 21, 24 and 30V. Otherwise, you will get 0, 6, 9, 12, 15, 18, 21 & 30V. To make sure you have the correct windings, use a multimeter set to measure AC volts to probe the secondaries and carefully check their voltages with power applied. Apply power by connecting the IEC plug to the mains with the IEC plug inserted into the IEC connector at the rear of the power supply. The fuse will need to be installed in the IEC connector. Check that the neon lamp in the switch lights up when the power switch is on. Find the two ends of the windings first; that should give the full 30V AC. Then check the secondary taps off each end to find the following voltage. It should be 9V AC at the 0V end and 6V AC at the 30V end. These voltages may be around 10% higher due to mains voltage variations and the fact that the transformer is unloaded. Once you’ve verified which is the 0V end, switch off power and wire up the secondaries as per Fig.9. The Supply should look like this once you have finished fitting all the parts and wiring them up. After checking it works, all that remains is to attach the lid using two of the supplied screws on either side. siliconchip.com.au Australia's electronics magazine November 2022  97 Next, connect the IDC cable between the two boards and wire up the meter. The supply ground for the meter is not connected and can be either cut short or connected to the NC terminal at the centre of CON5. That centre terminal is used as a wire keeper; it makes no electrical connection. Attach the banana sockets to the front panel, wire them up to CON2 (black for negative, red for positive) and connect the Earth terminal to the chassis. Testing and calibration Before applying power, check your wiring carefully and ensure all mains connections are correct. If you are using a socket for IC1, insert it now with the proper orientation. Take care that none of its leads fold under its body during insertion. Wind VR1 fully anti-clockwise and VR3 a little clockwise from fully anti-clockwise. This sets the Supply to its minimum output voltage at a low current. Wind VR6 fully clockwise by turning it until a faint click is heard, or if you don’t hear a click, wind for 20 turns in the clockwise direction. This prevents the regulator output voltage from going negative initially before being set up correctly. Switch power on, and the voltmeter should show around 1.2-1.3 V. Check that you can increase the output Summary of test points TP1 is the negative voltage applied to REG1 via VR1 and VR2. It is measured with respect to GND (or V- at CON2) and can range from -1.2V to -1.3V. VR6 is adjusted to provide a 0V output at V+ on CON2 when VR1 is fully anti-clockwise. TP2 is the -2.49V reference. It is measured with respect to GND (or V- at CON2) and adjusted via VR7. TP3 is the current limit setting, measured between TP3 and TP10 at CON6, that ranges from 0V to 2V when correctly adjusted. The upper and lower thresholds are adjusted by VR4 and VR5, respectively. CON6 allows the current limit setting of VR2 to be measured using a multimeter or other floating voltmeter. TP4 is the raw negative supply and should read around -8V to -9V relative to GND. TP5 is the output of current monitor IC2, giving 1V per amp of load current, measured with respect to TP2 (-2.490V). TP6 is the negative voltage applied to IC1a. TP1, the output of IC1a, should be within a few millivolts of TP6. See above for the significance of TP1. TP7 should be near 0V, rising toward 0.6V when power is switched off, measured with respect to GND. This is the AC detection voltage for the relay switching. 0V = AC detected, 0.6V = no AC detected. TP8 should rise from 0V to 13.6V with respect to GND over several seconds when power is first applied and drop quickly to near 0V when power is switched off. The time the voltage takes to rise from 0V to 13.6V is the switch-on delay. TP9 should be at about 12V with respect to GND, generated by zener diode ZD2. TP10 is the current setting offset to compensate current readings at TP5 (see TP3 above). TP 25V is the positive supply and should measure around 25V with respect to GND. 98 Silicon Chip Australia's electronics magazine voltage by rotating VR1 clockwise. Take care not to increase the output above 35V as the output capacitor is only rated to handle 35V. If the Supply does not appear to be working at this stage, recheck your construction. In particular, check that there is about -8V (or similar) at TP4 and about 25V at TP25V. Check that TP1 is around 0V. Once the voltages appear correct, it is time to make adjustments. Firstly, the precision reference needs to be set. Measure the voltage between TP GND (or the negative output terminal on the front panel) and TP2, and adjust VR7 for a reading of -2.490V. Once adjusted, the regulator can be set to produce a minimum of 0V. This is done by initially winding VR1 fully anti-clockwise and measuring between the Supply’s output terminals. Adjust VR6 anti-clockwise until the reading just reaches 0V. Next, we set the maximum 30V output range. This is only if you are using a single-turn potentiometer for VR1. For the multi-turn potentiometer, ignore this step since VR2 is not fitted. For the multi-turn pot, the maximum voltage will be close to 30V when VR1 is wound fully clockwise, possibly a little more. Carefully adjust VR1 clockwise and stop where the voltage is 30V or when the pot is fully clockwise, whichever comes first. If the pot has reached full clockwise rotation and the voltage is less than 30V, adjust VR2 clockwise until you get a 30V output. If 30V is reached before full rotation, adjust VR2 anti-clockwise and VR1 clockwise a little each time until 30V is reached with VR1 fully clockwise. The current limit range is adjusted by rotating VR3 fully clockwise and measuring between TP2 and TP3. Adjust VR4 to obtain 2V. That sets the maximum current to 2A. The minimum current setting alters the lower end of VR3 to cancel out the offset voltage of IC2. To set this, rotate VR3 fully anti-clockwise, then measure between TP5 and TP10 and adjust VR5 for 0V. It shouldn’t be necessary to readjust VR4 again for the maximum current limit as the voltage adjustment made with VR5 will only change the maximum current setting by about 20mV, which is insignificant compared to the original setting at 2A. But you could tweak it again if you want to. SC siliconchip.com.au