Function Generator Project
by 4D Makers in Circuits > Electronics
3401 Views, 44 Favorites, 0 Comments
Function Generator Project
![timer_0002_3.jpg](/proxy/?url=https://content.instructables.com/FYN/YBHD/J8OR4SP1/FYNYBHDJ8OR4SP1.jpg&filename=timer_0002_3.jpg)
![Function Generator](/proxy/?url=https://content.instructables.com/FK6/ZG5R/J8OR4SOI/FK6ZG5RJ8OR4SOI.jpg&filename=Function Generator)
In this project, we will make a function generator using the gen4-uLCD-43DCT-CLB display module. The gen4 display will be used for generating various types of signal waveforms namely: square, triangular, sinusoidal, sawtooth, and noise waveform. The frequency of the periodic waveforms can also be adjusted.
Components
![fritzing.png](/proxy/?url=https://content.instructables.com/F7D/337V/J8OR4SQZ/F7D337VJ8OR4SQZ.png&filename=fritzing.png)
- gen4-uLCD-43DCT-CLB
- gen4-PA and FFC Cable
- uSD Card
- uUSB Cable
- Jumper Wires
- 7 x 10 KΩ Resistor
- 9 x 20 KΩ Resistor
- 1 x 39 nF Non-polarized Capacitor
- 1 x 1N4148 Signal Diode
- Breadboard
Build the circuit as shown in the diagram
Program
![how it works.png](/proxy/?url=https://content.instructables.com/FBY/4P7B/J8OR4SR8/FBY4P7BJ8OR4SR8.png&filename=how it works.png)
![gui.png](/proxy/?url=https://content.instructables.com/FHP/INLG/J8OR4SR1/FHPINLGJ8OR4SR1.png&filename=gui.png)
- Download the code here.Open the Visi project using Workshop 4.
- This project uses the Visi Environment.
- You can modify the properties of each widgets and buttons.
- You can also check and modify some part of the code according to your preferences.The code provides comment for your reference
- Click on the “Compile” button.
- Note: This step could be skipped. However, compiling is essential for debugging purposes.
- Connect the display to the PC.
- Make sure that you are connected to the right port.
- Red Button indicates that the device is not connected, Blue Button indicates that the device is connected to the right port.
- Go back to “Home” tab. This time, click on the “Comp’nLoad” button.
- Workshop 4 will prompt you to select a drive to copy the image files to a uSD Card.
- After selecting the correct drive, click OK.Mount uSD Card When the uSD card is not yet inserted, this message will appear on your gen4 Display: "Drive not mounted"
Demonstration
![Capture.PNG](/proxy/?url=https://content.instructables.com/F0U/T9RS/J8OR4SP4/F0UT9RSJ8OR4SP4.png&filename=Capture.PNG)
You can use this function generator display to see different waves.