Find's Treasure Forums

Welcome to Find's Treasure Forums, Guests!

You are viewing this forums as a guest which limits you to read only status.

Only registered members may post stories, questions, classifieds, reply to other posts, contact other members using built in messaging and use many other features found on these forums.

Why not register and join us today? It's free! (We don't share your email addresses with anyone.) We keep email addresses of our users to protect them and others from bad people posting things they shouldn't.

Click here to register!



Need Support Help?

Cannot log in?, click here to have new password emailed to you

PIC PI

A

Anonymous

Guest
Has anyone built the PI circuit available at http://tthn.com/geotech/metdet/pi/stuart.html
I can't program my PIC. I first built a serial programmer which failed to work, I concluded that because the programmer is intended for a 16C84, and because I can only procure the 16F84, the programmer was not compatible. I then built a version of David Tait's parallel port programmers, and have the same problem it begins to load the program but at about 10% in, it speeds up and spits out an error box. I tried PIP02 (DOS) and Ponyprog (WIN) still no go. I decided to check the assembler file to ensure it was OK for 16F84. Recompiled it and tried again, still no go. The data sheet lists some of the differences between the two processors when programing, and mainly the only one is the bar is removed from PWRTE which shouldn't cause my problem? I tried to program the PIC with another program and this failed. I bought another PIC still no go, so there must be something wrong with my programmer? I tried it on another computer, no go. Sadly PIC resources down in New Zealand are slim even the Institute I study at hasn't yet caught on to them, they're only into HC11's which is a bit of overkill for a little PI.
I wanted to use this design as a platform to experiment with, if only I could get it programmed. Maybe I'll have to admit defeat and BUY a programmer (shame).
Any advice appreciated.
Thanks Kevin.
 
Hi Kevin
It could be related to the format of the HEX code. Some programmers wand 8 bit some 16 bit format. You can find converters, help and everything that's nice to know about PIC's on this address:
http://benedikt.lphard.cz/PIC/FILES.HTM
I wrote the PIC code you are trying to implement and its only made for eksperiments but it works fine with a 16C84. I have not had time for converting it to 16F84, I know there is some very minor differences. If everything goes wrong let me know, I might have a few 16C84 left, I do not know how to send one to New Zealand. Be aware that my email is changed from the one in the geotech page.
Mark
 
I believe you are pretty close to Australia which has quite a bit of activity when it comes to PIC chips. I live in the US where I bought a WARP-13 programmer for $89 from a company online that is located in Australia. This programmer is compatible with Microchip's MPLAB and acts as a PICstart plus as far as MPLAB is concerned and it programs all the PICs. MPLAB is a free download from Microchip's website. Also I believe Dontronics is located in Australia as well. I have been conversing with Charles on these PIC chips. He has been knowledgable and helpful in recommendations such as the WARP-13. Good Luck.
Fred
 
Kev,
Have you read Oatley Electronics advert. @ page 25, Silicon Chip, June 2000?
This kit uses Bojan Dobaj's P16PRO software to program all 8,18,28, and 40 pin DIP serial PICS.
g.
 
Thanks Mark
When I first printed out the list file of your program I knew very little of the PIC RISC, and its architecture. I set about to work out how your program worked. I must say I enjoy a good puzzle and it proved to be one, what with the Danish(?) comments, and my lack of knowledge of this processor. It is great not to have to start from scratch especially when I don't understand many of the pulse induction principles to begin with. I like the addition of the 4 inputs to alter the performance, I also would like to expand on the program and perhaps have these tweaks occurring automatically in cycles, and thus it would be nice to have the extra size of the 16F84. I'm determined to succeed, and with the pointers I've now got I will.
The supervisor chips are quite expensive here, I thought about connecting pin 4 to a double pole switch so that when the main power is cut the micro is also immediately disconnected, do you think it would work OK?
Regards Kevin
 
I'm planning to build the Mark Start PI design. Have you been successful? Did you crack the Danish comments?? Any advice appreciated.
 
Hi Kiwi
I wrote the the code some years ago so I will proberly be the best to "crack it", I will see if I can find time for doing this in the near future.
Mark
 
Top