Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 13th September 2007, 10:53 AM   (permalink)
Experienced Member
eng1 is a glorious beacon of lighteng1 is a glorious beacon of lighteng1 is a glorious beacon of lighteng1 is a glorious beacon of light
Default

I agree with you as far as the range is concerned. But there are combinations of the two resistors that can't switch the transistor off.
eng1 is offline   Reply With Quote
Old 13th September 2007, 10:59 AM   (permalink)
Experienced Member
andrew12345678 is on a distinguished road
Send a message via MSN to andrew12345678
Default

Quote:
Originally Posted by Nigel Goodwin
It's ABSOLUTELY crucial! - it's what makes the programmer work, you MUST have an O/C buffer!.

If it's urgent to get it working, replace that single buffer with an NPN transistor, with a resistor feeding the base (say 10K), and another base to emitter.
Ok, well thats a real kick in the pants.
What does Open Collector mean anyway?

Will a BC548 do?
so I would take the line from pin 5 and run it via a 10K resistor to the Base of the NPN, then connect a 10K from the Emitter to the Base, do I then take the output from the collector and run that to where the buffer out put is?
__________________
"The glass is neither half-empty, nor half full, it's just twice as big as it needs to be" - Unknown
andrew12345678 is offline   Reply With Quote
Old 13th September 2007, 11:15 AM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by eng1
I agree with you as far as the range is concerned. But there are combinations of the two resistors that can't switch the transistor off.
I would completely disagree, perhaps you would care to suggest any values that you think could do that? - are you perhaps forgetting the driver IC is supposed to be open-collector?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now   Reply With Quote
Old 13th September 2007, 11:19 AM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by andrew12345678
Ok, well thats a real kick in the pants.
What does Open Collector mean anyway?
It means what it says, a connection JUST from the collector of a transistor, with no other component connected to it. This means it can SINK current, but not SOURCE it - which is what we're looking for in this case.

If you check my PIC tutorials (Hardware Extras) there are some examples of using transistors for it, which you could use for your buffer.

Quote:

Will a BC548 do?
Yes, that's fine.

Quote:

so I would take the line from pin 5 and run it via a 10K resistor to the Base of the NPN, then connect a 10K from the Emitter to the Base, do I then take the output from the collector and run that to where the buffer out put is?
Yes, that's it - and connect the emitter to 0V of course.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now   Reply With Quote
Old 13th September 2007, 11:32 AM   (permalink)
Experienced Member
eng1 is a glorious beacon of lighteng1 is a glorious beacon of lighteng1 is a glorious beacon of lighteng1 is a glorious beacon of light
Default

Quote:
Originally Posted by Nigel Goodwin
are you perhaps forgetting the driver IC is supposed to be open-collector?.
Hmmmm... what if you consider a small leakage current? I'd like to simulate that case... do you still think that the transistor would switch off with any resistance (base to emitter)?

Quote:
Originally Posted by andrew12345678
What does Open Collector mean anyway?
As Nigel already said, o.c. means that the collector of the output transistor (of each gate) is left unconnected. In order to operate the transistor as a switch you have to add an external pull-up resistor. That's useful when interfacing different voltage levels for example.
I hope you'll have your programmer working!

Last edited by eng1; 13th September 2007 at 01:27 PM.
eng1 is offline   Reply With Quote
Old 13th September 2007, 12:06 PM   (permalink)
Experienced Member
andrew12345678 is on a distinguished road
Send a message via MSN to andrew12345678
Default

Bugger, bugger, bugger.

I lost the pad for the buffer out put when I was trying to desolder the pin ( I dont know how because i dont think it was heated excessively), but that doesnt matter.....

with the lost pad i connected my programmer up to the computer, still the LED remained lit, however much dimmer this time. with the collector of my ghetto inverter connected to the 10 K resistor that came off buffer 4 the LED was brighter again, but unresponsive to the programming softwares "commands" ( I have been using the chech feature)

what now?
__________________
"The glass is neither half-empty, nor half full, it's just twice as big as it needs to be" - Unknown
andrew12345678 is offline   Reply With Quote
Old 13th September 2007, 12:28 PM   (permalink)
Experienced Member
andrew12345678 is on a distinguished road
Send a message via MSN to andrew12345678
Default

Update, almost got it, i made a mistake with the pin, i accidently used clock pin 3, but i fixed that, now the led is dim when VPP is dissabled, and bright when its enabled (looks like i almost have it).

however it still is returning errors, and isnt programming, could this be due to the VPP voltage which now sits on 1.9V when VPP is disabled... what do you think?
__________________
"The glass is neither half-empty, nor half full, it's just twice as big as it needs to be" - Unknown
andrew12345678 is offline   Reply With Quote
Old 13th September 2007, 01:25 PM   (permalink)
Experienced Member
eng1 is a glorious beacon of lighteng1 is a glorious beacon of lighteng1 is a glorious beacon of lighteng1 is a glorious beacon of light
Default

Nigel, I've edited my previous post. Can you give your comment please?
Thank you.
eng1 is offline   Reply With Quote
Old 13th September 2007, 08:19 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by eng1
Hmmmm... what if you consider a small leakage current? I'd like to simulate that case... do you still think that the transistor would switch off with any resistance (base to emitter)?
You're now moving from the realms of changing resistor values to the driver being faulty - the purpose of the resistor between base and emitter of the switching transistor is purely in case there is some slight leakage in the driver. In 99.99????% of cases you could leave that resistor out altogether (which I've seen done commercially sometimes) - however, it's good practice to have some sort of resistor there, and I would always do so.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now   Reply With Quote
Old 13th September 2007, 08:21 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by andrew12345678
Update, almost got it, i made a mistake with the pin, i accidently used clock pin 3, but i fixed that, now the led is dim when VPP is dissabled, and bright when its enabled (looks like i almost have it).

however it still is returning errors, and isnt programming, could this be due to the VPP voltage which now sits on 1.9V when VPP is disabled... what do you think?
Check all the voltages around the transistors, see why it's only dropping to 1.9V?. It 'may' need a resistor adding from Vpp to 0V?, try adding a 10K or so.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now   Reply With Quote
Old 13th September 2007, 09:30 PM   (permalink)
Experienced Member
andrew12345678 is on a distinguished road
Send a message via MSN to andrew12345678
Default

Someone electro had me tie VPP to ground via a 10K, that brought it down to 1.88 and i added a further 1K so now its sitting at 1.8V, almost there, but i dont know if thats a proper solution.
__________________
"The glass is neither half-empty, nor half full, it's just twice as big as it needs to be" - Unknown
andrew12345678 is offline   Reply With Quote
Old 14th September 2007, 02:16 AM   (permalink)
Experienced Member
kchriste is a glorious beacon of lightkchriste is a glorious beacon of lightkchriste is a glorious beacon of lightkchriste is a glorious beacon of lightkchriste is a glorious beacon of light
Default

What's the voltage on the input of the "ghetto" inverter when the VPP LED is dim? You may want to add a 10K resistor from the base of the "ghetto" inverter transistor to ground if this voltage is above 0.4V
__________________
--- The days of the digital watch are numbered. ---

Last edited by kchriste; 14th September 2007 at 02:19 AM.
kchriste is offline   Reply With Quote
Old 14th September 2007, 07:56 AM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by kchriste
What's the voltage on the input of the "ghetto" inverter when the VPP LED is dim? You may want to add a 10K resistor from the base of the "ghetto" inverter transistor to ground if this voltage is above 0.4V
It's already there, it was in my original suggestion for a discrete inverter.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now   Reply With Quote
Old 14th April 2008, 04:06 AM   (permalink)
New Member
cesarsouza is on a distinguished road
Default

Hi, sorry to ressurect such an old thread, but I'm facing pretty much the same problem as the original poster.

Whenever I turn my programmer on, the Vpp raises to 11.66 volts and sits there forever. I'm using a custom built tait-style programmer, using the 74HC14 chip. I've already tried changing to 74HC05 but got no luck.

Should I also try with the 74hc06 or 74hc07 chips as suggested back in this thread? Would that make a difference?


Thank you,
Cesar
cesarsouza is offline   Reply With Quote
Old 14th April 2008, 06:35 AM   (permalink)
Experienced Member
 
eblc1388 is just really niceeblc1388 is just really niceeblc1388 is just really nice
Default

Why would a design use 7406 or 74LS06 when so many new IC or CMOS inverters are available?

You think so too?

Because there is a reason. The circuit needs the open-collector feature of these "old" IC to properly drive the transistors. If you don't know that, don't try to change these IC types. Countless builders have fallen in the same trap.
__________________
L.Chung
eblc1388 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
mclr pin problem for pic16f877a neelam29 Micro Controllers 6 7th February 2007 01:04 PM
Sudden problem with MCLR on PIC16F628 Futterama Micro Controllers 16 15th October 2005 02:04 PM
faulty digital components testing,checking walters General Electronics Chat 5 22nd August 2005 07:10 PM
Question about MCLR pin with Pro40 cubdh23 Micro Controllers 9 10th October 2004 08:57 AM
Need of resistor to MCLR? HURRY! brodin Micro Controllers 3 21st February 2004 12:07 PM



All times are GMT. The time now is 10:29 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.