Instructables

Where are PIC16F628(A) programmers & prices available ?

I have been having a real hard time finding them....and I don't normally have a rough time with Google :-)

I am FRUSTRATED and you thought I was actually GoodHart LOL I found a lot of advice out there (simple to use and efficient JDM type programmer......no, JDM's rarely work, use MCU.....try this Starter kit....don't use that starter kit, it is inaccurate.....etc. & etc.).

Picture of Where are PIC16F628(A) programmers & prices available ?
AndyGadget5 years ago
HAH! Pester me not with trifles!
The PicAxe can do that, and play the tune as well!

Download the Programming Editor from HERE, create a new project, and copy the code below into a new project (beware of line breaks).
How do you attach a file to a comment?
Click on the 'Simulate' button and make sure your sound is turned on.

Programming of the chip is via a serial link and done in-circuit. Takes about 20 seconds and you don't even have to unplug the lead to run the program.
I've been in electronics since the early eighties and I've never found a programming environment where the coding / simulation / proving cycle is so simple. The PicAxe was developed for the educational market in UK schools, and I only realised my two boys has been using PicAxe for their tech classes when one of them took over a simple program I was writing.

The PicAxe chip is based on various PICs but with bootstrap code to link to the compiled programs and handle the programming side. They come in all flavours from a (suprisingly powerful) 8 pin package up to full blown 40 pin.
Look at the 2 manuals in the PicAxe site to see the full capabilities. Documentation and support from the forums is excellent.

Look out for Close Encounters of the Curiously Minty Kind - my entry in the LED contest.

Here's the code :-

#picaxe 28x1

symbol Disp = w0
symbol Ctr=B27
symbol aud = 7

'Direction bit HI for output
dirsc=%11111111

'Top of column is B15
'bit 15 4 0
disp = %0110000000000000

'Knightrid
tune aud, 7,($44,$45,$44,$0B,$54,$55,$54,$0B,$44,$45,$44,$4B,$54,$D2,$2C,$EC,$44,$45,$44,$0B,$54,$55,$54,$0B,$44,$45,$44,$4B,$54,$D5,$EC)

Main:

for ctr=1 to 13
disp = disp>>1
pins=b1
pinsc=b0
next ctr

for ctr=1 to 13
disp = disp<<1
pins=b1
pinsc=b0
next ctr

Goto Main
purduecer5 years ago
 Depending on exactly what it is you're trying to do, another perhaps more versatile option would be to simply purchase a PicKit2 (or PicKit3) programmer and a breadboard. I can't speak for the PicKit3 but the PicKit2 is very reasonably priced and works on a very wide range of PIC microcontrollers.

just a thought...

Goodhart (author)  purduecer5 years ago
Thanks
AndyGadget5 years ago
Hi Goodhart. Is the 16F628 programming compatible with the 16F84? It's pin compatible, and the 628 appears to be an 84 on steroids. If so, I think I have something for you ;¬)
Goodhart (author)  AndyGadget5 years ago
I am really green at all this, so I am not sure....this is advice I found online:

The 16F628A is absoluetly not a direct replacement for the 16F84. It is the replacement only from an "ideal beginners part" point of view as it is cheaper and does more.

The 16F84 has the bare minimum of peripherals, a single 8 bit timer and some ports are about all you get. The 16F628A gives you 3 timers, a comparator, a voltage reference and a USART.
At: Nabble Dot Com

Any help would be appreciated.
What are you trying to do? If you're starting from scratch then I'd strongly recommend the PicAxe. I've just started playing with these and these and they are GREAT! Cheaper and easier to program then the Arduino and AVR. Look out for a couple of PicAxe based Instructables from me in the near future. (1:00AM here - I'm off to bed.)
Goodhart (author)  AndyGadget5 years ago
I have a couple of schematics, one in particular, that I would like to build, but it uses this chip....I haven't any experience with standalone uP's so I would not know what will or will not work, or if it will, whether I can translate or not, if you know what I mean.
Goodhart (author)  Goodhart5 years ago
The 'something' I mentioned I might have is a 16F84 programmer from a 1998 issue of Everyday Practical Electronics which I discovered in my 'Things I'm Most Probably Not Going To Use Again But Are Too Good To Throw Away' box the other day. It would have needed some work, though. PicAxe is the way to go.
Goodhart (author)  AndyGadget5 years ago
Thanks for ALL your help. I will indeed look into this if I have the opportunity.
The really good thing I've found with this is that it used to take ages to actually build the circuit. The PicAxe replaces a whole handful of CMOS or TTL which gives much more of an 'instant gratification'. I'm great at starting projects, but they fairly often fizzle out half way through. If you want to try something out on the PicAxe beyond what you can simulate, just breadboard it. The only components necessary on-board for the programming is 2 resistors, and then you can just concentrate on coding for the bit you're testing. You can then stick the bits of code together and build it properly later.