One of the benefits of the osPID is the ability to update and change the onboard firmware.
- Download and install the Arduino 1.0 IDE
- Download the Firmware from GitHub and unzip
- Connect the osPID to your computer and to a wall outlet
- Launch the Arduino IDE. Under “Tools,” Ensure that the correct COM port is selected and that the Board is set to “Arduino Duemilanove w/ATmega328″
- Open “osPID_Firmware.ino” from the downloaded firmware and select “Upload”
- The upload process has two phases. First the code will compile, then it will be sent to the osPID. If the process seems to be stuck at the uploading phase, it may not be set to auto-reset (see note below.) that's fine, just press the reset button and the transfer will begin
- If everything goes correctly the firmware will upload and the IDE will display “Done Uploading.”
Note on Auto-Resetting: As with the Arduino, the default osPID behavior is to restart whenever a new serial connection is made. This makes it very easy to upload a new program to the unit. Unfortunately, this can be a problem during normal operation; If the osPID is running and you want to connect with the Front-End, you DO NOT want the osPID to reset. For this reason, we have included a jumper on the back of the main board.
If the jumper is present, the unit will auto-restart. If absent, the unit will only reset when the reset button is pressed.