STM32 PCB Design - Complete Walkthrough - Altium Designer & JLCPCB - Phil's Lab #41

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 249

  • @garysmith8089
    @garysmith8089 2 роки тому +55

    Good on You Sir!
    This STM32 Tutorial is a Doctorate Course on ENGINEERING of the real-life PCB DESIGN process and should be awarded as such!
    I have spent literally 100s of Hours doing a re-spin up of my past 30 years as a PCB Design Consultant.
    One can experience a wide range of competence on UA-cam!
    Yours is at a Level FEW of your peers provide.
    Again, Good on You and Keep up the Great work Professor Phil!

    • @PhilsLab
      @PhilsLab  2 роки тому +3

      Thank you very much for your kind words, Gary! Glad to hear that!

    • @MY-ElectricalTips
      @MY-ElectricalTips 8 місяців тому

      please software link

  • @brianxavier8873
    @brianxavier8873 3 роки тому +56

    please bring more of these long tutorials on pcb and microcontroller design. they are very helpful, and it would be wonderful to see them more frequently

    • @MovieMationStudios
      @MovieMationStudios 2 роки тому

      @@alejandroperez5368 He says in the first 30 seconds of the video he did a similar tutorial in Kicad... Also, if you're a student you can get a temporary Altium license for free.

    • @Semtex777
      @Semtex777 2 роки тому

      Please support him on patreon

  • @damny0utoobe
    @damny0utoobe 3 роки тому +9

    Oh yeah. You're hitting the sweet spot with these Altium tutorials

  • @andymouse
    @andymouse 3 роки тому +2

    As a massive Kicad fanboy I must admit there are some lovely features here. I could watch long design walkthroughs all day ....cheers.

    • @PhilsLab
      @PhilsLab  2 роки тому

      Thank you, Andy! Yeah, there are some very nice bits to Altium. Looks like KiCad 6.0 has just been released - so will have to give that a try..

  • @jestho3503
    @jestho3503 2 роки тому +11

    Again, a really good video Phil! Thank you. I´ve been using Altium for 11 years and I always get useful tips watching your work.
    One thing that came in to my mind when using small resistors and capacitors like 0402. Keep the connected copper to them as unified as you can. We have had problems in the solder oven with components standing up towards the side with the largest copper connection. Several times I have had to decrease the conductor width towards groundplanes to avoid this.

    • @wesleybecker834
      @wesleybecker834 Рік тому +3

      Yes, tombstoning is the name of the phenomenon. Thermal relief on the pads becomes very necessary for these small passives.

    • @優さん-n7m
      @優さん-n7m Рік тому +1

      @@wesleybecker834 is there a video that describes this topic in detail?

  • @jestho3503
    @jestho3503 2 роки тому +1

    I sent the link to this video to my contacts at Altium. They have the main responsibility for sales in Sweden and Europe. They like it and will tell new users about it.

    • @PhilsLab
      @PhilsLab  2 роки тому +2

      Thank you very much, Jes!

    • @jestho3503
      @jestho3503 2 роки тому

      @@PhilsLab No worries Phil. Glad I can help. Your videos are awesome! /Jesper (From Sweden)

  • @JLCPCB
    @JLCPCB 2 роки тому +17

    Amazing video Phil! Nealty explained to smallest details. Component viewer problem is going to be fixed. 🙂

    • @PhilsLab
      @PhilsLab  2 роки тому +4

      Thank you very much! Love your services! :)

  • @slagmaker6780
    @slagmaker6780 3 роки тому +2

    Enjoy the process being shown in a clear but detailed set of steps. Thanks!

    • @PhilsLab
      @PhilsLab  2 роки тому +1

      Thank you for watching!

    • @優さん-n7m
      @優さん-n7m Рік тому

      @@PhilsLab you specified the Dk value but not Df value, is Df not important?

  • @Hammad5113189
    @Hammad5113189 3 роки тому +27

    Was waiting for the whole STM32 Altium schematic walkthrough :) Thanks Phil!

    • @PhilsLab
      @PhilsLab  3 роки тому

      Thanks for watching!

  • @timknapen
    @timknapen 2 роки тому +1

    The details and small practical tips in this video are really great! Not only for STM32 but anyone starting to work with microcontrollers.

  • @Davidlahall
    @Davidlahall 3 роки тому +2

    Wow... This is your best video in my opinion this far... You explain everything.. I really appreciate that.

    • @PhilsLab
      @PhilsLab  3 роки тому

      Thank you very much!

  • @gerrardcottrell14
    @gerrardcottrell14 2 роки тому +16

    I have been using Altium from 99SE through all the versions and currently using 21.8.1. This is a fantastic tutorial and thank you. Maybe a few tutorials on some of the Altium features might be useful for some of the newer Altium users. (Library management, component creation (PCB and Schematic), DRC rules.

    • @優さん-n7m
      @優さん-n7m Рік тому

      Please checkout the videos from Robert Feranec as well.

  • @ChrisElisonElectronics
    @ChrisElisonElectronics 8 місяців тому +1

    Great video! I want to learn how to properly do PCB layout and routing, I'm currently still learning EasyEDA and KiCad, but would like to try out Altium too!

  • @volkanozdemir44
    @volkanozdemir44 2 роки тому

    great video i discovered 2 days ago and i watch many video most useful engineering youtube channel in youtube i hope cont keep continue !

  • @dymastro788
    @dymastro788 3 роки тому +1

    Amazing! Just staring out with Altium!love to see the whole design flow

    • @PhilsLab
      @PhilsLab  3 роки тому +1

      Great to hear that, thank you, Rick!

    • @dymastro788
      @dymastro788 3 роки тому

      @@PhilsLab at 3:20 you are talking about choosing the right microcontroller, are you considering this as a video subject? Would be awesome to het some insight in this.
      PS do you have a PayPal so I can support you?

  • @michaelj1846
    @michaelj1846 2 роки тому +7

    great video, can you please upload the libraries u used in this video on ur repo, it would be very helpful.

  • @muzairafzal1529
    @muzairafzal1529 3 роки тому

    Wow! What a walkaround...... Keep up the good work brother........ All the best wishes for you....

    • @PhilsLab
      @PhilsLab  2 роки тому

      Thank you very much!

  • @aatifshah8476
    @aatifshah8476 3 роки тому +1

    Thanks for keeping it free

    • @PhilsLab
      @PhilsLab  3 роки тому +2

      You're very welcome :)

  • @mwanikmurray537
    @mwanikmurray537 2 роки тому +5

    If someone is wondering why sometimes you can't copy and paste MPN (Manufacturer Part Number) from JLCPCB altium, it because of the while spaces at the beginning of the MPN. You need to remove the white/blank spaces first. I am not sure this is clear but yeah, you need to remove the white space at the beginning.

  • @qwer.ty.
    @qwer.ty. 3 роки тому +1

    You're such a nice teacher! Thank you so much for this king of video! 💞

    • @PhilsLab
      @PhilsLab  2 роки тому

      Thank you very much for watching!

  • @ayushbanerjee1187
    @ayushbanerjee1187 5 місяців тому

    This was a great video, but I just had one question to clear up. The USB connector was not necessary and was just an accessory. From what I understood, we can just get +3.3 V power from the SWD header. Please correct me if I am mistaken.

  • @harleylara6447
    @harleylara6447 3 роки тому +1

    Incredible work as always. I hope someday in the near future the PCB design course :-)

    • @PhilsLab
      @PhilsLab  2 роки тому

      Thank you! I'm currently working on the PCB design course, fingers crossed it can be completed in the near future :)

  • @grndplane
    @grndplane 2 роки тому +6

    Great video, one comment, keep GND names turned on. Sometimes when circuits are copied these names can change to something else, like GND1 or whatever the software decides to name them. If they are turned off you will not know that they have changed and may not be connected.

  • @Brego666
    @Brego666 3 роки тому

    Yessss, thats exactly what I was hoping to see from you. Thank you so much for your effort!

    • @PhilsLab
      @PhilsLab  2 роки тому +1

      Awesome, thank you for watching :)

  • @yamanseyravan4387
    @yamanseyravan4387 3 роки тому

    That's exactly what I asked for the last couple of videos !, Thanks a lot!

    • @PhilsLab
      @PhilsLab  3 роки тому

      Thanks for watching!

  • @bobdole27
    @bobdole27 3 роки тому

    Just what i needed, just got Altium

  • @Bill-qo2jb
    @Bill-qo2jb Рік тому +1

    Great job Phil ! I think the culprit for Altium not allowing to paste the part number is the space character at the end of the part number. Obviously it's a bug

  • @TheEuzikial
    @TheEuzikial 2 роки тому

    This is great intro to Altium. Thank you so much for your effort

  • @oreovios306
    @oreovios306 11 місяців тому

    thank you Phil , you're a blessing

  • @YongHuiLiew
    @YongHuiLiew 11 місяців тому

    Hi Phil, please show how to design low power PCBs for the STM32 chip. I feel many people don't know what considerations should be made designing one.

  • @waelbouraoui5970
    @waelbouraoui5970 2 роки тому +2

    Hey Phil! Can you please share with us the libraries u r using.
    I'll be grateful. Thanks.

  • @emyemy7504
    @emyemy7504 8 місяців тому

    God bless you Phil. This is amazing

  • @microtechbdsystem-automati8689
    @microtechbdsystem-automati8689 2 роки тому

    I am grateful to you dear phil...I learned a lot from you..

    • @PhilsLab
      @PhilsLab  2 роки тому +1

      Thank you, very glad to hear that!

  • @tashmarkify
    @tashmarkify 8 місяців тому

    amazing content. well explained. couldnt ask for more.

  • @pablogonzalezrobles4429
    @pablogonzalezrobles4429 3 роки тому +2

    Nice video. I hope You can design a esp32 board and give some design tips like in this video

  • @ndmath
    @ndmath 2 роки тому +3

    Fantastic walkthrough! Where can I find the schematic and footprints symbol library?

  • @mostafaalhussieni
    @mostafaalhussieni 4 місяці тому +1

    where is the link that mentioned in 44:39 about ferrite bead?

  • @obregr
    @obregr 2 роки тому

    interesting,how easy it is from you,and understending,but in my opinion wrey difiicult,tnx for all inserstanding tutotrials

  • @muhammadtanzil5358
    @muhammadtanzil5358 3 місяці тому

    Great work, i just want to know that +3V3 is connected through via and also GND, it look like the via are same and if though it should give violation for the short circuit because the +3v3 vias passing through four layers and as GND Vias. By the way Great work. Appreciations.

  • @Jasmohan
    @Jasmohan Місяць тому

    Thank you for going into detail.

  • @tradegrabber4854
    @tradegrabber4854 5 місяців тому

    2:23:10 What do you mean by "board warp", and why filling the whole top signal layer with let's say GND polygon is bad? I've always thought it's good for EMI protection.

  • @badarjahangirkayani6196
    @badarjahangirkayani6196 2 роки тому +3

    Can you post a link to your library as you mentioned in the video. Thanks. Great video btw, better than anything else that is out there.

    • @samhuang2793
      @samhuang2793 6 днів тому

      It's in this repository on his github -> AltiumDesigner-Libraries

  • @martinchristiansson658
    @martinchristiansson658 3 роки тому +2

    Really great videos from you, already learnt to design myself and order from JLCPCB. Looking forward to next video. Are you planning the last part of Kalman filter? Best regards Martin

    • @PhilsLab
      @PhilsLab  3 роки тому +2

      Thank you, Martin! Yes, EKF video is coming this month :)

  • @Luke_Ainsworth
    @Luke_Ainsworth 3 роки тому +1

    Great walk through mate. Any chance you could do some tutorials on writing code and uploading it to the controller?

    • @PhilsLab
      @PhilsLab  2 роки тому

      Thanks, Luke - I actually have some programming tutorials on my channel.

  • @seanludmil904
    @seanludmil904 Рік тому

    Great video Phil! I didn't really understand where can this PCB design be used in. Can someone explain it to me? Thanks

  • @turneroq9888
    @turneroq9888 3 роки тому +1

    Thank you for sharing such amazing content. Have followed recently and already got a lot of useful information!

    • @PhilsLab
      @PhilsLab  3 роки тому +1

      Thank you for watching, glad to hear the videos have been helpful!

  • @escott6509
    @escott6509 2 роки тому

    Thanks for your videos Phil

  • @DiegoColl44
    @DiegoColl44 3 роки тому +2

    excellent tutorial ... !! Thank you!!

    • @PhilsLab
      @PhilsLab  3 роки тому +1

      Thank you for watching!

  • @zoltanmeksz7625
    @zoltanmeksz7625 9 місяців тому

    Excellent video.

  • @mattcarberry1913
    @mattcarberry1913 Рік тому +1

    Thanks so much for making all these tutorial videos that shows entire process from start to finish with the rationale for the decisions made. I have a couple questions about impedance controlled traces between your designs in the videos and in the GitHub repositories.
    In the video you set up the USB trace widths for the JLC7628 stackup (0.26mm), but the gerbers in the GitHub appear to show them at 0.1532mm. Did you end up changing to producing this in the JLC3313 stackup after the video was finished? I'd like to get some boards produced and just wanted to make sure I have this correct.
    I see a similar-ish thing with the previous LIttleBrain board, where in the GitHub history the USB trace widths were originally 0.2611 mm, but when you did a revision to remove the USBLC6-2SC6, the trace widths went to 0.2mm. Was that just a simplification and this level of detail doesn't matter at such short trace lengths?
    Thanks again for all the fantastic videos.

  • @stefanofioravanti709
    @stefanofioravanti709 3 роки тому

    Amazing. Software tutorials and programming would be also very helpful.

    • @PhilsLab
      @PhilsLab  2 роки тому

      Thanks, Stefano - software and programming tutorials are already on my channel :)

  • @hemanthdevaraj1991
    @hemanthdevaraj1991 Рік тому

    Hello, good content and easy explanation, here you have provision of 4 layers, yet you used only top and bottom layer, you could have gone for just two layers

  • @優さん-n7m
    @優さん-n7m Рік тому

    Talking about ferrite bead, isn't it that this component shall create large sharp peaks in the PDN impedance and thus is bad?

  • @direncsertac2562
    @direncsertac2562 2 роки тому

    Great video. Your videos about pcb design assist to us. I have a question about stack up section. When you adjust the layers of the pcb, you selected in the power and ground layer as signal instead of plane. In this video you mentioned that this choices avoid creating a negative gerber. Does this choices make sense? The senior employees who work in our company always prefer the plane. I'm confused as a junior hardware engineer. Regards.

    • @PhilsLab
      @PhilsLab  2 роки тому

      Thanks. I guess it's more of a preference/habit thing - there's no harm in using either.

  • @btimabader2866
    @btimabader2866 2 роки тому +2

    awesome video! I think you forgot to put your altium symbol and footprint library in the description. Can you please add them to one of your repos?

    • @samhuang2793
      @samhuang2793 6 днів тому

      It's in this repository on his github -> AltiumDesigner-Libraries

  • @johnstephenson4428
    @johnstephenson4428 3 роки тому +1

    Great video, thanks so much for time and effort! I am just starting with Altium and this is a good reference!

    • @PhilsLab
      @PhilsLab  3 роки тому

      Awesome, thank you for watching, John!

  • @boonkerz
    @boonkerz 3 роки тому

    Love to see an usbc :) and an schematic with seperate usb voltage and external for a bit more current :)

  • @AhmadAsmndr
    @AhmadAsmndr Рік тому

    thank you Phil your videos are very helpful

  • @lukaswalczak93
    @lukaswalczak93 2 роки тому +21

    Hey Phil, awesome video! I think you forgot to put your altium symbol and footprint library in the description. Can you please add them to one of your repos?

  • @TheNeukyhm
    @TheNeukyhm 2 роки тому

    Hi Phil, at 24:12, the first result is an oscillator, which correct me if I'm wrong but it needs just power and you have the clock output. Wouldn't be that more desirable than a crystal?

  • @canozcifci1892
    @canozcifci1892 3 роки тому

    Yo Phil, thank you for your video. Means a lot. Keep doing what you doing mate.

  • @mehlulinokwara3841
    @mehlulinokwara3841 2 роки тому +2

    Can you help me find Footprint-Lib-PhilsLabPcbLib and Schematic... for me to be able to follow along

  • @colinm6672
    @colinm6672 2 роки тому

    Hi Phil - Excellent video. Can youb please remember to provide a pointer to altium footprint library. thanks

  • @ABABA30175
    @ABABA30175 2 роки тому +1

    This is one of the great AD tutorial on the YT. I could not found the library (symbol and footprint) in github page, could you pls tell us how to download it? Thank you a lot.

    • @duduc998
      @duduc998 2 роки тому

      Could you find it? I had the same problem.

  • @behnammadadnia3410
    @behnammadadnia3410 Рік тому

    That was a great tutorial, thank you very much. (I wanted to use the Altium lib that you uploaded on Git, it seems it does have all the footprints (just a limited numbers), but it has many more schematic symbols. So, maybe, would you please upload it again?)

  • @nks324
    @nks324 2 роки тому

    Phil is awesome engineer and kick as_ guitar free solo :)

  • @valentingomez4546
    @valentingomez4546 8 місяців тому

    Phil just a quick question, at the time of flashing code to the MCU, does it have to be done via an STlink or can it be done via the USB connector on the board?

  • @eyupkayatuzi4444
    @eyupkayatuzi4444 2 роки тому +1

    Hi, you connected boot0 to ground because you said i will just be using swd. My question is; if we do that, can we program to our mcu via usb port?

    • @PhilsLab
      @PhilsLab  2 роки тому +2

      You would have to write a custom USB bootloader to be able to reprogram the MCU. Otherwise, make a provision for pulling BOOT0 high.

  • @erent.7210
    @erent.7210 3 роки тому

    that is an amazing video to practice, thx to philip. I can't find the library. Can you help me to find it?

  • @adityakrishnavinod3134
    @adityakrishnavinod3134 3 місяці тому +1

    hey , when i am updating the pcb document with schematic U2 is not coming ??
    when i validate schematic there is it says no errors.
    ??

  • @ahmadelkontar
    @ahmadelkontar 27 днів тому

    Can we also add polygon pours for ground on the signal layers ?

  • @armincal9834
    @armincal9834 2 роки тому

    Isn't each individual VDD pin supposed to be connected to the ground through a capacitor? Then how come we put 5 parallel caps and connect all vdd pins to each other and then connect them between + and -? Doesn't the behaviour change?
    In other words instead of connecting each pin to a 100 pf cap we are connecting all of them to an equivalent 500 pf cap(parallel caps add up)

  • @luiscortina9920
    @luiscortina9920 Рік тому +1

    Why connect the USB data lines if you're going to program using SWD?

  • @ikrammohammad7192
    @ikrammohammad7192 2 роки тому +1

    Where are the library files available? I can't seem to find it in the github repos.

  • @persupersulast2506
    @persupersulast2506 Рік тому

    is double sided pcb where bottom is digital and top is analog good idea? 4 layers, top 12v, bottom 5v and 3.3v and middle layers both ground?

  • @KevinStoriesTV
    @KevinStoriesTV 2 роки тому

    After placing stitching vias, do you need to repour your L2 L3 GND copper polygon?

  • @KevinStoriesTV
    @KevinStoriesTV 2 роки тому

    For your personal projects, do you create your own symbol/footprint before starting the schematic design or settle on what the manufacturer part search offers?

  • @VndNvwYvvSvv
    @VndNvwYvvSvv 2 роки тому

    Are we sure that MCU has an internal crystal, not a lower precision RLC oscillator?

  • @useromer
    @useromer 3 місяці тому

    I did not understand the topic whic was mantioned during 1:48:30. do we need pi filter even we have esp protection ?

  • @alexanderquilty5705
    @alexanderquilty5705 Рік тому

    Why did you not seperate VREF+ (Called VDDA in KiCAD STM32 Video) to 2 different 3.3 Voltages, one Analog and one your common +3.3V?
    Edit: I wonder if he ended up using a different STM32 board, and that is probably why.

  • @LuigiLombardi
    @LuigiLombardi 2 роки тому

    What about GND plane under the crystal oscillator? Great video by the way!

  • @sinamokhtari9859
    @sinamokhtari9859 2 роки тому

    Thanks for great video. Where can I find the altium footprint library you used in this tutorial?

  • @AndyDoz
    @AndyDoz Рік тому

    Outstanding. Thanks.

  • @CAN_MIKE
    @CAN_MIKE 3 роки тому

    Muy buen video, hace tiempo que quería ver todo el desarrollo de una placa con stm32!

  • @JSGregg
    @JSGregg 3 роки тому

    Thanks Phil! One question - if you have two or more crystals on your PCB of different frequencies, do you need to keep them far apart?

  • @sanjikaneki6226
    @sanjikaneki6226 3 роки тому

    great video also i was wandering the programing will be done via USB , right but cant it be also done with that header too ?

  • @LOGICOMA
    @LOGICOMA 2 роки тому

    Absolutely awesome! So helpful!

  • @DavidMsg
    @DavidMsg 3 роки тому

    Can you do a modified version for 2 layers? Would be cool to see how you handle signal, ground and power on a 2 layer board.

  • @crosswick
    @crosswick 3 роки тому +2

    Isn't Altium still prohibitively expensive? Please correct me if I'm wrong

    • @artrock8175
      @artrock8175 2 роки тому +1

      Pretty sure it is. What good is a free trial if you can't afford it after 30 days? But it's obvious why Altium would want to sponsor UA-camrs who've used KiCAD for many of the tutorials as it clearly cuts into their bottom line given the cost. Which starts "poisoning the well" of content most of us enjoyed before money hungry, corporate entities shut things down. I started watching this channel because of KiCAD...

  • @ДаниилИбрагимов-я7у

    thank you a lot from Russia!

    • @PhilsLab
      @PhilsLab  2 роки тому

      Thank you for watching!

  • @1DiscipleDragon
    @1DiscipleDragon Рік тому

    Why do you need two ground planes. Why not only 1? I think that you don't even use L3(GND) plane since all the ground connections from L1 go to L2(GND).

  • @優さん-n7m
    @優さん-n7m Рік тому

    In the PCB stack, you entered the value for Dk but not Df. Why is that?

  • @djordjeen8137
    @djordjeen8137 Рік тому

    I can't make a difference between first generated gerber file and second generated gerber file, stiching vias are not shown in internal (GND) layers???

  • @siddharthkothari
    @siddharthkothari 3 роки тому

    Have you released the course you mentioned about a few videos back, I have been searching can't find a link :)

  • @noealves8400
    @noealves8400 3 роки тому

    Amazing video! and so forth :-)

  • @arjunramesh6383
    @arjunramesh6383 3 роки тому

    Hi could you please make a tutorial on any good 13.56 Mhz rfid chip and stm32 microcontroller interface

  • @RixtronixLAB
    @RixtronixLAB Рік тому

    Nice video, well done, thanks for sharing :)

  • @TheMirsTech
    @TheMirsTech 7 місяців тому

    Are all the I/O pins of STM32 active low?????

  • @clermgaming
    @clermgaming 3 роки тому

    Hi, another good video
    Have you plan to mâle videos about programming this board ?

  • @robertmotion
    @robertmotion 2 роки тому

    Great video.
    Question. I'm replacing my ebike motor pcb. My original pcb has 5V GND SP H1 H2 and H3 components that's I'm familiar with and know how to connect.
    My replacement pcb has these connections PLUS a "K" (relay?) and "-" beside it.
    What is relay used for? Does K mean relay? And, since "K" is not a component on my original pcb does that mean this pcb will not work unless connected to some type relay?
    Tried looking online/Google. No luck. Need some help. Hope u can.
    /bklyn 👑