Releases: Bruce-Evans/ArduinoDueArbitraryWaveformGeneratorAndController
Due Arbitrary Waveform Generator V2.1
Version 2.1
This is a minor update. There are a few bug-fixes and a slight change to the undo system, but the main new feature is for anyone who wants to create their own arbitrary wave files manually instead of drawing them in the GUI's drawing window. They can now be created in any of 3 new simpler formats as well as the original format. The GUI Controller program will automatically detect the format when opening the files, and it can save wave files in whichever format desired. Example files are included.
The main bugs fixed were:
Errors uploading an arbitrary wave from the serial monitor if there were over a thousand waypoints (approximately) in the wave.
"Uploading..." message on GUI jammed on if "UPLOAD" was pressed immediately after setting the frequency of both analogue and square waves simultaneously (by clicking the vertical divider between the two wave control windows).
The GUI sometimes locked up if trying to open the wrong file type in the music window.
Low pitch piano notes would repeat (quietly) if sustained for approximately 3 seconds or more.
Version 2.0 features: (still included in version 2.1)
Waves can be mixed together.
Wave parameters can be adjusted & the new wave shape saved.
Start-up default settings can be changed.
Accurate white, pink or brown noise can also be produced.
Music can even be composed, saved and played by the Arduino Due.
Plus many more features. See https://www.hackster.io/BruceEvans/arduino-due-arbitrary-waveform-generator-a9d180#overview
Arduino Due Sketch:
The DueArbitraryWaveformGeneratorV2.1.ino.zip file should be unzipped and uploaded to the Arduino Due.
DueAWGController GUI:
For Windows users, simply extract the .zip file into a folder of your choice and make a short-cut to the DueAWGController.exe file. Note: The "DueAWGController-windows32.zip" file is intended for 32 bit systems, but the 64.zip file may work more reliably since it has java embedded. You will likely need to install java 8 on your system for the 32.zip version.
For Linux users, extract the DueAWGController-linuxXX.zip file into a folder of your choice, then double click the DueAWGController file or add it to the system menu.
DueAWGController-linux64.zip file has java embedded. You will likely need to install java 8 on your system for the other versions so DueAWGController will display correctly.
You might also need to gain permission to access the USB before you can connect to the Arduino. On the command line (in Terminal), type: sudo usermod -a -G dialout $USER
Arduino Due AWG and Controller - Version 2.0
Version 2.0 new features:
Waves can be mixed together.
Wave parameters can be adjusted & the new wave shape saved.
Start-up default settings can be changed.
Accurate white, pink or brown noise can also be produced.
Music can even be composed, saved and played by the Arduino Due.
Plus many more features. See https://www.hackster.io/BruceEvans/arduino-due-arbitrary-waveform-generator-a9d180#overview
The DueArbitraryWaveformGeneratorV2.ino.zip file should be unzipped and uploaded to the Arduino Due.
DueAWGController GUI:
For Windows users, simply extract the .zip file into a folder of your choice and make a short-cut to the .exe file. Note: The "DueAWGController-win64.zip" file is intended for 64 bit systems, but the 32.zip file often works more reliably since it has java embedded. You may need to install java on your system for the 64.zip version.
For Linux users, extract the DueAWGController-linuxXX.zip file into a folder, then double click the DueAWGController file or add it to the system menu.
DueAWGController-linux64.zip file has java embedded. You should install java on your system for the other versions so DueAWGController will display correctly. On the command line (in Terminal), type: sudo apt install default-jdk
You might also need to gain permission to access the USB before you can connect to the Arduino. On the command line (in Terminal), type: sudo usermod -a -G dialout $USER
Arduino Due AWG and Controller
Download the DueArbitraryWaveformGenerator.ino.zip file and one of the DueAWGController*.zip files.
With this release the Controller GUI can run on Linux (as well as Windows).
No need to install it, just double click the DueAWGControllerLinux file after unzipping.
But you may need to install OpenJDK 8 (java 8) for Debian, Ubuntu, etc: (Newer versions might not work.)
On the command line (in Terminal), type: sudo apt-get install openjdk-8-jre
You might also need to gain permission to access the USB. Type: sudo usermod -a -G dialout $USER
The "arm" files are for Raspberry Pi etc.
The Windows versions, and the .ino file are virtually unchanged from the previous release.
With Windows, the Controller GUI also doesn't need installing. Just double click the .exe file after unzipping.
Like previous releases, the 32 bit Windows version may be more reliable than the 64, since java is embedded.
For more info visit here:
https://create.arduino.cc/projecthub/BruceEvans/arduino-due-arbitrary-waveform-generator-a9d180?f=1
Note: An "Arbitrary Waves" folder containing sample files is included inside each Controller zip file. This was omitted in version 1.1.
Due AWG.
Added the ability to the GUI to manually select the COM port if automatic selection fails.
The .ino file is unchanged.
Download "DueArbitraryWaveformGenerator.ino"
Also Download "DueAWGController32.rar" (highly recommended for 32 & 64 bit system, see note below.)
OR "DueAWGController64.rar"
NOTE: Although the 64.rar file is intended for 64 bit systems, it usually fails because it doesn't have java embedded!
DueAWG
1st Release.
Download "DueArbitraryWaveformGenerator.ino"
Also Download "DueAWGController32.rar"
OR "DueAWGController64.rar"
NOTE: The DueAWGController32.rar file is intended for 32 bit systems, but often works better on 64 bit systems as well (since the DueAWGController64.rar file doesn't have java embedded).