-
1Build
Build the circuit as shown in the diagram.
-
2Program
- Download the code here.
- Open the Visi project using Workshop 4. This project uses the Visi Environment.
- The project can be improved by adding more button(s) to add more functionality. Use the widget ribbon to add the type of button(s) you need.
- In order to use the added button with the host(Arduino Uno), make sure to change the Event Handler under events of the object into “Report Message”
- On the Arduino side, add a line that will capture the Report Message of the added object inside the myGenieEventHandler() function
- The Arduino code is ready for sending other power-related values like PF, VAR and VA. The scope is limited to 4 traces only and currently, 3 traces are occupied by Volts, Current, and Power. The user can add or remove values on the scope object in order to meet the user’s need.
- The user may also change the background image and the widgets in this project.
-
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:
- After inserting your micro SD card this GUI should appear on the gen4 Display:
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.