![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
hey guys... what is the best design to build the serial programmer for the PIC 16f877...??? i want schematics plz..
__________________ subzero... wins.. | |
| |
| | #2 | |
| Quote:
| ||
| |
| | #3 | ||
| Quote:
plz plz help me..
__________________ subzero... wins.. | |||
| |
| | #4 | |
| Quote:
| ||
| |
| | #5 | ||
| Quote:
can u help me more with details plz?
__________________ subzero... wins.. | |||
| |
| | #6 |
|
It programs many many chips, the 877 is just one of them. Just make it as in the diagram, and you will be able to program 877's, and lots of other PIC chips that you might want to experiment with in the future.
| |
| |
| | #7 | |
| Quote:
can u or smbody explain which is the right path for the 16f877 of mine?
__________________ subzero... wins.. | ||
| |
| | #8 |
|
Well yes there are quite a few wires going to the actual socket to program the PIC, but there are more wires going to/from other components too. It's not an issue of figuring out which ones are necessary for programming the 877. Just in case you really really desire such info, you need: Code: Pin 1 = 13 or more volts to enter programming mode Pin 30 = ground Pin 31 = 5 volts Pin 39 = clock pulse Pin 40 = data The only things on there are some hex inverters (six inverters on a single chip), some voltage regulators (74L05, 74L08), capacitors, resistors, transistors, some LEDs, a power jack, power adapter, a bridge rectifier, the socket to insert the PIC, and of course the parallel port connector. You can probably get everything there on the list at Radio Shack, or order it online cheaper. If you are having trouble figuring out how the lines work, it's like this: If two lines intersect, and there is a dot there, then that is a connection. You would solder those wires together. If lines cross each other but there is no dot there, then you do NOT connect them. Those wires will have nothing to do with each other on your actual board. If you don't feel up to tackling a project like this with so many connections and parts, perhaps you would be more comfortable ordering a programmer already built, then you can learn about diagrams and connecting components on a smaller scale, just by connecting resistors and LEDs to your PIC and gradually advancing from there. | |
| |
| | #9 | |
| Quote:
1) u mean i need to have 2 power supplies connected to the 877 one is more than 13v and the other is 5v ??? ( i get those voltages from a transfromer right??? is there another way than the AC/DC transformer?) 2) the ground line means connecting that to the ground pin on the parallel port??? i think it is pin 31 that must be connected to the ground not 30 as u said right? and pin 32 is connected to the 5volts right? 3) wer do i get the clock pulse from ? i didnt see any oscillators in the diagram!!! 4) let us imagine that i connected a component in a wrong way, would this damage my parallel port or my 877??? or it would just not do the task of programming??? plz tell me that it wont damage anything :cry: 5) i work on the MPLab to create my code. does this programme use the prallel port to programme the 877?
__________________ subzero... wins.. | ||
| |
| | #10 | |||||
| Quote:
Quote:
ops: You are correct, 31 is ground and 32 is 5 volts. As for the grounding issue, yes everything that you see with the grounding symbol, whether it be the PIC, resistors, capacitors, or anything else, should all be connected, that includes the grounded pins on the parallel port. If you don't connect the grounds, then there's no loop for current to flow.Quote:
Quote:
![]() Quote:
| ||||||
| |
| | #11 |
|
THANX ALOT.. i think i have 4 more questions... 1) what is the G1 B80C800 used for?? 2) can i use the hex invertor 74HC04 instead of 74LS05 invertor? 3) i didnt understand the part of the clock so well. do u mean my MPLab can do the clock for me? i can see that i should use pin D3 as the clock, is this the default pin for the clock or i should assign it myself??? 4) let's say i assembled the circuit and turned it on. how do i know that it worked so well and the programming is worked well too? sorry for asking too much ops:
__________________ subzero... wins.. | |
| |
| | #12 |
|
1. It is a bridge rectifier. http://hyperphysics.phy-astr.gsu.edu...ic/rectbr.html Clicky. 2. The 74HC04 is a CMOS hex inverter. As far as I know this should be an acceptable substitute, but it will make your finished circuit more prone to problems caused by static electricity. 3. Unless you are using a programmer from Microchip, Inc, then MPLab has nothing to do with the actual programming and clocking to the chip. WinPicProg will provide the clock pulses through the port as it sends the data. I would highly recommend against trying to make different connections for the clock pulse than the ones specified by Microchip. 8) 4. Make a simple test circuit on a breadboard which simply turns on an LED. Program your chip then put it in the circuit. If the LED comes on, the programmer worked. If it doesn't, well, ... :P | |
| |
| | #13 |
|
Thanx alot man... may i ask any questions later if i have any more? ops:
__________________ subzero... wins.. | |
| |
| | #14 | |
| Quote:
they are not interchangeable | ||
| |
| | #15 | |
| Quote:
| ||
| |
|
| Tags |
| programmer |
| Thread Tools | |
| Display Modes | |
| |