Critiquing My Own PCB Designs - Phil's Lab #43

  Рет қаралды 49,716

Phil’s Lab

Phil’s Lab

Күн бұрын

My first PCB design was in 2019 - let's look back and see how bad these were and how I've improved over the last few years! Featuring KiCad 6.0 and Altium Designer. (Apologies for the less-than-optimal audio!)
[SUPPORT]
Free trial of Altium Designer: www.altium.com/yt/philslab
PCBA from $0 (Free Setup, Free Stencil): jlcpcb.com/RHS
Patreon: / phils94
[LINKS]
GitHub: github.com/pms67
PCB Design Course Survey: docs.google.com/forms/d/e/1FA...
[TIMESTAMPS]
00:00 Introduction
00:24 Altium Designer Free Trial
00:47 PCB Design Course Survey
01:13 First PCB (Arduino Due Shield)
07:01 Second PCB (Update on Arduino Due Shield)
10:05 Third PCB (Teensy Shield)
11:15 First Four-Layer PCB (First STM32 Board)
15:53 Hades Flight Control System (Second STM32 Board)
21:43 My Current PCB Designs (2021)
ID: QIBvbJtYjWuHiTG0uCoK

Пікірлер: 89
@JLCPCB
@JLCPCB 2 жыл бұрын
We love your designs! Also your videos are very informative and helpful to many young engineers and students! 🥰👍
@albertoprogida8977
@albertoprogida8977 2 жыл бұрын
Can’t even put into words how much your work has helped me learn! I’m studying mechanical engineering but work on lots of avionics stuff and your videos have been an incredible resource! Excited for all the new tips coming next year. Cheers!
@ZainAhmed
@ZainAhmed 2 жыл бұрын
@@alejandroperez5368 it's always good to have a wide array of skills. I know test engineers that learned to design PCBs just to make their wiring harnesses and sensor setups cleaner. Same way that learning python is helpful to people in many engineering sub fields.
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you very much, Alberto! Many more electronics/PCB design videos to come this year.
@MrAnanas997
@MrAnanas997 2 жыл бұрын
See you at Euroc!
@artrock8175
@artrock8175 2 жыл бұрын
Videos like these where you reflect on your own designs of the past, are extremely valuable for the "young players falling for the never ending traps" Dave Jones is always talking about. Thank you for taking the time to put this together and sharing it with the world! 🙏🙏
@josephsanchez08
@josephsanchez08 2 жыл бұрын
This is where I’ve been lucky to have good mentors to help me review my work and learn from their mistakes. I appreciate that you review your work because it shows that you care and aren’t too prideful to learn.
@InterFelix
@InterFelix 2 жыл бұрын
I would love to see a video of you going over do's and dont's when starting out with PCB design, essentially things to look out for, good practices and bad practices etc. Could also be something like "things I wish I knew when starting out with PCB design". This would be tremendously helpful to anyone starting out in the field and I haven't yet found any good video on this topic.
@gammaleader96
@gammaleader96 2 жыл бұрын
It is always a good idea to take a moment and look at what you did previously. It always helps me to see where I came from, what I did in the past and also to understand what effects some changed had. After all I think this is a great way of maximizing the learning effect, thanks for the video.
@rahuls7039
@rahuls7039 2 жыл бұрын
Again, such an in-depth video. Please make these types of videos every interval of a few months or so. Thank you for doing this, Phil. I am learning a lot, slowly and steadily.
@tamasv1290
@tamasv1290 2 жыл бұрын
Thank you for this video, quite inspiring to see how you started back then. I am also happy to hear you are working on the video course, I thought you abandoned that idea!
@yaghiyahbrenner8902
@yaghiyahbrenner8902 2 жыл бұрын
Thanks for this very good to look into the past and talk about improvements, honestly for a first time design your work is really good probably uphill from there.
@MrZomhad
@MrZomhad 2 жыл бұрын
Thanks a lot for making these videos, they help a ton! Would love to see a bit more on the ESC, it seems quite neat! Happy new year🙌
@deangreenhough1178
@deangreenhough1178 2 жыл бұрын
Great to see the improvement. You've become one of my favorite channels with Altium and the STM Cube IDE. Happy NY to you
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you very much, Dean!
@adaminsanoff
@adaminsanoff Жыл бұрын
You have made incredible progress in such a short time. Bravo!
@PhilsLab
@PhilsLab Жыл бұрын
Thank you very much, Adam!
@Cptnbond
@Cptnbond 2 жыл бұрын
Thanks, Phil, an excellent idea to review your progress. I'm kind of on the same journey, challenging myself with more advanced designs. Cheers.
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you very much! Yeah, it’s always interesting to look back and see how one’s skills have changed (and hopefully improved).
@piotrlenarczyk5803
@piotrlenarczyk5803 2 жыл бұрын
Thank you for video. Detailed revisiting of own inventions disadvantages prove the highest skill of professional design. Even the best design possess some drawbacks, and making them publish is quite courageous:).
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you for your comment, Piotr!
@brus54per
@brus54per 2 жыл бұрын
Very helpful to see and hear your comments and how your skills have improved. The "don't:s" are very helpful - as well as the "do:s". Thank you and my best wishes for a bit more normal 2022!
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you!
@bartek153
@bartek153 2 жыл бұрын
Vey honest and interesting Phil. I can see already where I can improve too! :D
@vilius20001
@vilius20001 2 жыл бұрын
Excellent videos. Thanks for all of your hard work lad.
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you very much!
@andershestad284
@andershestad284 2 жыл бұрын
Great insightful video! A cool video idea for the future could be to review viewer submitted PCB designs :)
@ashnad1499
@ashnad1499 Ай бұрын
Bro we love your design it is helping me a lot And thanx for all the free resources
@RaymondBarakat
@RaymondBarakat 2 жыл бұрын
It took me a second to realize how you set up the enable pins on the LTC3370 for your most recent Hades Z edition board. Really simple and elegant way to do power sequencing, just daisy chaining each voltage rail as they come up. Gonna have to remember that trick. Great work! Lots to learn from your channel!
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you very much, Raymond!
@mouradmkhakh8903
@mouradmkhakh8903 2 жыл бұрын
Good luck, i appreciate your work. Thanks for sharing.
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you, Mourad!
@michajoko7534
@michajoko7534 2 жыл бұрын
I would be very interested to see something about ESCs or about the design of H-Bridges and the thermal aspects.👍
@mallikarjunse
@mallikarjunse 2 жыл бұрын
Looking forward to ESC! 😄
@johnferrenby7486
@johnferrenby7486 2 жыл бұрын
These videos are gem!!! Thanks a lot for work.
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you for watching, John!
@coderebel3568
@coderebel3568 Жыл бұрын
I've learned a lot from you Phil, and still learning. Thanks a lot! One request is if you could dive a bit into the setup and debugging of audio codecs, like PLL and sampling frequency, and differential outputs and such. I've played around a bit with an AD1937 audio codec, which I chose because of it's many input and output channels. I also provided it with a 12,288MHz crystal I believe to get a precise sampling frequency. But I can't seem to get it to work. I discovered the I2S lines were ringing on the first design, so I looked at the schematic for the AD1937 discovery board and provided the same termination on the new version, but it's still not working. I've made the output and input stages modular, so I can provide differential inputs and single ended inputs as well as differential buffered outputs and a headphones output using a headphones amplifier IC (TPA6111A2). All it does is "cracle" a lot and giving some weird looping noise. I think one reason could be my separated ground planes for the analog and digital sections, but I did provide a jumper and ferrite bead to connect them together. It's a bit better if the ferrite bead is shorted so the grounds are connected together, but I'm hearing (or seeing on my scope) none of the sine wave I'm having my STM32F446 (on a Nucleo board) send to the DAC. One thing I did learn from your videos though (which I wasn't sure about though I must have tried it) was that I need to use signed integer values. But perhaps I should have tried with 16 bit on a 16 bit frame first.. Not sure if I've done that. I suppose you must have gone through a similar learning curve. I couldn't solve this puzzle with the AD1937 datasheet anyway.. So would you please consider making a video about some debugging and pitfalls when working with audio codecs?
@mcorrive12
@mcorrive12 2 жыл бұрын
These videos are amazing! Thank you for sharing!
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you very much, Matt!
@ianthehunter3532
@ianthehunter3532 2 жыл бұрын
What were the approximate dimensions of your first board? Also at 14:17 you said you didn't like the clearance between plane and traces, so how much clearance do you recommend for that?
@maxim25o2
@maxim25o2 2 жыл бұрын
I try my first designs, because I noticed that connecting all arduino modules apart, and dealing with cables, can be messy, I start trying design one board ready to use. Your videos are so acknowledging, and rather to make mistakes, like You did at beginning, because of Your videos, You helping me to make better design and learn good design practice.
@Program2live
@Program2live 2 жыл бұрын
Really helpful video, great progress! In the future or on the course can you go into CE, UKCA, RoHS, in particular self-certification (tools to use, dos and don't etc.), rather than sending it off to get it tested?
@rick_er2481
@rick_er2481 2 жыл бұрын
Yes do this please, would be awesome!
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you very much! I'd definitely like to go over something like that in future videos, especially w.r.t. CE marking.
@youtubeviewer7077
@youtubeviewer7077 6 ай бұрын
You mentioned you don't do thermal reliefs anymore. I understand they're to prevent toombstoning, but I've only ever hand-assembled PCBs (manually or with solder paste/heat gun) and haven't had those issues. I assumed it must be needed for professional assembly, but you get PCBs assembled on the regular, so I guess that's not the case? I plan to order some assembled PCBs soon and wondering if I can change that Kicad default to not have thermal reliefs.
@snivesz32
@snivesz32 Жыл бұрын
Looking at a data sheet I see the common mode choke specified close to the can transceiver followed by the terminator, does that make a difference?
@Retinatronics
@Retinatronics 2 жыл бұрын
Hi Phil, In your video around 14:23 you said thermal reliefs doesn't do anymore for smd components only for through hole. Can you elaborate on that point please?
@JeanLucCoulon
@JeanLucCoulon 2 жыл бұрын
Thanks for the video. Twice, you said "the GPS didn't work". Can you tell why ?
@warlock5784
@warlock5784 2 жыл бұрын
very useful drive shaft
@frankbose544
@frankbose544 2 жыл бұрын
we all start somewhere i actually pulled up some of my fist designs and boy oh boy they were bad im looking forward to getting your udemy pcb design course tho so i can improve even further
@abdhullahjr3822
@abdhullahjr3822 2 жыл бұрын
very nice stand
@jenshaldrup4952
@jenshaldrup4952 2 жыл бұрын
With a 3.3V supply, a 100 ohm resistor is reasonable for a through-hole LED. They need more current than surface mount LEDs to look bright, especially if you want it to be clearly visible outside under bright sunlight
@diskdrive123
@diskdrive123 7 ай бұрын
Floating decoupling caps in schematic is fine as long as it’s well defined which IC it’s for. Unless you make very spacious symbols.
@dhruslab9563
@dhruslab9563 2 жыл бұрын
When are you releasing the EKF part ?
@dhruslab9563
@dhruslab9563 Жыл бұрын
Hello sir Your work is just amazing. I have a question You have connected NVIC IC to FLIGHT CONTROL IC through different communication protocol, I2C, Uart and few GPIOs also , could you please mention what data are you sending / recieving through I2C and what data are you sending/ recieving through UART and why you have connected few GPIOs in between NVIC to fc .waiting for your answer! Regards Dhruti
@Jonas_Meyer
@Jonas_Meyer 2 жыл бұрын
14:20 Don't you get tombstone without thermal releases on SMD components?
@GilsuShin
@GilsuShin 2 жыл бұрын
Nice review!
@PhilsLab
@PhilsLab 2 жыл бұрын
Thanks!
@robertmacharia3141
@robertmacharia3141 2 жыл бұрын
Something i think i am a culprit of...the clearance between the traces. What criteria do you use to calculate it?? Or recommend a video
@Piccodon
@Piccodon Жыл бұрын
You learn more when things go wrong.
@robertpieper5142
@robertpieper5142 2 жыл бұрын
At 14:22 why don't you use thermals for SMD pads and just through hole? I would think the cap would tombstone if you had a thick non thermally-relieved plane tied to one end and a small trace on the other.
@couplingconstant
@couplingconstant 2 жыл бұрын
Thank you very much, Phil for all the videos you make. I somehow thought that you were doing PCBs for 10+ years, so I'm very surprised to hear that you started about 3 years ago. But I must say your first PCB looks pretty advanced to start with. :) I wanted to ask you about the JST connectors that you use. Could you please give the exact part numbers for the 2-4 pins ones that you use? They don't seem to have locks. Are they safe enough to use when there is a lot of vibration? Do you have any recommendations for designing PCBs that will be used in high vibration applications, other than the type of connectors to use? Do you solder things differently for example? Thank you.
@PhilsLab
@PhilsLab 2 жыл бұрын
Thank you very much for your comment! On the 'Hades' flight controller board, I'm using Molex PicoBlade connectors. JST connectors seem to be a bit harder to get - especially these days. For those I usually go with JST GH. Anything locking will usually do the trick, even though the PicoBlade only have a 'friction lock'. Haven't had any problems so far, we've even been using them in high-vibration environments for quite some time.
@couplingconstant
@couplingconstant 2 жыл бұрын
@@PhilsLab Thank you, that's very helpful.
@jagadishk4513
@jagadishk4513 2 жыл бұрын
Few days ago i was frustrated with Kicad not being able to draw tracks with arc, was planning on using nightly build but what a Christmas present it is to get official stable version 6 with lots of features and one of them being able to draw tracks in an arc shape.
@martinmckee5333
@martinmckee5333 2 жыл бұрын
@@alejandroperez5368 In what way? I have heard from many people who do RF that curved tracks are helpful when working at extremely high frequencies.
@xue-yitian2596
@xue-yitian2596 2 жыл бұрын
Thanks for your viedo. It's helpful to me.
@PhilsLab
@PhilsLab 2 жыл бұрын
Thanks, glad to hear that.
@DiegoColl44
@DiegoColl44 2 жыл бұрын
Thanks for sharing..!!
@rajdip2836
@rajdip2836 2 жыл бұрын
i love your projects ❤️ can you make a tutorial on high amp bldc motor driver using stm32 with usb programable option. Thanks in advance.
@ArtemShoobovych
@ArtemShoobovych 2 жыл бұрын
Out of curiosity: why some of the traces on your latest board (as shown at 24:02) are wavy? Is this for noise filtering purposes?
@Foxhood
@Foxhood 2 жыл бұрын
I can explain. These are known as "Meanders" and they serve to delay the signal. See. Signals are not instant, they travel through the copper to their destination which introduces inconceivably tiny delays (it travels at 2/3rd the speed of light). When dealing with components communicating at extremely high speeds via parallel traces these delays can be big enough that you get errors as one signal arrives a fraction of a nanosecond earlier then the other. So normal practice when dealing with stuff that might be sensitive to such delays is to snake parallel signal traces till they are identical in length. aka meandering. nearly all PCB CAD software got built-in meander tools to keep traces identical down to a micrometer. Best example of where Meanders are used a lot is your PC's own motherboard. You can spot meanders by the hundreds in-between the CPU, Memory and PCI-E slots.
@anotherwingover
@anotherwingover 2 жыл бұрын
Is there a pcb design book you would recommend? What learning ressources did help to improve your skills?
@thedrunknmunky6571
@thedrunknmunky6571 2 жыл бұрын
I’d like to know about a good book too. Hopefully there’s someone who can recommend.
@frankbose544
@frankbose544 2 жыл бұрын
in my experience there isn't a lot of books on pcb design its one of those things that is hard to teach other than books on emi and emc
@PhilsLab
@PhilsLab 2 жыл бұрын
My main recommendation is just to design as much as you can and have other people review those designs. Try to always go one step ahead - even if you're never gonna work with FPGAs, try laying out and routing such a board. Then going back to 'only MCUs' will be a doddle. W.r.t. book recommendations and other resources, I can say anything by Rick Hartley, and 'EMC for Printed Circuit Boards' by Keith Armstrong.
@RectSouth
@RectSouth 2 жыл бұрын
Thanks for sharing! Altium and Kicad, which one is better for use?
@PhilsLab
@PhilsLab 2 жыл бұрын
Thanks for watching! I prefer Altium (despite being sponsored) - but then again KiCad is great and most importantly, free.
@user-tt1yl3ws4j
@user-tt1yl3ws4j 10 ай бұрын
You should keep fottprints in project directory so that you don't lose them
@waynekeenansvideos
@waynekeenansvideos 2 жыл бұрын
Cool, thank you
@PhilsLab
@PhilsLab 2 жыл бұрын
Thanks for watching, Wayne :)
@SpaceWolf011
@SpaceWolf011 2 жыл бұрын
Found this really interesting, especially when comparing with my own first PCB design, which, thinking back about it was a completely insane endeavour. It was a flight control board (autopilot) with two STM32H7 controllers, IMU, GPS, a pretty powerful datalink module (1W RF output), input power regulation, SD card, a ton of peripherals (PWM input, output, RS232, RS422, RS485, CAN, Ethernet), ADC channels, barometric and differential pressure sensors, extra memory... Basically, it was an attempt to cram 70% of the electronics of an existing small UAV onto a single PCB for size/weight reduction and reliability improvement (less connections etc). The attempt included porting a previous 20000 line bunch of flight software (written for 4 MCUs) to the new 4-layer board (with 2 MCUs) and adding a bunch of improvements. Attempting this as a first PCB would be a bit overkill, but for me as a mechanical engineer (aeronautics) with some tinkering experience with microcontrollers, but none with designing electronics it was hugely optimistic, unrealistically so. And it worked! There were a few mistakes in the first version (footprint errors and one missed connection which was fixed with a wire later), the second version was OK. The software took the longest, with board bring-up being perform by me also for the first time. It was a very stressful experience, with every peripheral bugging me for a short (or longer) time, at the end finding out that the problem was of the sort:"It works better when you turn it on first". Took a while, learned a ton, got stressed even more, but it runs fine. P.S. The inner layers were done properly. The GPS active antenna in-line resistor too. But I still place holes in silkscreen occasionally.
@JA-ur8ob
@JA-ur8ob 2 жыл бұрын
Sounds like you have done exactly what I intend to... Great work man. Glad to hear it worked. -fellow mech engineer
@alfaalfa99
@alfaalfa99 2 жыл бұрын
nice
@DharmaSindhu
@DharmaSindhu 2 жыл бұрын
SUPERRRRRRRRRRRRRRRRRRRRRRRR
@hakanersoy9210
@hakanersoy9210 2 жыл бұрын
Love from turkey:)
@PhilsLab
@PhilsLab 2 жыл бұрын
Thanks Hakan, greetings from Germany :)
@sourabhkumawat4863
@sourabhkumawat4863 11 ай бұрын
that's me looking at my facebook posts from year 2012 and thinking why tf i posted it?😝😂
@pugglez4798
@pugglez4798 Жыл бұрын
I am a mechanical engineer student just starting to work on my first PCB. and your videos are so helpful! I would be interested in seeing more of the firmware behind your projects. Keep it up! 👍
Aesthetic PCB Design Tips - Phil's Lab #84
17:56
Phil’s Lab
Рет қаралды 74 М.
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 16 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 12 МЛН
KiCad STM32 + RF + USB Hardware Design - Phil's Lab #5
44:01
Phil’s Lab
Рет қаралды 340 М.
USB Hub Design Walkthrough - Phil's Lab #86
29:29
Phil’s Lab
Рет қаралды 94 М.
FPGA Design | Beyond dev boards: your own custom PCB
10:45
Psychogenic Technologies
Рет қаралды 9 М.
Switching Regulator Component Selection & Sizing - Phil's Lab #71
17:00
USB-C Power Delivery Hardware Design - Phil's Lab #104
29:52
Phil’s Lab
Рет қаралды 97 М.
Mixed signals, grounding and bypass capacitors
14:35
Texas Instruments
Рет қаралды 12 М.
My New Lab is RIDICULOUS
27:57
The Thought Emporium
Рет қаралды 179 М.
How To Write A Driver (STM32, I2C, Datasheet) - Phil's Lab #30
38:21
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 137 М.
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 1,2 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 8 МЛН
Как бесплатно замутить игровой ноутбук
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 238 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,8 МЛН