KiCad STM32 + RF + USB Hardware Design - Phil's Lab #5

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

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

  • @PhilsLab
    @PhilsLab  4 ปีที่แล้ว +141

    New hardware and PCB design course on mixed-signal embedded systems just released!
    ⏵Course content: www.phils-lab.net/courses
    ⏵Course sign-up: phils-lab-shop.fedevel.education

    • @benjaminhodzic4840
      @benjaminhodzic4840 4 ปีที่แล้ว +8

      You should make a community on some platform, Unexpected Maker does these livestream on which he designs boards and interacts with people directly and you can learn a lot from these interactions. I do pcb design myself and it would be nice if there was a place for us designers where we can hang out and chat about our business. If you want to grow on yt, I think that would be a great opportunity for you.

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

      You use a lot of keyboard shortcuts to speed up your use of kicad. It would be nice to see what keys you are using. I've been looking for good resources on how to go from idea to board. I found your video very helpful, thanks!

    • @lahirupamodya6188
      @lahirupamodya6188 4 ปีที่แล้ว

      you should pin this comment on the top

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

      That sounds like a great idea. Would definitely be good to learn from each other and improve our skills collectively. I'll have a look into some community platforms.

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

      Thank you! I must say I'm not the best or most proficient with KiCad shortcuts but you're right, I'll highlight the ones I do use in future videos!

  • @benjaminhodzic4840
    @benjaminhodzic4840 4 ปีที่แล้ว +278

    This is gonna be one of the best channels for pcb design on yt

    • @PhilsLab
      @PhilsLab  4 ปีที่แล้ว +31

      Haha I can only hope! Thanks :)

    • @debajyotimajumder2656
      @debajyotimajumder2656 4 ปีที่แล้ว +1

      thanks. will sub now.

    • @csobrinho
      @csobrinho 4 ปีที่แล้ว +1

      Totally agree!

    • @LinhHoang-zi9mt
      @LinhHoang-zi9mt 4 ปีที่แล้ว +2

      ​@@PhilsLab I hope so too. Please do high speed digital design PCB... Here is a good book: high speed digital design howard johnson

    • @wyattr7982
      @wyattr7982 2 ปีที่แล้ว +7

      Checking in two years later: you are correct

  • @dehCremus
    @dehCremus 4 ปีที่แล้ว +67

    This is by far the most useful video on PCB design I've ever watched. Really clear explanation, covering all the topics, nice voice to listen to, just great. Thanks a lot man!

    • @PhilsLab
      @PhilsLab  4 ปีที่แล้ว +8

      That's very kind, thank you! Very happy to hear that.

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

    I've been learning this stuff for about 2 years now, and I have to say, this is the only video, wherein, I had the patience, and intrigue to sit through the entire thing and understand every bit of it. Just like a one on one session. The fact that you do not conceal the slightest details, which, unfortunately in a competitive environment is hard to come by, is a truly remarkable thing to do.
    you've got yourself a lifelong and dedicated student now XD. keep doing this and god bless you!

  • @ZainAhmed
    @ZainAhmed 4 ปีที่แล้ว +71

    Amazing video, this along with your flight computer video have given me more practical knowledge than my university has by a huge margin.

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

      I'm really glad to hear that - thank you!

  • @JLCPCB
    @JLCPCB 2 ปีที่แล้ว +30

    Absolutely great video Phil, great explanation of each step in the process from schematics to finished PCB design.
    Thank you for great content, keep it up! 😊👌

  • @cornevanzyl5880
    @cornevanzyl5880 4 ปีที่แล้ว

    44min flew past. So much valuable knowledge you've given here and you've barely scratched the surface of PCB design. I've scoured the internet for books on good design but most fall short on giving the reader a practical example. The knowledge is then never cemented. You simplified something so abstract for me.
    I would love to watch some PCB design involving digital and analog signals on the same board.

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

      That's great to hear - thank you very much for your comment. Coincidentally, I have been actually working on a mixed-signal PCB (MCU + analog audio interface) and am now on the N-th PCB iteration haha. Sometime in the (hopefully near) future I'll be sure to make a video about that.

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

    This is by far better than most(!) of all the lectures I had at a highly respected university in Germany. Amazing, how much value you give us with that! Please keep on going, I want to learn so much more!

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

      Thanks a lot, Paul - I'm very glad to hear that the videos are helping out!
      Darf ich fragen an welcher Uni Du warst? :)

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

    The board/schematic walk throughs in the long videos are just the best to learn a lot

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

      Thank you!

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

    How is it that every time I’m looking to start a new project, you manage to make a tutorial just in time to save me hours of work?
    Thanks again! Another excellent video.

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

      Thank you, I’m very glad it’s been working out that way haha! Good luck with your projects.

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

    Absolutely great tutorial on KiCAD for RF and high speed design, Phil. Thanks for sharing this. Very helpful knowledge and information for designing 4 layer boards that function with RF.
    Although you skipped a few steps, they are shown in detail in your SGM32 Hardware Design video. I'm glad you instead took the majority of the time to focus on the RF design aspects instead.
    This is one of THE BEST and most comprehensive tutorials with KiCAD for high speed RF circuit designs here on TH-cam. Thanks for sharing.

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

      Thank you very much! I'm really glad you liked it. Yes, I tried to skim over quite a bit of the details that I had mentioned in my previous KiCad video to focus on something a bit different.

  • @fgamberini2
    @fgamberini2 4 ปีที่แล้ว +1

    Great Video with loads of useful information. I'm still a rookie with Kicad and since migrating to v5 i've lost most of the 3D models, so the viewer usually shows unpopulated boards... I've never bothered to try to fix it but when I look at what you've done it motivates me to look into it. Thanks.

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

      Thank you! Yeah, for me it helps me see if I've placed connectors a correct distance away from the edges, and things like that. I also really like the 'raytracing' feature in the 3D viewer to get slightly more realistic-looking boards.

  • @diogoribeiro08
    @diogoribeiro08 4 ปีที่แล้ว +1

    I don’t usually comment on YT videos but your PCB design videos are sooo good that I feel like i have to do it. Please continue doing such videos, specially the ones that you design everything from scratch and explain your thought process!

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

      Thank you very much, Diogo! Got a video coming up on analogue audio design + PCBs - hope that is of interest!

  • @terrymaker4781
    @terrymaker4781 4 ปีที่แล้ว

    In one word...fantastic. I left the industry several years ago due to brain damage that affected my communications abilities. Despite this, I had little trouble understanding your monologue. Clear and concise, Thanks for the great video and design, Phil! I just subscribed and wait in anticipation for your next effort which I am sure I will enjoy!

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

      Thank you very much, Terry! I'm sorry to hear about your health but hope you've recovered. Very glad to hear that you found the video interesting, do let me know if there is anything in particular you would like to have a video on!

    • @terrymaker4781
      @terrymaker4781 4 ปีที่แล้ว

      It’s been a while since I have enjoyed learning to use a software package! As I inferred, I am eagerly waiting for your next videos! Thank you!

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

    I've done almost exactly the same board (for the receiver part) for one of my projects (in 2019) besides having LNA. It has been a solid system!

  • @Remulos1
    @Remulos1 4 ปีที่แล้ว

    If you made a video like this building a keyboard using an STM32 MCU you would be hailed as a hero far and wide.

  • @smlgd
    @smlgd 3 หลายเดือนก่อน +1

    7:50 from my experience as a firmware developer for mostly STM32s, I'd recommend to try to always have a jumper available for the BOOT0 pin (at least on development boards) even if you never plan to program it using the bootloader. The reason is because sometimes the code might get the MCU into an unresponsive deadloop state where even SWD/JTAG wont communicate (usually caused by invalid clock configs, trying to communicate with peripherals with gated clocks etc, I've had it happen without any logical explanation too) and sometimes this may happen so fast after startup that the SWD/JTAG programmer can't halt it after a reset, so having a way to force it to start on bootloader is a last-measure failsafe to save you from having an effectively bricked MCU

    • @pranjalkushwaha197
      @pranjalkushwaha197 หลายเดือนก่อน +1

      Happened with me once. Was using the stop 1 low power mode on an stm32g030 and it disables the swd interface to save more power when the chip is in sleep, unless you explicitly configure it to remain on via the debug peripheral. Boot 0 and Uart came to rescue.

  • @nahashonosinde9163
    @nahashonosinde9163 4 ปีที่แล้ว +24

    I'm at a point where I just like the video before even watching it, coz I know it's gonna be good!

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

      Haha thanks a lot, hopefully it won't disappoint!

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

      Haha me too..design looks cool. Overall cost of components Should be cheap with lots of cool uses. Good work bro..👍

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

      @@jimmymark8232 Thanks a lot man!

  • @wowtah
    @wowtah 4 ปีที่แล้ว +8

    This video made me catch a mistake in one of my boards, just before sending it into production. So thanks!

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

      Good to hear that! I usually spot mistakes as soon as I've clicked the 'send off for manufacturing' button haha..

  • @dylanzemek7069
    @dylanzemek7069 4 ปีที่แล้ว

    Absolutely best video on pcb design I have ever seen! I’m a junior mechatronics engineer and this video taught me more on the topic than any of my subjects at uni ever did! Thank you and please make more content!

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

      Thank you very much, Dylan! Really glad to hear that regarding the video.

  • @dumitruleonis2437
    @dumitruleonis2437 4 ปีที่แล้ว

    Literally just sent a board off to production last night, before I found this video. Now I know at least three things I did wrong with my layout. At least I know what to do next time and where to start troubleshooting if it doesn't work! Thanks for the really great content.

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

      I know the feeling! I'll send a board off sometimes and then realise what I maybe should have done differently. Hope everything still goes well with your boards. Thanks for watching! :)

  • @AppliedMetaphysician
    @AppliedMetaphysician 4 ปีที่แล้ว +1

    Thanks for taking the time to put all of this together. I've added it to a playlist because I'll need multiple viewings to absorb and integrate all the knowledge!

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

      My pleasure, hope this can help with your designs!

  • @dwagner6
    @dwagner6 4 ปีที่แล้ว

    Can’t tell you how much I appreciate your videos. Your way of explaining your thinking is concise but complete, and really easy to follow. And, your OCD inspires me to be tighter with my designs.

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

      Thank you very much, Doug. I'm very glad to hear that!

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

    Great tutorial. After some years away from PCB & Software design I very recently came back to it for some projects and had 3 of my designs come back from JLCPCB at the beginning of the week. All great quality, price and they actually work! I have a radio control transmitter, receiver and a security interface board on the desk in front of me and very pleased with the results, especially that they work!. You take the design to another level from me, I'm impressed and have learned from you.

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

      Thanks, Graham - glad to hear your project worked out!

  • @katjordansoccer
    @katjordansoccer 4 ปีที่แล้ว

    Wow! This is loaded with very useful information. I learned things I didn't know I needed to learn... Additionally it is clear, concise, doesn't ramble, wander or repeat itself.
    I learn about many different subjects, not just electronics, from videos and as a frequent consumer of educational videos I have to say I think this is extremely well done. One of the best... ever.

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

      Thank you very much, Katherine! Very glad to hear that - and hopefully more similar videos to come in the future :)

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

    STM should sponsor you. If you covered their "development boards" with videos like this every entry level engineer would reference these for learning and use STM in their products.

  • @wthornton7346
    @wthornton7346 4 ปีที่แล้ว +1

    Not surprised by the feedback. You are a naturally talented teacher. Thanks.

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

      That's very kind, thank you!

  • @hemantbabel4279
    @hemantbabel4279 4 ปีที่แล้ว

    Pure Gem .
    This kind of information is very rarely available in video format.

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

      Thank you, glad you found it helpful!

  • @Zapho300
    @Zapho300 4 ปีที่แล้ว

    Fantastic video - its great to see a complete walkthrough from concept to design and layout. I've been using KiCad for years but I make time every week watching tutorials for new ideas, layout strategies that I can improve on etc. Yours is by far the best I've seen. Your attention to detail is incredible. Most others would have skipped over the USB details and decoupling strategy. I'd be keen to see how you handle a 4 layer board. I'm working on my first and am finding it a challenge.

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

      Thank you very much, Barry. I'm very glad you found it helpful.
      Is there anything in particular you'd want a video on regarding 4-layer boards?

  • @jamesmorton7881
    @jamesmorton7881 4 ปีที่แล้ว

    Well integrated audio video presentation of technical design details. Saturn calc is another very good free PCB calculator. Suggest 1/2 oz copper all planes, plate top and bottom up to 1 1/2 oz to prevent delamination of pads during soldering. Extra, plane cutouts under any DC blocking caps on diff pairs. Good work.

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

      Thank you very much, James. I'll take a look at the Saturn calculator you mentioned - thanks for the tip!

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

    I would happily pay for these tutorial videos, they are so good. Please keep up the good work!

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

      That's very kind of you to say, thank you!

  • @p1366
    @p1366 4 ปีที่แล้ว

    Good Job Phil. you are a natural educator and sharer of knowledge. Clear, Concise, Considered. Very inspiring.

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

      Thank you very much, really appreciate you saying that.

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

    As a board designer, I love how detailed you explanations are from the beginning til the end. Some questions for understanding and learning:
    1. No ESD protection is seen from SWD connector to STM32 MCU - could it be a potential threat of ESD damage on SWD pins?
    2. Guard ring consideration for entire PCB (and eventually connect to USB shield) for EMI protection?
    Thanks!

  • @thoughtfuI
    @thoughtfuI 4 ปีที่แล้ว

    I never thought I would start making PCBs for myself, your thorough explanation of the design process helped me a lot to dive in. Thank you!

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

      Awesome, I hope your PCB-design journey goes well! :)

  • @svrestless3425
    @svrestless3425 4 ปีที่แล้ว

    most excellent. I must get in the choir and praise this channel. I am very tempted to increase the PCB width by 5.01 mm so i can get 2 assembled.

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

      That's very kind of you to say, thank you! I actually have made a 'panelised' version of this PCB, which you can find in the Git repo in the description.

  • @Aemilindore
    @Aemilindore 4 ปีที่แล้ว

    Thank you for being generous! Hope you will have a follow up video for this with more RF fundamentals. Thanks you again, sincerely for making RF a bit easier in KiCad.

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

      Hi Paul, Thank you for watching! I plan on making another RF video at some point in the future. I just need to think of an interesting project haha :)

  • @accessknust
    @accessknust 4 ปีที่แล้ว

    Wonderful tutorial and I learnt a lot. I just wanted to suggest you take the microcontroller as a full tutorial and teach how it works and how u can use it in full detail. To help those who want to use the microcontroller in other ways. Thanks

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

      Thanks Edwin! Yes, I plan on making a few more videos that go from initial product idea through to actually making it a reality, including programming, troubleshooting, etc.

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

    Brilliant and very helpful. Lots of detail and a good pace. As someone else mentioned you have a very easy voice to listen to.

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

      Thank you very much!

  • @damny0utoobe
    @damny0utoobe 4 ปีที่แล้ว

    This tutorial is just what I needed for pcb design. I was trying to all 3 items in your design: USB RF with STM32

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

      That's great - hope your design goes well!

  • @MrEdwardhartmann
    @MrEdwardhartmann 4 ปีที่แล้ว

    Great video. I have had several boards manufactured by JLCPCB but nothing as challenging as this board - mine go in old pinball machines that run the processor at 1MHZ. You don't have to worry to much about matching at that rate. But you did a wonderful job of explaining what would need to be done if I ever had the need for speed. Thanks for the great content

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

      Thank you, Edward - I'm very happy to hear that! Good luck with all your designs!

  • @AfricanTimeMeal
    @AfricanTimeMeal 4 ปีที่แล้ว +6

    One of the best videos I have ever seen in my life. Thank you

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

      That's very kind, thank you!

  • @troycallahan9179
    @troycallahan9179 4 ปีที่แล้ว

    These are exactly the sort of STM32 & PCB design videos I’ve been wanting to watch! Great work, and I cant wait to see what else you’ll put out!

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

      Awesome, very glad to hear that! Hope to do a few more electronics/PCB videos in the future. Right now I'm working on a little control theory series!

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

    Great Video. Concerning the RF Trace and the calculation, you give a nice and easy way for an implementation, but of course there is much more to it. I'd like to add that the RF trace or transmission line you are designing here is a so called microstrip line. There are more rf transmission lines like this. I have good experiences with the grounded coplanar waveguide. KiCad has an integrated calculator for multiple transmission lines. It is harder to use because you need much more information about the pcb, not just the stackup but the material itself.

  • @angelgcu
    @angelgcu 4 ปีที่แล้ว

    Very well done video, no many like this one related to Kicad and the teaching of interesting tips when routing RF traces.

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

      Thank you very much, Luis!

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

    Thanks so much for this clear and detailed look at PCB design! I learned a great deal from it.

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

      I'm very glad to hear that - thank you!

  • @mychromebook9935
    @mychromebook9935 4 ปีที่แล้ว

    hardware is "hard." but your videos make it a little easier to getting there.

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

      Awesome, very glad to hear that :)

  • @Kefford666
    @Kefford666 4 ปีที่แล้ว

    I just decided over the weekend to learn more about RF and planned out a BLE + STM32 PCB with USB and RGB LED (all the TLA’s! 😆) so this is perfect! Except I’m planning on taking the easy route and just using a module with a serial API (another TLA!)

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

      Awesome haha :) Well the easy route might be the better one in the end :D

  • @_a_x_s_
    @_a_x_s_ 4 ปีที่แล้ว

    What a great video. The whole video worths the whole semester of PCB lectures. You are pretty good at designing as well as teaching!

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

      Thank you, really glad to hear that!

  • @SuperSkyBuilder
    @SuperSkyBuilder 4 ปีที่แล้ว

    About the shield pin - it is grounded on the host side per the specification, BUT the connection varies depending on the device.
    A) Right, you should avoid current on the shield of the usb cable.
    B) The device ground should be connected to a protected ground under the USB connector area, through a combination of ceramic caps in parrallel with a high resistance of a varistor of some sort in order to provide a return path for high frequencies (yeah they exist and perfer to flow on shielding)
    C) the ESD/TVS Diodes should be connected to theprotected ground, as they are the primary protection and all interface devoces already have a little protection, which is counted as secondary protection against lower energy events.
    D) if you have a metallic case, ground it to the usb shielding.
    E) if you have any other connection to this device, you should carry the shielding path around the pcb edges to the shielding of said connection.
    F) this is not even the beggining of the subject... i reccoment the books "Grounds for Grounding" and "Electromagnet Compatibility Engineering" Books to start understanding the subject.

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

    This is definitely high-quality work. Thank you for taking the time to help us learn more.

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

    Great stuff Phil! Thanks for making these videos! Hope we get to see the end product.

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

      Thank you - I’ll try and make another video, once I get these boards manufactured.

  • @simonlove99
    @simonlove99 4 ปีที่แล้ว

    Really good coverage. Perfect refresher for core points needed for many projects.

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

      Thank you!

  • @hon2468
    @hon2468 4 ปีที่แล้ว

    This is the greatest RF design tutorial I have seen so far!!!!

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

      Thank you very much!

  • @harrypehkonen
    @harrypehkonen 4 ปีที่แล้ว

    OMFG! Came here for help with ground planes around crystals. Found so much more! Thank you! Subscribed!

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

      Awesome, thank you, Harry!

  • @movax20h
    @movax20h 4 ปีที่แล้ว

    Nice. BTW. If one is scared of matching networks, well Nordic provides reference design and layout, so it is easy to replicate. If one wants to have smaller foot print, using a pre-made RF balun, for example Anaren BD2425NnRF , which is 0404 part, together with some 0201 or 0402 extra parts, can provide you working solution quicker, that is smaller too. It is designed for this specific nRF24L01 chip. It is a multi-layer transformer based balun, so you get extra isolation, and don't need output capacitors, as well better ESD protection out of the box. It is a cheap part (0.50$ for small quantity, dropping below 0.30$ for over 100 parts). Unfortunately JLCPCB doesn't have it available for SMT assembly, so in many cases it is no-go.

  • @kenshin16021610
    @kenshin16021610 4 ปีที่แล้ว

    Thank you for sharing. Please keeping it up, because I saw some channels just drop after few videos without any response which is so sad :(

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

      I do hope to keep it up. However, the channel won't be purely PCB design - since I'm primarily a control systems/DSP guy myself, and I've only gotten into PCB design fairly recently. Hope that's still okay :)

    • @kenshin16021610
      @kenshin16021610 4 ปีที่แล้ว

      @@PhilsLab Sure man. It will be even more interesting :)

  • @Ninjamstrboy
    @Ninjamstrboy 4 ปีที่แล้ว

    this is awesome and super educational! i'm sure this will be a valuable reference for many future pcb designers.

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

      Thank you very much! Hopefully it'll help some people out in the future.

  • @zeropoint-1041
    @zeropoint-1041 3 ปีที่แล้ว

    this is a great find, thank you .. please never leave us.

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

      Thanks for watching, Michael!

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

    OMG Phil! Thank you for taking the time to share your knowledge. You're a great teacher too! Very organized, clear explanation with just enough info to get going with pointer to where to learn more. Fantastic content! Subscribed and will check your other videos!

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

      Thank you very much for your comment Hari, really glad to hear that!

  • @bussypaul7326
    @bussypaul7326 4 ปีที่แล้ว

    I really like the way you explain things! Expecting more design and development ideas from you! Thanks!

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

      Thank you! Definitely more videos lined up :)

  • @zazachin
    @zazachin 4 ปีที่แล้ว

    Thanks for the video! The audio is much better this time. Looking forward to more informative stuff in the future.

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

      Thank you! Yes, the new mic was a good investment haha.

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

    I would love a quick explanation and use of 'driven guard rings....cheers.

  • @BenVonHandorf
    @BenVonHandorf 4 ปีที่แล้ว

    This was a great video. This really clarified a few things for me and added some new resources to my list. I think I've got 3 pages of notes from just the second half of the video.
    Now to go watch the flight computer video in its entirety!
    Thanks for the effort you put in here!

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

      Thank you, Benjamin. Very glad to hear these videos have clarified a few things. I must admit I'm also relatively newww to this and I'm sure there are a LOT of things I can still learn about PCB design, but just wanted to share what I gathered so far.

    • @BenVonHandorf
      @BenVonHandorf 4 ปีที่แล้ว

      @@PhilsLab You've definitely made it deeper into the topic than I have. The dive on USB and the correct impedance in particular was interesting and relevant to some upcoming projects so much appreciated.
      At least for me most of the work is finding out the stuff you need to learn. This put several new things on my list and is much appreciated.
      Oh, and you probably told me why the crystal oscillator on one of my boards isn't working (it's over the single ground pour)... that was a puzzler that I wasn't sure how to even start with.

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

      @@BenVonHandorf Awesome, that's good to hear! Hopefully you can get your crystal oscillator part of the board sorted for the next iteration!

  • @BM-jy6cb
    @BM-jy6cb 4 ปีที่แล้ว

    Your videos are a goldmine of practical info. Thanks so much for posting!

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

      Thank you!

  • @jefferyreber1682
    @jefferyreber1682 4 ปีที่แล้ว

    This is a great video! I'm just getting into circuit design for modular synths, so no RF signals, but it's incredibly interesting to see how PCB design gets affected when you're getting into that range.

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

      Awesome, thank you! I'm much more of an audio guy myself so hope to do some more videos on audio-related circuits.

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

    Hi Phil looking forward positive after watching your videos to see soon stm32wl with lora best Regards JP

  • @darkstar2111
    @darkstar2111 4 ปีที่แล้ว +1

    Wow, great job pal! With i2c, some gpios, and maybe second spi it would be a board I could use for pretty much all my projects

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

      Awesome, thank you!

  • @movax20h
    @movax20h 4 ปีที่แล้ว

    This NRST trace that cuts your GND pour, can be significantly improved. 1) Bring the via closer to the chip. 2) From the connector put the track on the top signal layer, and only drop to other layer close to the chip. This will reduce the cut significantly. It can be further improved, but doing jump back and forth between first and last layer twice (4 total vias). I have no idea why ST decided to put a GND pad under this chip, as it doesn't need to be technically connected (datasheet says it is recommended to solder it to GND, but it is not required electrically or thermally), nor does the chip generate a lot of power to require it. Maybe it is to make the chip lay flat on the board, or improve mechanical joint. If you try to risk it, you can ignore the GND pad there, cover it with solder mask, and run some other traces there. But the soldering will be harder or not possibly using JCLPCB service.

  • @bukitoo8302
    @bukitoo8302 4 ปีที่แล้ว +1

    Hi! Very nicely explained design! Congrats! Just an observation in regard of crystal ground plane. The gnd return connection must be below the crystal source traces un order to minimize ground loops.

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

      Thanks and thank you for your great comment! Yes, ideally the GND connection should be as close as possible to one of the ICs ground pins (going by page 42 of this application note: www.st.com/resource/en/application_note/cd00221665-oscillator-design-guide-for-stm8afals-stm32-mcus-and-mpus-stmicroelectronics.pdf). In this case it shouldn't be a problem, as the the ground trace I routed and that IC ground pin are very close anyway, but in general yes a thing I should have mentioned is to always try and minimise ground loops. I'll do that in upcoming videos - thanks again!

  • @noxim_
    @noxim_ 4 ปีที่แล้ว +1

    Insanely high quality video! I will definitely be coming back to watch this many times when I move my projects from pre-existing MCU boards to custom. Few of my projects are (lipo) battery powered and talk with Bluetooth, so if you are looking for future video ideas I would definitely be interested in something like that :)

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

      Thank you very much, I'm glad you found the video helpful! I saw that STM makes MCUs with integrated Bluetooth transceivers (www.st.com/en/wireless-transceivers-mcus-and-modules/bluetooth-bluetooth-low-energy.html#products), which definitely could be incorporated into some project in the future. Just need to come up with one now haha!

  • @MrPmjg
    @MrPmjg 4 ปีที่แล้ว

    Thanks for sharing your knowledge in such a easy way to understand

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

      My pleasure, thank you for watching :)

  • @Veilands
    @Veilands 4 ปีที่แล้ว +5

    Phil, much appreciate your work and effort, very valuable and useful content, thank you very much and have a great day =]

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

      Thank you very much, I’m glad you’re finding it helpful!

  • @kunalsalvi8382
    @kunalsalvi8382 4 ปีที่แล้ว +1

    Your channel is a blessing, good sir. If possible a project around bga would be nice. Thanks a lot for this.

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

      Thank you! I'm not sure how much BGA stuff I'll be doing, at it's always a bit of a pain to get boards with BGA chips assembled. But we'll see, maybe some time in the future!

    • @voice4voicelessKrzysiek
      @voice4voicelessKrzysiek 4 ปีที่แล้ว +1

      @@PhilsLab It's not that bad. I, in my 70s, up until a year ago (now retired), did replace many BGA chips of various sizes, down to the smallest (5 balls) using handheld hot air, liquid flux, microscope, and tweezers. If I could do it by hand, it certainly shouldn't be a problem for PCB Assy houses.
      Your video is exceptionally helpful for many aspiring electronics enthusiasts, professionals, and tinkerers alike. Thank you very much for your effort to help us become better in this field. Keep up the great work!

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

      @@voice4voicelessKrzysiek Haha yeah that's true! The assembly house I usually go for unfortunately doesn't support BGA, so I've avoided them. But maybe should I ever need a BGA-package chip I won't stray away from it anymore and look for a new manufacturer haha.
      Thanks for your comment by the way, really appreciate it!

    • @kunalsalvi8382
      @kunalsalvi8382 4 ปีที่แล้ว

      @@PhilsLab That's true. I was going for more of a study project that you wouldn't send for fabrication but design it just for a video. I hope I'm not bothering you, Sir.

  • @Aemilindore
    @Aemilindore 4 ปีที่แล้ว

    -lease do more videos on basics of RF design rules for simple circuits like these. They can be very helpful.

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

      Thank you, I'll try to bring out more videos on the topic!

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

    i learn so much from your videos every single time

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

      Thank you very much!

  • @leo940806
    @leo940806 4 ปีที่แล้ว

    This is really a good video for the young engineer. It helps so much to start

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

      I'm very glad to hear that - thank you!

  • @anneallison6402
    @anneallison6402 4 ปีที่แล้ว +1

    Man keep with it, in no time you are gonna be the best

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

      Thanks a lot, Paul!

  • @vicxaflora2467
    @vicxaflora2467 4 ปีที่แล้ว

    Love this from thailand , It is inspiration for electronic hardware designer , keep going

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

      Awesome, thank you - greetings from Germany :)

  • @lahirupamodya6188
    @lahirupamodya6188 4 ปีที่แล้ว

    Great tutorial on KiCAD. covered very important topics in an awesome manner. keep making more. cheers!

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

      Thanks a lot! Yes, I plan on making a couple more videos - on a few different topics.

  • @TanNguyen-jn1ly
    @TanNguyen-jn1ly 4 ปีที่แล้ว

    Amazing video. This is a great material for aspiring hardware designers. Please keep up the good work, your channel will go very far!!! Thank YOU!

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

      Thank you very much, I'm very glad to hear that!

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

    Another gem Philip 💓

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

      Thank you!

  • @GingerBeker
    @GingerBeker 4 ปีที่แล้ว +1

    Amazing video Phil. Your explanation skill are excellent...you should make an electronics course on udemy or other platform...or open a parallel patreon page with custom content. Good luck and thanks for what you are doing...it's amazing. I learn tons of stuff from your video.

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

      That's very kind - thank you! Maybe in the future I'll have a go at one of those. Is there any part of electronics you would be particularly interested in seeing more of?

    • @GingerBeker
      @GingerBeker 4 ปีที่แล้ว

      @@PhilsLab The actual format with circuit/pcb with your explaination meanwhile for me it's perfect...i know there is a lot of work behind, that's why i appreciate so much your content.

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

    I learned a lot from this video about PCB Design , Thank you for this !

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

    Thank you for taking the time to make these awesome videos!

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

      My pleasure, thank you for watching, Maroua!

  • @timknapen
    @timknapen 4 ปีที่แล้ว

    Lovely video. Just the right amount of detail and explanation. This is ASMR for my nerd brain.

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

      Thank you very much, Tim!

  • @d.buchko4270
    @d.buchko4270 4 ปีที่แล้ว

    Your videos are great! Full of information to assimilate so I can build my own design. Thank you.

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

      Thank you, Darrell - that's great!

  • @davebenemerito310
    @davebenemerito310 4 ปีที่แล้ว +1

    The kind of videos I've been looking. Keep it up!

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

      Thanks a lot, Dave!

  • @bloguetronica
    @bloguetronica 4 ปีที่แล้ว

    Nice presentation, and very nice PCB design! I see some meandering on one of the USB traces belonging to the differential pair, which shows care and though. If you use the STM32 to interface USB to SPI, I think you could replace it with a CP2130. Also, you can use the CP2130 internal regulator, which converts 5V to 3.6V, offering 100mA of maximum current.
    About the termination resistors and capacitors, they are typically used in USB 1.0 interfaces, if they are not already included inside the chip, as you mentioned. Different chips have different requirements, and values will probably vary for those interfaces that require said external components.

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

      Thank you! Thanks also for the IC recommendation, I hadn't seen that before. Nice that it also has an internal regulator.
      I was planning on doing a bit more than just passing on data from the RF transceiver to the USB, e.g. something like decoding/packing/extracing information. But definitely a much better idea to use the chip you suggested if that functionality isn't needed!

  • @kevinvermeer9011
    @kevinvermeer9011 4 ปีที่แล้ว

    26:43 Looks like a few stitching vias to bridge the ~NRST (note the tilde, ~ is a special character to make KiCad give an inverted signal top bar) trace wouldn't go amiss, especially because your RF transceiver and crystal are cut off "around the corner" from the rest of the decoupling/bulk caps, regulator, etc. I know you've got the logo to contend with and want to keep that silkscreen pristine, but a couple vias above the "F" would reduce the impedance at the bottom of the board.
    Edit: also, "guard ring" to me means something very different: it's a path to a constant voltage to protect extremely high-impedance signals from stray leakage currents. What you have there is a footprint on which to solder an EMI can. (Might have wanted to make that a square that matches an off-the-shelf can instead of those rounded corners). Without the can installed it does very little.
    Minor issue, still great content! It's been a few years since I was taught, it's good to get up to date with modern realities of how cheap a 4-layer board is, how cheap vias are, and how tight trace/space can be!

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

      Thanks a lot for your great comment! You're completely right regarding both the additional stitching vias and the guard ring.
      As you said, the contention with the silkscreen was what was bugging me and to be honest, I have not have yet had problems the way I typically stich (or don't stitch). Then again, my boards aren't really very advanced or high-speed. But I will definitely try to be more reasonable with stitching in the future, as you suggested.
      The guard ring, to be quite honest is more of a gimmick of this board, rather than anything particularly useful and will most likely function no different with or without it (except, as you mentioned, should an EMI can be installed).
      Thanks again for your suggestions, really appreciate it!

  • @dimgwolukze140
    @dimgwolukze140 4 ปีที่แล้ว

    Very good step-by-step tutorial, really learn a lot, Thanks!

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

      I'm very glad to hear that - thank you!

  • @LiyangHU
    @LiyangHU 4 ปีที่แล้ว

    Great stuff! Recently I'd been getting back into building electronics again, after almost 20 years since I last laid out a PCB when I was a teenager. Finally fixed that last week.
    Controlled impedance for high-speed/RF layout has always been a bit of a mystery to me-even after having obsessively watched The Signal Path for years. :) You managed to show me otherwise in one short video. Keep them coming!
    One minor thing though: I kept wondering what these "ground paws" you were referring to were. Took me until near the end to figure that one out; don't think I've ever heard of them being called anything other than "power/ground planes" before. That said I don't work in the industry, so might just be a gap in my experience. :)

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

      Thank you - very glad to hear that! :)
      Haha yeah, what I meant to say was 'copper pours', but ended up saying ground pours. I hope that didn't cause too much confusion!

  • @Kayram1
    @Kayram1 4 ปีที่แล้ว +1

    Great work, appreciate for the effort. Very informative. Keep posting

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

    Hey Phil thanks for your work, your channel is the best PCB channel on TH-cam for shure. I have learned a lot and ordered my first PCB with what i learned from your videos. But i couldnt find any Flex PCB video on your channel and everywhere else(A good one). Maybe you can take a video about it, im shure it would be very interesting and instructive.

  • @GuillaumeFouilleul
    @GuillaumeFouilleul 4 ปีที่แล้ว

    Awesome video ! Very helpfull for PCB designer newby.

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

      Thank you - very glad to hear that!

  • @adc6214
    @adc6214 4 ปีที่แล้ว

    Just started learning about PCB great vid hope you could make tutorial videos for beginners.

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

      Thank you! Any specific topics you would like to have covered?

  • @shis10
    @shis10 4 ปีที่แล้ว +1

    Excellent. Very helpful video

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

      Very glad to hear that, thank you!

  • @rikilshah
    @rikilshah 4 ปีที่แล้ว

    Great Video! I've been using Eagle since last 12 years and many times tried to shift to KiCad. But couldn't shift to it. Now that I've seen your excellent work, I will definitely start using KiCad.

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

      Awesome, thank you very much! KiCad is a bit quirky but actually quite usable once you get the hang of it haha.

  • @shuashuashua1
    @shuashuashua1 4 ปีที่แล้ว +1

    Nice vid, I really enjoy it.
    Also spotted little inaccuracy in Your 3.3V supply design, I know its really minor thing. With USB 5V output voltage and 100mA fuse You can get constant power below 500mW coz most fuses blow with rated current after few hours, even if assume it wont blow, output current gonna be some around 500mW/3.3V = 151mA max not 200mA.

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

      Thanks man! Yeah, at the time of making this video the value of the fuse wasn’t calculated and I just chose a ballpark figure. Had picked a rough value for the video with no detailed calculations. You’re right however, should have mentioned that in the video!

  • @Nalanaij
    @Nalanaij 4 ปีที่แล้ว

    I'm quiet keen on seeing one of your µCs 'live' and in Action ;)

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

      There'll definitely be some of that in the (hopefully) not-too-distant future! :)

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

    Video is really good.
    For 6:05 to 6:25, my understanding is different to Phil's understanding.
    - My understanding is that the maximum output current is 100mA (as generally, the output current equals the input current).
    - Phil's understanding is that the maximum output current is 200mA.
    Why is the maximum output current equal to 200mA, and generally what is the current rule for voltage regulators ?