Microchip PIC newbie needs help!

Say "hi" here, and any general non PIC related chat.

Microchip PIC newbie needs help!

Postby synzealh » Tue May 13, 2025 1:52 pm

Hi everyone,
I'm brand new to the world of Microchip PIC microcontrollers and I'm feeling a bit overwhelmed. I've been reading through the datasheets and trying to wrap my head around the different peripherals, but I'm still struggling to get started.
I'm hoping to build a simple project that involves reading data from a sensor and displaying it on an LCD screen. I'm planning to use a PIC16F877A microcontroller and I have a basic understanding of C programming.
Could anyone offer some advice on where to start? Are there any good tutorials or example projects that I can follow? Any tips on setting up the development environment and flashing the code to the microcontroller?
I'm also having trouble understanding the different clock configurations and how they affect the timing of the program. Any help with this would be greatly appreciated!
Thanks in advance for your assistance. I'm looking forward to learning more about PIC microcontrollers and contributing to this community..
synzealh
 
Posts: 1
Joined: Tue May 13, 2025 1:47 pm
Location: PL
PIC experience: Professional 1+ years with MCHP products

Re: Microchip PIC newbie needs help!

Postby ric » Mon May 19, 2025 5:24 am

There's some good tutorials for starting with PIC16F chips at https://github.com/gooligumelec/PIC-tutorials
They are a couple of years old now, so the MPLABX IDE has probably changed a little from then though.

Do you really want to start with a 24 year old chip though?
Microchip have released much better, cheaper, easier to work with chips since 2001!
The PIC16F877 has evolved into the PIC16F18877, and you can get a cheap development board with one mounted on it, which contains an embedded programmer and lets you communicate with the PIC over an embedded serial port.
https://www.microchip.com/en-us/develop ... l/DM164142
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 666
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products


Return to Introductions and general chat

Who is online

Users browsing this forum: No registered users and 8 guests