PIC demo kit Source Code examples downloads.

Example Programs for MPLABX and the XC8 C Compiler

zip_file

Project files for the demonstration program: LCD display, temperature sensor, RS232 TX (at 4800 baud 8N1), AD input, loop counter for the PIC16F1827.

This is the program included in the PIC supplied with the kit.

The files are in XC8 C, the compiler is available free from Microchip. Download and install MPLABX from the Microchip Website, then download and install the XC8 C Compiler.

After un-zipping, open MPLABX then file / open project and double click on picdemo_mplabx_project.

 

zip_file

Project to receive characters from the serial port (RS232 RX) and display them on the LCD, the program also outputs a message to the serial port (RS232 TX), at 4800 baud 8N1.

When the display is full it clears and carries on displaying characters received.

The files are in XC8 C, the compiler is available free from Microchip. Download and install MPLABX from the Microchip Website, then download and install the XC8 C Compiler.

After un-zipping, open MPLABX then file / open project and double click on usart_demo_xc8.

 

Example Programs for MPLAB 8.xx and the HITECH C Compiler

zip_symbolProject files for the demonstration program: LCD display, temperature sensor, RS232 TX (at 4800 baud 8N1), AD input, loop counter for the PIC16F1827

The files are in HI-TECH C, the compiler is available free from Microchip and is included in the free MPLAB download.

This is the program included in the PIC supplied with the kit.

After un-zipping, if you have MPLAB installed on your computer, just double click on the .mcp file.

 

zip_symbolProject to receive characters from the serial port (RS232 RX) and display them on the LCD, the program also outputs a message to the serial port (RS232 TX), at 4800 baud 8N1.

When the display is full it clears and carries on displaying characters received.

The files are in HI-TECH C, the compiler is available free from Microchip and is included in the free MPLAB download.

After un-zipping, if you have MPLAB installed on your computer, just double click on the .mcp file.

MPASM / ASSEMBLER

zip_symbolMPASM (assembler) program: this program sets-up all the configuration registers and the USART at 4800 baud 8N1 with interrupt, any character received causes a TX response of RX .

Use this a the base for any MPASM projects.

 

 

All products, images, PCBs and firmware are Copyright © 2011 DJS Electronics Ltd.

ABOUT cstech.co.uk

Established in 1997 we have a long track record of reliability, and being a small business we can apply an attention to detail rarely found these days. All our kits and modules are designed by us and all PCBs are gold plated. Our pursuit of quality starts at the drawing board and flows through to the robust packing methods we use to protect your purchase in the post. We post worldwide and keep all items in stock. We also offer a bespoke customisation service if our standard products do not meet your requirements.

Please contact us for a quotation.

cstech.co.uk is a trade name of DJS Electonics Ltd (est. 2003)

11 Goldcroft Avenue (admin only, no visitors)
Weymouth
DT4 0ET

Company registration number 04917759

Registered Office
UNIT 3D DREADNOUGHT TRADING ESTATE,
MAGDALEN LANE
BRIDPORT
DT6 5BU

 

 

 

Webspace managed by Web design Dorset | Websites by Mark