Baldr wireless node software
PIC code derived from the Microchip MiWi Demo Kit software.
Ardunio code:
the code for the ardunio board is under ardunio/
Install the ardunio IDE * https://www.arduino.cc/en/main/software Download the FONA library for ardunio * https://learn.adafruit.com/adafruit-fona-800-shield/arduino-test Download the VC0706 camera library for ardunio * https://github.com/adafruit/Adafruit-VC0706-Serial-Camera-Library
Rename and place the libraries in the ardunio library folder: /libraries/
PIC code:
the code for the PIC board is under either app/ or framework/
- Install the MPLAB X IDE
- Install the free XC8 Compiler
- Download and install the pickit 2 programmer (v2.60)
- ww1.microchip.com/downloads/en/DeviceDoc/PICkit%202%20v2.60.00%20Setup%20A.zip
- Checkout the source code
- Open the project folder/file in MPLAB IDE
- baldr_wireless_node/apps/miwi/miwi_mesh/miwi_demo_kit/firmware/baldr_wireless_node.X
- Use the top bar of the IDE to choose the _89xa transciver
- Build the project (click the hammer, or run>build project) ** if the project doesn't build try turning off the generated assembly file optimization from: Project properties -> XC8 Compiler -> Optimizations -> Generated Assembler code
- Open the picket 2 programmer
- Make sure that the board is on and the programmer is connected to the board
- Select Tools>Check Communication and you should see "PICkit 2 found and connected" and "PIC Device Found"
- In the picket 2 programmer select our PIC device
- Device Family>PIC18F_J_
- Program the hex file to the demo board
- Select File>Import Hex
- Navigate to /apps/miwi/miwi_mesh/miwi_demo_kit/firmware/baldr_wireless_node.X/dist/miwikit_pic18f46j50_89xa/production
- Click the "Write" button