The firmware is the software that runs on the PolargraphSD itself. It’s the program that accepts and interprets the commands coming in from the touch-screen and over the USB connection. It’s pretty volatile, and it’s important that you are able to update it when I come up with new gizmos (or more likely fixing problems with the existing gizmos).
Method 1: Get a precompiled hex file
The Polargraph software bundle contains a precompiled hex file that can be uploaded onto the PolargraphSD. Download the most recent PolargraphSD zip package, and unzip on your computer. The file you want is called polargraph_server_polarshield.cpp.hex, and can be found in the arduino-source\polargraph_server_polarshield subdirectory.
The Arduino IDE internally uses AVRDUDE to upload the sketch once it is compiled. You can use it too.
<path to arduino>/
hardware/tools/avr/bin/avrdude -C<path to arduino>/hardware/tools/avr/etc/ avrdude.conf -v -patmega2560 -carduino -D -b 115200 -cstk500v2 -P<name of serial port> -Uflash:w:<path to compiled hex file>polargraph_server_polarshield_ v1.x_2.4.cpp.hex:i
On Windows, you can get this little tool here (XLoader) which is just a pretty shell around avrdude.
If you need to find out where your avrdude is or what some of the settings to use (com port, file locations etc), you can turn on verbose mode for uploading in the Arduino IDE (File -> Preferences), and then you will see the avrdude command scroll past in white after the first line in the console part of the IDE. The actual output of avrdude is in red after that.
Look at this post here to show you what you need to do.
Method 2: Check the source code out of the repository and compile it
- The source code is hosted online in a github code repository. Every time I make a change, I commit the change to the repo and then you can download it.
- The files should go into a folder called polargraph_server_polarshield in your arduino sketch folder.
- The program has a couple of dependencies that need the following libraries:
For consistency, I recommend using the versions of the libraries that I have used during development, which are not necessarily the newest versions. Copies of the libraries are saved into the most recent PolargraphSD zip package, so download that, and install the libraries in it (ie copy the library folders into your sketchbook/libraries/ folder).
- Back to setup page