1. 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.
    Dismiss Notice

Junebug Assembly Tips

Discussion in 'Microcontrollers' started by Krumlink, Nov 5, 2007.

  1. 3v0

    3v0 Coop Build Coordinator Forum Supporter

    Joined:
    Jul 14, 2006
    Messages:
    9,404
    Likes:
    227
    Location:
    OKLAHOMA USA
    You must be correct. Both work the same even though the marks differ.
     
  2. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    The BS170 appears to be an excellent replacement for the 2N7000.
     
  3. mvs sarma

    mvs sarma Well-Known Member

    Joined:
    Oct 29, 2006
    Messages:
    3,512
    Likes:
    76
    Location:
    Hyderabad, India.
    In India, I just paid Rs.25?- (1$ at Rs.40/approx)
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. mvs sarma

    mvs sarma Well-Known Member

    Joined:
    Oct 29, 2006
    Messages:
    3,512
    Likes:
    76
    Location:
    Hyderabad, India.

    (Priliminary step__ My DMM has been cross checked with another by measuring my PC's +5V. Both meters were reading 5.12V)

    1. Oh God - I interchanged 2 transistors (Q1 and Q4)by mistake. Today I have restored them.

    2.the resistor R17 has been increased to 680 ohms due to very high brightness and consumption too.

    3. The consumption at 5V external feeding was measured at 130mA.
    After removing the 18F2550 it has come to 65mA. Now with 680 ohms, and transistors normalled , the current with f2550 in socket is 70mA with 5V supply.

    4. the USB is still at 4.71V.

    5. a) The trouble shooting procedure, the Vdd is indicated as if 4.5V. I don't Know where this measurement was taken. I presume it as measured at pin3 (TG_T) of 18f2550.
    5. b) the Vpp is indicated as if, it is 11.9V. But actual measurement at collector of Q4 is only 10.99.V

    6. The specific test of red color LED blinking, when powered while reset key pressed , is OK.

    Now I am sure until I manage this voltage to 12.5V , perhaps I can't use it.

    I propose to tamper the feed back ratio by reducing the R6 to get the required Voltage. I have used a 1% Tol resistor of 2K7 here.

    Please offer your valuable comments and help me .


    Meantime I am also trying to see how to improve the USB voltage of my PC. here I wan to attach a link to an Intel document PDF. If you google for this link you will land in usb.org link with a pdf suggested. perhaps it may be of help to us.

    "Power Delivery Design Issues for Hi-Speed USB on Motherboards"


    In my case the PC USB socket, the series resistor on 5V supply line is marked x15 ( I presume it to be 0.15 ohm. I would try to manipulate this to .075 by paralleling another. It might take time.
     
    Last edited: Jan 12, 2008
  6. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    The 2N7000 and BS170 will both work, just depends on what part of the world you're in one will be more available than the other.

    Preprogrammed 18F2550 comes with the kit, the firmware will update itself if it's older when you use MPLAB or PICKit2 software. You can even downgrade to 1.x if need be so you can recalibrate PIC12F chips (feature was removed in 2.x PICkit2 software)

    DIY builders that have to supply their own 18F2550 will have to have access to a PIC programmer, sort of chicken before the egg problem.

    Here's a useful tip for the MOSFETs (as they can be tricky to figure out DS)
    * Use a multimeter to find the internal diode across D & S the Gate will be in the center.
     
  7. mvs sarma

    mvs sarma Well-Known Member

    Joined:
    Oct 29, 2006
    Messages:
    3,512
    Likes:
    76
    Location:
    Hyderabad, India.
    Was it aimed at me (MVS Sarma)!!!-- I didn't see the context sir. i do have my MOsfets. no problem
     
  8. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    It was aimed like yours just to help anyone interest in building the Junebug or any other ICD type programmer.

    As for your USB it's not likely serviceable. A powered USB hub should work fine and are often not current limited.

    The VPP section is right out of the PICkit2 manual, it works perfectly using the values in the schematic.
     
    Last edited: Jan 12, 2008
  9. Krumlink

    Krumlink New Member

    Joined:
    Aug 10, 2007
    Messages:
    2,080
    Likes:
    20
    Location:
    Michigan, USA
    I finally got my junebug working!!! (big thanks to 3v0, Bill for the board, looks awesome)

    Heres a pic:

    It is pretty "special", as in ride the short bus special. Reistors and caps too big, crystal too big, no DIP Switch but shorting blocks, Massive Toroid, Messed up Ferrite bead (found off old monitor board, it is all twisted up) and tiny switches. But hey at least it can recognize chips and work!

    Any comments on my junebug?
     

    Attached Files:

    Last edited: Jan 28, 2008
  10. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    Looks great Krumlink, I'll have to get you a smaller inductor that ones a beast.
     
  11. Krumlink

    Krumlink New Member

    Joined:
    Aug 10, 2007
    Messages:
    2,080
    Likes:
    20
    Location:
    Michigan, USA
    No, it makes mine that more special :)
     
  12. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    :) then it is special. You built it.
     
  13. futz

    futz Active Member

    Joined:
    Sep 15, 2007
    Messages:
    2,043
    Likes:
    24
    Location:
    Vancouver, B.C.
    Hahahahaha!!! :D :D :D That fatty inductor is hilarious! :D You couldn't find a bigger one?

    Hey, as long as it works, no problem. :p
     
  14. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    Krumlink, what does DON'T PRESS mean? The button?
     
  15. 3v0

    3v0 Coop Build Coordinator Forum Supporter

    Joined:
    Jul 14, 2006
    Messages:
    9,404
    Likes:
    227
    Location:
    OKLAHOMA USA
    While we were working on it Krumlink asked what the bootloader button was for. I told him that he would have to re-flash the chip if he hit it. Not exactly right but close enough, I did not want to get into bootloaders at the point. He promptly posted the danger sign on the unit. :)
     
  16. Krumlink

    Krumlink New Member

    Joined:
    Aug 10, 2007
    Messages:
    2,080
    Likes:
    20
    Location:
    Michigan, USA
    Hey bill how do I get the demo to work? Do i follow the directions on the Hello world poster but instead put in its code?
     
  17. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    You mean the blinky program at the back of the Junebug manual?
    Yes the instructions on the poster mostly apply, the poster is for version 7.x where 8.x has a release (normal) and debug selector on the toolbar but is otherwise similar to 7.
     
  18. thekyguy11

    thekyguy11 New Member

    Joined:
    Jan 12, 2008
    Messages:
    104
    Likes:
    1
    Hey guys...

    Just finished assembling my Junebug today, and I don't think its working quite right. I followed the directions to a T, and everything is identical to the picture. When I hook up to the USB cable, the green and yellow leds come on and the 3rd larger led comes on and goes off. I don't know where to start?
     
  19. thekyguy11

    thekyguy11 New Member

    Joined:
    Jan 12, 2008
    Messages:
    104
    Likes:
    1
    o, and it shows 3.98 volts across U5V and GND
     
  20. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    That sounds normal. LED 3 will come on when the 18F1320 is blank. The green & yellow are normal and the red may flash. Run the PICkit2 standalone software availabe in the PICkit 2 section of Microchips site.
    3.8V seems too low though. Is that measured with a multimeter?
     
  21. thekyguy11

    thekyguy11 New Member

    Joined:
    Jan 12, 2008
    Messages:
    104
    Likes:
    1
    o, so it is working, lol.

    Yes, the voltage was measured with an old Fluke Multimeter. The only things I questioned during assembly was L1. All that was left that could go there was what looked like a larger resistor (1/2 watt?) than the rest. I think the colors were wrong for R6 also, but when I measured resistance of the one I installed in R6 it matched what the directions called for. Could either of these cause the low voltage?
     
    Last edited: Jan 31, 2008

Share This Page