Elektor Lab Notes 12: A Digital Ammeter/Voltmeter, Quartz Crystal Testing, and more!
on
Saad Imtiaz (Senior Engineer, Elektor)
- ESP32 Energy Meter Project: The PCBs have arrived, and I'm currently in the midst of testing them. Stay tuned for updates on how these boards perform in real-world conditions.
- AmpVolt Project: Working alongside Jens, we've developed a modular current and voltage measuring module. It's designed for flexibility, incorporating an ADS1015 ADC for digital conversion, an INA169 for current measurement, and a voltage divider for sensing up to 50V. PCB design is complete, and testing is on the horizon.
- Benchmarking Microcontroller Boards: Inspired by the limitations of my function generator, I thought to start a benchmarking quest to create the fastest square waves possible with microcontroller boards. The results were surprising and will be detailed in the upcoming editions of the Elektor Magazine.
Jean-François Simon (Engineer, Elektor)
- Quartz Crystals: the other day, I was assembling a small PIC-based kit to make a small 5-digit frequency meter. These are clones of Wolfgang "Wolf" Büscher's (DL4YHF) original circuit. Once soldered, the device is powered on: all display segments switch on briefly, then the display shows "0" and the current consumption remains under 5mA. All good.
I had bought two units, which enabled me to confirm the diagnosis: with the second crystal, the circuit worked normally again. Lesson learnt: these components are fragile, not only to shocks, but also to temperature! Unless I've been the victim of a manufacturing defect?
- More testing: this incident made me want to investigate further. So I made the buffered Colpitts oscillator from the book "Experimental Methods in RF Design" which is presented in this video. Sure enough, the crystal in question doesn't oscillate. I've checked a few other ones in my collection (4, 8, 12, 16, 20 MHz), and they all oscillate. As the frequency increases, the output amplitude decreases, I think this is normal and due to the design of this particular oscillator circuit.
- Even more testing: By using a cheap VNA (here, the NanoVNA H4), one can see the two resonant frequencies of the crystal: first the series resonant frequency, then the parallel resonant frequency. Here the sweep was from 19.9 MHz to 20.1 Mhz and s21 is displayed. Interestingly, the broken crystal that doesn't oscillate still shows a frequency response very similar to the working one. So, while it’s very interesting to study various circuits, the NanoVNA alone is not enough to determine if a crystal is working properly or not.
- Calibration Standards: while I was looking for documentation on how to use my nanovna properly, I came across this blog post from a few years ago (but some types of content never get old). There, Andrey makes a nice set of Open, Short and Load standards for his VNA, using BNC connectors. These are of course limited in frequency compared to their SMA counterparts, but they are quicker and easier to connect. Nice work!
- Wrinkles on PCBs: did you come across an old PCB like this?
Jens Nickel (Editor-in-Chief, Elektor Magazine)
Wi-Fi Remote Control for Audio Amplifiers: I've already shared updates on my latest hobby project, which is a remote control for off-the-shelf, yet slightly modified Class D audio amplifiers. It features an independent battery power supply and wireless receivers for audio. Gradually, the setup for Version 1 (focusing mainly on remote volume control) is taking form.A friend and I are utilizing Alps motorized potentiometers and off-the-shelf I²C “Mini Motor Controller” boards from the Grove system by Seeed Studio. Additionally, we're tracking the potentiometer position using an I²C ADC, specifically the 12-bit ADS1015, to enable a form of feedback for our volume control. While there are numerous ADS1015 breakout boards suitable for breadboards, there are not many affordable extension boards with user-friendly connectors. Therefore, we plan to design our own simple extension board with Grove connectors.
Initially, my buddy wasn't thrilled about the Grove connectors being proprietary and having a 2-mm pitch, which doesn't match the standard veroboards (finding 2-mm versions is a hassle and they're quite expensive). But we are both very committed to open-source and we took this as the perfect opportunity to learn how to use KiCad. After a few weeks, we really started to enjoy it a lot. I'll continue to update you in the next lab notes!
C. J. Abate (Director, Content and Engineering)
The Jan/Feb edition of ElektorMag focuses on power- and energy-related topics. In addition to the magazine, we are also maintaining a webpage dedicated to Power & Energy. Check it out! Engineers Jens Nickel and Thomas Scherer manage the page, which you can bookmark and check regularly for news, projects, and articles on a wide variety of power- and energy-related topics: solar and wind energy, power supplies and inverters, power measurement, and components and circuits.A quick reminder: In 2024, our Content Team will focus its content creation efforts on educating community members about specific electronics-related subject areas (i.e., "verticals"). The key verticals include: Power & Energy; Embedded & AI; Test & Measurement; IoT & Sensors; Circuits & Circuit Design; Wireless & Communications; Prototyping & Production; Arduino; Espressif; and Raspberry Pi. We encourage your active participation and collaboration. Please submit your article proposals, showcase your projects on the Labs platform, and share your product ideas with us. We look forward to collaborating with you!



Discussion (0 comments)