Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Where can I find the complete circuit diagram for PIC pgrogrammer?

Status
Not open for further replies.
Could you please explain to me which two active outputs would be connected together? Of the PIC and the 4069?

hi,
Look at the 3 DATA line points, when you VERIFY a PIC, the PIC drives the DATA line, which if you used a 4069 would be held at an active High or Low by the program. This will cause problems.
Use the correct chip types as specified in the circuit diagram.
 
Hi,

Just get a few 74ls06 or 7406 chips and keep your circuit true to the original design, as already mentioned these programmers, built as specified, can be tempremental at times
O.K, I am going to switch back, then. ( I haven't taken the risk of connecting the programmer to the PC yet)
I at first thought that CMOS, were superior than TTL s (higher Fan outs, Lower power cosumption and Higer price). So I thought that TTL was used just for the lower price as the other benefits aren't required.
I am learning how I was wrong.
 
Hi,
At 45ma thats way too high - you have a partial short somewhere -switch off.
I don't think you were right here. I bought a brand new dm7406. Suplied just powers through 7805 (whose input is 13volts). It (7805) consumed damn 33mA at 13v. I drove a led through 1 of the gates. It (7805) consumed 45mA.The datasheet also lists 30mA as a typical supply current.
 
Last edited:
I connected the programmer to the PC. The oshonsoft (https://www.oshonsoft.com/picprogparallelsetup.exe) programmer software seemed to work fine. When I enabled and disabled the Vdd/Vpp line by using the Hardware Check Freature of the software, the Leds responded correspondingly.When I programmed a simple program, It said, Chip Programmed. But When Verifying, it Said " Verification failed. Expected data 102A, Obtained data: 3fff." I even checked the PIC on breadboard, to see if it was programmed, but No.
Anybody interested to say what might be at fault?
 
That is why one should always buy at least two chips of the same type.

Which PIC are you trying to program. VVP is not always the same and I would have to look at a datasheet in that it has been a while.

In general PICs are tough little chips and they are hard but not impossible to ruin.
 
Last edited:
Tried with another chip, but no change.:(
I read somewhere that a capacitor between Vss and PGC may solve the problem. Shall I try?
 
Hi,

Have you tested all the lines from the Software ? Vdd,Clock, Data as well as Mclre.
You should see over 4v on the clock and data lines and 5v on the Vdd.

You do not specify exactly what capacitor you are talking about - adding parts at random, particularly caps, will more than likely create more problems.
 
Hi,
Have you tested all the lines from the Software ? Vdd,Clock, Data as well as Mclre.
You should see over 4v on the clock and data lines and 5v on the Vdd.

You do not specify exactly what capacitor you are talking about - adding parts at random, particularly caps, will more than likely create more problems.

Yes I tested every (five) pins of the socket. Vdd, Clock (PGC), Data (PGD) are 4.8 to 4.95 Volts (when enabled through software). Vpp is 13.2 Volts. Vss is few milivolts i.e. effectively 0.

I was taking about putting small cap (150pF) in between the PGC and Vss terminals of the socket. But I don't know how it will help or if at all.
 
Last edited:
Hi,

Well in that Picall circuit I have added a small cap and resistor to both C and D lines as recommended here. PIC Programmer for Windows - Help Index

As for adding 150pf just to the C line ? - no reference ?

You might be better getting hold of a pic chip that has already been successfully programed and seeing if you can Read that in via the programmer - at least that will show if the circuit is working in part.
Would think someone at your college can help there ..
 
Hi,
You might be better getting hold of a pic chip that has already been successfully programed and seeing if you can Read that in via the programmer - at least that will show if the circuit is working in part.
Would think someone at your college can help there ..

I don't think it will help.
Well, I think the programmer can't write in the first place; because, a simple LED blinking program was written to the PIC, and then the PIC was tested in breadboard to see if it blinks the LED, but no.

I am going to add the capacitors, nonetheless.
 
Tried that. But no success at all.:(
One thing I want to mention
1. i have connected the ground to only pin 25 of the parallel port. (18-25 are grounds)

Should I be connecting to all?

I have seen some parallel connectors having only 0V wires on pin 18, use an ohm meter to check continuity.
 
I have seen some parallel connectors having only 0V wires on pin 18, use an ohm meter to check continuity.
Are you aware that the software can control the LEDs through its Hardware check feature?
Also, the software finishes programming a 210 byte simple Led blinking program in fraction of seconds , is this normal?
 
Last edited:
Yes,
I dont understand your reply.????
I thought that: if the "parallel port's Ground" wasn't connected to the "programmer's ground" then the software wouldn't have been able to control the LEDs.
Anyway, I am ready to do anything.
 
I thought that: if the "parallel port's Ground" wasn't connected to the "programmer's ground" then the software wouldn't have been able to control the LEDs.
Anyway, I am ready to do anything.

ok,
If you feel that the paraport of your PC maybe damaged, download this 'paraport' link and check each pin used by the prommer circuit.

https://www.electro-tech-online.com/blogs/ericgibbs/122-pc-parallel-port-using-vb5.html

Run the paraport2.exe program

EDIT:
Post your program hex file that you want to program a PIC with. [ also PIC type], I will double check that for you.
 
Last edited:
ok,
If you feel that the paraport of your PC maybe damaged, download this 'paraport' link and check each pin used by the prommer circuit.

https://www.electro-tech-online.com/blogs/ericgibbs/122-pc-parallel-port-using-vb5.html

Run the paraport2.exe program
On the contrary I feel the parallel-port is is working fine. Thats why the software is able to control the LEDs. Sorry for creating misunderstandings.
EDIT:
Post your program hex file that you want to program a PIC with. [ also PIC type], I will double check that for you.
Thanks for that. I have attached the hex file and the C file of the LED blinking program. There is a little input and conditional statement too!
I am using PIC16f877A.
 

Attachments

  • micro-test.hex
    210 bytes · Views: 109
  • main.c
    358 bytes · Views: 119
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top