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
 
Tools
Old 9th January 2009, 03:40 AM   #1
Default Junebug Problem

I have 3 Junebug boards with a strange problem. Other boards constructed at the same time work fine.

Three or four seconds after the USB cable is inserted the inductor gets hot. This happens with the 2550 in place or not. With the 2550 in place the yellow connect light comes on.


Q1 is a Farchild 2n3904CTA. The inductor does not heat with it removed. Replaced one but it did not help.

Any ideas ?

---------------------------------

also

Another route to ground for the inductor is via D1 R3b and R6. It checks out as expected and is too much resistance to allow enough current to flow to heat the inductor.



3v0
Attached Thumbnails
Junebug Problem-osc2.jpg  
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)

Last edited by 3v0; 9th January 2009 at 03:43 AM.
3v0 is offline  
Old 9th January 2009, 03:54 AM   #2
Default

R4 should have a square wave across it, if it's high Q1 will pretty much act as a dead short. The PK2 test software should allow you to turn on the boost converter in VPP test mode. Make sure the VPP voltage divider is ok R3B, R6.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 9th January 2009, 04:35 AM   #3
Default

My scope shows R4 low on a good unit when VPP is inactive. On the problem units it is the same. By the time one does a check-communication and goes into troubleshoot the inductor is already HOT. The VPP test says short but that is not great suprise. It shuts down the pump through R4 quite fast. Not useful for this or finding shorts.

The problem is that the off state is conducting current through the inductor.

I checked out the voltage divider circuit as noted in my original post.

Quote:
Originally Posted by blueroomelectronics View Post
R4 should have a square wave across it, if it's high Q1 will pretty much act as a dead short. The PK2 test software should allow you to turn on the boost converter in VPP test mode. Make sure the VPP voltage divider is ok R3B, R6.
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)
3v0 is offline  
Old 9th January 2009, 04:39 AM   #4
Default

I changed the colours of the LED's (program side) my PIC is getting hot never try to change their resistors

Bill do you recommend to bypass the 2N7000 & BS250 when I get this error?

"PICkit 2 VPP voltage level error. Check target & retry operation".
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Old 9th January 2009, 06:59 AM   #5
Default

If I remember, the inductor should have a current carrying capacity of 20mA at least. Also why not a 1N5819 for the diode D1 that follows. Perhaps it helps in improving the efficiency of the Vpp generator. At times these inductors go partially short. Of course you have indicated that you swapped it.

I may also suspect a leaky Transistor Q1.
__________________
Regards,
Sarma.

Last edited by mvs sarma; 9th January 2009 at 07:04 AM.
mvs sarma is offline  
Old 9th January 2009, 09:07 AM   #6
Default

What about adding a 100k resistor across Q1 B-E to make sure it stays closed while RC1 is input during init (although it is short time i guess )
__________________
"The only thing worse than getting an error message is not getting an error message." - Allen Downey
qratman is offline  
Old 9th January 2009, 01:00 PM   #7
Default

qratman & mvs sarma,

I have constructed at least 15 working Junebugs using Bill's boards. The circuit works as designed.

This fall I built a batch of 7, these 3 had the HOT inductor.

I did not change the inductor. But I can test the inductiance with my superprobe in the AM. Could be the ones that got HOT shorted as you say and they need to be replaced. Buy why did they get hot ?

I am quite sure I made some error but it eludes me. If nothing else I will breadboard the charge pump to test the parts the place them on the boards.

3v0
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)

Last edited by 3v0; 9th January 2009 at 01:39 PM.
3v0 is offline  
Old 9th January 2009, 01:43 PM   #8
Default

hi 3v0.
I suspect you may have already looked at these possiblities.

Q1, s/c or incorrect pinning
C1, s/c or reversed
Q1. s/c
SW6 bit open

Track whiskers along L1 > D1 > Q1 collector ,, to adjacent tracks.
ditto.. D1 cathode>C1 +V > Q4 emitter.

As 7 out 10 work, its most likely a whisker on the other 3.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 9th January 2009, 01:49 PM   #9
Default

I've seen one PCB with track wiskers up near the large 16 pin header.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 9th January 2009, 02:12 PM   #10
Default

Erick,
Q1, s/c or incorrect pinning (checked)
C1, s/c or reversed (checked)
Q1. s/c (same as 1?)
SW6 bit open (only switch installed in the boot sw 5,
You may be right about the wiskers but i have learned to check my own work many time prior to putting the blame on faulty parts.

I constructed all the boards in this run assembly line style. Grab a part and put in on all boards then move on to the next. Execpt for putting a transistor in backward that should reduce the change for placement errors. The programmer section was populated then tested. The failed and the tutor section was not populated.

I removed Q1 and the heating stoped. That tells me there is not short between E C. My scope shows R4 low on a good unit when VPP is inactive, same on non working units. Transistors are not my strong point. But is seems to me that if Q1 has a low base there should be no base emitter flow.

I did switch transistors mid run. The new ones are packaged as Farchild 2N3904CTA. The actual transistor is stamped 2N3904CJ22. But if I recall some of the units with the new transistors worked. Not 100% on that. Did not find any info on the stamped number.

3v0
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)
3v0 is offline  
Old 10th January 2009, 05:22 AM   #11
Default

Sounds like it is the pin out of Q1. Where some TO92s have the center lead as the base; others have the center lead as the collector.
__________________
Inside every little problem, is a big problem trying to get out.
kchriste is offline  
Old 10th January 2009, 06:37 AM   #12
Default

Quote:
Originally Posted by kchriste View Post
Sounds like it is the pin out of Q1. Where some TO92s have the center lead as the base; others have the center lead as the collector.
Some times I need to be told the same thing a few times to get it! The ohm meter says you are right. I expected either EBC or CBE, I was thinking I had a bad batch of transistors.

I did a bit of fancy work and managed to get on of the stupid thing mounted. Works like a champ.

The data sheet that matched the part number on the anti-static bag did not match the part in the bag. Go figure. I wonder if I may give Mouser a call.

I am glad there is only one per board.

3v0
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)

Last edited by 3v0; 10th January 2009 at 06:40 AM.
3v0 is offline  
Old 10th January 2009, 05:44 PM   #13
Default

There are 3 NPN transistors on the board, how were the other ones not affected? I've built some Junebugs with PN2222 as I've got hundreds of those.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 10th January 2009, 07:32 PM   #14
Default

Bill,
Yes they were! Changing Q1 only fixed the charge pump. Q3 and Q6 needed to go too. I had it in my mind there were 1 2N3904 and 3 2N3906. Sort of humbling.

The programmer section on one now works.

+5 from Junebug to target is as low as 4V on some units. It is not enough to power the LCD. Maybe I can figure that one out. If not I can replace the transistor with a jumper.

Thanks Bill
3v0
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)
3v0 is offline  
Old 10th January 2009, 09:30 PM   #15
Default

Quote:
Originally Posted by 3v0 View Post
I expected either EBC or CBE, I was thinking I had a bad batch of transistors.
The data sheet that matched the part number on the anti-static bag did not match the part in the bag. Go figure.
I've noticed that Japanese and far east transistor manufacturers tend to like the ECB pinout for To92s where as the North American manufacturers tend to go with the EBC pinout.
Good to see you got it working.
__________________
Inside every little problem, is a big problem trying to get out.
kchriste is offline  
Reply

Tags
junebug, problem

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Problem with junebug and mplab 8.10 jerryf Micro Controllers 12 1st December 2008 01:48 PM
Problem with junebug jerryf Micro Controllers 6 30th November 2008 04:44 PM
IR with junebug AtomSoft Micro Controllers 5 16th March 2008 03:02 PM
bra & WDT Junebug AtomSoft Micro Controllers 17 3rd March 2008 03:51 PM
Junebug INT2 problem futz Micro Controllers 9 15th November 2007 03:32 AM



All times are GMT. The time now is 09:44 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker