KiCad STM32 Hardware Design - An Overview in 20 Minutes - Phil's Lab #15

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 มิ.ย. 2024
  • Visit jlcpcb.com for $2 for five 2-layer PCBs and $5 for five 4-layer PCBs.
    Overview of how to design simple, 2-layer, STM32-based hardware (PCBs) in KiCad - covering the main aspects in roughly 20 minutes! A very reduced version of the 'original' 3hr videos. Essentially, a bread-board friendly STM32F1 breakout board with USB power - very similar to Blue Pill modules.
    Going through schematic design (power, STM32, crystal, USB, etc.), layout and routing, and ordering via JLCPCB for PCB manufacture and assembly.
    PCB design course survey: docs.google.com/forms/d/e/1FA...
    JLCPCB:
    - $2 coupon code "JLC-REBE" valid forever for PCB order
    - jlcpcb.com/RHS
    Git: github.com/pms67/STM32F1-Brea...
    Website - www.philsal.co.uk
    Patreon - / phils94
    [TIMESTAMPS]
    00:00 Thank you and PCB Design Course Survey
    00:47 PCB Overview
    01:00 Part Selection
    01:32 Schematic Overview
    01:58 USB Power and LDO Regulator
    03:31 STM32F1 Microcontroller
    05:05 STM32 Decoupling Capacitors
    06:33 NRST and BOOT0 Pins
    07:43 Crystal Oscillator (HSE)
    09:07 USB Data Pins (+ External Pull-Up)
    09:53 Serial Wire Debug (SWD)
    10:30 GPIO Header Connectors
    11:08 Annotation and ERC
    11:56 Footprint Selection
    12:21 PCB Layout and Sectioning Overview
    12:57 3D Viewer
    13:15 Power Section and Routing Power Traces
    14:18 STM32 Layout and Routing (Decoupling caps, crystal, etc.)
    15:20 Vias (Connections to Ground Plane)
    16:19 Differential Pair Routing (USB)
    17:08 Design Rule Check (DRC)
    17:24 Silkscreen (Text, Designators, Component Orientation Indicators)
    18:24 Hiding JLCPCB Serial Number
    18:52 Exporting Manufacturing and Assembly Files (Gerber, Pick and Place, BOM)
    20:10 Ordering PCBs with Assembly at JLCPCB.com
    ID: QIBvbJtYjWuHiTG0uCoK
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 274

  • @PhilsLab
    @PhilsLab  3 ปีที่แล้ว +32

    A really condensed version of the 'original' 3hr-long KiCad + STM32 PCB design video. This time using a different MCU with minimal peripherals. As mentioned in the video, it would really help me out if you could fill out the brief survey regarding a paid PCB-design course: bit.ly/3pPgXym
    Additionally, if you'd like to support the channel even further, I have a Patreon page set-up: www.patreon.com/phils94
    Thanks again for watching - next video will be on 'FIR Filter Design and Software Implementation'! :)

  • @mikael5743
    @mikael5743 3 ปีที่แล้ว +60

    This channel quality is superb. Thank you Phil, we appreciate your hard work

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +2

      Thank you so much, Mikåel - very glad to hear that! :)

  • @bccoli
    @bccoli 3 ปีที่แล้ว +18

    I am starting to learn STM32 and your videos are GEM!!! Thank you!!

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +2

      That's great to hear, thank you!

  • @cpuchip
    @cpuchip 3 ปีที่แล้ว +2

    I really like how simple you're projects are here in these videos, it makes it super approachable and easy to digest. Thank you.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      I'm glad you like the format, thank you!

  • @clintmilner2365
    @clintmilner2365 3 ปีที่แล้ว

    This video was so detailed and a complete story from idea to manufacture. This is exactly what I have been wanting to find. Thank you for this.
    And also, thank you for no loud, annoying intro and out-tro music. ;)

  • @dehCremus
    @dehCremus 3 ปีที่แล้ว +1

    Congrats on 20K Phil! Have been watching your vids for some time now, they never let me down! STM32 is always fun, I've been focussing on ESP32 lately, also very fun! Great little chip for IOT projects. Cheers

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you very much, Christiaan! I've actually never played around with ESP32, probably should because lots of people keep mentioning them!

  • @xRevollt
    @xRevollt 3 ปีที่แล้ว +1

    Just recently discovered your channel and I have to say you really are crushing it. Quality is way up there!

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you very much, Manuel!

  • @radman999
    @radman999 3 ปีที่แล้ว

    Phil, thank you so much for your work here. You have helped me immensely!

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      I'm very glad to hear that, thank you for watching!

  • @miguelflores-acton8581
    @miguelflores-acton8581 11 หลายเดือนก่อน

    Perfect video for those getting started with custom stm32 boards

  • @kekecjan
    @kekecjan 3 ปีที่แล้ว +1

    As student of electronics i really enjoy watching your videos. I learned a lot , thanks again.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Awesome, thank you for watching, Jan!

  • @videoteca_juanjo
    @videoteca_juanjo 3 ปีที่แล้ว

    Extremely useful, as always. It is even better to watch this video in context with the other STM32 design with Kicad videos.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you very much, Juanjo!

  • @onepeace3228
    @onepeace3228 3 ปีที่แล้ว +1

    Thank you so much Phil! You're really helping me out with these tutorials 🙏🏼

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Awesome, thank you for watching!

  • @cornevanzyl5880
    @cornevanzyl5880 3 ปีที่แล้ว +2

    Your channel has been GROWING! :) your content is quality man. Keep it up, 100k is coming soon

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thanks a lot, Corne! Haha 100k would be the dream :D

  • @CuriousScientist
    @CuriousScientist 2 ปีที่แล้ว +1

    I just want to thank you this extremely useful tutorial. I haven't downloaded any of your files, but I followed what you did in the video step by step and with tiny modifications I made a similar STM32 board. You compressed a huge amount of information into this video without making it hard to understand. The footprint assignment part was particularly useful for me because I had no prior knowledge on that topic. Once again, thank you for this informative and well-structured video!

    • @PhilsLab
      @PhilsLab  2 ปีที่แล้ว +1

      Thank you very much, very glad to hear your feedback!

  • @JasemMutlaq
    @JasemMutlaq 3 ปีที่แล้ว +2

    I'm going to re-build this simple board as it is the best way to learn and then double check it against your Github. Should be my first order with JLCPCB. I will definitely let them know I came from here, you deserve all the support you can get for this outstanding channel!

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      That's awesome, Jasem. Thank you for letting JLCPCB know that you've come to them from this video! :)

  • @lukerumbaugh259
    @lukerumbaugh259 2 ปีที่แล้ว

    Appreciate this Phil, really helped clear up some things I was uncertain about using STM32 datasheet and reference manual. Used your tutorial to make a breakout board for a simpler STM32 TSSOP-20 for my microcontrollers class. Also appreciated your "small" comments and pro tips along the way like ferrite bead, one decoupling cap per VDD pin, etc. Thanks a lot!

    • @PhilsLab
      @PhilsLab  2 ปีที่แล้ว

      Thank you very much for your kind comment, Luke!

  • @diggleboy
    @diggleboy 3 ปีที่แล้ว +1

    Thank you for all you do, Phil! 👏👏✌
    I'll pay for the course for sure! Extremely helpful and valuable to engineers and makers alike.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you very much for your support! Hopefully the course will be helpful, definitely going to put quite a bit of work into it :)

    • @sudayshankar9036
      @sudayshankar9036 2 ปีที่แล้ว

      @@PhilsLab has the course com up . if so please provide the link

  • @joeljaschke1878
    @joeljaschke1878 3 ปีที่แล้ว +1

    Hey Phil, as so many others here have already said: Great work!! Keep on making these kinds of videos, they are a gold mine for beginners. I am currently building a sensor to count people passing through a door and need it built as a PCB. Your video on the breakout board for the STM32 taught me everything I needed to know to get started with KiCAD, and on top even new things about circuits I did not know. There was so much information in so "little" time (Yeah 2.5 hours is not too little, but anyways). I hope to be able to support your channel at some point

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Hey Joel, Thank you very much! Very glad to hear that the videos have been useful. Hope all goes well with your new PCBs! :)

  • @markday3145
    @markday3145 3 ปีที่แล้ว

    I like how you cover things like power filtering, decoupling capacitors, impedance matching. Since I’m not an electrical engineer, these are things I wouldn’t think of unless pointed out to me.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      I'm glad to hear that, Mark. Hopefully the next couple videos will cover more things like that!

  • @ImGriffinP
    @ImGriffinP 3 ปีที่แล้ว +6

    Phil, great content as always. Do you think you could do a video about how you develop bootloaders for your boards? I think it could make a great middle segment between the hardware design and the actual applications being run.

  • @vaft22
    @vaft22 3 ปีที่แล้ว +1

    Thank you for taking the time to make videos like these. You are filling a void of information on this subject.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you for watching! :)

  •  3 ปีที่แล้ว

    Never done PCB design, but I like to learn it some day. This was very beginner friendly, you've clearly explained what you did and why you did it. I'm going to re-watch and try to mimic it by myself, thank you! :) It's insane you can order 5 ready assembled boards you've design at home for just $30.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you, for watching! Very glad to hear your positive comments - hopefully your own PCB design goes well :)

  • @aregranhaug8617
    @aregranhaug8617 3 ปีที่แล้ว

    This is outstanding content. Thank you, Phil!

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you very much, Are!

  • @bhimbdrlama
    @bhimbdrlama ปีที่แล้ว

    I really like the way you describe the things.

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Thank you, Bhim.

  • @suvapillay9358
    @suvapillay9358 3 ปีที่แล้ว

    Used the exact same MCU for a breakout board I designed, using your design guidelines shown in the STM32F4 video lol. Thanks for all the tutorials mate.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Awesome, thank you for watching, Suva!

  • @rondlh20
    @rondlh20 3 ปีที่แล้ว

    Great video, amazing information, you make everything look so easy... thanks!

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you very much, Ron!

  • @mfgkwmfgkw
    @mfgkwmfgkw 2 ปีที่แล้ว

    Thank you very much for this course in short and extended length, as well all your other tutorials!
    I use it as starting point for own STM32 layouts; really helpful.
    Just one minor note (even if it does not matter, since the oscillator is symmetric): PB5 (OSC_IN in the data sheet) is labelled as HSE_OUT in your layout, and PB6 (OSC_OUT) is your HSE_IN. Is the change IN/OUT intended (e.g. because OUT from osc view is IN for the MCU and vice versa?)?

  • @janzugic6798
    @janzugic6798 3 ปีที่แล้ว +2

    thank you! all your videos are top notch!

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Thank you very much, Jan!

  • @L2.Lagrange
    @L2.Lagrange 2 หลายเดือนก่อน

    This looks like a really useful project.

  • @rage128
    @rage128 3 ปีที่แล้ว +5

    Tutorial quality is rising. thanks for sharing with us.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Thank you for watching, Kursat!

  • @gautrstafr
    @gautrstafr 3 ปีที่แล้ว +1

    Great video! Don't know if this was answered somewhere else, but why did you choose 8 MHz Crystal? I've seen several designes going for both HSE and LSE crystals, one 24 Mhz and a 32.768 KHz one, so wondering how to select the crystal frequency?

  • @nadershafi2285
    @nadershafi2285 3 ปีที่แล้ว +3

    Great tutorial, keep up the awesome content!

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you very much, Nader! Definitely more to come! :)

  • @kiloechonovembertango9934
    @kiloechonovembertango9934 3 ปีที่แล้ว

    Good video. Looking at the repository, it looks like schematics are blank and no .cmp mapping present? Planning on learning by walking through in detail...

  • @stephenwhite506
    @stephenwhite506 3 ปีที่แล้ว

    Nice video. I also find it handy to set the direction on Kicad's schematic labels.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you, Stephen - yes, that's a good thing to add!

  • @jacka.4774
    @jacka.4774 3 ปีที่แล้ว

    thank you for this. have a question. do you now where I can get costume membrane switch made, tactile and non-tactile for low price?

  • @jithin_isaac
    @jithin_isaac 3 ปีที่แล้ว

    Great content Phil, as always..

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you very much, Jithin!

  • @petermuller608
    @petermuller608 3 ปีที่แล้ว

    Great content! I was really surprised to see the STM32F1 Chip not having a big thermal pad on the bottom

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you, Peter! Yeah, I think you maybe can get the STM32F1 chips in some form of QFN package and they should have that. Never seen it on LQFP though.

  • @mohamedtebbo123
    @mohamedtebbo123 2 ปีที่แล้ว

    Keep up the good work man 100k subs soon

  • @maheshpadmanabh6564
    @maheshpadmanabh6564 3 ปีที่แล้ว +1

    Thank you for the amazing content. I wouldn't mind paying your PCB Design course. :)

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Awesome, thank you, Mahesh!

  • @almicklee
    @almicklee 2 ปีที่แล้ว +4

    Did you program it directly through D+ and D-?

  • @Eldradirom
    @Eldradirom 3 ปีที่แล้ว +1

    Awesome video, thank you. It will be interresting to show the board and a small program running on it.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you, Marco! Yeah, I'll see if I can get these boards made by JLCPCB and show them in a future video.

  • @debrajdas8464
    @debrajdas8464 2 ปีที่แล้ว +1

    Excellent work buddy

    • @PhilsLab
      @PhilsLab  2 ปีที่แล้ว

      Thank you!

  • @PJElliot
    @PJElliot 3 ปีที่แล้ว +1

    Another excellent video!

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you, Peter! :)

  • @zaferaltun
    @zaferaltun 5 หลายเดือนก่อน

    Very good tips, thank you.

  • @arya8431
    @arya8431 ปีที่แล้ว

    thanks for tutorial, I still learn about PCB design and I have question, why is no ground trace in TOP layer?

  • @coreyackland
    @coreyackland 3 ปีที่แล้ว +1

    Hey Phil, wondering why no USB ESD protection like your other layouts?

  • @klaribiker2334
    @klaribiker2334 3 ปีที่แล้ว

    please make a series in wich you explain stm32 basics like blinking a led. I really like your videos and I think you can explain everything very well.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you! I'd recommend checking out my 'STM32 Programming Tutorial' where I cover things like RGB LEDs, SPI, etc.

  • @rexserpe6699
    @rexserpe6699 3 ปีที่แล้ว

    What component/footprints did you use for your micro-usb connector? Really struggling to find a USB connector with a readily available footprint... do people typically just make their own footprint for things like this? I get the feeling I'm not looking in the right place since this seems like it would be a pretty common component. Thank you for the fantastic video!

  • @FirstLast-ih6ec
    @FirstLast-ih6ec 3 ปีที่แล้ว

    Phil, if you connect the USB resistor to an output, you can force reenumeration on reset by bringing it low for a short time. This would avoid the need to reconnect the USB cable when downloading a new firmware version.

  • @romulosendoromulo
    @romulosendoromulo 6 หลายเดือนก่อน

    Awesome video, thank you so much

  • @Kosh42EFG
    @Kosh42EFG 3 ปีที่แล้ว

    Just fell on this video. Excellently done.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you!

  • @philippk7554
    @philippk7554 2 หลายเดือนก่อน

    Does the ferrite bead (FB1) also help with limiting the current on connecting to USB? A board I recently designed causes my STLink and UART-Bridge to disconnect whenever I connect power to the board and I have the suspicion, that my design draws too much current, because after that it works fine.

  • @CraigHollabaugh
    @CraigHollabaugh 3 ปีที่แล้ว

    Hey thanks for the many tips here, both electrical and layout related. I didn't know about JLCJLCJLCJLC marker to inform JLC where to put the serial number.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Thanks for watching, Craig! Yeah, I think the 'JLCJLCJLCJLC' can be useful for saving a couple $ per order!

  • @Rockdagger
    @Rockdagger 3 ปีที่แล้ว

    would this be done the same way for the STM32H757BITx (LQFP208), or would i need separate power and crystals for each parts of the chip

  • @alannickypage
    @alannickypage 3 ปีที่แล้ว

    Hi Phil, great channel, I've been watching for a little while. I have a quick comment about the layout. I'm guessing the USB connector sits on the PCB. You have the grounded USB connector above the +3V3 rail with just solder resist in between. OK you've not connected the shield but it will probably be connected at the PC end.

  • @volkerpizzaaglio8742
    @volkerpizzaaglio8742 3 ปีที่แล้ว

    Could a Crystal Resonator be used instead of the Crystal Oscillator? JLCPCB has some as basic parts with smaller footprints.

  • @shashankks1962
    @shashankks1962 3 ปีที่แล้ว

    Phil, what would happen if I do a top copper pour of 3V3 (top copper plane with proper isolation for rest of the traces)? Is this good practice?

  • @andymouse
    @andymouse 3 ปีที่แล้ว

    Again, great tutorial...cheers.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you, Andy!

  • @danielramatladitebeila448
    @danielramatladitebeila448 3 ปีที่แล้ว

    Great content Phil.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you, Daniel!

  • @annacersongor8553
    @annacersongor8553 3 ปีที่แล้ว

    Thanks for sharing, great video as usual. Could you please make a tutorial on adding video processor to arm microcontroller to drive an LCD display ?

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you very much! I think there should be quite a few videos on how to hook up an LCD display to an MCU around, so probably won't be covering that, sorry!

  • @neneeveryday2716
    @neneeveryday2716 หลายเดือนก่อน

    Can someone explain what the boot0 physical component is? In the 3d demo, B0 doesn’t look like it’s connected. I’m assuming it’s something we’ll have to hand solder? But what is it? Also with the usb, is it a usb A or usb B? How should I choose that

  • @barunbasnet
    @barunbasnet 3 ปีที่แล้ว

    Hi Phil, is it a bad practice to route pcb traces under an IC? I see you haven't done that, but I do most of the time for convenience.

  • @whatcanido4ua
    @whatcanido4ua 3 ปีที่แล้ว +2

    Hi Phil, Thank you for the wonderful video. Can you give some guidelines on when can we use the internal clock of STM32 and the external oscillator for STM32?

    • @ronaldo0grande
      @ronaldo0grande 3 ปีที่แล้ว

      he told in 4:12 and 4:36 that you need external crystal oscillator when you need a precise timing

  • @ujjwal14v
    @ujjwal14v 3 ปีที่แล้ว

    Awesome quality !

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you!

  • @anandkachale5187
    @anandkachale5187 3 ปีที่แล้ว +2

    Hey just a suggestion. I have been following the channel over 2 months i think. I have some experience with KiCad but in the initial days I really struggled. I think It would be a very nice idea to make a playlist of a kicad software course kind of video series. More about of learning KiCad.

  • @DeepankarMaithani
    @DeepankarMaithani 3 ปีที่แล้ว

    Which regulator would you suggest if i want to get 3.3v from 9v battery current requirements are 200mA. Do you think it would be efficient to use the same voltage regulator as you have used ?

  • @Berghiker
    @Berghiker 3 ปีที่แล้ว

    How do I set the parameters so that I don't have to keep changing the size of the vias and track widths when I add a new ones?

  • @juliocoliveira
    @juliocoliveira 3 ปีที่แล้ว +2

    Very good content.Thank you

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Thank you very much, Julio!

  • @sumedhburbure4173
    @sumedhburbure4173 3 ปีที่แล้ว

    THankyou! Its a beautiful video. I would really like to see you doing routing in the video!

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Thank you, Sumedh! Yes, I'm afraid to keep it very short I had to skip showing that part. But future videos will hopefully be a bit longe r:)

  • @ridvanmelihsahin9479
    @ridvanmelihsahin9479 3 ปีที่แล้ว

    Hi Phil, What do you think about make a video for ADS1256+STM32. I think its most useful for us. Thank you for this video and your hard work.

  • @karamany9870
    @karamany9870 3 ปีที่แล้ว

    A PCB-Design course would be amazing. Even if paid.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Awesome, I'm glad you think so - thanks!

  • @davidcollins6164
    @davidcollins6164 8 หลายเดือนก่อน

    mr phil, i'm trying to learn how to just make ADAPTERS with kicad and have them made so i can put connectors on a board. like just a USB front panel device, so it's not electronics - it's 18 pins to 18 pins. what should i learn or watch to just get simple pcb's where i surface mount conectors and recepticles designed in kicad?

  • @neneeveryday2716
    @neneeveryday2716 หลายเดือนก่อน

    Can some one help me with what pins are used for programming? I’m assuming usb is only for powering? I don’t see st link connectors on the schematic

  • @Dj-md4mw
    @Dj-md4mw 3 ปีที่แล้ว +1

    Thank for your great tutorial, but i can't open the sch file in the github repository

  • @foamyrocks665
    @foamyrocks665 3 ปีที่แล้ว +3

    Finally, a "blue pill" with working USB. I think a lot of people know the situation with the Chinese boards.
    I have one remark ( it's not that important but I see you use it throughout your videos), you always say that the Boot0 pin puts the board in bootloader or not. This is true but I would rather suggest using the terminology from the technical reference which is, that the Boot0 pin just jumps to the system memory part of the board. Why do I have this suggestion? Because the user can overwrite that memory if it wants. By default, the chip comes with the bootloader in that memory section so you can flash it via UART1, but I can overwrite it if I want.
    It's a small suggestion, not that important. Great video, really condensed but contained all the details necessary! And I responded to the survey as well, hope to see a course soon enough.

    • @lokucncdoceseciz
      @lokucncdoceseciz 2 ปีที่แล้ว

      Hi sir, I have one question about that.
      Can I program the STM32 with the SWD connexions without pulling the Boot0 up? I undestand that it's the way to do it, but I would rather confirm it before trying.
      Nice video! Thank you

  • @kmacademy6742
    @kmacademy6742 3 ปีที่แล้ว

    Great tutorial. You are a hero.
    I wonder if you can do videos on advanced high speed stuff. (HDMI, DDR...etc)

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Thank you, Kadhem! Yes, I'm planning on making a video on an FPGA design which includes HDMI and DDR.

  • @namero999
    @namero999 6 หลายเดือนก่อน

    Why not using the filtered 3.3VA for everything as opposed to just the analog section?

  • @novivi4390
    @novivi4390 3 ปีที่แล้ว

    Why does the impedance matching of the USB not important ?
    Is full speed not very sensitive to it ?
    Thank you for your help !

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      No, USB Full-Speed is very insensitive to impedance matching, considering it runs at approximately the same speed as SPI!

  • @paulcanon5199
    @paulcanon5199 3 ปีที่แล้ว

    Hi Phil, Great Video
    i just have a 1 small doubt,
    shouldn't you remove ground plane below crystal?
    i have seen in some tutorials where it is suggested that you remove all copper pours and tracks from underneath the crystal

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Hi Paul, Thanks for your comment! I've tried both with and without removing ground planes undearneath crystal but have not noticed any problematic differences. The only thing I don't do is route any high-speed signal traces near/under the crystal.

  • @Berghiker
    @Berghiker 3 ปีที่แล้ว

    Why do wires sometimes not snap to the component leads in Schematics?

  • @glewiss6696
    @glewiss6696 3 ปีที่แล้ว

    Hello Phil,
    In this specific board, could you explain why you choose the 8MHz crystal over the 16MHz that you usually take?
    One more thing. Why did you choose this 2x conn pins order?
    Thanks great video!

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      No particular reason for choosing 8 MHz over 16 MHz. Both are easily scaled via the STM32's internal PLLs.
      I guess I just wanted to use a different crystal package for once.
      The GPIO pin header order is just to fit the pinout of STM32 so I don't have to cross traces, use vias, etc.
      Thanks for watching!

  • @stevea1708
    @stevea1708 3 ปีที่แล้ว

    Great video, I'd like to see results of assembly.

  • @MrSwanley
    @MrSwanley 3 ปีที่แล้ว +1

    Thanks for your videos, I find them very educational for my hobby. Just to let you know: the github tarball seems to have been messed up slightly. The schematic has been replaced by a blank page. Luckily there's still a backup schematic file in the set containing what looks like the correct drawing.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you! And thanks for pointing that out, yeah I don't know what went wrong there.. I'll be fixing it soon!

  • @lolsypussy
    @lolsypussy 3 ปีที่แล้ว

    Great vid, man! What is the part number of your usb connector?
    Thanks

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Thank you! The part number is 629105150521 by Wurth Elektronik.

  • @techko4486
    @techko4486 3 ปีที่แล้ว +1

    Can you do a STM32 BGA? Would be interesting, maybe with external RAM and Flash

  • @hussssshie
    @hussssshie 3 ปีที่แล้ว +1

    Thank you very much Phil for introducing me to STM32 microcontrollers. For some projects I had in mind Arduino wasn't cutting it anymore, and now I am designing my first STM32 board. I think it's an awesome alternative to arduino, but with a whole lot more power and options to choose from. I would love it if you could make an example in which you interconnect two processors on the same board to expand I/O (Let's say one with LTDC controlling a display, and the other one doing the data processing and gathering the data that has to be displayed through the other controller). I am now using the STM32F746BGT6 (LQFP 208) to do a controller for a very large aquarium with sensors and 24bit ADCs all over the place, and an LCD touchscreen display to show temps and configure some things. It's 12$ a piece and I think I could have done with two cheaper ones without driving any of them to the limits. Just can't figure out how to do it from the datasheet, and you explain things so crystal clear I would love it if you would show us how that's done. I think you did it for the flight controller but you don't go into much detail about that. Thank you very much!

    • @ivolol
      @ivolol 2 ปีที่แล้ว +4

      Why do you need 24 bit ADCs for an aquarium?

  • @Bobby-bz8bk
    @Bobby-bz8bk 2 ปีที่แล้ว

    Thank you

  • @bertbrecht7540
    @bertbrecht7540 3 ปีที่แล้ว

    I did not see a USB jack/connector in the parts list. Do I need to order and solder these myself?

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Yes, until now JLC hadn't offered connector/through thole assembly - but looks like things are changing there soon! :)

  • @georgetroulis
    @georgetroulis 3 ปีที่แล้ว +1

    Hi Phil, question about the Analog Voltage domain (VDDA) filter. Are the LC values recommended from some Datasheet/Application Note, or did you use some calculation or intuition to determine those? I found this LPF calculator:
    electronicbase.net/low-pass-filter-calculator/
    For 27 nH and 1uF, it determines the cuttoff frequency near ~1MHz. I don't know too much about power supply for analog circuitry and what is a good cutoff frequency, but would it be beneficial to swap the components to attenuate lower frequencies than that?

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Hi George, The values here are only approximate and as you've seen, only fairly high frequencies will be attenuated for this L-C combination. The answer is (as always) - it depends. It depends on what response times you need in your measurement circuitry (e.g. for the ADC), what frequencies of interest you are looking at, and what is outside your desired passband. For a simple board like this, we'll get away with using no filtering at all on VDDA.

  • @wowtah
    @wowtah 3 ปีที่แล้ว

    Awesome vid :) did you use a tool for preparing the assembly files for JLC?

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you very much! I followed the same process as detailed in the longer (3hr) KiCad STM32 videos, so basically a bit of manual work. I really need to look into those tools though :D

    • @wowtah
      @wowtah 3 ปีที่แล้ว +2

      Ah okay. I have a way to do it, but maybe you had superior tooling I didn't know about :)
      What I use now: I found a plugin for Kicad that you can use to export the BOM straight from Kicad to JLCPCB format, including the LCSC part numbers. I also found a Python script to convert a cpl/pos file to JLCPCB format. That works reasonably well, sometimes the rotations are off and need manual tweaking. I can lookup the links if you want.

  • @konturgestalter
    @konturgestalter 3 ปีที่แล้ว

    looooove these videos

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you!

  • @neneeveryday2716
    @neneeveryday2716 หลายเดือนก่อน

    I soldered usb on the board but it gives me st link not detected error when I try to run my code in stm32cubeide

  • @paulmeynell8866
    @paulmeynell8866 ปีที่แล้ว

    Excellent thank you

    • @PhilsLab
      @PhilsLab  ปีที่แล้ว

      Thanks for watching, Paul.

  • @manumadanan
    @manumadanan 3 ปีที่แล้ว

    Well explained.. In most of your designs you are using STM microcontrollers is there any specific reason for that???

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you, Manu! Initially I was thinking about which MCU platform to settle for and ended up going with STM32. Just really liked the application notes, IDE, etc. Don't really see a reason to use other platforms at the moment, as the MCUs do all I need for now!

  • @sarwarn2107
    @sarwarn2107 ปีที่แล้ว

    So what is the advantage of this build with off-shelve Blue Pill?

  • @ronaldo0grande
    @ronaldo0grande 3 ปีที่แล้ว

    you are a hidden gem

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you, Ronaldo!

  • @piotrlenarczyk5803
    @piotrlenarczyk5803 3 ปีที่แล้ว

    Thank you for video.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว

      Thank you for watching, Piotr!

  • @choleaoum1383
    @choleaoum1383 11 หลายเดือนก่อน

    Any reason you didn’t use a two layer ground plane?

  • @lukaswalczak93
    @lukaswalczak93 3 ปีที่แล้ว

    Excellent videos. Keep it up. You once did a design on RF circuits. Could you design a PCB with an on board antenna (PCB trace) like on the common ESP32 or ESP8266 microcontrollers? I really would love to see how this can be done.

    • @PhilsLab
      @PhilsLab  3 ปีที่แล้ว +1

      Thank you for watching!
      Yes, I've had a couple of requests for on-board PCB antennae. It's quite a large topic and one that typically requires (fairly expensive) simulation software, so not sure I'll be doing anything on that anytime soon - sorry!

  • @samyguerra665
    @samyguerra665 3 ปีที่แล้ว

    Could you do a tutorial on how to make a pcb with an STM32 + DRV8323 and show us the step to control a bldc motor?