Silicon ChipSMD Test Tweezers - October 2021 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: The chip shortage is now a component shortage
  4. Feature: Detecting Gravitational Waves by Dr David Maddddison
  5. Product Showcase
  6. Project: Tele-com – an intercom using analog phones by Greig Sheridan & Ross Herbert
  7. Project: Two- or Three-Way Stereo Active Crossover – Part 1 by Phil Prosser
  8. Feature: El Cheapo Modules: 3.8GHz Digital Attenuator by Jim Rowe
  9. Project: SMD Test Tweezers by Tim Blythman
  10. Review: PicoScope 6426E USB Oscilloscope by Tim Blythman
  11. Project: Touchscreen Digital Preamp with Tone Control – Part 2 by Nicholas Vinen & Tim Blythman
  12. Review: Solder Master ESM-50WL Cordless Iron by Tim Blythman
  13. Serviceman's Log: Life on the 'bleeding edge' by Dave Thompson
  14. Feature: UT-P 2016 MEMS Woofer by Allan Linton-Smith
  15. Vintage Radio: Reinartz 4-valve reaction radio by Fred Lever
  16. PartShop
  17. Market Centre
  18. Advertising Index
  19. Notes & Errata: Tapped Horn Subwoofer, September 2021; Touchscreen Digital Preamplifier, September 2021; Battery Manager, August 2021; Bush VTR103 AM/FM radio, August 2021; Silicon Labs FM/AM/SW Digital Radio, July 2021; 7-Band Stereo Equaliser, April 2020; CLASSiC DAC, February-May 2013
  20. Outer Back Cover

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

You can view 47 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 "Tele-com – an intercom using analog phones":
  • The Tele-com Intercom PCB (aka OzPLAR) [12110211] (AUD $30.00)
  • The Tele-com Intercom PCB pattern (PDF download) [12110211] (Free)
  • Tele-com front & rear panel 3D printing files (Panel Artwork, Free)
Items relevant to "Two- or Three-Way Stereo Active Crossover – Part 1":
  • Two- or Three-Way Stereo Active Crossover PCB [01109211] (AUD $15.00)
  • Two- or Three-Way Active Crossover PCB patterns (PDF download) [01109211] (Free)
Articles in this series:
  • Two- or Three-Way Stereo Active Crossover – Part 1 (October 2021)
  • Two- or Three-Way Stereo Active Crossover – Part 1 (October 2021)
  • Two- or Three-Way Stereo Active Crossover – Part 2 (November 2021)
  • Two- or Three-Way Stereo Active Crossover – Part 2 (November 2021)
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 "SMD Test Tweezers":
  • SMD Test Tweezers PCB set [04106211+04106212] (AUD $10.00)
  • PIC12F1572-I/SN [0410621A.HEX] or PIC12LF1572-I/SN [0410621C.HEX] programmed for the SMD Test Tweezers (Programmed Microcontroller, AUD $10.00)
  • 64x32 white OLED screen (0.49-inch, 1.25cm diagonal) (Component, AUD $10.00)
  • Improved SMD Test Tweezers kit (Component, AUD $35.00)
  • Firmware for the SMD Test Tweezers [0410621A.HEX] (Software, Free)
  • SMD Test Tweezers PCB patterns (PDF download) [04106211/2] (Free)
Items relevant to "Touchscreen Digital Preamp with Tone Control – Part 2":
  • Touchscreen Digital Preamp PCB [01103191] (AUD $12.50)
  • Touchscreen Digital Preamp ribbon cable/IR adaptor PCB [01103192] (AUD $2.50)
  • PIC32MX170F256B-50I/SP programmed for the Touchscreen Digital Preamp, 2.8in screen version [0110319A.hex] (Programmed Microcontroller, AUD $15.00)
  • PIC32MX170F256B-50I/SP programmed for the Touchscreen Digital Preamp, 3.5in screen version [0110319B.hex] (Programmed Microcontroller, AUD $15.00)
  • Micromite LCD BackPack V3 complete kit (Component, AUD $75.00)
  • Micromite LCD BackPack V2 complete kit (Component, AUD $70.00)
  • Micromite LCD BackPack V1 complete kit (Component, AUD $65.00)
  • Firmware for the Touchscreen Digital Preamp (Software, Free)
  • Touchscreen Digital Preamp PCB patterns (PDF download) [01103191/2] (Free)
Articles in this series:
  • Touchscreen Digital Preamp with Tone Control – Part 1 (September 2021)
  • Touchscreen Digital Preamp with Tone Control – Part 1 (September 2021)
  • Touchscreen Digital Preamp with Tone Control – Part 2 (October 2021)
  • Touchscreen Digital Preamp with Tone Control – Part 2 (October 2021)
Articles in this series:
  • A high-performance MEMS tweeter that’s just 6.7 x 4.7mm! (May 2020)
  • A high-performance MEMS tweeter that’s just 6.7 x 4.7mm! (May 2020)
  • UT-P 2016 MEMS Woofer (October 2021)
  • UT-P 2016 MEMS Woofer (October 2021)

Purchase a printed copy of this issue for $10.00.

SMD Test Tweezers By Tim Blythman This clever little device is made from just 11 components. Yet it can measure the values of many SMD resistors and capacitors, plus show diode and LED orientations and measure their forward voltages. It’s quick and easy to use, and is powered by an onboard button cell, with a high-contrast OLED screen to show the readings. W orking with SMD parts can be tricky. Reading component markings can be a strain on the eyes, if the component is even marked! Devices like SMD capacitors are totally anonymous and, once removed from their packaging, almost impossible to tell apart. These SMD Test Tweezers make it easier by telling you all about a component by simply picking it up. In some cases, these Tweezers can also measure the properties of a component once it has been soldered to a board (although, depending on the circuit configuration, sometimes the readings will not be accurate). As time passes, fewer electronic parts are available in through-hole variants and increasingly manufacturers are building products mostly or entirely from SMDs. They are smaller and cheaper than through-hole parts, can be mounted on both sides of a board (often with internal traces running underneath) and are also less sensitive to shock and vibration. Of course, while parts being smaller can be advantageous, it also presents problems when working with them. Certain tools, such as tweezers and a magnifier, are indispensable. Once you’ve had a chance to try out our SMD Test Tweezers, we think you will be adding them to your bag of SMD tricks! The tweezers SMD parts are very awkward to read with a multimeter. On many occasions, we’ve been pressing multimeter Features & Specifications ● ● ● ● ● ● ● ● ● ● 64 Identifies and measures resistors, capacitors, diodes & LEDs Compact OLED display readout Runs from a single lithium coin cell, around five years of standby life Auto power on and off Displays own cell voltage when no component is connected Can measure components in-circuit under some circumstances Can perform thousands of measurements before the cell is exhausted Resistance measurements: 10W to 1MW Diode measurements: polarity and forward voltage, up to about 3V Capacitance measurements: 1nF to 10μF Silicon Chip Australia’s electronics magazine probes into the ends of an SMD part, trying to get a reading, only for it to fly off and never be found again. Tweezers provide a much more natural way to do this, and as you don’t need to apply much pressure, there is less chance of the part taking flight. Even better, since tweezers are a convenient way to pick up and handle such parts, if we incorporate the measuring tool into the tweezers, it can tell you what part you are handling while you are in the process of placing it on the board. The SMD Test Tweezers measure whatever component is present between its tips, so there are no extra fiddly movements to make. You pick up the part, and the screen displays its assessment. The Tweezers automatically detect the difference between resistors, capacitors and diodes, including many LEDs. With a maximum applied current of 0.3mA at 3V, there’s virtually no chance of causing damage. The Tweezers can measure resistances from around 10W to 1MW and capacitances from 1nF to 10μF. These ranges are slightly limited, but increasing them would significantly complicate the design, and a large percentage of SMD components fall within those ranges. siliconchip.com.au The Tweezers also check diode polarity and forward voltage. If an LED is picked up, it will also be illuminated dimly so that you can check the colour. The forward voltage measurement is limited by the 3V available from the small coin cell that powers it. We’ve got no doubt that this tool will find much use in the hands of even our most SMD-savvy readers. Design We set out to make this tool compact, so it uses a tiny 0.49in (12.5mm) diagonal OLED screen. This is the same module we used in the Shirt Pocket Audio DDS Oscillator in the September 2020 issue (siliconchip. com.au/Article/14563) We’re also using a small 8-pin microcontroller, a PIC12F1572 in the SOIC package. We explained why we chose this out of all the 8-pin PICs in the November 2020 issue (on page 83; siliconchip.com.au/Article/14648). Suffice to say that it is a compact and capable part that puts some older 8-pin PICs to shame. And it’s cheap too. The design uses one small PCB to house the main operating parts, including the microcontroller, while another pair of PCBs form the arms. We added some custom brass tips to our prototype, but this is not absolutely necessary. Another option is to purchase premade tweezer test leads that can be combined with the main PCB to give a similar result. Fig.1: the Tweezers circuit is remarkably simple; it uses just one resistor and three microcontroller pins to perform all its tests. An I2C OLED display keeps the pin count within the limits of the tiny 8-pin microcontroller. Once the OLED screen is fitted, it will be tricky to access these parts, so check that everything is as it should be before proceeding further. With the four components fitted to the PCB, it should look something like this. Circuit details The complete circuit for the Tweezers is shown in Fig.1, and it is extraordinarily simple. The test functions are provided by a 10kW resistor connected between pins 2 and 5 of IC1. Pin 5 also connects to one of the Tweezer arms and thus to the device under test (DUT). The other Tweezer arm connects to IC1’s pin 3. All the tests are done by placing different voltages on pins 2 and 3, then using the micro’s internal ADC (analog-to-digital) converter to measure the voltage on pin 5 relative to the cell voltage. The cell voltage is also measured by using it as a reference to measure the micro’s internal 1.024V reference. CON2 is a 4-pin header that connects to the OLED module. This uses an I2C serial interface which is provided by pins 6 and 7 of IC1. The I2C siliconchip.com.au pull-up resistors are fitted to the OLED module, so they are not needed in our circuit. The PIC12F1572 does not have a hardware I2C peripheral, so these pins are driven ‘manually’ by the software. We’ve chosen pins 6 and 7 so that if IC1 needs to be programmed, it can be done before the OLED module is fitted, which would otherwise interfere with the programming signals. Microcontroller IC1 is powered by coin cell BAT1, which is bypassed by a 100nF capacitor. IC1’s MCLR pin is pulled up to its supply voltage by a 10kW resistor so that it operates normally as long as power is applied. CON1 is an in-circuit serial programming (ICSP) header, with its pins connecting to IC1’s pins 4, 1, 8, Australia’s electronics magazine 7 and 6 respectively. You can use it to program IC1 in-circuit if needed. That is not necessary if you purchase a pre-programmed PIC chip. Component sensing The IOTOP and IOBOT designations on the schematic denote the normal IO states of these pins. When idle, pin 2 is pulled high and pin 3 is pulled low. This matches the designations of CON+ and CON-. On each measurement cycle, IC1 measures its internal 1.024V reference relative to its supply rails, and calculates the cell voltage based on this. This might be used later to calculate diode forward voltages; if no component is detected, the cell voltage is displayed. October 2021  65 The next test is to see if a capacitor is present. Pin 2 is taken low, and a series of samples are taken of the voltage at pin 5, until pin 5 is below half the cell voltage, or 255 samples have been taken. If IC1 doesn’t see the voltage fall like a capacitor discharging, it reports that it does not identify a capacitor. This can also happen if the capacitance is too low (which causes the voltage to drop faster than IC1 can make its measurements) or too high (which causes the voltage to not change enough over the sample period). The capacitance is calculated based on the voltage drop and the time taken, although an approximation is used to avoid the computationally-expensive log function; our code comes within a handful of bytes of filling the available program space. The accuracy of the approximation is only significant at values near the upper measurement limit. Given that many capacitors are only specified to within 20%, this is sufficient for most purposes and will be adequate to tell components apart unless they are very close in value. The capacitance test is done first as it means that the time since the last sample can be used to ensure that the capacitor is as close to fully charged as possible. Note that you should not connect a charged capacitor to the Tweezers (or any similar meter). If it is charged to more than a few volts when it is connected, or the polarity is reversed, it could easily damage microcontroller IC1. Even if it doesn’t, it will probably not be measured correctly. If a capacitor is not detected, then the idle state is restored for 200μs (to allow the voltage to settle). The micro then takes a measurement of its pin 5 voltage, flips the polarity for another 200μs, takes another measurement and then flips the polarity back. The algorithm averages 16 samples at each polarity to improve accuracy. Fig.2: this shows the various ways that the Tweezers measure component values. Resistance is measured using the well-known resistance divider formula, while the diode test measures the voltage across the device in both directions. Capacitance measurement is based on the change in voltage over a time interval when discharged via the known resistance. There’s not much to see on the back of the Tweezers, but note that one arm, the OLED header (CON2) and the cell holder (BAT1) are all quite close together. Double-check for short circuits before fitting the coin cell. 66 Silicon Chip Australia’s electronics magazine Every second raw ADC measurement is adjusted to account for the fact that it was taken with reversed polarity. If the two voltage measurements are close, then the part is assumed to be a resistor and the value is reported according to the voltage divider formula (see Fig.2). If one value is close to full rail and one value is not, then the part is probably a diode of some sort, and the forward voltage and direction are reported. This can include LEDs, silicon and schottky diodes. The LED portion of phototransistors and opto-isolators should also show a diode reading. Bi-colour LEDs and other diode networks may not be detected, as they will conduct and not appear open-circuit in the reverse direction. If you’re clever, you can probably identify bipolar transistors by connecting the tweezers across their suspected base & emitter pins and identifying the junction polarity; it should be detected like a diode. LEDs connected with their anodes to CON+ and cathodes to CON- will be forward-biased by the idle current and supplied with a few hundred microamps of current, which should be enough to light them dimly and indicate that they are working. The Test current is quite low due to the 10kW resistor, no more than around 300μA. Thus the forward voltage indicated may be a bit lower than what you might expect (eg, by reading the data sheet). For example, silicon diodes measure about 0.5-0.6V. Once determined, the part type and value (or cell voltage) is displayed simply as a number with the appropriate units and multiplier; to differentiate the cell voltage from the diode voltage, a diode symbol is shown with polarity matching the part in relation to the Tweezer probes. After five seconds of no part being detected, the OLED is put into a lowpower mode, pin 5 is enabled as an interrupt source, and the microcontroller goes into sleep mode. You can wake up the micro by simply touching the tweezer probes together, which changes the pin state. So you can see how such a simple circuit can perform various tests to detect and measure a range of components. Fig.2 shows how these algorithms work in a bit more detail. When the OLED is active, current siliconchip.com.au consumption is around 4mA. This drops to 5μA when the microcontroller is sleeping, and the OLED is shut down. Thus, the cell life will depend mainly on the time the Tweezers are actually used. A typical CR2032 coin cell has a capacity of 220mAh, giving a standby life of around five years, which is good considering a coin cell has a typical ‘shelf life’ of 10 years. We will be selling a kit for this project for $35 (SC5934). It includes all components, except the cell & brass tips. See page 106 for details. Construction If you haven’t already jumped into working with SMD parts, you’re going to start now because we’ve designed the SMD Test Tweezers with SMD components. Use the top and bottom PCB overlay diagrams shown in Fig.3 as a guide during construction. The main part of the SMD Tweezers is built on a PCB coded 04106211 that measures 28 x 26mm. We recommend using solder flux (ideally paste, although a liquid flux pen is better than nothing), a finetipped adjustable iron, solder wicking braid and a magnifier. We also suggest using a pair of tweezers. Since flux can generate smoke when heated, you should work somewhere with good ventilation. Also, check if your flux has a recommended cleaning solution; in a pinch, isopropyl alcohol is a good all-round substitute, with methylated spirits usually doing an acceptable job. Start by securing the PCB to your work surface with the component side facing up. If you don’t have a PCB vice or holder, use some Blu-Tack to stick it to your desk. Apply flux to the pads for the SMD components, then hold IC1 in place. If all the leads are inside their pads, then We’ve left our Tweezers bare to show the construction details, but you might like to cover the main PCB with a short piece of wide heatshrink. This will also serve to hold the coin cell in place. that is fine. IC1 should have a small dot marking pin 1; ensure that this is at the end closest to the 100nF capacitor as marked on the PCB. Clean the tip of your iron and apply a small amount of fresh solder. Then touch the iron to one corner pin of IC1. This should cause the solder to flow onto the lead. If the part looks to be flat against the PCB and still within all the pads, then solder the remaining leads by touching the iron to them. You can add more solder to the iron if needed, and more flux can help too. The only problems with using too much flux are that it will generate more smoke and take a bit longer to clean up. Otherwise, more is generally better. If you find that you have bridged any pins, then it’s easiest to solder the remaining pins before fixing this, as it will help keep the IC in the correct place. Then apply more flux, press the braid against the bridged pins with your soldering iron, and gently slide the braid away once it draws up the excess solder. Inspect the pins with a magnifier before proceeding, and repeat any of the above steps if necessary. You might need to clean up any residual flux if it impedes your view between the pins. The remaining parts can be soldered similarly, with the difference being that none are polarised, and they all have much larger leads and pads. Place the sole capacitor next; it will probably be the only part without markings. Solder one lead, check for correct positioning within the pads and against the PCB, then solder the other lead. Retouch the first lead if necessary. Then fit the resistors; they are both the same value. They aren’t polarised, but it’s good practice to orientate the markings to match the text on the PCB to help with troubleshooting. Flip the PCB over to mount the cell holder. A similar soldering technique will work for the cell holder, with the Fig.3: despite only a handful of components being present, we have used both sides of the PCB. One advantage of SMD components over through-hole parts is that it’s much easier to have parts on both sides without concern over where the leads go. Keep an eye on IC1’s orientation; once it’s fitted, the rest of the assembly is quite straightforward. siliconchip.com.au Australia’s electronics magazine October 2021  67 Fig.4: there are no components mounted on the arm PCBs; they are basically just flexible conductors that are soldered to the main PCB and clamp the DUT at the other ends. difference being that it is a bit larger, so it will need more heat. Turn your iron up if it is adjustable. Place the cell holder, ensuring that the opening faces towards the curved end of the PCB. If it looks like you might not be able to get the cell in or out, then it is probably the wrong way around. Apply some flux and tack one lead. Check that all is aligned correctly, then solder the other. You can then retouch the first pin if needed. That completes the surface-mounted parts, and this is a good point at which to clean off the residual flux. Because many flux cleaners are flammable solvents, you should allow the PCB to dry thoroughly after this step. If you have a blank microcontroller, now is a good time to program it. Do it before installing the OLED module, as this can interfere with programming when plugged in. Programming IC1 You can skip over this section if you have a pre-programmed microcontroller, which will be the case if you have purchased it from the Silicon Chip Online Shop. Otherwise, you’ll need a PICkit 3 or PICkit 4 programmer to program this chip, plus the MPLAB X IPE (integrated programming environment) software, a free download from the Microchip website (usually bundled with the MPLAB X IDE). You can also use a Snap programmer if you modify it according to the instructions on p69 of our June 2021 issue (see siliconchip.com.au/Article/ 14889). This is necessary as the Snap programmer cannot supply power otherwise (or you could figure out another way to temporarily apply power to the micro during programming). While it is possible to solder a programming header to the Tweezers PCB, since it will only be used once and would get in the way after that, we prefer to use gentle force to hold the header in place against the pads during programming. Select the PIC12F1572 as the target part in the IPE, then open the 0410621A.HEX file. After that, simply press the Program button to start the process (start to apply pressure to hold the header pins to the PCB just before you do that). If you get the ‘Programming/Verify complete’ message, then programming has completed successfully. Otherwise, try again. Detach the programmer before moving on to the next step. Completion If you want to add metal tips to your Tweezer arms (made from PCBs coded 04106212 measuring 100 x 8mm), it is easier to do so before fitting them to the Tweezers. Cut pieces of brass strip roughly to size. The pieces can be fine trimmed to matching lengths once the Tweezers have been assembled. Parts List – SMD Test Tweezers 1 double-sided PCB coded 04106211, 28 x 26mm (main PCB) 2 double-sided PCBs coded 04106212, 100 x 8mm (Tweezer arms) 1 PIC12F1572-I/SN or PIC12F1572-E/SN 8-bit microcontroller programmed with 0410621A.HEX, SOIC-8 (IC1) 1 0.49in 64x32 OLED module (Silicon Chip Online Shop Cat SC5602) 1 surface-mount coin cell holder (BAT1) [Digi-key BAT-HLD-001-ND, Mouser 712-BAT-HLD-001 or similar] 1 CR2032 or CR2025 lithium button cell 1 5-pin right-angle male pin header (CON1; optional, needed for programming IC1 only) 1 100nF SMD 50V X7R ceramic capacitor, 3216/M1206 size [Altronics R9935] 2 10kW 1% SMD resistor, 3216/M1206 size [Altronics R8188] 2 15 x 2mm short pieces of thin (eg, 1mm) brass sheet for Tweezer tips (optional) 1 40mm length of 30mm diameter clear heatshrink tubing (optional; see text) 2 100mm lengths of 10mm diameter heatshrink tubing (optional; see text) 68 Silicon Chip Australia’s electronics magazine Solder one strip to the end of each arm, letting each overhang by around 5-10mm. Keep in mind that the bars should be on the inside of the arms when assembly is complete (see our photos for details). Try to get some solder into the holes in the PCB, as this will add mechanical strength. The surface-mounting copper pads are essentially glued to the PCB, so it doesn’t take much to tear them off. If you don’t have brass strip, it will pay to add some small blobs of solder to the Tweezer tips. This will provide a larger contact area and also some resistance against the tips wearing down. Place the arms onto the Tweezers PCB at the CON+ and CON- pads and roughly align their positions. Their ends should be separated about 10mm-15mm with no pressure applied; this gives a reasonable working force and range. This gap also means that the Tweezers can be used to test through-hole parts like axial-leaded resistors, diodes and capacitors. We found that fitting the arms flush with the edge of the PCB made the soldering easier and kept the CON+ arm clear of the CON2 OLED connection. It also looks tidier; see our photos. Once you’re happy with their positions, apply a generous amount of solder to both sides of the joins to secure them in place. Try out the action, tension and alignment of the arms and adjust if necessary. You can also trim and dress the tips if fitted. Squeezing the arms together and drawing a fine file over the tips will align them if they are slightly different lengths. To make the tips of the arms parallel, place fine sandpaper or a flat file between the tips and work them until the tips are satisfactory. This will also help add some texture to the tips to help them grip components and avoid the possibility of them flying into the yonder! The OLED screen The OLED module is the last piece to fit. The header supplied with the module has a spacer of just about the siliconchip.com.au You can get pre-made tweezers with leads designed to be connected to other pieces of equipment like a multimeter. If you prefer these, you can cut off the banana plugs and solder them to our main board instead of our PCB-based arms. If doing this, ensure that the positive lead goes to the CON+ pad on the PCB and CON- to the black lead. That time of year is nearly here... CHRISTMAS Spice up your festive season with eight LED decorations! Tiny LED Xmas Tree 54 x 41mm PCB SC5181 – $2.50 Tiny LED Cap 55 x 57mm PCB SC5687 – $3.00 Tiny LED Stocking 41 x 83mm PCB SC5688 – $3.00 right depth to mount the OLED parallel to the main PCB, although the pins probably need trimming. Start by soldering the pin header to the PCB at CON2, preferably with the longer pins facing up. This will make them easier to trim later. Check that there are no bridges between the pins of CON2, the CON- arm and the cell holder. Tack one lead of the OLED to the top of the header and check that it looks right and is not touching anything underneath; adjust it if necessary. Solder the remaining pins and then trim the excess pin length from the top, taking care not to damage the OLED screen. Then remove the protective film on the display. Using it Insert the lithium cell with the negative terminal against the PCB. The OLED should spring to life and show a reading just over 3V for a fresh cell. Squeezing the arms together should show a resistance of a few ohms. If you have no display at all, check the OLED connections. If there is no resistance measurement, you might have a problem with your test circuitry; check the resistors, IC1 and the Tweezer arms. After the Tweezers go into sleep mode, they use low-power digital sensing to wake up. Thus, they might siliconchip.com.au wake up if connected to some but not all parts. Reverse-connected diodes and high-value resistors may not wake the Tweezers, but nearly all capacitors (when discharged) appear to do so. In that case, simply short the Tweezer tips together, then probe the component. Once a part has been detected, the Tweezers will stay awake until no part has been detected for five seconds. Caution Like any project that uses coin cells, the Tweezers should be kept well away from children who may ingest them. The Tweezers also have quite pointy tips, another reason to keep them out of reach of curious fingers. You can apply a piece of wide, clear heatshrink tubing to the main PCB body to insulate and protect it. This can also be used to secure the coin cell in place; it should not be due for replacement too often, and the heatshrink can be replaced at such times. You might also like to fit some thinner heatshrink to the arms. This will provide more insulation and also add a softer gripping surface to the Tweezers. SC Australia’s electronics magazine Tiny LED Reindeer 91 x 98mm PCB SC5689 – $3.00 Tiny LED Bauble 52.5 x 45.5mm SC5690 – $3.00 Tiny LED Sleigh 80 x 92mm PCB SC5691 – $3.00 Tiny LED Star 57 x 54mm PCB SC5692 – $3.00 Tiny LED Cane 84 x 60mm PCB SC5693 – $3.00 We also sell a kit containing all required components for just $14 per board ➟ SC5579 October 2021  69