Waveforms of different functions, frequencies, and amplitude levels are often required to test the functionality of electronic circuits. Although the circuit presented is not a complete substitute for a laboratory-grade signal generator, it serves as a waveform/signal generator with widely used standard waveforms, such as sinusoidal, square, triangular, and linear forward and reverse ramps under software control.
Moreover, since it is completely software-driven, it provides the added advantage of an ‘arbitrary waveform generator’ allowing users to design and generate custom signal waveforms with adjustable rates (frequencies) or wave shapes. The device uses the popular Raspberry Pi SBC as the main host controller, along with a few easily available, low-cost components that both hobbyists and professionals can assemble quickly. The software is written in Python for the Raspberry Pi. Fig. 1 shows the block diagram of the Raspberry Pi-based waveform generator. The components needed for this device are listed in Table 1.
Circuit and working
Fig. 2 illustrates the circuit diagram of this waveform generator. It is built around a Raspberry Pi, an 8-bit serial shift IC (74HC595), and a few other components.
The working of the circuit is straightforward. As shown in Fig. 2, the core of this waveform generator is the voltage-output R-2R DAC, comprising resistors R2 to R17. This 8-bit DAC accepts digital input and converts it directly into a voltage output. Unlike a currentoutput DAC, there is no need for an external voltage-to-current circuit using an op-amp. Thus, this is a very compact circuit that requires no additional power. Further details about the working and operation of this R-2R DAC can be found in the October 2000 issue of EFY, in the article ‘R-2R DAC Based Waveform Generator Using PIC16C84 Microcontroller’. The output of this DAC is available at connector J1, which is labelled ‘DAC Output’.
هذه القصة مأخوذة من طبعة October 2024 من Electronics For You.
ابدأ النسخة التجريبية المجانية من Magzter GOLD لمدة 7 أيام للوصول إلى آلاف القصص المتميزة المنسقة وأكثر من 9,000 مجلة وصحيفة.
بالفعل مشترك ? تسجيل الدخول
هذه القصة مأخوذة من طبعة October 2024 من Electronics For You.
ابدأ النسخة التجريبية المجانية من Magzter GOLD لمدة 7 أيام للوصول إلى آلاف القصص المتميزة المنسقة وأكثر من 9,000 مجلة وصحيفة.
بالفعل مشترك? تسجيل الدخول
STK435 IC-Based STEREO AMPLIFIER
This stereo AF amplifier uses the STK435 IC, a highly popular choice due to its simplicity.
A SEWER DRAIN SHIELD For Smart Cities
Drainage systems are vital for storm water management but often transport pollutants, especially plastics, to rivers and oceans, harming ecosystems.
ESP32 SPEECH FUNCTION: Text To Speech
Speech capability in technology primarily has two dimensions: text to speech (TTS) and speech to text (STT). This device focuses on TTS.
World's Smallest Programable INDUSPHONE DESIGN
This is the second part of designing the world’s smallest phone, where the UI is integrated with the basic functions of the phone.
FLAME-SENSING FIRE ALARM Using An Arduino Nano
Fire safety alarms are crucial in both residential and industrial environments.
loT-Based Distribution Transformer CONDITION MONITORING SYSTEM
The proposed IoT-based distribution transformer condition monitoring system enables real-time monitoring of distribution transformers, identifying such deviations as overload conditions and overheating.
Wi-Fi 6 AND Wi-Fi 7 Powering The Next Wave of Smart Connectivity
Wi-Fi 6 leads with faster data rates and reduced latency while upcoming Wi-Fi 7's backward compatibility will facilitate gradual upgrades from Wi-Fi 6, easing transitions. However, advanced features like multi-link operation (MLO) and ultra-low latency may command a premium, making Wi-Fi 7 suited for high-end applications.
CHARGE FORWARD: High-Voltage Batteries And MSMEs Can Fuel INDIA'S EV REVOLUTION
A nuanced explanation of low- and high-voltage EV batteries by Dr Gokhale, Vice President for Battery Technology at JSW Energy, illuminates their advancements and influence. The essential role of MSMEs and academia in developing a strong EV ecosystem emerges, marking their significance for India's push towards self-reliance in this innovative field.
"MILES TO GO Before I Sleep"
A teacher illuminates the path to success through the light of knowledge, yet some teachers extend that light to society through their contributions and research. Known as the architect of the modern M3 electronic voting machine (EVM) and the voter verifiable paper audit trail (VVPAT) that transformed India's democratic process, Prof. (Dr) Rajat Moona's journey began in the modest town of Bareilly. Here is his story, as recounted to and written by EFY's Yashasvini Razdan.
STARTUPS & INNOVATORS
1 One Charger To Charge All Your Devices | 2 Harnessing AI Technology For Efficient Pest Management | 3 Wireless Light-Based Communication With Velmenni's Technology