Designing My First Ever Automotive PCB in KiCad
Вставка
- Опубліковано 28 чер 2024
- It was probably inevitable that I'd end up here - creating custom PCBs for the modules that I'm designing for my car.
Problem is, I've never done that before - so, how on earth does someone with no circuit design experience go about designing a custom PCB for their project? Let's take a look at how I did it.
Component List:
Buck Converter - www.mouser.co.uk/ProductDetai...
Optocouplers (2) - www.mouser.co.uk/ProductDetai...
SMB Diodes (3) - www.mouser.co.uk/ProductDetai...
Schottky Diodes (2) - www.mouser.co.uk/ProductDetai...
Green LEDs (3) - www.mouser.co.uk/ProductDetai...
100uf Capacitor - www.mouser.co.uk/ProductDetai...
47uF Capacitor - www.mouser.co.uk/ProductDetai...
0.1uF Capacitor - www.mouser.co.uk/ProductDetai...
1k Resistor (3) - www.mouser.co.uk/ProductDetai...
0.196k Resistor - www.mouser.co.uk/ProductDetai...
470 Resistor - www.mouser.co.uk/ProductDetai...
Header Housing - www.mouser.co.uk/ProductDetai...
❤️Support our Projects on Patreon - / valentineautos
📹Previous Video
Looking at a Prototype ESP32 Arduino Car Control Center - • Looking at a Prototype...
🩵 Follow Valentine Autos Socials
Instagram: / valentineautos
Facebook: / valentineautos
TikTok: / valentineautos
00:00 Project recap
06:55 3D model review
18:00 Schematic design
21:08 Using Mouser
22:30 Data Sheets
32:37 Next steps - Авто та транспорт
You should drop more vias to the ground plane for those caps, also make the traces wider. You got a choke point trough that tiny trace and just a single via. Don’t be afraid to throw down thick traces and a handful vias to ground on those caps.
Cool. Great advice, thanks
8:45 This is totally fine. Otherwise you'd have to learn how to put all the components on an ESP32 onto the board. For a novice that's a daunting task plus a lot of PCB reworks when thing don't work. Many things are done like this so you're on the right track.
21:00 Yeah... if you intend to do this a lot in the future you'd need to invest in flux and a heating element that you can put PCBs on that heats up the solder joints, automatically aligns the components (which is a neat process to watch without any automation tools), and then completes the joints when it all cools down.
I've seen the paste that you just rub on and then hit with a heat gun that seems to work well too
@@ValentineAutos Yeah. It's more work but you can make a stencil for all the pads, brush on the paste, remove the stencil, put the components on, then heat it. Heat gun you have to be careful that you don't melt plastic parts on some components.
I was thinking more like this - ua-cam.com/video/RODp8HSlFPA/v-deo.html
Why not just use 12v led then you could use a cheaper low amperage 5v converter for the esp32 and the led will just use the cars 12v system grounded to the body
Two reasons: firstly I'm trying to set myself a precedent for 12 to 5v conversions as I'm going to require it a lot for a bunch of the other modules that I'll be creating, but perhaps more importantly, I already have a tonne of 5v LED strips to hand
it seems to me that the D2 and L2 which are in parallel are also shorted, and the same for D1 and L3, or maybe I just don't understand what is going on?
Damn, you might be right!
Well that's now sorted, and replacements ordered.
I came to say the same thing. I moved from designspark to kicad and think it is fantastic for designing pcb’s
I appreciate you all looking out!
@@ValentineAutos also is that an esp32? You connected pin 18 to gnd. Is pin 18 cmd not gnd
Hi, I can't see any issues with the circuit but I've not done a buck converter before. About cutting the spoiler, won't it lower the strength of the structure?
Yes, but the hole left will be replaced with an embedded bit of clear replacement plastic, so I'm not concerned.
@@ValentineAutos Ah sorry I must have missed that part.
I don't see the advantage in creating a high current regulator to supply your Leds with 5V. You are creating a future failure point. The electronics will have to be coated in conformal coating to avoid corrosion and condensation/shorting problems.
It's more logic and convenient to use a low current voltage convertor to supply the esp32 dev-kit.
Use a fused 12 V supply for the leds and a simple 5 V convertor to supply the esp32.
Good notes. I'll take a look into it
another advice is to make sure you can replace the used ledstrip because it could be that individual leds will fail, mount them preferably on a metal strip to achieve some cooling for the ledstrip.
Please do check out the WLED firmware for use with esp32 and ledstrips. It's easy and all kinds of effects, colours are available.
Good luck!
Don't make the mistake of thinking you have to be experienced in something to make a tutorial.
Perhaps tutorial is the wrong word. More documenting your experience. I have tried a few times to get into designing a PCB and as yet failed. Despite watching some tutorials on the subject. The problem with experienced users giving tutorials, is they forget what it's like coming to something for the very first time, starting from zero. It would be good for someone like me, to learn with you rather than being a taught by you.
Yeah you're right, and that's a good perspective. I'll definitely bear that in mind