Example Code

SHARE & COMMENT

Here you’ll find demo and source code for our range of products, from our PIC microcontroller development boards to our RFM22B breakout boards. You are welcome to freely download this example code and use it as a base for your projects. Find your product below and happy coding!

Select your project

picoTRONICS24 PIC24 Development Board
nanoTRONICS24 PIC24 Development Board
RFM22B Breakout Board
PIC / PIC24 Open Source USB Stack
PIC / PIC24 Tutorials Example Code

picoTRONICS24 PIC24 Development Board

This example code is designed to run on our picoTRONICS24 PIC Development Board. It’s designed to run on Microchips PIC24FJ64GB004 PIC microcontrollers. Whilst it has either been complied for the PIC24FJ64GB004 or the project is setup for the PIC24FJ64GB004 it is easy enough to change it for another PIC24 series device. Our example code implements the following functionality on our PIC Development Board: USB, UART, LEDs, Timers, Peripheral Pin Select (PPS) and a number of other features.

Precompiled HEX file – all you need to do is download it

picoTRONICS24 – PIC Microcontroller Development Board – Example Software

Project File – you can compile it yourself or use it as part of your own project

picoTRONCIS24 – PIC Microcontroller Development Board – Example Project

nanoTRONICS24 PIC24 Development Board

This example code is for our nanoTRONICS24 PIC Development Board. It’s designed to run on Microchips PIC24FJ64GB004 PIC microcontrollers. Whilst it has either been complied for the PIC24FJ64GB004 or the project is setup for the PIC24FJ64GB004 it is easy enough to change it for another PIC24 series device. Our example code implements the following functionality on our PIC Development Board: USB, UART, LEDs, Timers, Peripheral Pin Select (PPS) and a number of other features.

LCD Library – portable to other PIC24 devices

nanoTRONICS24 LCD Library – Example Project

QP-nano Traffic Light (PELICAN) nanoTRONICS24 Port

QP-nano is a State Machine framework designed to simplify the design and programming of complicated event driven embedded systems. It can be thought of as similar to a RTOS, but without some of the complexity of a RTOS and with increased execution speed and efficiency. The QP-nano framework is particularly well suited to designing reliable, fast event driven software.

The QP-nano framework can be downloaded from the Quantum Leaps website or directly from SourceForge. It is distributed as open source under the GNU General Public License (GPL). As such our nanoTRONICS24 port of the PELICAN example is distributed under the same license.

You can download an application note, provided by Quantum Leaps, that details the PELICAN example here.

Our nanoTRONICS24 PIC24 port of this example, can be downloaded below. This port provides outputs using the nanoTRONICS24 UART port, LCD and on board LEDS. User input, the pedestrian walk button, is the push button switch found on the nanoTRONICS24 PIC24 development board

nanoTRONICS24 – QP-nano Traffic Light Port – Example Project and Source Code

RFM22B Breakout Board

This code is the HopeRF manufactures demo code that they provide for the RFM22B wireless module. This code has not been tested to work with our RFM22B breakout boards.

RFM22B Manufacturer Provided Demo Code

This code is also compatible with the following products we offer:

PIC / PIC24 Open Source USB Stack

All of our PIC24 / PIC development boards, and their example code, uses the JTR-Hoken open source USB stack for USB communications. Whilst Microchip provide a very functional USB stack for download from there website, unfortunately it isn’t open source and the license agreement forbids third parties (such as ourselves) distributing with our own code. So a big thank you to the work JTR-Hoken and the boarder Dangerous Prototypes community have put into the development of the open source stack for PIC microcontrollers.

PIC / PIC24 Tutorials / Example Code

You can download the example code for our PIC / PIC24 Tutorials below:

SHARE & COMMENT
Comments are closed.