# STM32F303 STM32F103 RobotDyn BlackPill

**URL:** <https://forum.fritzing.org/t/stm32f303-stm32f103-robotdyn-blackpill/7623>\
**Category:** parts submit\
**Created:** [November 4, 2019, 6:07am UTC](https://forum.fritzing.org/t/stm32f303-stm32f103-robotdyn-blackpill/7623 "2019-11-04T06:07:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluefox](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/a587f6/32.png) [@bluefox](https://forum.fritzing.org/u/bluefox)\
**Post date:** [November 4, 2019, 6:07am UTC](https://forum.fritzing.org/t/stm32f303-stm32f103-robotdyn-blackpill/7623/1 "2019-11-04T06:07:35Z")

</div>

Hello everyone.  
I made a RobotDyn BlackPill.  
How about it?

 ![image](https://forum.fritzing.org/uploads/default/original/2X/4/404a322a0a47c209d60f3d0433af1ee0238c1ff5.png)

[STM32MINI.fzpz](https://forum.fritzing.org/uploads/default/original/2X/8/87084d0441bc9a6408c3b155a1dd6aaadf0a4bc2.fzpz) (60.1 KB)

---

<div class="post-metadata">

**Author:** ![KjellM](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@KjellM](https://forum.fritzing.org/u/KjellM)\
**Post date:** [November 4, 2019, 9:54am UTC](https://forum.fritzing.org/t/stm32f303-stm32f103-robotdyn-blackpill/7623/2 "2019-11-04T09:54:28Z")

</div>

It looks great, and Breadboard view works fine.  
If I connect a resistor on the Breadboard, it shows fine in PCB, as in the screenshot

But if I connect something (C1) to any PIN in PCB view, it is always connected to the center,  
which seems to be SCK in the other views.

 ![image](https://forum.fritzing.org/uploads/default/original/2X/b/bfb75339fea1e0b6d8a7a271f007ff96f4150b0a.png)

---

<div class="post-metadata">

**Author:** ![bluefox](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/a587f6/32.png) [@bluefox](https://forum.fritzing.org/u/bluefox)\
**Post date:** [November 4, 2019, 12:07pm UTC](https://forum.fritzing.org/t/stm32f303-stm32f103-robotdyn-blackpill/7623/3 "2019-11-04T12:07:19Z")

</div>

I understand the phenomenon. However, I do not understand the cause well.  
Please give me a time. Investigate.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [November 5, 2019, 3:09am UTC](https://forum.fritzing.org/t/stm32f303-stm32f103-robotdyn-blackpill/7623/4 "2019-11-05T03:09:48Z")

</div>

While attempting to fix this on your own is a laudable goal, it likely isn’t too practical because parts creation is mostly undocumented (I’m trying to change that, but it is slow going.) The usual way (and the way I learned to make parts) is to ask for help in here. We (which has mostly come down to I, because those I learned from are no longer posting here) don’t mind helping people learn to make parts because we all benefit from new parts. That said your part is mostly pretty good, it has a number of problems, but with a few of them fixed it works. I then took your part and modified it to the point where it could be submitted to core parts. While doing that I fixed your original part up enough that it now works in pcb. The red rectangle in the image Kjell posted above is because connector49 and connector50 are connector49pin in the fzp file but connector49pad in the pcb svg file. Thus the connector effectively does not exist in pcb, and the red rectangle appears. There were also some grouping problems (connectors not in the copper group, and copper1 was missing). With those corrected we get this:

 ![pcb](https://forum.fritzing.org/uploads/default/original/2X/8/80c2ccb7f8f413ab877c8536a83555f4595fd1fb.PNG)

Looks OK here but looks are deceiving. The gerber drill file indicates the holes are all 0.028137in rather than the correct 0.038in for a .1in header pin to fit.

; NON-PLATED HOLES START AT T1  
; THROUGH (PLATED) HOLES START AT T100  
M48  
INCH  
T100C0.028137  
…

You will also note my copy has no text in pcb view. This is the normal convention. If the user wants text there, it can be added to the sketch, if it is in the part, to remove the text you need make a new part without the text. Leaving the text out of pcb is the most flexible for the user. Schematic works but has some problems. It is not on .1 boundaries and lacks terminalIds. The lack of terminalIds causes the wire to connect to the center of the pin rather than the correct action of connecting at the end of the pin as in my part on the left"

 ![schematic](https://forum.fritzing.org/uploads/default/original/2X/3/372869101247ca513762959fd48460a056a1fbbe.PNG)

The connections are routed at a 45 degree angle so it is obvious if the terminalId is not correctly placed. Here is a copy of my corrected part, which has a new moduleId and thus (as we see here) will load along side your original part. The original part that I modified enough to work in pcb will be in the temp parts bin when the fzz file below is loaded. You can edit it with parts editor, and save as a new part to get a copy that will load beside your original part so see what I did. In the new part schematic is completely new, I used the simple template from, this tutorial to make it:

> [@Schematic svg template howto](http://forum.fritzing.org/t/schematic-svg-template-howto/7583):
>
> This is a Fritzing schematic template file for use when you want to make a schematic svg from scratch (which I usually do as I find it easiest). It is set to the proper scale as explained in this howto and the fonts, font sizes and colors match those called for in the graphics standards here: [http://fritzing.org/fritzings-graphic-standards/](http://fritzing.org/fritzings-graphic-standards/) This simple one has connectors with terminalIds and labels on all 4 sides of the rectangle with the text-anchor set to the value appropate for the posit…

I also rescaled all the svgs (the procedure is referenced in the template posting.) As noted if you have questions feel free to ask in here. Here is a copy of the improved part (it too will be in the temp bin of the fzz file but this is easier to get at):

[STM32MINI-corrected.fzpz](https://forum.fritzing.org/uploads/default/original/2X/1/1b1c7b9910207ca1d1ea973d005f16cd8041ce3e.fzpz) (27.0 KB)

and then a copy of the test sketch:

[test-Sketch.fzz](https://forum.fritzing.org/uploads/default/original/2X/d/d637db3086b80aa6431f1c943b562c3b785ad7de.fzz) (132.9 KB)

Hope this helps.

Peter

---

<div class="post-metadata">

**Author:** ![bluefox](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/b/a587f6/32.png) [@bluefox](https://forum.fritzing.org/u/bluefox)\
**Post date:** [November 5, 2019, 4:20am UTC](https://forum.fritzing.org/t/stm32f303-stm32f103-robotdyn-blackpill/7623/5 "2019-11-05T04:20:01Z")

</div>

vanepps  
Thank you very much.  
I was impressed.

As a result of the amateur’s hands, it has caused you trouble. I’m sorry.

We will continue to use this site in the future.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [November 5, 2019, 4:32am UTC](https://forum.fritzing.org/t/stm32f303-stm32f103-robotdyn-blackpill/7623/6 "2019-11-05T04:32:09Z")

</div>

> [@bluefox](#):
>
> As a result of the amateur’s hands, it has caused you trouble. I’m sorry.

Not trouble, as I said this how I learned to make parts from those who know more than I do. I’m just passing their help onwards. We all gain when more people make parts.

Peter

---

<div class="post-metadata">

**Author:** ![PePeL](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/p/b3f665/32.png) [@PePeL](https://forum.fritzing.org/u/PePeL)\
**Post date:** [January 31, 2024, 2:10pm UTC](https://forum.fritzing.org/t/stm32f303-stm32f103-robotdyn-blackpill/7623/7 "2024-01-31T14:10:47Z")

</div>

Sorry for digging out such old thread but I need help with similar device.  
I was trying to do it myself but inkscape is for me a black magic.  
I’m trying to design circuit with STM32F401:

 ![Blackpill_Pinout](https://forum.fritzing.org/uploads/default/original/3X/2/0/20e9543bb291fd60a7c3611b8ab6daa6fc0534db.jpeg)

It matches component designed above just pins are placed differently.

Would anyone be able to help me with that?

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [February 1, 2024, 3:34am UTC](https://forum.fritzing.org/t/stm32f303-stm32f103-robotdyn-blackpill/7623/8 "2024-02-01T03:34:46Z")

</div>

This part should do what you want.

[weact-studio-black-pill.fzpz](https://forum.fritzing.org/uploads/short-url/6XENZ7WpzTqGxXSdKfeaSVeEUkx.fzpz) (13.7 KB)

Peter
