Thanks a lot for watching - if you like the video, please leave a like and a comment - this really helps me out! Part 2: th-cam.com/video/PlXd3lLZ4vc/w-d-xo.html :) A note on impedance matching: The RF matching network changes depends on the package of STM32WB you use (as the impedance at the RF1 pin depends on package, see application note). You can also use an integrated part by ST (e.g. for this package, MLPF-WB55-01E3) that does this for you. You will probably have to tune the final impedance matching network in any case on the real PCB. Finally, if you have an antenna that isn't matched to 50 Ohms, you will require an additional matching network (again, see application note).
This is type of content that makes YT (still) valuable. Among tons of BS stuff, videos like this are as rare as gold and valuable as gold at the same time. TOP MATERIAL, HAT OFF!!
Thank you for continuing to put out updated KiCAD content, even though you usually use Altium these days. Not all of us can afford (or can justify the cost of) an Altium license (or qualify for their student license.) In my case, not only can I not afford it, but even if I could, I couldn't really justify the expense, since electronics is a hobby for me rather than my livelihood. Your videos are always excellent, very informative, well edited, and to the point, without needless frills that distract from the message that are so common on YT these days. Also, if I may, would you please consider putting out a video comparing/contrasting Altium to KiCAD, specifically what situations/types of designs where moving to Altium would be a better choice. I vaguely recall you mentioning things here and there in videos past, but my memory is fuzzy, and it would be nice if you could elaborate on these differences all in one place.
Okay, this is definitely the best tutorial out there to design your first STM32 based PCB using KiCAD. Everything important is covered in detail plus some useful tips and suggestions. You could literally design your board form zero knowledge to working board following this. Thanks so much for this valuable resource!
Thank you very much, Martin! I tried to squeeze in the fundamental KiCad workflow/commands one may need for most designs, hopefully this'll be a useful resource.
amazing work im a software engineer by trade and i do electronics on the side. this is exactly the type of content i look for .i love the extra explanations your throwing on each decision you take ,its exactly what i want to hear instead of someone speed working and finishing the design in the standard youtube from idea to pcb in 20 min format. also keep the low power Bluetooth device content coming, my pebble smartwatch broke after 6 years and i want to make a new one .the mobile app is easy for me ,this right here is what im missing ! again amazing.
Thank you very much! I'm glad to hear that the level of detail is about right on this video - I'm always a bit unsure how much to add vs how long the video end sup being.
I'm really thankful that you've created this tutorial with KiCAD. I've learned a lot from your tutorials using Altium Designer, but KiCAD is the tool I use, and I was afraid you had abandoned it. Thank you.
As a graduate electronic engineer, I have an interest in the hardware side but couldn't find a job due to a lack of experience. However, your videos motivate me to get on my feet and continue trying. Many thanks.
Wishing you all the best for your job search! What helped me the most is having real, physical projects to show (and also to send along with my application as attachments).
@@PhilsLab Totally agree with @CanadaElon. I made my first PCB 4 years ago with the stm32 with KiCad5 (4?) video. This upgraded version is much appreciated.
"Scratch the surface", "fairly short youtube videos" > 2 hours long! You are a gem for making this sort of knowledge available for all beginners in very approachable format. Great content!! I have grown more confident in kicad for my own projects learning a lot of tips from you. My 0.0002 cents would be to ask if you are interested in exploring other MCU platforms as well as STM's for these types of tutorials for the future. By golly I wouldn't be surprised if your videos ended up driving many thousands extra sales to STM now and into the future.
Thank you very much! Great to hear that the videos have been helpful. Regarding other MCU platforms, this is definitely something I'd like to have more of on the channel. For example, I've been wanting to design an NRF dev board for some future videos but haven't gotten round to it just yet. I just find the STM32 line of products so accessible that I keep coming back to them (and this is said without sponsorship or similar).
This is so helpful to a beginner like me to understand how all the pieces are put together. Can't wait for part 2 to see the thought process for placing and routing on the PCB.
To be honest i'm a bit thick when it comes to schematics and pcb design, but i was able to follow this video with ease, and most importantly i was able to understand what i was doing and why, that is a testament to the way you present the information, and explain it, so thank you so much for taking the time and effort to produce this, and all of your videos. :)
This would have been so helpful last year when i did a custom pcb with stm32wb15 for my master thesis, especially the firmware part. i still used your general stm32 design videos, could not have done it without you. thanks phil!
Like others have stated in the comments, the videos you produce are excellent educational resources. It’s your channel and a few more like it, that are all that keeps TH-cam relevant. Without your level of quality, YT would just be the 21st century equivalent of a “Global Funniest Home Videos “ show. Thanks for all the great material.
I tried the PCBWay assembly a few weeks ago and I was really impressed with the quality, speed and price. They even dealt with half-empty BoM because I was a bit lazy to select all the passive components. And I didn't need to manually pre-order non-stock components which in my opinion is the main disadvantage of JLCPCB assembly.
Two tips for footprint creation: 1. You can type formulas directly in the position and size fields and KiCAD will automatically calculate them for you. 2. Use Shift+M to move a part precisely. This can be used when you know the distance between two pads, but not it's final position. Position the pad centered to the other one, then use Shift+M to move. You can use these in PCB layout too.
Very useful video, thanks Phil! A quick tip regarding when you are calculating the coordinates for the pad placement, you can enter the calculations inside the Position X/Y in the Footprint Editor.
Brilliant. Just brilliant. In this video you share so many "gotchas". And I love the breadth of the design you cover, including searching for an LDO that is in spec but also included in the KiCAD library - just what I do each time, to avoid more work :) I still learned a lot, so thank you.
One of the tricky things with RF design is that those matching component values also depend on the PCB design and stack-up. The capacitance between pad area and GND plane can easily form a capacitor in sizes of hundreds of femtoF to some pF. A design I did recently on Eurocircuits with its DEFINED IMPEDANCE pool showed me this same problem: I calculated a 0.9pF capacitor for a Pi impedance matching filter at "only" 434MHz. I ended up redesigning the PI filter while incorporating 1.75pF impedance from PCB tracks and 2 SMT pads (!). The DEFINED IMPEDANCE pool is nice, since the dielectric constants of core materials is well defined, along with using thin materials between outer and inner layers. Thus 50Ohm tracks are thin and well defined. But it also adds a lot of parasitic capacitance on the PCB. 0.3pF could be the "just" amount of extra(!) capacitance they needed on their PCB design with their layer stackup (which is presumably unknown). But on a "proper" RF stackup, it may very well be different.. Realisitically, the safest thing is to keep those parts TBD at design time, and then tune them with layout solutions in tools such as ADS, or better on the real boards with VNA equipment. But these options are not cheap or trivial to do neither. It requires some extra reading into this stuff. So I recognize why you tried to gloss over these complications and just recommended copying those devboard values as initial design values. (Good job)
Yes, that's exactly right. As per my pinned comment, the values need to be tuned on the actual physical PCB itself, as you also said. Those 0p8 and 0p3 values are tiny and definitely can be near pad/stray capacitances. Due to time I have to gloss over quite a few topics unfortunately, but at least those values serve as placeholders/a starting point. A future video will be dedicated to matching and tuning on a "real-world" PCB :)
As you asked : I am going to follow that video step by step, produce the board and play with it. Thanks man, it is way better to watch your video than tv's crap
For people who needs to use that MC as a controller for a BT audio and an advanced peripherals, I'd like to let you know an optimal pin layout: PA0, PA3, PA8-PA-10 go to SAI1 ch A (no SAI-PDM) PA1, PB8, PB9 go to I2C1 PA7, PB2, PB4 go to I2C3 PA4-PA6 go to SPI1 PA11, PA12 got to OTG USB PB9 can go to IR_OUT PA13, PA14, PB2 go to SWD and PA2, PA15, PB0, PB1, PB8 go to GPIO .. I spent an hour yesterday for that puzzle )
Thank you for making this. I recently picked KiCad back up and was reviewing some tutorials on here but the features and interface have changed so much in the last 2-3 years.
1:36:00 For PCBs that will be working over a battery, we should also consider minimum Quiescent Current to give max battery life. For example, LM7805 has a quiescent Current of 5-10mA (this is when the circuit is not consuming power, i.e., sleep mode) which is huge!!! A good LDO will have a quiescent Current in uA or nA.
I've now got the hang of creating Global symbol & Footprint libraries - I can see why Phil starts us on Project libs, since they then get stored with the project files. For Global, I create an initial MyLibs directory under the KiCad/7.0 (or version number). I then download the manufacturer's model, symbol files zip, and extract them there. Using Symbol editor, create (or select, if already exists) your library name, I have decided on "my_" as a lib prefix since I can just filter on my_ libraries! - as Phil says, best to keep libs small and purposeful (eg my_usb for related devices and connectors). Import the sym file from the extracted model file. Save, save save! Then open Footprint editor, go through similar steps for the footprint file. (Not yet done 3d models) Last step is to tie sym and footprint together, go back to Symbol editor, select your lib component, File-Properties. In the list of properties, go to the Footprint section and find the correct footprint lib file that you created in the previous step. Save, save, save - and check ! I've found it handy to store my Kicad projects in Box, for backup purposes. Also, the connector model files from Samtec are great !! Thanks again to Phil.
I really appreciate all the work you put into your videos, your hard work shows every time. They are always through, concise, easy to follow, and no fluff. Thanks for keeping it simple, and making it useful! Looking forward to part 2! Stoked you did this one in KiCad btw; it fits my budget and is more realistic to my workflow :)
Thank you very much for your kind words! Glad you say that there is 'no fluff', as I was a bit worried, as this video (+ the second part) are considerably longer than any other video I've done for the channel.
Thanks so much for this detailed video. There is always a small trick I can grasp. This time it was the Net Classes colors and the Bulk Editor !! A trick I use, instead of adding pwr_flag like at @1:54:03 is to add in one corner one PWR_FLAG connected to a GND symbol and one to a +3v3
Thank you so much for the videos you make on altium and kicad. It's been really helpful and has really helped me with learning more about proper PCB design, as well as cool tricks I didn't know Kicad or altium could do.
Thanks very much for the tutorial. I've recently started working on a zigbee thermostat using the same uC you're using in this tutorial. I had no experience with RF and this video and you're review on the reflow station helped me a lot on troubleshooting my design. Keep up the good work :)
Great learning video, I'll start implementing it next week. I think once you've done all that you can definitely get a job as a junior hardware designer
I generally use labels connected to the chip and do all of the power stuff in separate little block on schematic. It keeps the area near MCU free for actual schematic
Well done for the efforts and patience doing all these long videos!! With Christmas time around the corner, i thought that i won’t have anything to watch, but surely your videos will keep me busy for the weekend.
Good, interesting stuff there, and a good deal of it not specific to KiCAD - most of it is just good project and design practice. One point about using datasheets from suppliers' websites, though. Some suppliers (yes, RS and Farnell, I'm looking at you) don't update their datasheets beyond the first version. The difference between the ATTiny-0 datasheets from Farnell or downloading them from Microchip's website was the difference between a project working or not. There had been a few revisions since it was first published. I appreciate it's a lot of work keeping that up to date when you stock so many items, though.
Thank you very much for all that you do Phil. Your videos have been such an invaluable resource for helping me understand electronics. I hope you realize how appreciated your efforts are.
Another incredible video with a wealth of information, thank you! Do you plan to have any videos covering your process for integrating a chip antenna instead of the u.FL connector? You have a couple videos covering designs with RF signals and some of them even feature a board with a chip antenna in the b-roll, but the walkthrough includes the connector. I also watched one of your design reviews for someone who integrated a BLE chip antenna and you mentioned some guidelines to follow with respect to skirting vias which I hadn't considered in my own design. I have looked through datasheets for these antennas and a lot of times they are sparse, so if there are any additional things to consider that would be awesome to see (noting that this is probably a complex topic).
Absolutely stunning, awesome stuff. Love your content and the way you present it, highly valuable for all of us, Thank You very much indeed, love and respect.
Great tutorial. Thank you. Those tag-connect devices are cool, but damn they're not cheap for what they are! I was wanting to get some but it's over $100 AUD for one plus the retainer clips!!!!
Hi! Thanks for the amazing video, and every other amazing video you put out. One question: do we still need a 1.5k pullup on the D+ line (for identifying as a full-speed device during enumeration)? Thanks!
Thanks you very much Phil for all the content you create and post, i´ve learn a lot with them and have design and manufacture PCBs successfully thanks to your insights and teching!! thanks again!!
I've learned how to do almost all stuff on EasyEDA... I've been trying to play with Kicad and I'll say Kicad 7 is ALOT easier, but EasyEDA seems much more polished then KiCad. I am teaching myself how to do a lot of PCB design and making my own sensors and controllers. I havent used PCBway yet, the quotes I got for my last order that just arrived an hour ago, JLCPCB was cheaper coming in at $18 for a run of 35 (5 different designs), 2-Layer boards with White mask, and everything else std. including shipping. Here in Phoenix, Arizona, USA, and ordered on Tuesday Morning and just delivered like 80 hours later. Not even 4 full days with standard shipping.
Thanks, Mike - EasyEDA is pretty decent as well, although I haven't used it particularly much myself. I like how integrated the whole system is with libraries, 3D models, ordering, etc..
Your videos are so incredibly helpful. I am looking to add Bluetooth/wifi functionally to an STM32F4 project. I was not familiar with the Bluetooth family of chips they have. I can use that as my Bluetooth receiver for my STM32F4 project, as well as use it for small standalone projects. I was wondering if you have a comment on whether or not it would be better to use a standalone MCU like this, or a specified Bluetooth chip? I have some Bluetooth chips on hand, along with some smd antenna to use for them. That being said I feel like it may be easier to use the STM32 platform I am already used to, and be great for standalone projects like I said.
I have a few videos on higher-speed (e.g. DDR3) designs on my channel, otherwise my 'advanced digital hardware design' course goes into far more detail.
Great tutorial! Do you plan on making a video about designing a schematic and PCB for LIPO operated STM32? Charging, battery protection, regulators, buck/boost converters, battery level measurement, maybe a second power source for STM32's RTC? Do you have such a design available to the public?
Thank you! I'd like to make a video on designing for battery-powered devices (typically, Li-Ion) - as you say, those aspects and what needs to be included I believe would make for an interesting video, hopefully!
Do you happen to be planning to do a tutorial on how to control motors with MCU, for example fans for bathrooms or three-phase motors with separation via optocouplers? Would fit well with the BLE theme. :)
One thing that does confuse me a tad bit is why you (and others) are referring to the "Power source"-button and picking e.g. +3V3 from there -- the same symbols are available in the regular [A]/Component selector - just type +3V3 into the search box and you'll get it. I'm sure I'm missing something here, but to me it makes more sense to just use the Component-selector consistently, regardless if you want an active/passive component, or if you want a power-rail etc?
No, the impedance at the RF1 pin depends on package type. There are different matching networks shown in the schematics in the STM32WB design application note.
Thanks a lot for watching - if you like the video, please leave a like and a comment - this really helps me out! Part 2: th-cam.com/video/PlXd3lLZ4vc/w-d-xo.html :)
A note on impedance matching: The RF matching network changes depends on the package of STM32WB you use (as the impedance at the RF1 pin depends on package, see application note). You can also use an integrated part by ST (e.g. for this package, MLPF-WB55-01E3) that does this for you. You will probably have to tune the final impedance matching network in any case on the real PCB. Finally, if you have an antenna that isn't matched to 50 Ohms, you will require an additional matching network (again, see application note).
Thank you for such a great video. It's helps beginners like me who can't afford buying courses. Again, THANK YOU SO MUCH BRO :)
Thank you, you are very welcome! :)
MLPF-WB55-01E3 does this give better performance that a LC impedance matching circuit ?
one more doubt , what is the final impedance matching that we need to do on real PCB , can you please give me some pointers
❤
This is type of content that makes YT (still) valuable. Among tons of BS stuff, videos like this are as rare as gold and valuable as gold at the same time. TOP MATERIAL, HAT OFF!!
Thank you very much!
Thank you for continuing to put out updated KiCAD content, even though you usually use Altium these days. Not all of us can afford (or can justify the cost of) an Altium license (or qualify for their student license.) In my case, not only can I not afford it, but even if I could, I couldn't really justify the expense, since electronics is a hobby for me rather than my livelihood. Your videos are always excellent, very informative, well edited, and to the point, without needless frills that distract from the message that are so common on YT these days.
Also, if I may, would you please consider putting out a video comparing/contrasting Altium to KiCAD, specifically what situations/types of designs where moving to Altium would be a better choice. I vaguely recall you mentioning things here and there in videos past, but my memory is fuzzy, and it would be nice if you could elaborate on these differences all in one place.
Thank you for your kind comment! Regarding making a video comparing Altium and KiCad, I'll add that to the list of videos I want to make. Thank you :)
Software Developer here, coming across this for the first time. This is an excellent resource that I'll continue to reference while learning!
Still watching, but I want to mention that it looks like this video can literally serve as a companion while designing. Excellent work.
That's great, glad to hear the video still holds up! :)
Okay, this is definitely the best tutorial out there to design your first STM32 based PCB using KiCAD. Everything important is covered in detail plus some useful tips and suggestions. You could literally design your board form zero knowledge to working board following this.
Thanks so much for this valuable resource!
Thank you very much, Martin! I tried to squeeze in the fundamental KiCad workflow/commands one may need for most designs, hopefully this'll be a useful resource.
amazing work
im a software engineer by trade and i do electronics on the side.
this is exactly the type of content i look for .i love the extra explanations your throwing on each decision you take ,its exactly what i want to hear instead of someone speed working and finishing the design in the standard youtube from idea to pcb in 20 min format.
also keep the low power Bluetooth device content coming, my pebble smartwatch broke after 6 years and i want to make a new one .the mobile app is easy for me ,this right here is what im missing !
again amazing.
Thank you very much! I'm glad to hear that the level of detail is about right on this video - I'm always a bit unsure how much to add vs how long the video end sup being.
I'm really thankful that you've created this tutorial with KiCAD. I've learned a lot from your tutorials using Altium Designer, but KiCAD is the tool I use, and I was afraid you had abandoned it. Thank you.
This is awesome, I just started PCB design with phils lab and now i work as an electrical engineer!
As a graduate electronic engineer, I have an interest in the hardware side but couldn't find a job due to a lack of experience. However, your videos motivate me to get on my feet and continue trying. Many thanks.
Wishing you all the best for your job search! What helped me the most is having real, physical projects to show (and also to send along with my application as attachments).
Bring a completed PCB that works, and you've got a job.
I benefited so much from your first KiCAD stm32 PCB design video, and this is a great work again 👍
I'm very glad to hear that, thank you. Hopefully this one is useful as well!
this content is so awesome!! Thank you so much.@@PhilsLab
@@PhilsLab Totally agree with @CanadaElon. I made my first PCB 4 years ago with the stm32 with KiCad5 (4?) video. This upgraded version is much appreciated.
You’re doing a great service by making these STM32 videos. I often use them as a sanity check. Please keep up the awesome work.
Thank you very much!
"Scratch the surface", "fairly short youtube videos"
> 2 hours long!
You are a gem for making this sort of knowledge available for all beginners in very approachable format. Great content!! I have grown more confident in kicad for my own projects learning a lot of tips from you.
My 0.0002 cents would be to ask if you are interested in exploring other MCU platforms as well as STM's for these types of tutorials for the future. By golly I wouldn't be surprised if your videos ended up driving many thousands extra sales to STM now and into the future.
Thank you very much! Great to hear that the videos have been helpful. Regarding other MCU platforms, this is definitely something I'd like to have more of on the channel. For example, I've been wanting to design an NRF dev board for some future videos but haven't gotten round to it just yet. I just find the STM32 line of products so accessible that I keep coming back to them (and this is said without sponsorship or similar).
This is so helpful to a beginner like me to understand how all the pieces are put together. Can't wait for part 2 to see the thought process for placing and routing on the PCB.
Very glad to hear that, thank you! Hopefully part 2 is useful as well :)
Phil, you are the man for keeping the kicad design series alive alongside the equally excellent altium design videos. Thank you tremendously!
Thank you so much, you're very welcome!
To be honest i'm a bit thick when it comes to schematics and pcb design, but i was able to follow this video with ease, and most importantly i was able to understand what i was doing and why, that is a testament to the way you present the information, and explain it, so thank you so much for taking the time and effort to produce this, and all of your videos. :)
Every time I watch one of your videos, I am simply in awe of the quality of the information and of the delivery.
Thank you very much for your kind words!
This would have been so helpful last year when i did a custom pcb with stm32wb15 for my master thesis, especially the firmware part. i still used your general stm32 design videos, could not have done it without you. thanks phil!
Thank you! Shame the video came a bit late, but I still hope it's useful - and hope everything went well with your master's thesis :)
yes its done now, the actual hard part of the tesis was documentig everything ;)
Like others have stated in the comments, the videos you produce are excellent educational resources. It’s your channel and a few more like it, that are all that keeps TH-cam relevant. Without your level of quality, YT would just be the 21st century equivalent of a “Global Funniest Home Videos “ show.
Thanks for all the great material.
Thank you very much for your kind words!
Hey thanks for the kicad tutorials , most learners cant afford altium thank you so much
Thank you, Amitesh - you're very welcome!
Great video Phil, not only covers how to use the tool (KiCAD) but many of the design features and practices behind them. Well done.
Terrific video plus I learned a few more handy skills in Kicad. Eager to see part 2. Thanks Phil.
Thank you so much! Part 2 coming soon :)
I tried the PCBWay assembly a few weeks ago and I was really impressed with the quality, speed and price. They even dealt with half-empty BoM because I was a bit lazy to select all the passive components. And I didn't need to manually pre-order non-stock components which in my opinion is the main disadvantage of JLCPCB assembly.
Glad to hear you were happy with PCBWay! Yeah, they definitely have more room for flexiblity/customisation, which is great.
And now it’s 4am. Well worth watching the vid. Many thanks.
Two tips for footprint creation:
1. You can type formulas directly in the position and size fields and KiCAD will automatically calculate them for you.
2. Use Shift+M to move a part precisely. This can be used when you know the distance between two pads, but not it's final position. Position the pad centered to the other one, then use Shift+M to move.
You can use these in PCB layout too.
Very useful video, thanks Phil! A quick tip regarding when you are calculating the coordinates for the pad placement, you can enter the calculations inside the Position X/Y in the Footprint Editor.
Brilliant. Just brilliant. In this video you share so many "gotchas". And I love the breadth of the design you cover, including searching for an LDO that is in spec but also included in the KiCAD library - just what I do each time, to avoid more work :) I still learned a lot, so thank you.
Thank you very much, Mike! Glad to hear that the level of detail is about right!
One of the tricky things with RF design is that those matching component values also depend on the PCB design and stack-up. The capacitance between pad area and GND plane can easily form a capacitor in sizes of hundreds of femtoF to some pF. A design I did recently on Eurocircuits with its DEFINED IMPEDANCE pool showed me this same problem: I calculated a 0.9pF capacitor for a Pi impedance matching filter at "only" 434MHz. I ended up redesigning the PI filter while incorporating 1.75pF impedance from PCB tracks and 2 SMT pads (!).
The DEFINED IMPEDANCE pool is nice, since the dielectric constants of core materials is well defined, along with using thin materials between outer and inner layers. Thus 50Ohm tracks are thin and well defined. But it also adds a lot of parasitic capacitance on the PCB. 0.3pF could be the "just" amount of extra(!) capacitance they needed on their PCB design with their layer stackup (which is presumably unknown). But on a "proper" RF stackup, it may very well be different..
Realisitically, the safest thing is to keep those parts TBD at design time, and then tune them with layout solutions in tools such as ADS, or better on the real boards with VNA equipment. But these options are not cheap or trivial to do neither. It requires some extra reading into this stuff.
So I recognize why you tried to gloss over these complications and just recommended copying those devboard values as initial design values. (Good job)
Yes, that's exactly right. As per my pinned comment, the values need to be tuned on the actual physical PCB itself, as you also said. Those 0p8 and 0p3 values are tiny and definitely can be near pad/stray capacitances. Due to time I have to gloss over quite a few topics unfortunately, but at least those values serve as placeholders/a starting point. A future video will be dedicated to matching and tuning on a "real-world" PCB :)
As you asked : I am going to follow that video step by step, produce the board and play with it. Thanks man, it is way better to watch your video than tv's crap
Excellent tutorial. I am about to do a LoRA circuit and this is a great refresher on the basics.
Thank you very much, Patrick!
Being a ECE student in India i was inspired by you the most sir thank for your work sir
I'm very glad to hear that, thank you!
Very useful introduction into using KiCAD for Schematic capture. Also lots of useful component selection principles.
Yes, it is great to see more microcontroller design content and I personally like the occasional Kicad-based video.
Thank you, Isaac!
I wish I had this tutorial 6 years ago when I had to design one of these at my former job. Thank you for your detailed video!
Thank you!
For people who needs to use that MC as a controller for a BT audio and an advanced peripherals, I'd like to let you know an optimal pin layout:
PA0, PA3, PA8-PA-10 go to SAI1 ch A (no SAI-PDM)
PA1, PB8, PB9 go to I2C1
PA7, PB2, PB4 go to I2C3
PA4-PA6 go to SPI1
PA11, PA12 got to OTG USB
PB9 can go to IR_OUT
PA13, PA14, PB2 go to SWD
and PA2, PA15, PB0, PB1, PB8 go to GPIO
.. I spent an hour yesterday for that puzzle )
Thank you for making this. I recently picked KiCad back up and was reviewing some tutorials on here but the features and interface have changed so much in the last 2-3 years.
Thanks for watching, Rob!
Thank you so much Phil. These videos make board design more accessible than I could possibly have dreamed.
Thank you, Harry - glad to hear the videos are having the desired effect! :)
1:36:00 For PCBs that will be working over a battery, we should also consider minimum Quiescent Current to give max battery life. For example, LM7805 has a quiescent Current of 5-10mA (this is when the circuit is not consuming power, i.e., sleep mode) which is huge!!! A good LDO will have a quiescent Current in uA or nA.
That's right. The MIC5365 used in this design is also pretty decent at around 32uA.
I like your kicad vids very much i made my first pcb thanks to your old tutorials.
Thank you, glad to hear the tutorials helped!
I've now got the hang of creating Global symbol & Footprint libraries - I can see why Phil starts us on Project libs, since they then get stored with the project files.
For Global, I create an initial MyLibs directory under the KiCad/7.0 (or version number). I then download the manufacturer's model, symbol files zip, and extract them there.
Using Symbol editor, create (or select, if already exists) your library name, I have decided on "my_" as a lib prefix since I can just filter on my_ libraries! - as Phil says, best to keep libs small and purposeful (eg my_usb for related devices and connectors). Import the sym file from the extracted model file. Save, save save!
Then open Footprint editor, go through similar steps for the footprint file.
(Not yet done 3d models)
Last step is to tie sym and footprint together, go back to Symbol editor, select your lib component, File-Properties. In the list of properties, go to the Footprint section and find the correct footprint lib file that you created in the previous step.
Save, save, save - and check !
I've found it handy to store my Kicad projects in Box, for backup purposes.
Also, the connector model files from Samtec are great !!
Thanks again to Phil.
Part 2 please!!
Great job as always phil !
Coming soon! Thank you!
I really appreciate all the work you put into your videos, your hard work shows every time. They are always through, concise, easy to follow, and no fluff. Thanks for keeping it simple, and making it useful! Looking forward to part 2! Stoked you did this one in KiCad btw; it fits my budget and is more realistic to my workflow :)
Thank you very much for your kind words! Glad you say that there is 'no fluff', as I was a bit worried, as this video (+ the second part) are considerably longer than any other video I've done for the channel.
Thanks so much for this detailed video. There is always a small trick I can grasp. This time it was the Net Classes colors and the Bulk Editor !!
A trick I use, instead of adding pwr_flag like at @1:54:03 is to add in one corner one PWR_FLAG connected to a GND symbol and one to a +3v3
Thank you for watching! :)
Thank you so much for the videos you make on altium and kicad. It's been really helpful and has really helped me with learning more about proper PCB design, as well as cool tricks I didn't know Kicad or altium could do.
I really appreciate the little details like explaining why there are capacitors on the power pins 👍 thank you
Thank you, glad to hear that! :)
This is worth pure gold. Best quality yt video about mcu that I found ever
Thanks a lot, Sebastian - glad you think so!
*Bookmarked for later. This is almost exactly what I need for my current project, and I'll have time to watch the entire thing and follow along.
Glad to hear that - thanks, Jim!
Thanks very much for the tutorial. I've recently started working on a zigbee thermostat using the same uC you're using in this tutorial. I had no experience with RF and this video and you're review on the reflow station helped me a lot on troubleshooting my design. Keep up the good work :)
Thanks, Alex - glad this is helpful!
Great learning video, I'll start implementing it next week. I think once you've done all that you can definitely get a job as a junior hardware designer
Thank you very much!
I generally use labels connected to the chip and do all of the power stuff in separate little block on schematic. It keeps the area near MCU free for actual schematic
I love it, i usually watch your videos several times, this one have a LOT of info. Thank you very much!
Thank you very much, hope the videos deliver! :)
Thanks sooo much for all your very resourceful videos. I've learnt a lot from them. God bless you Phil.
Thank you so much for your kind comment - I'm glad to hear that the videos have been helpful! :)
This is like an early christmas gift. Thank you! I wish you a healthy and great time with your family my friend!
Thank you very much! All the best for you and your family as well, happy holidays :)
Well done for the efforts and patience doing all these long videos!! With Christmas time around the corner, i thought that i won’t have anything to watch, but surely your videos will keep me busy for the weekend.
Thank you! Glad to hear this will give you something to watch - next part is coming out very soon as well :)
Thanks for your work Phil's, I will share the link on my wechat to more people who's interested in pcb design.
Thank you so much for sharing!
Good, interesting stuff there, and a good deal of it not specific to KiCAD - most of it is just good project and design practice.
One point about using datasheets from suppliers' websites, though. Some suppliers (yes, RS and Farnell, I'm looking at you) don't update their datasheets beyond the first version. The difference between the ATTiny-0 datasheets from Farnell or downloading them from Microchip's website was the difference between a project working or not. There had been a few revisions since it was first published. I appreciate it's a lot of work keeping that up to date when you stock so many items, though.
Thanks! Yes, that's a very good point!
Thank you very much for all that you do Phil. Your videos have been such an invaluable resource for helping me understand electronics. I hope you realize how appreciated your efforts are.
Thank you very much for your kind comment, Paul!
Great tutorial and I now know how to assign net class. New Year resolution is to sign up for your courses...and finish them:)
Thank you! Awesome, hope to have you part of the courses soon :)
Thanks a lot for your interesting tutorials. I bought your courses and I am learning pcb design techniques very easily
Thank you very much for your support
Excellent video. Please do introductory videos to the ESP32 modules in kicad
Thank you! Yes, that may be the next full-length design!
Another incredible video with a wealth of information, thank you! Do you plan to have any videos covering your process for integrating a chip antenna instead of the u.FL connector? You have a couple videos covering designs with RF signals and some of them even feature a board with a chip antenna in the b-roll, but the walkthrough includes the connector. I also watched one of your design reviews for someone who integrated a BLE chip antenna and you mentioned some guidelines to follow with respect to skirting vias which I hadn't considered in my own design. I have looked through datasheets for these antennas and a lot of times they are sparse, so if there are any additional things to consider that would be awesome to see (noting that this is probably a complex topic).
Thank you. There aren't many people like you.
That's very kind, thank you!
Thank you Phil, this is a good exercise for me this holiday
Awesome, thanks for watching! :)
Thanks a lot. Yet another superb video. Exactly the right level of detail for my taste - spot on! Looking forward to part 2.
Thank you very much, Niels - glad to hear the level of detail is right!
Absolutely stunning, awesome stuff. Love your content and the way you present it, highly valuable for all of us, Thank You very much indeed, love and respect.
Thank you very much for your kind words!
Great tutorial. Thank you. Those tag-connect devices are cool, but damn they're not cheap for what they are! I was wanting to get some but it's over $100 AUD for one plus the retainer clips!!!!
Thanks! Yeah, the initial cost seems a bit much, but they're incredibly useful/easy-to-use and pay for themselves after a number of boards.
Like when i say Phill you are the BOSS. I truly mean it. God bless you BOSS Man! I Love you bro!
Thank you very much!
Excellent video and a great service to the community. Thank you.
Thank you, John!
Hi! Thanks for the amazing video, and every other amazing video you put out. One question: do we still need a 1.5k pullup on the D+ line (for identifying as a full-speed device during enumeration)? Thanks!
Thanks you very much Phil for all the content you create and post, i´ve learn a lot with them and have design and manufacture PCBs successfully thanks to your insights and teching!! thanks again!!
Thank you for your support, Giovanni - great to hear that the content has been helpful!
kicad again!! re-subscribed...
Welcome back ;)
Thank you Phil, your guides are so good.
Thank you very much!
Love the full length videos!
Thanks a lot, Nick!
Thanks Phils each and every videos are helpful.
Thank you very much!
I've learned how to do almost all stuff on EasyEDA... I've been trying to play with Kicad and I'll say Kicad 7 is ALOT easier, but EasyEDA seems much more polished then KiCad. I am teaching myself how to do a lot of PCB design and making my own sensors and controllers. I havent used PCBway yet, the quotes I got for my last order that just arrived an hour ago, JLCPCB was cheaper coming in at $18 for a run of 35 (5 different designs), 2-Layer boards with White mask, and everything else std. including shipping. Here in Phoenix, Arizona, USA, and ordered on Tuesday Morning and just delivered like 80 hours later. Not even 4 full days with standard shipping.
Thanks, Mike - EasyEDA is pretty decent as well, although I haven't used it particularly much myself. I like how integrated the whole system is with libraries, 3D models, ordering, etc..
Welcome back to KiCad :)
Haha thanks :)
Your videos are so incredibly helpful. I am looking to add Bluetooth/wifi functionally to an STM32F4 project. I was not familiar with the Bluetooth family of chips they have. I can use that as my Bluetooth receiver for my STM32F4 project, as well as use it for small standalone projects.
I was wondering if you have a comment on whether or not it would be better to use a standalone MCU like this, or a specified Bluetooth chip? I have some Bluetooth chips on hand, along with some smd antenna to use for them. That being said I feel like it may be easier to use the STM32 platform I am already used to, and be great for standalone projects like I said.
Phil. keep it up. I wish you go 1M subs soon.
Thank you!
Love your videos! Thanks for taking the time to make them.
Thanks for watching, Jayson!
Waiting for the part 2 and if possible can you make brief video on how to design different type of memories like SD card, DDR3, hard drives and all??
I have a few videos on higher-speed (e.g. DDR3) designs on my channel, otherwise my 'advanced digital hardware design' course goes into far more detail.
Your videos are special Phil ❤
Thank you very much, Mohamed!
Now you need to do KiCad 8 😂
Great tutorial! Do you plan on making a video about designing a schematic and PCB for LIPO operated STM32? Charging, battery protection, regulators, buck/boost converters, battery level measurement, maybe a second power source for STM32's RTC? Do you have such a design available to the public?
Thank you! I'd like to make a video on designing for battery-powered devices (typically, Li-Ion) - as you say, those aspects and what needs to be included I believe would make for an interesting video, hopefully!
@@PhilsLab Do you have such a design or simmilar available to the puplic somewhere by any chance?
Do you happen to be planning to do a tutorial on how to control motors with MCU, for example fans for bathrooms or three-phase motors with separation via optocouplers? Would fit well with the BLE theme. :)
hi, phil i would love to know which work would this hardware perform, i've watched keenly both tutorials and i can tell they are great, thanks man
Thank you very much for this goldmine of knowledge.
Thanks for watching!
He is (at least halve) german just like me. I wiould never have thought that from the way he speeks.
Genau, bin zweisprachig aufgewachsen :)
Absolute first class as always, Phil 💪🏻
Thank you very much!
Thanks for the timestamps!
You're very welcome - let me know if they're 'granular' enough!
I think it would have been good to spend the few mins changing the pins around on the symbol to move the OSC pins down a little.
Hi phill , would you mind sharing an Altium version video?
I have this Altium STM32 tutorial: th-cam.com/video/PMEpQZ90f34/w-d-xo.html - I'm afraid is isn't BT-based but hope that's useful in any case.
Thanks a lot Phil ! Amazing as always
Thank you, Omar!
One thing that does confuse me a tad bit is why you (and others) are referring to the "Power source"-button and picking e.g. +3V3 from there -- the same symbols are available in the regular [A]/Component selector - just type +3V3 into the search box and you'll get it. I'm sure I'm missing something here, but to me it makes more sense to just use the Component-selector consistently, regardless if you want an active/passive component, or if you want a power-rail etc?
No particular reason. I guess I'm just so used to the Altium Designer flow, which separates power symbols and components.
Great Video Phil! Nice Job! ☺
Thank you! :)
Informative and fascinating! Thank you.
Thank you, glad to hear that!
Thank you so much for another awesome video. I learned so much from your videos. 👍
Thank you, Stefan!
An weird request.
Can you do a tutorial on a FPGA based hardware design, which can run a open source CPU core? thank you
I'm afraid I know too little about open-source CPU cores and the like to make a video on that, sorry!
These videos are really helpful, thanks a lot!
Thank you, Michal - I'm glad to hear that!
Isn't the RF section internally matched to 50 ohms? Great video 👌
No, the impedance at the RF1 pin depends on package type. There are different matching networks shown in the schematics in the STM32WB design application note.
would be great if you could make a video how to run bluetooth/mesh on the boards :)
Definitely will be part of the future firmware videos!