So you’ve received your osPID! Excellent! Thanks for supporting our project and open source hardware in general. Here are some steps to get you up and running as smoothly as possible.
- The osPID casing consists of 5 pieces of laser cut acrylic, 6 screws, 6 nuts, and 6 washers.
- Insert and tighten the power jack into the case’s back panel, making sure that the wire is on the groove side.
- Plug the power jack into the main board.
- Insert the input and output cards into the main board such that the screw blocks are facing outwards. Only in this orientation, the electronics can fit into the casing.
- Using the provided screws, attach the top/bottom pieces of the case to one of the case side pieces. Make sure that the grooves are facing inwards.
- Slide the card assembly into the case. Make sure that the main board is contained by the top and bottom grooves, and that the power wire is in the space between the input and output cards.
- Attach the other side piece to the case.
- Attach the back of the case, making sure that each IO card fits snugly into the back groves. The DC jack hole should be on the left side of back panel.
- Now the physical assembly is completed!
Especially at this early stage, it will be important to update the internal firmware to the latest revision before use. To update the osPID firmware, do the following:
- 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 everything goes correctly the firmware will upload and the IDE will display “Done Uploading.” If there is a failure it is likely because the reset button was not pressed in time. In this case repeat steps 5 and 6.
Now that the firmware has been updated, let’s download and connect to the desktop Frontend.
- Download the front end from GitHub and unzip
- Make sure the osPID is plugged in to your computer and powered on
- Open the “application.[your operating system]” folder from the GitHub download and run the application
- Select the osPID comm port and click connect
Note: Instead of running the compiled application, you may wish to run the front end from code. To do this:
- Download the Processing IDE
- Download the controlp5 Processing library and put it in the “[processing workspace]\libraries\” folder
- Use the processing IDE to open “osPID_FrontEnd.pde”