Skip to content

Latest commit

 

History

96 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baldr_wireless_node

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/

Steps to get started

  1. Install the MPLAB X IDE
  1. Install the free XC8 Compiler
  1. Download and install the pickit 2 programmer (v2.60)
  • ww1.microchip.com/downloads/en/DeviceDoc/PICkit%202%20v2.60.00%20Setup%20A.zip
  1. Checkout the source code

Using the MPLAB IDE

  1. Open the project folder/file in MPLAB IDE
  • baldr_wireless_node/apps/miwi/miwi_mesh/miwi_demo_kit/firmware/baldr_wireless_node.X
  1. Use the top bar of the IDE to choose the _89xa transciver
  2. 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

Using the Picket 2 programmer:

  1. Open the picket 2 programmer
  2. Make sure that the board is on and the programmer is connected to the board
  3. Select Tools>Check Communication and you should see "PICkit 2 found and connected" and "PIC Device Found"
  4. In the picket 2 programmer select our PIC device
  • Device Family>PIC18F_J_
  1. 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
  1. Click the "Write" button

About

Baldr wireless node software derived from Microchip MiWi Demo Kit software

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages