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’.
Esta historia es de la edición October 2024 de Electronics For You.
Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 9,000 revistas y periódicos.
Ya eres suscriptor ? Conectar
Esta historia es de la edición October 2024 de Electronics For You.
Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 9,000 revistas y periódicos.
Ya eres suscriptor? Conectar
Wearable Automatic ASSISTANCE GLOVE
This proposed prototype works by wearing the glove and either touching a specific finger with the thumb or pressing a special switch.
BLUETOOTH CONTROL Through Mobile
Creating a Bluetooth-controlled device with an Arduino Uno and an HC-05 Bluetooth module enables control of lights or even relays to manage AC appliances wirelessly using an Android smartphone.
Raspberry-Pi Based WAVEFORM GENERATOR
A waveform generator is a commonly used test and measurement instrument in electronics laboratories.
World's Smallest Programable INDUSPHONE DESIGN
Smartphones have become a necessity in daily life.
AUTOMATIC WIPER CONTROL For Three/Four Wheelers
The integration of a 555 timer and L293D motor driver in an automatic wiper control device presents a practical and efficient solution for enhancing driver safety and convenience.
EMS Vs Components Manufacturing: EMPLOYMENT IN ELECTRONICS INDUSTRY OF INDIA
A recent article in a leading business newspaper reported that industry executives, during a government meeting, had suggested that EMS firms create more employment than electronics component manufacturers-for every rupee invested. To verify this claim, a review was conducted with both component manufacturers and EMS firms, as well as several trade associations.
Why Did Rajguru Electronics, A Leading Distributor Of Components And Development Boards, Enter Manufacturing?
After nearly three decades in distribution, Rajguru Electronics pivoted to manufacturing, setting up a unit for its ADIY subsidiary in Bengaluru. EFY's Yashasvini Razdan interviewed CEO Dileep Jain to explore the reasons behind the shift and the company's growth strategy.
"We Are Building FUTURE ENTREPRENEURS With Drone Assembly And Maintenance Training"
AVPL is creating village-level entrepreneurs and jobs through drone technology and agriculture training. In an interview with EFY's Nitisha, Co-founder and Chairman Preet Sandhu discloses how their 70 centres across 12 states offer offline courses in RPC and agricultural spraying.
"Becoming CLEAR"
From a nonchalant teenager to authoring a book on Verilog at 25 and launching successful IPOs for startups on the US stock market, Rajeev Madhavan exemplifies how the right guidance can transform a life. This is the story of one of Silicon Valley's most influential venture capitalists, as narrated to Yashasvini Razdan.
THINKRAW INDIA'S SOLAR SOLUTIONS FOR THE AGRICULTURAL SECTOR
ThinkRaw's blend of technology and tradition is revolutionising agriculture with solar-powered solutions that enhance efficiency and sustainability in farming and aquaculture.