Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => Topic started by: dsm on September 19, 2011, 07:34:32 pm

Title: yabp case
Post by: dsm on September 19, 2011, 07:34:32 pm
[font=Georgia:]yabp case

ian,

Someone asked whether I could design a Bus Pirate case similar to the "clamshell" version of the yaobls (Yet Another Open Bench Logic Sniffer) case (thread (http://http://dangerousprototypes.com/forum/viewtopic.php?f=23&t=2516)). I assume they meant Bus Pirate v3.x or Bus Pirate v4.x, but I'm starting to realize that these boards are not the same size. I am interested in the board geometry (board outline, mounting holes, keepout areas, etc.) and the locations of components that might interact with or affect the case design (connectors, jumpers, LEDs, push-buttons, etc.). Where do I go to find the latest version of the Eagle layout files for these designs?

Thanks for your time.

dsm

Private Message edited slightly for clarity.
[hr:][/hr:]
[quote author="ian"]v3.5 and v4 are in the Dangerous Prototypes SVn at google code. They are the same size but that will probably change. The headers are in about the same place, but they are not exactly the same.[/quote]
[hr:][/hr:]
Bus Pirate board geometry

ian,

I downloaded the Eagle brd and sch files for the Bus Pirate v4.0, v4.0a, v4.0b, v4.1, and v3.5 revisions from source (http://http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/#svn%2Ftrunk%2FBus_Pirate%2Fhardware) and downloads (http://http://code.google.com/p/dangerous-prototypes-open-hardware/downloads/detail?name=Bus.Pirate.source.r1242.v3.5.zip) and measured various board geometry features and certain component locations.

For the Bus Pirate v4.0 and v4.1 layouts, the board geometry and the component locations are exactly on a 25 mil grid (except for the USB connector which is shifted left 12.5 mils for rational reasons) (except for the push-buttons which are exactly on a 5 mil grid). So far, so good. But the "history.txt" file in the downloads directory says these boards don't fit the Seeed Studio case. Is this an existing or currently unannounced new case?

For the Bus Pirate v4.0a, v4.0b, and v3.5 layouts, the board geometry (board edges are exactly on a 1.0 mm grid) (mounting holes are exactly on a 0.025 mm grid) seems clear, but the component locations don't appear to be on any obvious "mil" or "mm" grid. What is the story here?

What I am trying to do is determine are the locations of any board geometry or components that would affect a case design.
For example, for Bus Pirate v3.5
Since 0.1 mm is roughly 0.0039 inches,
specifying these dimensions to 0.005 mm is like specifying a board feature to 0.000196 inches accuracy.
This level of accuracy doesn't seem commensurate to the problem.

    connector ~ ExtPwr ~ pin one or center ~ ???
    connector ~ ICSP ~ pin one or center ~ ???
    connector ~ IO ~ pin one or center ~ ???
    connector ~ USB ~ center ~ ???

    push-button ~ Normal ~ center ~ ???
    push-button ~ Reset ~ center ~ ???

    LED ~ pwr ~ center ~ ???
    LED ~ usb ~ center ~ ???
    LED ~ mode ~ center ~ ???
    LED ~ vreg ~ center ~ ???
[/list]
In the past, board designs often used a "mil" grid (usually because of 0.1" grid connectors and 0.1" grid through-hole device packages) while package designers often used a "mm" grid. Given the number of high pin count metric device packages there is probably less of a need for boards to be on a "mil" grid any more, but it is useful to have some grid scheme to locate components (so locations are not arbitrary measurements that have to be specified at the highest resolution). I can work with either scheme, but currently the Bus Pirate board seems to use a hybrid design grid that I'm having considerable difficulty figuring out.

I realize that this a fairly minor issue and you have a lot on your plate.
Do you have anyone available to answer this type of question?
Am I missing something obvious?
Or is there a short, simple answer?

Thanks for your time.

dsm

[attachment=0]
Private Message edited slightly for clarity.
[hr:][/hr:]
[quote author="arhi"]Ian should correct me if I'm wrong but BP4.x ain't final yet hence not in production so changes are still very possible. I think it would be very useful if the pcb can be modified a bit to be more "case friendly".

Maybe it would be best if you, David, can give some pointers to what you think would be a best changes in 4.x pcb design to make it more case friendly, both for a custom case and for existing abs cases, and then Ian can implement those changes in Eagle pcb layout.

The BP I have (3.5b I think) is case friendly - the 4 mounting holes are ok, the usb is ok, only the connector I replaces with 90 degree headers but going from top is also more then ok.

The BP 4.1 comes with buttons, that is the major difference ... but they are not problematic imho ... the only changes I'd make on 4.1 are
- for ICSP connector I'd use the layout that is not 100% in line but every second pin to be with a little offset (like for e.g. on arduino) so that you can use icsp holes without actually soldering a header.
- I'd add a 1mm border of clean pcb on the top edge (where the led's are) so that it can easy slide in a tray case or can be easily clamped without blocking light from leds.[/quote]
[hr:][/hr:]
Bus Pirate board layout suggestions

ian,
arhi,

Okay, I'll add my $0.02 worth...
Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: ian on September 22, 2011, 05:06:36 am
Hey dsm,

It's pretty much just me on the design side :) I am trying hard to get someone full time to help out with engineering, but it will be a while. Your points are all valid, and any non-sense in the design is entirely my fault ;) I appreciate your investigation and feedback and will certainly add these updates to the routing queue. I'll also try to follow best practices in the future.
Title: Re: yabp case
Post by: ian on September 22, 2011, 05:07:04 am
BTW: a first batch of v4 is in production. It will probably be ready in a few weeks.
Title: Re: yabp case
Post by: dsm on September 22, 2011, 09:29:00 am
[font=Georgia:]Which Bus Pirate Case?

ian,

When I looked at the various Bus Pirate source files, there seem to be three groupings:
So when you say
[quote author="ian"]BTW: a first batch of v4 is in production. It will probably be ready in a few weeks.[/quote]
I still don't know which board dimensions to use since there are two "version 4" layouts!!
As you might imagine, I would prefer to not put a lot of time and effort into the wrong Bus Pirate case design.
Any idea which "version 4" layout is going into production?
Is there any simple way to get a bare "version 4" production board so that I can have something concrete to play with?

Thanks for your time.

dsm
[hr:][/hr:]
ian,
[quote author="ian"]It's pretty much just me on the design side :) I am trying hard to get someone full time to help out with engineering, but it will be a while. Your points are all valid, and any non-sense in the design is entirely my fault ;) I appreciate your investigation and feedback and will certainly add these updates to the routing queue. I'll also try to follow best practices in the future.[/quote]
I can imagine that what you are doing is a lot of fun part of the time and a lot of cruft the rest of the time.
Lately I've been asking you and arhi a bunch of questions in order to get around roadblocks that I'm running into that other people might also be encountering. I apologize for taking up so much of your time. I wish I could be more helpful.

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: ian on September 25, 2011, 10:55:43 am
v3.5 and v4a+ are sized for the 'seed case'  (which they can no longer source anyways, so I don't know why I keep talking about it). v4.1 is just a test I did. Here's the history.txt:

Quote
Bus Pirate v3.5- Two versions, SOIC and SSOP PIC chips. Same as v3b with reduced part count.

v3.5b - fixed header key to match seeed cable

v3.5c - Fixed missing 4066 control trace

Bus Pirate v4 - Original pre-production version sold at Seeed for $50.

Bus Pirate v4a - v4 resized to fit Seeed case. First production version.

Bus Pirate v4.1 - Small rerouting of v4, not yet resized to fit v4a case.

One thing is wrong, v4 is the going to be the first batch of 100, because that is what I had them make... Since they can't get the case and we will be changing the size yet again soon, I didn't see any point to mess around with an update for the initial batch of 100.

I'm sorry, there's no good answer. We (Seeed and I) are trying really hard to get everything in a nice case, starting with the Bus Pirate, so I keep changing the size for cases that are then no longer available. Everything will be changed again soon too.
Title: Re: yabp case
Post by: dsm on September 25, 2011, 01:50:49 pm
[font=Georgia:]Bus Pirate board geometry

ian,

Thanks for getting back to me about the Bus Pirate board layout even though the board geometry scheme chosen was different than I had hoped. The locations of board geometry features and components that affect the case design for v4.0a are shown in the attached spreadsheet.

[attachment=0]
In the "no good deed goes unpunished" category, your response raises a couple short questions:
[quote author="ian"]We (Seeed and I) are trying really hard to get everything in a nice case, starting with the Bus Pirate, so I keep changing the size for cases that are then no longer available. Everything will be changed again soon too.[/quote]
Perhaps working with Seeed to get several standard injection-molded cases fabricated would be worthwhile. How about three or four cases designed to fit roughly golden-ratio-sized boards up to the maximum dimensions allowed by the free version of Eagle PCB layout? Seeed could suggest what board sizes would maximize their yield from whatever panel size they use. For example, the typical spreadsheet board yield model specifies
I'll finish designing a couple yabp cases (even though this seems like a redundant activity if you're working with Seeed to get new cases designed and built) after the "-v1" clamshell yaobls case prototypes arrive back from Shapeways in couple days. From my viewpoint, I still want to figure out how to use the "draft angle" feature of the tool I've been using for the clamshell yaobls case designs.

Thanks for your time.

dsm

[1]    Unless the boards are scored and snapped - and Seeed doesn't look like they do that.[/font:]
Title: Re: yabp case
Post by: dsm on October 02, 2011, 07:24:24 am
[font=Georgia:]"clamshell" yabp case "-v2" images

ian,

I updated the "clamshell" yabp (Yet Another Bus Pirate) case design (see previous posting), uploaded the design to Shapeways, and ordered some prototype parts.

The "clamshell" yabp bottom (http://http://www.shapeways.com/model/347348/clamshell_yabp_case_bottom_dsm_v2.html) case can be used by itself to support the Developer use case.
See 31Oct11 posting for updated "-v3" design.
Features include the following:
The "clamshell" yabp top (http://http://www.shapeways.com/model/347349/clamshell_yabp_case_top_dsm_v2.html) case can be used with the "clamshell" yabp bottom case to support the User use case.
See 31Oct11 posting for updated "-v3" design.
Features include the following:[attachment=5]
[attachment=4]
[attachment=3]
[attachment=2]
[attachment=1]
[attachment=0]
Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: arhi on October 03, 2011, 02:46:43 pm
:D now this is one nice box :)
Title: Re: yabp case
Post by: Sjaak on October 03, 2011, 03:17:51 pm
I thought I post this before:

Nice one. I really like the 'buttons'

But I have lots of conductive material on my desk, so I don't like the bottom being open :) I would opt to have a pinout printed on the bottom (or is it reserved for a sticker??).
Title: Re: yabp case
Post by: arhi on October 03, 2011, 03:37:14 pm
A sticker will solve the issue of stuff from desk getting into ...

btw, before I held similar (for obls) case in my hands I was afraid those holes would allow garbage from my desk to still make a short but actually it's not that easy as holes are not big and board is pretty far up so you really need a "specially wrong day" for things to go south :D
Title: Re: yabp case
Post by: Sjaak on October 03, 2011, 03:52:53 pm
It always happens when it isn't a suitable moment (if ever :)) On the other side it will boost the sales of the buspirate ;)

/me is having a vision of 24h express delivery of BPs ;)
Title: Re: yabp case
Post by: pietja on October 03, 2011, 04:41:34 pm
[quote author="dsm"]
IO connector opening to have brake away tabs in the opening so everyone can make it as big as needed for there BP.

So default an opening for the 10-pin connector and the option to extend this to 12-pin and 16-pin.
I got mine 2X6 shrouded pinheaders from ebay. (http://http://www.ebay.com/itm/ws/eBayISAPI.dll?ViewItem&item=270820725854)
Title: Re: yabp case
Post by: dsm on October 03, 2011, 10:41:29 pm
[font=Georgia:]"clamshell" yabp case comments

Sjaak,

The holes are in the bottom of the case to reduce costs. One of the really powerful concepts about additive machining is that adding more features and details is less important than the amount of material used. The situation is reversed with subtractive machining where each additional feature and detail means more processing steps (and thus cost).

arhi and I have hashed this "bottom hole" issue out before in the context of the yaobls case. I am less concerned about random metal filings getting into the case than I am about random ESD hits during handling and transport.  Once you compare the size of the bottom holes (which are slightly smaller than those in the yaobls case) with size of your fingers, you'll see what I mean. If you really are concerned about random metal filings getting into the case, as arhi points out, you can always add a colorful, high-definition, laminated IO pin reference chart that covers the holes in the bottom of the case.

If someone really needs a completely closed case, deleting the holes and posting another case variant to Shapeways would take me less than ten minutes.

Thanks for your time.

dsm

[attachment=1]
[hr:][/hr:]
pietja,

I ordered some 12-pin shrouded male headers from the source on eBay that you reference. That source was not able to provide me with a datasheet with mechanical dimensions. 12-pin shrouded male headers are fairly difficult to find compared to common 10-pin, 14-pin, 16-pin, and 20-pin shrouded male headers. Rarity usually translates into higher cost and supply chain vulnerability. Designing a product around lucky eBay finds is generally not a good idea.

Further, there are some interesting functions that could be implemented using currently unused pins on the 64-pin PIC 24FJ256GB106 micro-controller. More functionality for the incremental cost of a few extra pins? Why not?

I looked at a variety of common 10-pin, 14-pin, 16-pin, and 20-pin shrouded male headers from volume commercial sources and then extrapolated to what the dimensions for a hypothetical 12-pin shrouded male header from the same sources should be. Generally the resulting model is to add 0.150" onto each end of the shrouded connector and 0.080" onto each side of the shrouded connector. To this I add the additional connector opening end margin and connector opening side margin mentioned earlier in this thread.

This "clamshell" yabp case design is just a prototype. Making case variants available for whatever size IO connector you suggest is not difficult. This is probably a better solution than adding break-away tabs. My real problem is that nobody has yet specified a part number for the IO connector from a volume source - making this whole "clamshell" yabp case design exercise fairly moot.

Thanks for your time.

dsm

[attachment=0][/font:]
Title: Re: yabp case
Post by: pietja on October 03, 2011, 11:35:32 pm
dsm,

I found you a datasheet (http://http://www.icconnectors.com/003pdf2x429pag/00118.pdf) for every size shrouded male header.

As for availability, when the BPv4 goes into production at Seeed i think they will have a source for those 12pin headers like icconnectors (http://http://www.icconnectors.com) or someone else but that's something ian or the guys at Seeed can tell us.

btw. at work i order lots of connectors from icconnectors through a local distributor.
Title: Re: yabp case
Post by: dsm on October 04, 2011, 01:35:29 am
[font=Georgia:]yabp IO connector size

pietja,

Thank you, your information is quite helpful.

Width
Working back though the datasheet, the stated width of the connector is 8.80 mm. The datasheet is inconsistent about the height of the alignment ridges, but use the larger dimension or 9.05 mm. For symmetry, increase the width of the connector to 9.30 mm or 0.366". Subtracting 0.2" for the receptacle envelope leaves 0.166" or an 0.083" offset (which is slightly larger than the 0.080" offset I mentioned) on each side of the receptacle envelope. Alternately, we could use an asymmetric opening with an 0.083" offset on the left side of the receptacle envelope and an 0.073" offset on the right side of the receptacle envelope.

Length
Working back through the datasheet, the stated length of the 12-pin shrouded male header is 22.98 mm or 0.905". Subtracting 0.6" for the receptacle envelope leaves 0.305" or an 0.152" offset (which is slightly larger than the 0.150" offset I mentioned) on each end of the receptacle envelope.

Still...
While the icconnectors web site does carry a suitable 12-pin shrouded male header, I don't see any prices or a simple way to order small numbers of parts online (unlike Digi-Key or Mouser or Newark). I assume icconnectors (which is based in Taiwan) mainly deals with industrial volume users. While 12-pin shrouded male headers clearly exist, they are still fairly rare compared to common 10-pin, 14-pin, 16-pin, and 20-pin shrouded male headers. Perhaps ian will be able to talk Seeed Studio into carrying the correct connector, but it still seems like an odd connector choice for an open source project.

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: ian on October 06, 2011, 01:49:21 pm
Another beautiful case, the buttons are great. I will send you a freebie of the first batch of v4 so you can check it out. Please PM me your address.
Title: Re: yabp case
Post by: dsm on October 21, 2011, 05:50:51 am
[font=Georgia:]"clamshell" yabp case "-v2" update

The "-v2" design "clamshell" yabp prototype case parts ordered 01Oct11 from Shapeways arrived back 20Oct11.
For a list of the differences from the previous "-v1" design "clamshell" yabp case, see my 02Oct11 posting.
I expect that the "-v3" design "clamshell" yabp parts will be the final iteration before the design is released.

Unfortunately the v4.0a Bus Pirate board ian was going to send has yet to arrive, so the images use a bare
v3.5a-SOIC DIY Edition Bus Pirate board (link (http://http://dangerousprototypes.com/2011/09/26/testing-pcb-sales-bus-pirate-v3-5a-soic-on-sale-now/)). Note that only the board outline and the mounting holes
match between these two revisions - all of the connector, LED, and switch positions are different.

[attachment=0]
[attachment=1]
[attachment=2]
[attachment=4]
[attachment=3]
clamshell-yabp-case-bottom-dsm-v2
Proposed changes for the "-v3" design include the following:
clamshell-yaobls-case-top-dsm-v2
Proposed changes for the "-v3" design include the following:
If there are any additional case features anyone wants, please make your suggestions known soon.

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: ian on October 21, 2011, 09:43:20 am
The first batch just came into stock, we ordered your yesterday. Unfortunately this will not be the final version of the PCB, but it will help with placement I hope.
Title: Re: yabp case
Post by: dsm on November 01, 2011, 02:50:24 am
[font=Georgia:]"clamshell" yabp case "-v3" images

I updated the "clamshell" yabp (Yet Another Bus Pirate) case design (see 21Oct11 posting), uploaded the design to Shapeways, and ordered some prototype parts. This case is designed to support Bus Pirate v4.0a boards.

The "clamshell" yabp bottom (http://http://www.shapeways.com/model/369509/clamshell_yabp_case_bottom_dsm_v3.html) case can be used by itself to support the Developer use case.
The "clamshell" yabp top (http://http://www.shapeways.com/model/369510/clamshell_yabp_case_top_dsm_v3.html) case can be used with the "clamshell" yabp bottom case to support the User use case.

[attachment=5]
[attachment=4]
[attachment=3]
[attachment=2]
[attachment=0]
[attachment=1]
The four LED light-pipes are assumed to be LPC020CTP parts (data (http://http://vcclite.com/led-light-pipes/lpc-4mm-round/)) (Mouser (http://http://www.mouser.com/)) (catalog (http://http://www.mouser.com/catalog/catalogUSD/644/170.pdf)).
The four case screws are assumed to be 2.0 mm by 6.0 mm T-6 torx head plastite screws from Small Parts (link (http://http://www.smallparts.com/)), but purchased on Amazon (link (http://http://www.amazon.com/Plated-Steel-Tapping-M2-0-4-Length/dp/B00186T8TO/)).

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: dsm on November 17, 2011, 10:36:33 am
[font=Georgia:]new Seeed Studio enclosures

As of 30Oct11, Seeed Studio (link (http://http://www.seeedstudio.com/depot/accessories-enclosure-c-178_184.html)) is carrying some new plastic enclosures that may be of interest.

General Plastic CaseClear Plastic Enclosure

[hr:][/hr:]
Comments
Would a person be better off Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: arhi on November 17, 2011, 10:46:59 am
These boards are cheap enough to make a person adapt the board in order to fit them but .. none is "ideal" for 5x5 and 10x10cm pcb's :( ... as for material, I believe transparent ones are PET or Nylon (not really resistant to fire) while the opaque ones are HDPE or Nylon

They do list inner dimensions when you click on details
Title: Re: yabp case
Post by: ian on November 17, 2011, 10:55:23 am
I'm glad to see new case options. I got the aluminum free in their giveaways.

Why are prefab boxes always so ugly? I think clear would be the minimum for DIY electronics (see the LEDs and silk, show off to friends). Clear color tinted materials, with interchangeable tops of different colors, would be way cool. Nice rounded corners that are easy to hold, sides optimized for button/connector holes, pops apart for debugging with the bottom still attached for isolation, something with a modicum of design sense. Instead it's always beige/black/offwhite.</rant>
Title: Re: yabp case
Post by: arhi on November 17, 2011, 11:05:48 am
prefab boxes are not always ugly - the dirt cheap prc boxes are ugly but that's another story ... I have bunch of plastic boxes I ordered few years from rapidelectronics and they look great for e.g. ... locally I can also get plastic boxes, some look good, some look professional, and some are ugly ... price is different too :)
Title: Re: yabp case
Post by: dsm on November 17, 2011, 12:23:04 pm
[font=Georgia:]new Seeed Studio enclosures comments

arhi,

[quote author="arhi"]These boards are cheap enough to make a person adapt the board in order to fit them...[/quote]Agreed, but even inexpensive cases still need openings for connectors, LEDs, push-buttons, etc.
An inexpensive case that needs expensive post-processing is no bargain.

[quote author="arhi"]...none is "ideal" for 5x5 and 10x10cm pcb's[/quote]Agreed, except most of my designs are typically more rectangular and not square.  I looked at nearly all of the enclosures on the SHM web site and none are a perfect match for the Dangerous Prototype projects that I've been tracking.

[quote author="arhi"]...as for material, I believe transparent ones are PET or Nylon (not really resistant to fire) while the opaque ones are HDPE or Nylon.[/quote] I'm just hoping the cases are not made out of ABS since ABS fumes can cause problems for laser cutters.
Update - I sent an email to SHM asking them what plastics they use for the HF-N-5 and the HF-H-1T.

[quote author="arhi"]
They do list inner dimensions when you click on details.[/quote] I noticed this, but as of this date, I also noticed that the Seeed Studio descriptions for these products have some minor dimensional inconsistencies.

Thanks for your time.

dsm

[hr:][/hr:]
ian,

[quote author="ian"]Why are prefab boxes always so ugly?[/quote]
I haven't a clue about why this might be, but I tend to agree.
A clear or smoky top would allow the electronics and LEDs to be seen (without the expense of LED light-pipes).

And why are "universal" plastic cases so damned thick?
The recent yabp and yaobls case designs are only 11.5 mm thick (excluding connectors protruding from the top surface
and feet protruding from the bottom surface), but not one of the Seeed Studio or SHM cases is as thin.
As far as color is concerned, the laser-sintered nylon material can be dyed other colors (link (http://http://www.shapeways.com/forum/index.php?t=msg&th=5507)).

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: arhi on November 17, 2011, 12:32:21 pm
[quote author="dsm"]An inexpensive case that needs expensive post-processing is no bargain.[/quote]

The cheaper the case the easier is to post process in my experience :D. You just need a nibbler and you are done :D The more expensive cases use 2.5+ mm thick plastic and they are hard to nibble.

[quote author="dsm"]I'm just hoping the cases are not made out of ABS since ABS fumes can cause problems for laser cutters.[/quote]
ABS is tad easier to hand drill/cut/sand then nylon/hdpe/ldpe/pp/pet, but is lot more expensive then those polymers hence I really doubt they made these cheap ones out of ABS :D (IIRC ABS pellets are 10 times more expensive then PP for e.g.) .. the "real" electronics boxes should be made out of material that is fire proof, but none of these cheap ones are :(

The clear tops are hopefully pet, but they might went with acrylic too. I really hate acrylic as you can't easily process it by hands (you need laser cutter or at least a milling machine) ... PET is on the other hand easy to work with
Title: Re: yabp case
Post by: dsm on November 17, 2011, 12:32:21 pm
[font=Georgia:]"clamshell" yabp case "-v3" update

The "-v3" design "clamshell" yabp prototype case parts ordered 31Oct11 from Shapeways arrived back 16Nov11.
For a list of the differences from the previous "-v2" design "clamshell" yabp case, see my 31Oct11 posting.

Unfortunately the v4.0a Bus Pirate board ian was going to send has yet to arrive, so the images use a bare
v3.5a-SOIC DIY Edition Bus Pirate board (link (http://http://dangerousprototypes.com/2011/09/26/testing-pcb-sales-bus-pirate-v3-5a-soic-on-sale-now/)). Note that only the board outline and the mounting holes
match between these two revisions - all of the connector, LED, and switch positions are different.

[attachment=4]
[attachment=3]
[attachment=0]
[attachment=1]
[attachment=2]
Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: ian on November 18, 2011, 12:28:22 pm
Quote
Unfortunately the v4.0a Bus Pirate board ian was going to send has yet to arrive,

I'll find the order number and track it.
Title: Re: yabp case
Post by: dsm on January 05, 2012, 08:47:54 am
[font=Georgia:]"clamshell" yabp case "-v3" update ~ II

The good news is that the sample v4 Bus Pirate board that ian was going to arrange for Seeed Studio to send finally arrived 21Dec11 (Wednesday). Thank you ian and Seeed Studio.
The bad news is that the sample v4 Bus Pirate board that arrived was not the 65 mm x 40 mm Bus Pirate v4.0a board size that my "clamshell" yabp case "-v3" was designed to fit.
The good news is that the sample v4 Bus Pirate board that arrived is the new 60 mm x 37 mm Bus Pirate v4 board size.
Well, no, apparently not. The sample v4 Bus Pirate board that arrived seems to be 63.50 mm x 36.83 mm.
The bad news is that the component locations on this sample v4 Bus Pirate board are unlikely to be the same as the production v4.0c Bus Pirate boards.
The good news is that if I can identify the correct "brd" CAD data for this sample v4 Bus Pirate board, cranking out the data for the correct replacement Shapeways SLS 3D printed case should only take me an hour or so.
The bad news is that replacement Shapeways SLS 3D printed case will only fit this v4 Bus Pirate board layout.
The good news is that anyone else who received this v4 Bus Pirate board will be able to buy their own copy of the case from Shapeways.

Does anyone know which version of the v4 Bus Pirate this board might be?
How about BusPirate-v4.brd [r1131]?

The Seeed Studio anti-static box is marked as follows:
[for developers]
TES102D2P
10/20/11
[/list]
[attachment=1]
[attachment=0]
Nominal archive of v4 Bus Pirate hardware data (link (http://http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/#svn%2Ftrunk%2FBus_Pirate%2Fhardware%2Fv4)).

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: ian on January 05, 2012, 09:55:19 am
Hi DSM,

I'm glad it finally got there. It only took two orders :)

Quote
How about BusPirate-v4.brd [r1131]?

Yes, based on your info (and my BPv4 production version) I believe that is the board they produced. The v4a is fit for a case that Seeed had, but then they decided another size would be better so we did not make that version.
Title: Re: yabp case
Post by: dsm on January 08, 2012, 01:12:53 am
[font=Georgia:]"clamshell" yabp case (v4fd) "-v1" images ~ I

I created a variant of the "clamshell" yabp case design to fit the sample v4 Bus Pirate board that ian arranged to be sent to me.
I am assuming that this board was based on the BusPirate-v4.brd [r1131] layout data.
This design has been uploaded the Shapeways site and I've ordered some prototype parts.

Note that this board is only intended to work with a specific preliminary v4 Bus Pirate board intended for developers.
See recent previous messages in this forum thread for more details.

Instead of the screws I had been using, this version of the "clamshell" yabp case uses neodymium magnets to hold the top case and bottom case together. This change should make it easier to open and close the case (no lost screws or stripped screws holes). The same configuration can now support both the Developer use case and the User use case (see the yaobls discussion thread for more details). The four 2.8 mm PTH mounting holes will need to be enlarged with a 3.2 mm (0.126") or a 1/8" (3.175 mm) drill before this scheme will work. I believe that the top and bottom conducting layers are at the same potential (GND) so no insulation will be required around the magnets, but there remains the question of whether the removal of the PTH top-to-bottom conduction path at the mounting holes will affect the electrical behavior of the circuitry.

[attachment=1]
[attachment=0]
[attachment=4]
[attachment=2][attachment=5][attachment=3]
The four LED light-pipes are assumed to be LPC020CTP parts (data (http://http://vcclite.com/led-light-pipes/lpc-4mm-round/)) (Mouser (http://http://www.mouser.com/)) (catalog (http://http://www.mouser.com/catalog/catalogUSD/644/170.pdf)).
The eight 3.0 mm diameter by 3.0 mm long neodymium magnets were ordered off eBay.

My main conclusion from this exercise is to not design a case until I have a board example in hand.

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: dsm on January 08, 2012, 06:54:02 am
[font=Georgia:]"clamshell" yabp case (v4fd) "-v1" images ~ II

There are some additional "clamshell" yabp case (v4fd) "-v1" images that may be of interest.
Note that this board is only intended to work with a specific preliminary v4 Bus Pirate board intended for developers.
See recent previous messages in this forum thread for more details.

[attachment=5]
[attachment=0]
[attachment=4]
[attachment=3]
[attachment=2]
[attachment=1]
The top case and bottom case are defined to be different materials for clarity in the section views.
The board and all components on the board are defined to be in the same material (sorry about that).
The light-pipes are defined to be transparent enough to see through (note the LEDs in the assembled top view image),
but colored enough so they don't disappear in the exploded images.
The LEDs are so close to the edge of the board that the light-pipes used cut into the side of the case.

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: ian on January 08, 2012, 10:01:04 am
As always, it looks really fantastic. I also think the magnets are a great connector idea, I really like them.
Title: Re: yabp case
Post by: dsm on January 08, 2012, 02:27:35 pm
[font=georgia:]additional comment

[quote author="dsm"]The four 2.8 mm PTH mounting holes will need to be enlarged with a 3.2 mm (0.126") or a 1/8" (3.175 mm) drill before this scheme will work. I believe that the top and bottom conducting layers are at the same potential (GND) so no insulation will be required around the magnets, but there remains the question of whether the removal of the PTH top-to-bottom conduction path at the mounting holes will affect the electrical behavior of the circuitry.[/quote]
I'm not quite out of the woods yet with this design because of the above board modification, although the top and bottom layers are still tied together by means of PTHs at the connectors and several vias scattered around the board.

[hr:][/hr:]
The BusPirate v3.5e and 4.0c designs both have non-PTH 3.2 mm mounting holes (which I firmly believe is the correct choice).
The top and bottom layers in both designs will be tied together by means of PTHs at the connectors and several vias scattered around the board.

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: dsm on January 28, 2012, 10:14:32 am
[font=Georgia:]"clamshell" yabp case (v4fd) "-v1" update

The "-v1" design "clamshell" v4fd yabp prototype case parts ordered 07Jan12 from Shapeways arrived back 18Jan12.
This case is intended to fit the sample v4 (for developers) Bus Pirate board that ian arranged to be sent to me.
Due to other tasks, I wasn't able to get around to slightly modifying the board and assembling the case until this evening.

Note that this board is only intended to work with a specific preliminary v4 Bus Pirate board intended for developers.
See recent previous messages in this forum thread for more details.

Case Assembly Procedure
The orientation of the magnets is intended to make sure that (a) the top and bottom case can't be assembled wrong and (b) to allow top and bottom cases from different production runs to be assembled correctly. The neodymium magnets are sufficiently strong that you can determine the "north" [1] and "south" [2] poles of the magnets by just letting the individual magnets roll around on a smooth table. The temporary precision spacer allows a 0.2 mm spacing between the top and bottom magnets.

Board Modification Procedure
Place the v4fd Bus Pirate board in the bottom case with the magnets in the board mounting holes.
The top and the bottom case will come together with an obvious "snap" and the resulting closure seems to be fairly robust.

Comments
[attachment=5]
[attachment=1]
[attachment=4]
[attachment=3]
[attachment=2]
[attachment=0]
Thanks for your time.

dsm

[1] "north" pole refers to the end of the magnet that is attracted to the earth's north magnetic pole.
[2] "south" pole refers to the end of the magnet that is attracted to the earth's south magnetic pole.[/font:]
Title: Re: yabp case
Post by: ian on January 28, 2012, 10:58:33 am
Very nice. The magnets make such nice enclosures. You comments about placement are noted, thank you.
Title: Re: yabp case
Post by: dsm on January 28, 2012, 08:14:18 pm
[font=Georgia:]Bus Pirate v3.5e or Bus Pirate v4c?

I'm pretty happy about the way the design eventually tuned out, although there were too many design iterations along the way.

[quote author="dsm"]My main conclusion from this exercise is to not design a case until I have a board example in hand.[/quote]
Any chance getting a Bus Pirate v3.5e board or Bus Pirate v4c board?
Bare boards would be okay, but loaded boards would be better.

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: ian on January 30, 2012, 09:50:57 am
PCBs are on the way. I do not have them yet, but I will mail them when I do. They will probably be unpopulated, though I am happy to send completed hardware when it is in production.
Title: Re: yabp case
Post by: dsm on January 30, 2012, 12:53:24 pm
[font=Georgia:]comment

ian,

Thanks very much.

Having some DP6037 size boards would make it easier to design an "alternate SOB size case design" enclosure with a clear acrylic top and bottom plus an improved magnetic case closure scheme.

Just for fun, I sent you one of the assembled Bus Pirate v4fd cases described above. It should arrive in couple days.
The magnet wells were tight enough so that the magnets stayed in place without any glue, but loose enough so that the magnets could be pressed into place by hand. The neodymium magnets were ordered off eBay and were relatively inexpensive.

I also included a small icosahedron (generated from three golden rectangles at right angles to each other). I fabricated this design to get a handle on the strength of nylon objects printed using the Shapeways SLS 3D printing process versus typical FDM 3D printing. The edges are 2.0 mm in diameter and the skeletonized golden rectangles are 1.0 mm thick.  Try squeezing the icosahedron at two opposing vertices (not the edges) and you'll see what I mean.

Enjoy!

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: ian on January 30, 2012, 01:11:54 pm
Very cool. Thank you so much. I look forward to seeing it. We are going to finalize the PCB footprints this week and I will send them out for samples. Vimark is going to add the keepout, USB placement, and edge keepout as suggested.
Title: Re: yabp case
Post by: dsm on February 04, 2012, 10:38:55 pm
[font=Georgia:]did the package arrive?

The package was sent via USPS first class parcel post on Monday, 30Jan12.
I should have added tracking so I wouldn't have to ask this question, but did the package arrive?

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: ian on February 05, 2012, 12:22:18 pm
No, not yet. It usually takes about 5 days, so I'm sure it will show up soon.

Just to check - you did send it to my .nl address?
Title: Re: yabp case
Post by: dsm on February 05, 2012, 10:58:42 pm
[font=Georgia:]D'oh!

ian,

See private message.

Thanks for your time.

dsm[/font:]
Title: Re: yabp case
Post by: Tamagotono on October 18, 2012, 01:16:04 am
I know I am resurrecting a long dead thread, but was this case ever finalized? I am the proud owner of a BPv4 but am in dire need of a case and would love to have one of this style.

If it was finalized, where can I buy it or download the files to have one made?
Title: Re: yabp case
Post by: arakis on October 18, 2012, 10:04:35 am
It's not being sold by Dangerous prototypes, but DSM has posted his designs on Shapeways and made them available for anyone to buy...

http://www.shapeways.com/model/431530/c ... sm-v1.html (http://www.shapeways.com/model/431530/clamshell-yabp-case-v4fd-bottom-dsm-v1.html)
http://www.shapeways.com/model/431532/c ... sm-v1.html (http://www.shapeways.com/model/431532/clamshell-yabp-case-v4fd-top-dsm-v1.html)

( ! ) 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.03622429928session_write_close ( )...(null):0
20.03652561520ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.03652562296Database_MySQL->query( ).../DatabaseHandler.php:119
40.07902701032Database_MySQL->error( ).../Db-mysql.class.php:273