Hi
I have just bought the Vellemean K8045 PIC Programmer and have a PIC16F627 microcontroller and want to create a basic flashing LED circuit, I have looked on Google and Youtube but havent found anything that does this. The only thing I have found seemed to have a connection going into the computer. However I would like mine to be a stand alone circuit (PIC are capable of this, arent they?!).
Any Advice and Tutorials would be appreciated
Thanks
Rhys
Here a little something to go by I added a pot so you could lite the leds by the adc value if you wanted
and gave you 4 led to use to and the ICSP jack
Here a little something to go by I added a pot so you could lite the leds by the adc value if you wanted
and gave you 4 led to use to and the ICSP jack
I assume you meant: , I couldnt see a circuit there though?! Also I am looking for a PIC16F627 circuit not a 16F628 (thats all I could see on your site).
Thanks
Thanks, I have read a bit about ICSP but was wondering if that is necessary in circuits, or can I just program it with my Velleman Kit, and then put the PIC into a circuit without need for an ICSP ?
Yes you can then remove it and place it in your board I just drawled that up as a sample you can leave out the ICSP the pot
but mclr has to be pulled high with a 10 k and you need a cap from vdd to gnd and yes you could use 100 ohm for the leds as long as your blinking then I would use the 150 ohm then you can leave one on and look at it lol
100 ohm is to low for most red leds at 5 volts 5 v / 100r = 50 Milliamps a pic can sink 25 or source 25
The 16F627 is just a 16F628 with only half the program memory, otherwise it's absolutely identical, and no code changes are required (unless the 628 code uses more than half the memory).
Yes you can then remove it and place it in your board I just drawled that up as a sample you can leave out the ICSP the pot
but mclr has to be pulled high with a 10 k and you need a cap from vdd to gnd and yes you could use 100 ohm for the leds as long as your blinking then I would use the 150 ohm then you can leave one on and look at it lol
100 ohm is to low for most red leds at 5 volts 5 v / 100r = 50 Milliamps a pic can sink 25 or source 25
Although I believe the more views of the same thing you see, the easier it is to understand.
There is soooo much going on inside that chip you will forever learn something new about the same project.
Each different persons example you see, even something as simple as a flashing LED, the more you will learn. Even though the end result is the same.
@ Jakes electronics, Thanks for the circuit I have got it to work What kind of voltage does each pin allow out to the component? If i was to create a circuit for a motor would I have to use a transistor?
Thanks
Rhys