pic micro controller not working

goddey's picture

Offline

Joined: Oct 12, 2019

Replies: 3
pic micro controller not working
October 12, 2019 - 11:13pm

Hello

I'm new to PIC MCUs, so I'm trying the 'Blink' project on a breadboard but its not working.

I'm using pic16f887 and top2008 programmer

pls can anybody help me?

John_Kripto's picture

Offline

Joined: Aug 11, 2018

Replies: 34
Debug you circuit
October 14, 2019 - 10:40am

Hi goddey, it is pretty much normal for your first circuit not to work. So sit down and start debugging 

1. Make sure your program is correct and fuse bits are set properly. Use a simulation software like proteus to run you hex file 

2. Make sure the hardware is connected properly, the frequency of the crystal, power pin should all be fine. Use multimeter to check for power and also make sure LED is working 

3. Make sure the frequency you have used in the program matches with the hardware 

 

Good luck !