Debug ADC PIC microcontroller

The topic on number crunching

Debug ADC PIC microcontroller

Postby mircea1981 » Sun Feb 12, 2017 8:09 pm

Hi.

I am a beginer in pic microcontroller and i need some help.
I have a development board from Microchip, PICDEM Mechatronics with a pic16f917 microcontroller.
I use MPLAB IDE v8.70 and HI-TECH ANSI C Compiler.

I try to make a program using the ADC.
How can i make debug ?
It is possible to see the result of ADC in real time ?
It is possible to see a waveform in MPLAB with the value of current on the ADC channel ?

Thank you in advance.
Best regards.
mircea1981
 
Posts: 1
Joined: Sun Feb 12, 2017 7:24 pm

Re: Debug ADC PIC microcontroller

Postby jan.lichtenbelt » Fri Feb 17, 2017 3:18 pm

Dear mircea

There are two Forums who can help you:
1) http://www.microchip.com/forums/f238.aspx
2) http://www.matrixtsl.com/mmforums/index.php
This last one is an easy way to program your chip. The programm is free. But I'm afraid the ADC is an extension.

Kind regards

Jan Lichtenbelt
jan.lichtenbelt
 
Posts: 190
Joined: Thu Jan 02, 2014 3:28 pm

Re: Debug ADC PIC microcontroller

Postby risc » Tue Oct 24, 2017 10:50 pm

Hi,

Please find herewith an archive with several projects for the PICDEM Mechatronics board using PIC16F917.
These examples use various resources on the board, LEDs, ADC, LCD, UART,...
You will need to install (all free) following SW :
MPLAB X v4.01 or later
XC8 v1.43 or later

Regards
Attachments
Mechatronics_C.zip
C Examples for PICDEM Mechatronics
(396.58 KiB) Downloaded 6 times
risc
 
Posts: 67
Joined: Fri Jan 17, 2014 4:42 pm


Return to Microcontrollers & Embedded

Who is online

Users browsing this forum: No registered users and 1 guest