Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - drjeseuss

1
Project development, ideas, and suggestions / DIY PicKit2 clone
I recently built a BPv4 from parts and need to flash the bootloader.  Unfortunately I only have a JDM2 currently.  I do have a handful of PICs laying around, such at PIC18F4550 (code compatible with the PIC18F2550).  Can anyone recommend a simple circuit I could build on a breadboard using common parts.  I really only need it to last long enough to flash the BPv4 so simple is best here and I'd prefer to avoid having to order any odd parts.  As noted, I do have a JDM2, so I can flash code to the PIC18F4550 as needed.  Does anyone have a suggestion on a simple design for this?  I'm not necessarily stuck on the PikKit design and would be happy with any ICSP that is simple and has readily available software that can flash a PIC24FJ256GB106.
2
Tools of the trade / DIY PicKit2 clone
I recently built a BPv4 from parts and need to flash the bootloader.  Unfortunately I only have a JDM2 currently.  I do have a handful of PICs laying around, such at PIC18F4550 (code compatible with the PIC18F2550).  Can anyone recommend a simple circuit I could build on a breadboard using common parts.  I really only need it to last long enough to flash the BPv4 so simple is best here and I'd prefer to avoid having to order any odd parts.  As noted, I do have a JDM2, so I can flash code to the PIC18F4550 as needed.  Does anyone have a suggestion on a simple design for this?  I'm not necessarily stuck on the PikKit design and would be happy with any ICSP that is simple and has readily available software that can flash a PIC24FJ256GB106.
3
Bus Pirate Support / BPv4.0c build in a toaster oven, success!


  When I received the Big Box of Parts USA a few months ago I found an unpolulated Bus Pirate v4.0c board.  I've been wanting a BP for some time and enjoy building whatever I can, so I grabbed this board and set off ordering parts.  I was able to source all parts through Mouser (almost, explained later).  I've been wanting to try my hand at reflow using a toaster oven as well, so why not pull two projects into one.  The parts arrived, but to my dismay I realized the CD4066 chip I ordered was SO-14 (as noted on the wiki parts list) instead of TSSOP14, as this board required.  Also, the shrouded header I received was not quite what I had expected so I tossed it in the parts bin and decided to use a normal unshrouded header instead.  Everything else was as expected.  I taped each of the part strips onto a printout of the parts list for easy identification while populating the board.

  The next hurdle was going to be solder paste.  I didn't want to spend money on a "custom" stencil for this one-off, and I didn't want to make a project out of making a stencil, either laser cut or etched.  I decided to hand dispense solder paste on the cheap, so I ordered a tub of Mechanic paste from ebay.  I also acquired a 5ml syringe and blunt tip.  I knew with some of the smaller pads this would be tough. I carefully began placing the beads of paste on the pads.  I had several spots where the paste bridged onto adjacent pads, but I hoped it would sort itself out during reflow.  For the PIC and USB connections, I used a thin strip of paste instead of trying to keep to the individual pads.  Due to the fact that I used a plunger-style syringe, the dabs of solder paste were inconsistent in size from one pad to another, some getting what appeared to be too much, others too little.  Once complete, parts were hand placed using tweezers, and tapped or pressed gently into the paste to hold them down and hopefully avoid tombstoning.

  The next hurdle was the reflow itself.  I've been wanting to build a toaster reflow controller for some time now but wasn't sure how well it would do the job.  For this project I decided to use a K-Type thermocuple digital thermometer to monitor temp in the oven, a stopwatch for timing, and my hand for on/off control of the oven to maintain the reflow profile.  A few times the temp began coasting past my desired temp, so I cracked open the oven door a bit to bleed off a few degrees.  This was not that hard to control, even manually.  Once the temps got into the 210-220*C range parts started popping into place.  I let it climb to 230*C at the peak and held it for about 20 seconds while watching to make sure the larger pads like the USB grounds reflowed, then I turned the oven off and let it cool to 180*C, then opened the door until about 150*C, and finally pulled the board out for final cooldown and inspection.

  Everything reflowed very nicely considering the crude process I had followed.  I had no tombstones, deformed connectors, or part-to-part solder bridging, but there were a few issues.  Several of my pads had too much paste.  This was hard to judge before reflow as the paste loses some mass when the flux cooks off but I wasn't sure how much.  I wicked a bit of the excess solder from them using copper braid and a 25-watt pencil iron.  A few other pads were connected, but had "too little" solder on them.  The PIC had only a few bridges which were easy to wick away.  The biggest issue though was with the PIC orientation.  One side was perfect, the two adjacent sides were very good, but the last side was shifted about a pin's width out of line.  The connections were held in place between the pads instead of being on the pads.  As I don't have a hot air tool (now justified and added to my list), this would be an issue.  I decided to pop the board back into the oven and redo the process.  I also added a bit more paste to a few pads that seemed lacking.  When the board hit a sweet spot around 230*C I popped the door open and tapped the PIC in hopes of shifting it into place.  This was harder than expected and took several tries.  Once satisfied, I ramped back to 230 and followed the proper cooldown to ensure no cold joints.  The chip still wasn't aligned quite right, but had moved enough to eliminate the shorts.

  At this point, the reflow work was done, so I hand soldered the headers in place, then connected the USB cable to see if it'd light up.  It did!  This was a good sign after all the board had gone through up to this point.  Now, I still need to await the CD4066 IC, which I'll hand solder into place.  I also need to get a boot loader onto the PIC.  Unfortunately I only have a JDM2, so I'll be building a PicKit2 clone to flash the bootloader.

  All in all, this project was a success!  The process worked well enough to repeat and the reflow toaster puts an end to my fears of QFN and BGA chips.  It looks like I'll be moving forward on the reflow controller project now that I've seen the results of an off the shelf kitchen toaster.  I'll also have a BPv4 to add to my toolbox along side my OLS.  Pretty sweet for a free PCB!
4
General discussion / Solder pot
I've been looking for a solder pot on ebay and found a few very cheap.  The catch is that the cheap ones are all listed as 220 and have the China/Australia plug style.  Is anyone familiar enough with these to know if I could do a simple cord/plug swap to US style cord for use on 110?  Any issues I might encounter?  Insufficient voltage causing low/half temp, control circuit damage, something else?  I'm hopeful it would work on 110 without modification.  What do you think?

Here are the ones I'm considering:
http://r.ebay.com/2gE3fN
http://r.ebay.com/I8l7qC
5
Tools of the trade / Solder pot
I've been looking for a solder pot on ebay and found a few very cheap.  The catch is that the cheap ones are all listed as 220 and have the China/Australia plug style.  Is anyone familiar enough with these to know if I could do a simple cord/plug swap to US style cord for use on 110?  Any issues I might encounter?  Insufficient voltage causing low/half temp, control circuit damage, something else?  I'm hopeful it would work on 110 without modification.  What do you think?

Here are the ones I'm considering:
http://r.ebay.com/2gE3fN
http://r.ebay.com/I8l7qC
6
Bus Pirate Support / BPv4.0 and 4.0c - need help
I have two BPv4 boards I'd like to populate and use, but I'm having trouble indentifying them to populate correctly.  I've downloaded the partslist, as well as a number of different versions of the .brd and .sch files, but none seem to match the boards I have.  A major difference in the two boards is the IC numbering, for example, though other components are also off.  Also, the board marked v4.0 doesn't match any .brd files I've found by this name.  I've included images of both.  I'm hoping someone can point me to the partslist (and if possible, .brd and .sch) for each of these boards.  Thanks!

[attachment=3]

[attachment=2]

[attachment=1]

[attachment=0]
7
Open Bench Logic Sniffer / Trigger Trouble
I recently received my OLS v1.04 then tested, upgraded firmware, etc. and tested again.  All appears to work perfectly except a small trigger issue.  I'm testing a 1-wire line.  While the circuit is off this line is low.  On powerup it goes high until it starts to communicate when it pulls low again.  In triggers, I've set up stage 1 as immediate with mask and value checked under '0' where my 1-wire is connected (yes I have gnd too).  Action capture is off.  this should see the pull high from powerup and increase to trigger 1.  Onstage two I have set to arm on level 1, mask checked and value unchecked under '0'.  Action capture is on.  This should then see the pull low and capture the comm from the 1-wire device.  Instead, I'm seeing the capture start on the initial pull high at powerup (trigger 1) instead of the first pull back low (trigger 2).  Any idea why this might be happening?

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01322342224session_write_close ( )...(null):0
20.01362473816ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01362474592Database_MySQL->query( ).../DatabaseHandler.php:119
40.05922613328Database_MySQL->error( ).../Db-mysql.class.php:273