But there is no internal Oscillator in 877A ( i think)I strongly suggest the OP move towards PICs with internal oscillator take away a lot of error sources for the beginner![]()
That is correct. But many PICs do have it. Another thing to check before purchasing PICs. They must be compatible with your programmer. By the way. Connecting LEDs to anything without using a proper resistor is cause for detention. Your assignment for the detention. Will be writing down 100 times. "I will not use LEDs without proper series resistor ever again. As I now understand a LED is not the same as a light bulb"But there is no internal Oscillator in 877A ( i think)
The schematic i posted was not having a series resistor but in bread board i was using 220Ohms R.That is correct. But many PICs do have it. Another thing to check before purchasing PICs. They must be compatible with your programmer. By the way. Connecting LEDs to anything without using a proper resistor is cause for detention. Your assignment for the detention. Will be writing down 100 times. "I will not use LEDs without proper series resistor ever again. As I now understand a LED is not the same as a light bulb"
Except this R i was not using and The capacitor are of 15pF with XT.You need a 10K resistor between /MCLR and Vcc.
Yes the PIC16F882/883/884/886/887 series. Datasheet here http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en026561 However remember to check if your programmer is able to program this chipIs there any similar 877A pic which has internal oscillator??
I think no..here is link..!!However remember to check if your programmer is able to program this chip
Since your programmer is more or less a JDM programmer. Maybe you could try using this software http://www.winpic800.com/index.php?option=com_content&task=blogcategory&id=18&Itemid=64 Configure for JDM programmer. The software is not that big 1.88MB. And support alot more PICs. However I do not know this software at all. So I will not be able to offer any help at allI think no..here is link..!!
Have you given it a try. It want hurt your setup in any way. By the way. I downloaded and read the manual that you linked to in post 50. It looks here that the support list is much larger than that on the web. It should be compatible with 16f88x series. The manual state also that your programmer is compatible with JDM and should also work on software like the winpic800.I think software is compatible but not my Programmer i.e. Hardware..!!
I will try to find this series in market..!!It should be compatible with 16f88x series.
#include <htc.h>
__CONFIG(LVP_OFF & BOREN_OFF & PWRTE_ON & WDTE_OFF & FOSC_XT);
#define _XTAL_FREQ 4000000
void main (void)
{
TRISB=0b00000000;//all pins set as ouput
PORTB=0;
while (1)
{//endless loop
PORTB = !PORTB;
__delay_ms(1000);
}
}
hex code
:060000000A128A11DC2F38
:100FB80083010A128A11E02F831603138601831214
:100FC80003138601E72F83120313860800300319E1
:100FD800013086000630F2001330F100B130F00025
:100FE800F00BF42FF10BF42FF20BF42FFB2FE72F5C
:080FF800E72F0A128A110028FC
:02400E0031FF80
:00000001FF
PORTB = !PORTB;
PORTB= ~PORTB;
Sorry, but I don't have Proteus...HI,
Pls tell procedure to simulate the code...
In post #55 you are already programming a chip (looks lit Proteus). It is just wrong and nerdguru gave you the correction. Why can you do it (almost) in post #55 but now can't make a simple change?HI,
Pls tell procedure to simulate the code...