The Programable-High-Voltage-Oscilator (PHVO) is an expansion board for the Arduino Uno R3 to generate continous square ware signal between 10V to 400V at 1K to 15K Hz frequency.
The ArduHVP_osci is a python class designed program the PHVO to the desiered output signal.
The communication between the main computer and the PHVO is done over USB(RS232) and based on the GSOF_ArduBride module.
A short video demonstrating the HVO can be watch in the link below https://www.youtube.com/watch?v=4fjpdIp5VfY
The ArduBridge Python model is a pip package installation and the firmware that runs on the Arduino is installed by programming (also know as uploading).
To program the Arduino use the xloader application (https://github.com/xinabox/xLoader) and follow these steps:
- Open the xloader application.
- Select the COM port that the Arduino is connected to.
- Select the Hex file "HighVoltageOsci_Firmware.hex" (or the most updated FW you have).
- Press the "Upload" button and wait for the programming operation to finish after a few seconds.
Before installing the ArduShield module, make sure Python 3.7 or above is installed (https://www.python.org/) together with the latest pyserial module (use the command "pip install pyserial" to install it).
Installation of the ArduBridge can be done in two ways:
- By double clicking the setup.bat batch file.
- By running the setup.py script in a command prompt ("CMD") window.
A detailed user manual can be found under the Documentation folder.
Update the COM port in ArduHV_osci_IDE.py and run in interactive mode ("python -i ArduHV_osci_IDE.py"). You can interact the Arduino using the ardu and ards objects (refer to the tutorialfor further information).