User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

B+ HAT Eagle CAD template

Wed Jul 23, 2014 12:48 am

Hi,

You're welcomed to download the B+ HAT template (sch & brd) for Eagle CAD:
http://www.flyfish-tech.com/pub/RasPi-BplusHAT.zip

The template contains ID EEPROM and its related elements, with body sizes suitable also for hand-soldering (SOIC8 & 0805):
Image


P.S. Use it freely & at your own risk...


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

User avatar
TonyD
Posts: 439
Joined: Thu Sep 08, 2011 10:58 am
Location: Newcastle, UK
Contact: Website

Re: B+ HAT Eagle CAD template

Wed Jul 23, 2014 1:00 pm

Thanks for sharing Ivan.

I'd already designed one using DesignSpark PCB before the new HAT outline was announced with cut-outs and EEPROM.
Tony

James Adams
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 94
Joined: Wed Mar 19, 2014 2:58 pm
Location: Cambridge

Re: B+ HAT Eagle CAD template

Wed Jul 23, 2014 3:25 pm

Wow thanks for this guys that was quick ;-)
Note I updated the board mech. spec today with some notes on how to do mounting holes the 'recommneded' way - i.e. make sure they are isolated (NOT electrically connected to GND or any other net) and preferably non plated (non plated holes can generally be drilled to tighter tolerances). Basically make them the same as on a B+ and you're good.
James Adams
Raspberry Pi - COO & Hardware Lead

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: B+ HAT Eagle CAD template

Wed Jul 23, 2014 5:29 pm

Hi,
James Adams wrote: make sure they are isolated (NOT electrically connected to GND or any other net) and preferably non plated (non plated holes can generally be drilled to tighter tolerances). Basically make them the same as on a B+ and you're good.
Yes, this was all considered and the template follows that, thanks.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

User avatar
panik
Posts: 369
Joined: Fri Sep 23, 2011 12:29 pm
Location: Netherlands

Re: B+ HAT Eagle CAD template

Thu Jul 24, 2014 11:49 am

Since the spec is defined in metric and Eagle works with imperial, the header in my version is 0.0005" off compared to yours. It's all well within tolerance and it's going to fit, but I think I prefered imperial in the spec (as a big proponent of the metric system I can't believe I'm actually saying this).

I also noticed the rounded corners on the display flex cutout in your version are a bit too big. Spec says R=2mm, and I think yours are 3 or 3.5?
Microcontroller addon boards and software for Raspberry Pi A+/B+/Pi2:
- ARMinARM: ARM Cortex-M3 (STM32)
- AVRPi: ATmega32U4 & ATmega328 ("Arduino")
http://www.onandoffables.com

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: B+ HAT Eagle CAD template

Thu Jul 24, 2014 1:04 pm

Hi,

Thanks for the detailed check... Please raad the answer below and let me know if there is an error in the answer of the template.
panik wrote:Since the spec is defined in metric and Eagle works with imperial
In Eagle you can switch between metric and imperial on the fly. During this template creation I switched this probably 5 or 6 times (to metric for outline and to imperial for components placement).
panik wrote:the header in my version is 0.0005" off compared to yours.
Displayed offset might occur due to some rounding. If you switch to metric and check the dimensions, they should match.
panik wrote:I also noticed the rounded corners on the display flex cutout in your version are a bit too big. Spec says R=2mm, and I think yours are 3 or 3.5?
Optical illusion... ;-)
You can check the radius numerically in the following way:
- take a look to info about the rounded corner (start point and end point coordinates),
- if these two points are [2,2]mm apart and the angle of the curve is 90 (or -90) degrees, then the radius is 2mm. :-)


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

User avatar
panik
Posts: 369
Joined: Fri Sep 23, 2011 12:29 pm
Location: Netherlands

Re: B+ HAT Eagle CAD template

Thu Jul 24, 2014 5:51 pm

Ah yes, it seems you're right. I've probably only looked at it with my third eye. But even with my real eyes they look much smaller in the pdf. Sorry to cause confusion! I don't have the display slot on my own board so I didn't measure twice as I did with the rest.

And switching between metric and imperial is a pain in the third eye. Mine was off because yours is more precise. :)
Microcontroller addon boards and software for Raspberry Pi A+/B+/Pi2:
- ARMinARM: ARM Cortex-M3 (STM32)
- AVRPi: ATmega32U4 & ATmega328 ("Arduino")
http://www.onandoffables.com

User avatar
panik
Posts: 369
Joined: Fri Sep 23, 2011 12:29 pm
Location: Netherlands

Re: B+ HAT Eagle CAD template

Sat Jul 26, 2014 3:11 pm

Just a heads-up; as it turns out, the "R=2mm" in the drawing is a mistake. It should be "R=1mm" (same as the camera slot). See @James Adams' comment here: http://www.raspberrypi.org/forums/viewt ... 68#p585768

It's not fixed in the pdf yet, but I'm sure it will be soon.
Microcontroller addon boards and software for Raspberry Pi A+/B+/Pi2:
- ARMinARM: ARM Cortex-M3 (STM32)
- AVRPi: ATmega32U4 & ATmega328 ("Arduino")
http://www.onandoffables.com

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: B+ HAT Eagle CAD template

Sat Jul 26, 2014 6:48 pm

Hi,
panik wrote:Just a heads-up; as it turns out, the "R=2mm" in the drawing is a mistake. It should be "R=1mm"
Ok, I've updated the template (URL of the zip is the same, as listed in my initial message).

In this zip I added also a second template, version with camera slot:
Image


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

User avatar
eightbit
Posts: 3
Joined: Sun Sep 09, 2012 5:42 pm

B+ HAT EAGLE component library

Thu Jul 31, 2014 5:20 pm

Hi Ivan, James & all,

I have created a full-blown EAGLE component library which contains (among other boards & shapes) the RasPi model B+ HAT.
You can get it from the CadSoft library download area at
http://www.cadsoftusa.com/downloads/libraries

Some of the designs which I've created with a predecessor of this library can be seen
in Martin's Bastelstube --> http://bastelstube.rocci.net/projects/M ... -GPIO.html.

Please send any kind of comments / complaints / bug reports / improvement proposals etc. to me.
-- eightbit

dickon
Posts: 216
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, just outside Reading

Re: B+ HAT Eagle CAD template

Thu Aug 28, 2014 12:28 am

I have created a full-blown EAGLE component library which contains (among other boards & shapes) the RasPi model B+ HAT.
Really handy, thankyou.

I'm an utter novice at this sort of thing, though, and I can't seem to get Eagle to autoroute from the top row of pins to anything else I place on the board. What am I doing wrong? I'm assuming that it thinks the tolerances are too tight, but even making the nets thinner doesn't seem to help.

I realise this is a clueless-newbie sort of post, but I'm hoping someone can help...

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: B+ HAT Eagle CAD template

Thu Aug 28, 2014 11:07 am

Hi,
dickon wrote:I can't seem to get Eagle to autoroute from the top row of pins to anything else I place on the board. What am I doing wrong? I'm assuming that it thinks the tolerances are too tight, but even making the nets thinner doesn't seem to help.
Trace width is just one parameter. What might prevent autorouting success is clearance - check values of these parameters.

Hint to find out which parameter should be aligned (if you _really_ need to use autorouter): create manual trace and verify the design -> an error/warning will list conflict details.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

dickon
Posts: 216
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, just outside Reading

Re: B+ HAT Eagle CAD template

Thu Aug 28, 2014 12:54 pm

Mmm, thanks.

Reducing the size of the pads to something closer to what other components have has sorted it, and seemingly not violated one of the design rulesets from one of the random board producers out there. It'll probably be harder to solder, but I'm fairly sure I'll cope...

wormwood23
Posts: 1
Joined: Tue Nov 11, 2014 4:32 pm

Re: B+ HAT Eagle CAD template

Tue Nov 11, 2014 4:35 pm

Does anyone know a fabricator/circuit board printer out there that will actually print these, rounded corners and all?

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 9594
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: B+ HAT Eagle CAD template

Tue Nov 11, 2014 7:12 pm

Most companies will happily make PCB's with rounded corners, http://www.eurocircuits.com/ is one of them.

drbissonnette
Posts: 1
Joined: Thu Feb 05, 2015 4:49 pm

Re: B+ HAT Eagle CAD template

Wed Sep 23, 2015 3:28 pm

Thanks for this, I needed the basic layout for a hat I'm making with RJ11 connectors to the GPIO pins.

maqister
Posts: 4
Joined: Sun Jun 26, 2016 1:11 pm

Re: B+ HAT Eagle CAD template

Sat Jul 09, 2016 11:33 am

Hello,

I do not understand one thing about EEPROM connection in the HAT standard.
https://github.com/raspberrypi/hats/blo ... ircuit.png

Does asserting EEPROM jumper shortens 3V3 to GND?
In my understanding shortening 3V3 to GND would damage entire Raspberry Pi and HAT, right?

Best Regards,
Krystian

User avatar
rpdom
Posts: 11698
Joined: Sun May 06, 2012 5:17 am
Location: Essex, UK

Re: B+ HAT Eagle CAD template

Sat Jul 09, 2016 5:47 pm

If you mean the J3 header, it doesn't short 3V3 to ground. It just pulls the WP pin low to enable programming. When not connected the WP pin is pulled high through R1 (1K) to 3V3.

JohnKoz
Posts: 4
Joined: Mon Feb 06, 2017 11:04 pm

Re: B+ HAT Eagle CAD template

Mon Feb 06, 2017 11:12 pm

Hi, sorry for the remedial question, I'm new to PCB board design.
I downloaded the HAT template that FlyFish shared, and added the component from raspberrypi_bastelstube_v13.
It is a single image of a hat board with a connector.

CORRECTION 2/8: the RASPI_BOARD_B+HAT component pictured here is from the raspberrypi_bastelstube_v13 (http://eagle.autodesk.com/eagle/download/254) library, not the FlyFish brd/sch download in this thread.

How do I drop components on the board surface and align them to this template, do I just align by site over the image, then remove the image later? Do I add my own connector, or route lan's to the existing image?
(I attached a screenshot of an example hat template)

Thanks

-John
Attachments
SampleEagleTemplate.png
SampleEagleTemplate.png (12.68 KiB) Viewed 5237 times
Last edited by JohnKoz on Wed Feb 08, 2017 5:41 pm, edited 1 time in total.

aBUGSworstnightmare
Posts: 569
Joined: Tue Jun 30, 2015 1:35 pm

Re: B+ HAT Eagle CAD template

Wed Feb 08, 2017 5:45 am

JohnKoz wrote:Hi, sorry for the remedial question, I'm new to PCB board design.
I downloaded the HAT template that FlyFish shared, and added the component from raspberrypi_bastelstube_v13.
It is a single image of a hat board with a connector.

How do I drop components on the board surface and align them to this template, do I just align by site over the image, then remove the image later? Do I add my own connector, or route lan's to the existing image?
(I attached a screenshot of an example hat template)

Thanks

-John
You can make a serious design, means put components on a schematics page, wire them up, etc. Then change to PCB and place/route them.
Or you can do a 'simple' approach and just add packages to a PCB and connect them by wires.

Both actions are related to 'How to use Eagle ECAD tool' and not related to Raspberry Pi. So I suggest to look at some online videos showing how to use Eagle before you proceed with your HAT design.

JohnKoz
Posts: 4
Joined: Mon Feb 06, 2017 11:04 pm

Re: B+ HAT Eagle CAD template

Wed Feb 08, 2017 11:55 am

Sorry, I didn't mean to let my PCB experience overshadow my simple question. I have designed PCB's, and already had them manufactured. I've drawn schematics and performed all the steps you mentioned, I consider myself proficient at this point.

My question was just how to utilize the template generously provided in this Raspberry Pi thread. The component is a picture (shown above) with no ability to connect or anchor components, since it is just an image. Placing components on the surface will allow me to interconnect components to each other as usual, but I don't know if I'm expected to try and connect them to the provided template, or if that is just a to-scale picture of the board, which is to be removed after components are aligned.

I asked the question on this thread, because it provided the context and the original poster who provided the template, and the targeted audience using it.

-John

JohnKoz
Posts: 4
Joined: Mon Feb 06, 2017 11:04 pm

Re: B+ HAT Eagle CAD template

Wed Feb 08, 2017 5:38 pm

My apologies to readers of this thread, I confused 2 links. :oops: One was the link provided in this thread, which was to an actual board and schematic.
The other was actually the subject of my question, which was not related to this thread. My question was actually regarding the following library: http://eagle.autodesk.com/eagle/download/254, specifically the RASPI_BOARD_B+HAT component. That is the image which appears in my question. As it is not a brd/sch file, but simply a component, I was asking how it was intended to be used.

Again, my sincere apologies to @aBUGSworstnightmare and other readers of this thread.
I've pursued my question elsewhere, as to not ware out my welcome on this Raspberry Pi forum. I will post my answer here for completeness when I figure it out.

-John

aBUGSworstnightmare
Posts: 569
Joined: Tue Jun 30, 2015 1:35 pm

Re: B+ HAT Eagle CAD template

Wed Feb 08, 2017 8:07 pm

JohnKoz wrote:My apologies to readers of this thread, I confused 2 links. :oops: One was the link provided in this thread, which was to an actual board and schematic.
The other was actually the subject of my question, which was not related to this thread. My question was actually regarding the following library: http://eagle.autodesk.com/eagle/download/254, specifically the RASPI_BOARD_B+HAT component. That is the image which appears in my question. As it is not a brd/sch file, but simply a component, I was asking how it was intended to be used.

Again, my sincere apologies to @aBUGSworstnightmare and other readers of this thread.
I've pursued my question elsewhere, as to not ware out my welcome on this Raspberry Pi forum. I will post my answer here for completeness when I figure it out.

-John
the .zip-file in the first post contains two sets of .sch+brd for a HAT with and without slots. Use them as a template, adding components to the schematics page. The GPIO connector is placed correctly already.

JohnKoz
Posts: 4
Joined: Mon Feb 06, 2017 11:04 pm

Re: B+ HAT Eagle CAD template

Wed Feb 08, 2017 10:42 pm

I'm able to close out the answer to my own question. I had mistakenly added the component (from the library) directly to my board layout, instead of my schematic. As such, it only existed there as an image, instead of an electrical component.
Adding it instead to the schematic, gave me an electrical component I could interconnect my other components to as usual, for a complete Hat.
Moving then to the board layout, everything appeared in the proper layer as expected, including: Vias, Holes, Pads, Dimensions, etc.
Thanks for the replies and the patience.

-John

Return to “B+ addons”

Who is online

Users browsing this forum: No registered users and 1 guest