This guide is a work in progress. I’m working to get all the necessary information onto the web as quickly as possible. Thank you for your patience.
Following the steps below will get up to speed on developing with Unduino. You will start by downloading all the necessary tools, then using the tools to load your first program into your Unduino.
1. Download MPLAB
Download and install the latest version of MPLAB from Microchip.com. You’ll find the download link at the bottom of this page: http://www.microchip.com/mplab/
2. Download The Microchip C30 Compiler
To write your code in ‘C’ you’ll need the MPLAB C Compiler for dsPIC DSC’s. Get it from this page:http://www.microchip.com/C30/
3. Download the Unduino Loader Application
The Unduino Loader loads your compiled program into the Unduino hardware. Get the Unduino Loader here: http://unduino.com/unduino-loader/
4. Download the Unduino Starter Application
The Unduino Starter Application is a jump start project to help you get started quickly with Unduino. Get the Starter App here: http://unduino.com/starter-app/
5. Open & Compile the Starter Application In MPLAB
Uncompress the Starter Application and open the workspace file (testapp.mcw) in MPLAB.
Once the project is open you should be able to compile the project by clicking ‘Build All’ from the ‘Project’ pull down menu. The keyboard shortcut is Ctrl-F10.
In the output window you should see the output of the compiler and linker followed by ‘BUILD SUCCEEDED’.
6. Load The Hex File Into The Unduino With The Unduino Loader Application
Open the Unduino Loader and browse into your Starter Application directory. Select the output hex file. (testapp.hex)
Connect your Unduino to the USB port and select the appropriate com port from the drop menu.
Press the ‘Program’ button and watch the output window as your program is loaded into the Unduino.
If all goes well, the bottom line should read “Program Complete”.
Thats It! Watch the lights blink and start thinking about how you are going to use the Unduino in your next project.
0 Responses to “Quickstart Guide”