Questions tagged [pic16f877a]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
71 views

MPLAB X __delay_ms() hangs on PIC16F77A

I'm trying to use the __delay_ms() function to make an LED blink on the PIC16F77A. The reason I think it stalls on the __delay_ms() function is because whatever I set RB0 to before the delay ...
0
votes
2answers
138 views

Interrupt works only once - PIC16F877a

In my code, I have two interruptions, one is coming from the overflow of the TMR0, and the other one is when a button is pressed. this is the code in MikroC : ...
0
votes
2answers
105 views

About PIC programming

Hi friends iam new to PIC programming , I'm coding my pic in mikroC pro , please help me out.. iam attaching my file with this!the code i want is message from transceiver should receiver and check ...
0
votes
0answers
273 views

PWM Calculation on PIC16F877

I have an assignment where the PIC is clocked at 16kHz and the output of the the PWM has to be on channel two. The PWM frequency has to be 400Hz and the duty cycle is 10% Following the manual I ...
-1
votes
1answer
354 views

Simple LED Blinking project - PIC16F877A microController problem

I am trying to simply blink an led light using pic16f877a microcontroller. softwares i am using are, MPLABX IDE, MPLAB IPE and XC8 compiler. I use Pickit 3.5 programmer. My head-aching question is, i ...
0
votes
1answer
25 views

Getting different values while connecting LM35 with PIC16F877A

I am getting different values while giving LM35 output as input to ADC (Pin RA0/AN0) PIC16F877A. I am not providing any Reference voltage to the microcontroller. I want to make sure that is the ...
2
votes
1answer
197 views

PIC16F877A don't work properly - led blink and 7 segment display problem

I'm trying to control a 7 segment display using PIC16F877A. I'm programming my PIC with a replica PICKIT 3. I'm uploading my hex code using PICKIT 3 software and MPLABX IDE. I have no problem while I'...
1
vote
1answer
2k views

Programming PIC16F877a using PICKIT3

I'm trying to program a pic16f877a using PICKIT3 and MPLAB without success. I'm powering the pic with the pickit. I verified the connections almost 20 times, everythings plugged at the right place , ...
1
vote
1answer
79 views

While loop instructions in pic disassemby not clear

In an efford to save space I try to reduce the generated C code with inline asm(""); Looking at the original disassembly and good working code I do not understand line 0x17E4. void MENU_BUTTON(...