BluePill breakout boards

What are you developing?
User avatar
RogerClark
Posts: 7436
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

BluePill breakout boards

Post by RogerClark » Sat Sep 09, 2017 10:43 pm

Guys

I've developing a number of breakout boards for the BluePill, using KiCad

I could not find an existing KiCad symbol for the BluePill, so I'm developing my own
BluePill_STM32F103C.png
BluePill_STM32F103C.png (26.12 KiB) Viewed 530 times
I didnt initially have the SWD connections on the schematic symbol, but it would be technically possible to remove the header that comes presoldered on those pins and then access PA13 and PA14

(It would potentially be better if the manufacturer did not pre-solder the header)

The only issue with having those pins on the schematic symbol is that I get an error if they are not on the PCB footprint - though you can ignore the error and KiCad lets you carry on.

I could add those pins to the footprint - or probably just PA13 and PA13 and not bother with Vcc and Gnd, as the board already has loads of those.....

Having though holes for these does get in the way, a little, with the routing, but I don't think its a big problem....


I've also created a symbol for the ILI9341 SPI + Touch + SD display.
ILI9341_SPI_Touch_SD.png
ILI9341_SPI_Touch_SD.png (22.33 KiB) Viewed 530 times
and also the OV7670 camera module
OV7670_unbuffered_module.png
OV7670_unbuffered_module.png (22.33 KiB) Viewed 530 times
I will eventually put these in github, but at the moment, I'm still having to make changes to both the symbols and the footprints, so won't commit them until I know they are OK. Which won't be until I get the PCBs


With the BP, I have put in some of the dual use pin names, but need to update for Serial 3 i.e TX3 and RX3, but if anyone can see what else I've missed, can you let me know.

BTW. I'm not going to label the Alternate uses of pins as the symbol would get unnecessarily cluttered

User avatar
RogerClark
Posts: 7436
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: BluePill breakout boards

Post by RogerClark » Sun Sep 10, 2017 7:59 am

I think the libs may be usable.

If anyone fancies looking to see if they can see any errors, please feel free
kicad_libs.zip
(5.62 KiB) Downloaded 23 times

User avatar
Vassilis
Posts: 320
Joined: Thu May 21, 2015 6:42 am
Location: Thessaloniki, Greece
Contact:

Re: BluePill breakout boards

Post by Vassilis » Sun Sep 10, 2017 10:22 am

@Roger

I copied the bluepill_breakouts.dcm and bluepill_breakouts.lib into C:\Program Files\KiCad\share\kicad\library
and the folder BluePill_breakouts.pretty into C:\Program Files\KiCad\share\kicad\modules but the bluepill component is not visible to the Kicad (Windows 10).

Any suggestion ?

User avatar
RogerClark
Posts: 7436
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: BluePill breakout boards

Post by RogerClark » Sun Sep 10, 2017 10:57 am

Vassilis

I have my libs in a separate folder. I didnt think you were supposed to put your own libs in with the default KiCad libs
(Window's permissions are also hostile to putting your own files in the "Program Files\..." tree

Try putting them somewhere inside "My Documents" and then in the Schematic Editor (Or the Part Library Editor) use

Preferences->Component Libraries-> "Component library files - Add"

To Add the lib file for the schematic symbol

For the Footprint (PCB Symbol), you'll need to add it to the Footprint editor using

Preferences->Footprint libraries wizard

User avatar
Vassilis
Posts: 320
Joined: Thu May 21, 2015 6:42 am
Location: Thessaloniki, Greece
Contact:

Re: BluePill breakout boards

Post by Vassilis » Sun Sep 10, 2017 7:18 pm

It worked. Thanks Roger!
It would be good to add the 3d package of the Bluepill. I saw that FreeCAD is capable of creating such parts.It needs a lot of work of course


User avatar
RogerClark
Posts: 7436
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: BluePill breakout boards

Post by RogerClark » Sun Sep 10, 2017 9:07 pm

Yes.

3D would be nice, but I have no idea who to create the 3D, and not the time build it.

Edit.

It looks like OpenSCAD files can be used, but they need to be resaved via meshlab, as Wings3D needs binary format STL files and OpenSCAD exports plain text STL.

FreeCad looks interesting, but I have used OpenSCAD, so that would be an easier way for me to create the 3D.

Its just a shame that the process to create the VRML files involves so many different programs.

User avatar
RogerClark
Posts: 7436
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: BluePill breakout boards

Post by RogerClark » Mon Sep 11, 2017 6:54 am

Still lots of work to do :-(
bp_openscad.png
bp_openscad.png (40.06 KiB) Viewed 441 times

User avatar
RogerClark
Posts: 7436
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: BluePill breakout boards

Post by RogerClark » Mon Sep 11, 2017 7:44 am

arrrgghhh..

Just realised that the export in STL to go to Wings3D does not contain any colour information :-(

So each pin etc needs to be selected and the colour set etc

Perhaps FreeCad has an export method to Winds3D which includes colour

zmemw16
Posts: 1484
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: BluePill breakout boards

Post by zmemw16 » Mon Sep 11, 2017 7:54 am

you'll probably spend more time looking for one that does do it and in learning how to :D
srp

User avatar
RogerClark
Posts: 7436
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: BluePill breakout boards

Post by RogerClark » Mon Sep 11, 2017 8:36 am

zmemw16 wrote:
Mon Sep 11, 2017 7:54 am
you'll probably spend more time looking for one that does do it and in learning how to :D
srp
I've done some research and it looks like there is no other option, except to use Wings3D to colour the model, whether it comes from FreeCad or OpenSCad

Post Reply