-
1Build
Build the circuit as shown in the diagram.
-
2Program
- Download the project file here.
- Open the project using Workshop 4. This project uses the Visi Environment.
- You can modify the properties of all the objects and buttons using the object inspector.
- You can change the trigger voltage level at which the scope will start sampling and showing the input signal waveform. The trigger level that can be used ranges from 0 to 4095 which relates to the analog voltage of 0 V to 3.3 V (Highlighted in the Yellow box). The default time and voltage scaling after booting the scope can also be changed if needed (Highlighted in the Red box).
- The pin assignment for the analog input in the line shown below. You may choose from pin PA0 to PA3 as the scope input. (Caution: GPIO pins can only handle up to 5 volts, additional protection or isolation is needed for measuring higher voltages)
- You can change the time division scaling of the scope in the lines shown below, use a positive integer to expand or a negative integer to compress the waveform. (Note: Be aware that negative values significantly increase the amount of internal memory required to hold scope values and that such values should be used carefully.)
- You can also change the voltage division by amplifying or attenuating the waveform. The waveform voltage level can be attenuated by using values below 100, and by using values from 100 up to 200.
- You can also change the time division scaling to be displayed in the status bar if necessary.
- You can also change the voltage division scaling to be displayed in the status bar if necessary.
- You can also change the background image, the scope trace and graticule color, and the buttons of the oscilloscope.
-
3Compile and Load
- 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.
- When the micro SD card is not yet inserted, this message will appear on your gen4 Display
"DRIVE NOT MOUNTED"
- After inserting your micro SD card this GUI should appear on the gen4 Display:
-
4Step 4
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.