ESP32-S3 + Chip Antenna PCB - Design your own in 15 minutes!

Ғылым және технология

Thanks to PCBWay for sponsoring this video! Get $5 of New User Free Credit by following this link - pcbway.com/g/x5f10h PCBWay is one of the most experienced PCB manufacturers in China, consider them your one-stop solution that offers PCB fabrication, turn-key PCB Assembly, PCB design, 3D printing, and CNC machining services.
GitHub: github.com/hxelec/s3p
Video of testing this board: • Is this the most funct...
Check out Unexpected Maker's ProS3 (and it's schematic for more learning): esp32s3.com/files/schematic-p...
Get RF tools for KiCad: github.com/easyw/RF-tools-KiCAD
In this video, I simply just give you a full design rundown of my ESP32-S3 custom development board, the same one mentioned in the previous video. Hope you enjoy it, make sure to post any of your questions (or criticisms) in the comments section!
Intro 0:00
Schematic - ESP32-S3 chip 0:37
Schematic - 16MB QSPI flash 1:12
Schematic - Power supply filtering 1:46
Schematic - Buttons (2x) 2:11
Schematic - Power circuits 2:56
Schematic - USB-C port + ESD protection 4:20
Schematic - Crystal 5:35
Schematic - LDO2 5:55
Schematic - Accessories 6:09
Schematic - Chip antenna 7:00
Schematic - Headers 8:14
PCB design (quick overview) 8:44
Ordering from PCBWay 13:10
Acid Jazz by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/...
Source: freemusicarchive.org/music/Ke...
Artist: incompetech.com/

Пікірлер: 68

  • @bengtkarlsson9747
    @bengtkarlsson97476 ай бұрын

    Cool! One tip, already noted, is to use buck instead of LDO if voltage drop is "big". There are many simple alternativet, just remember - use a short switching loop 😊

  • @sycko2516
    @sycko25166 ай бұрын

    Awesome, I really like the design!

  • @MMuraseofSandvich
    @MMuraseofSandvich5 ай бұрын

    Re: Perfboard compatibility, I totally feel ya. Sometimes you have to calculate the position of each pad in the footprint rather than rely on the grid or the measuring tool. Luckily KiCad's fields all take mathematical expressions.

  • @UnexpectedMaker
    @UnexpectedMaker5 ай бұрын

    Well presented :) I'm looking forward to seeing your line follower robot build!

  • @hxtec32

    @hxtec32

    5 ай бұрын

    Thanks so much mate! I appreciate it, I’m still trying to tune the line following program so that it’s fast enough for the video. 8 line sensors will probably do it though, thanks

  • @quicksketch7
    @quicksketch74 ай бұрын

    Awesome video, thanks for sharing your learning journey! For a newbie in PCB design this is incredibly valuable. Much appreciation!

  • @hxtec32

    @hxtec32

    4 ай бұрын

    Thanks dude, so glad that my video was serving it’s purpose to try to teach people 😁

  • @ErtugrulOzdemir-mf1gl
    @ErtugrulOzdemir-mf1gl15 күн бұрын

    Great content! I will be definitely looking forward to your channel

  • @user-go6kw3ye3u
    @user-go6kw3ye3u5 ай бұрын

    Man you are good, keep it up

  • @____sammy____
    @____sammy____6 ай бұрын

    This kid is going places

  • @hxtec32

    @hxtec32

    6 ай бұрын

    Thanks bro, appreciate the support

  • @warperone
    @warperone3 ай бұрын

    well done and thanks for sharing

  • @skylermansfield5356
    @skylermansfield53566 ай бұрын

    super cool!

  • @theindieg
    @theindiegАй бұрын

    Great work, and a good looking board. Good to see you understanding the mistakes and learning from them! Lots of others have pointed out the need for some sort of buck as the power in, I would definitely agree if you want to be dropping from 12v. The ESP32 can pull some decent current, so those regulators will get hot! The one I've not seen anyone point out is your decoupling capacitors, I'm not sure why they are all in a corner of the board. They only really work when placed as close to the pins as possible, else there isn't much point them being there!

  • @hxtec32

    @hxtec32

    Ай бұрын

    Thank you bro! Yes, I have made a 2nd revision of this board with the exact upgrades you mention here 😁 I used a Buck converter IC with an integrated inductor (encased in the chip’s packaging) which is supposed to help with EMI, placed the small value capacitors (

  • @santynolo
    @santynolo6 ай бұрын

    very cool, the LDO overheating problem is very common in linear regulators, since Power dissipated=(Vin - Vout) * Amps. if you input 12v, and your board uses for example 500mA, you would get 4.35W dissipated in 2x2mm, which is not good. It's going to be definitely harder to implement another type of regulator, like a buck converter, but it's going to be better if it decides to overheat and desolder when using more than it can handle. For now, i think it's ok if you dont use wifi constantly, like a server or somethin. I almost burned myself one time touching a linear regulator connected to a 9v battery and an esp8266 board😅

  • @hxtec32

    @hxtec32

    6 ай бұрын

    Oof. That’s not good. Yeah, I honestly should have used a Buck converter, but I felt like I didn’t have enough space even though I could have expanded the board by just a little bit. Thank you bro!

  • @temyraverdana6421
    @temyraverdana64216 ай бұрын

    Thanks a lot for share this wonderful video.

  • @hxtec32

    @hxtec32

    5 ай бұрын

    Thanks!

  • @hsmptg
    @hsmptg6 ай бұрын

    Great! Waiting now for the WiFi test results like the RSSI.

  • @hxtec32

    @hxtec32

    6 ай бұрын

    It’s in the testing video mate, go to the end, and it’s in the end screen. It’s also in the description if you want to check it out, would appreciate it 😁

  • @aaryavtech
    @aaryavtech3 ай бұрын

    Hey! Could you share me your Bill of Material & Positions file seems like my KiCAD is bugging out

  • @mohamedrafeeq565
    @mohamedrafeeq5654 ай бұрын

    Hi video look cool and well explained could make detail video on RF designing

  • @hxtec32

    @hxtec32

    4 ай бұрын

    yes, in the future I am planning to

  • @SinanAkkoyun
    @SinanAkkoyun2 ай бұрын

    What matching res/caps did you settle for for the antenna? Does it also decently work with 0Ohms and NC?

  • @hxtec32

    @hxtec32

    2 ай бұрын

    haven't tuned it. 0 ohms and NC works horribly, haven't done any RF testing since this video. I also don't have a VNA to even perform these measurements :(

  • @spambot7110
    @spambot71105 ай бұрын

    Kicad 7 has trace rounding (i think 6 did as well?), and i've never had problems with stitching vias in Kicad 6 or 7. are you sure you're not accidentally using an old version?

  • @hxtec32

    @hxtec32

    5 ай бұрын

    I’m definitely using KiCad 7 bro.. yeah idk what happened there, but for me, I needed a plug-in to be installed. Maybe I just didn’t find it, but it was already there before the plug-in 🤔 Anyways, thanks for your comment

  • @spambot7110

    @spambot7110

    5 ай бұрын

    @@hxtec32 oh, looking at the thumbnail it sure does say 7! i think you said 6 at some point in the video and that threw me off

  • @ariasairforce
    @ariasairforce5 ай бұрын

    Hey, how did you figure out KiCad and electronics stuff? Like, what did you use to learn and get good at it?

  • @newsogn5148

    @newsogn5148

    5 ай бұрын

    Phil’s lab!

  • @hxtec32

    @hxtec32

    5 ай бұрын

    @@newsogn5148 yes sir! Thanks lol I forgot to reply

  • @Maagen
    @Maagen6 ай бұрын

    Do you want to share you Kicad files? (schematic and pcb layout). I willl like to study you layout before I start my own hardware design

  • @hxtec32

    @hxtec32

    5 ай бұрын

    Hey bro, I have the schematic on the GitHub, but I won’t be giving the pcb layout unfortunately, as I am going to sell a similar product soon. This video, is as much information as I’m willing to give for free, and the schematic + coding of course. Just check the description for my GitHub

  • @adamarzo559
    @adamarzo5596 ай бұрын

    Excellent video, very informative and well presented. Can you share the document shown at 7:30, and why vias under the chip is a bad practice? Vias under components in the rf section would be bad practice but i see a lot of vias under components like microcontroller, i thought it was okay. Learning a lot with your videos, thank you.

  • @hxtec32

    @hxtec32

    6 ай бұрын

    Hello sir! Thanks, the document at 7:30 is the ESP32-S3 hardware design guidelines, Schematic, RF section (you can search online since KZread has blocked links in comments). I think you might be right actually, grounding vias for the flash chip might not be bad, but I imagine that, because it isn’t connected to the top ground plane, there could be worse thermal performance. Idk if that’s an issue tho, thanks!

  • @adamarzo559

    @adamarzo559

    6 ай бұрын

    @@hxtec32 Thank you! I am still new and learning so probably way above my head so I am also not sure but no doubt in this case it would be fine.

  • @hxtec32

    @hxtec32

    6 ай бұрын

    @@adamarzo559 thank you bro

  • @pavano6970
    @pavano697020 күн бұрын

    Does the ESP chip comes with a pre-defined firmware? Or should we build a firmware before uploading a blank sketch?

  • @hxtec32

    @hxtec32

    20 күн бұрын

    @@pavano6970 you can upload a sketch as soon as you receive the boards, it is very easy

  • @pavano6970

    @pavano6970

    20 күн бұрын

    @@hxtec32 that's great! Thanks for the quick reply. I am building mine with USB UART instead of direct USB. This doesn't create any difference in programming right?

  • @sammybrown6730
    @sammybrown67302 ай бұрын

    Which board did you slelect in the boards manager of arduino or platformio? Did you have to do something extra as it was not a dev board? Thanks!

  • @hxtec32

    @hxtec32

    2 ай бұрын

    UM ProS3, because it has the same USB programming, and 16MB flash, 8MB of PSRAM

  • @sammybrown6730

    @sammybrown6730

    2 ай бұрын

    ​@hxtec32 thanks! I recently started making my own pcbs and just like you, I want to go smaller yet functional. Great video! Keep it up!!

  • @hxtec32

    @hxtec32

    2 ай бұрын

    @@sammybrown6730 awesome man, hope you do well with them

  • @hxtec32
    @hxtec326 ай бұрын

    Hey fellas, here’s the GitHub in case you wanted to see the schematic and code: github.com/hxelec/s3p Thanks, let me know if you have any questions!

  • @piotrwesoek1663
    @piotrwesoek1663Ай бұрын

    Hey you made a great video, i would want to have that much knowledge at your age ;D. But one thing i dont understand, i am designing a board with ESP32S3 myself and in the hardware design guidelines for ESP32S3 Espressif stated, i quote: "Note that USB_D+ will have level output, so please add a pull-up resistor to determine the initial high-level output voltage" Should't then a pull up resistor be placed from 3.3V to the USB_D+ data line, as it is stated in the official USB2.0 specs for USB-FS mode? I dont know if i am missing something, but that is what i understood. I didnt find any information that the USB-otg on the ESP32S3 has internal pull-up resistors, so the hardware design guideline from Espressif would make sense.

  • @hxtec32

    @hxtec32

    Ай бұрын

    @@piotrwesoek1663 you don’t need the pull up resistor, I think it’s in the chip itself maybe… I’ve made 2 successful boards without the pull up resistor on the USB_D+ line, never had any issues. Thanks

  • @piotrwesoek1663

    @piotrwesoek1663

    Ай бұрын

    @@hxtec32 Thank you for the answer !!!

  • @Spllit1
    @Spllit16 ай бұрын

    cool

  • @newtlab
    @newtlab4 ай бұрын

    Молодец!

  • @vachantheepic2825
    @vachantheepic28256 ай бұрын

    Where did you learn c++ for Arduino programming Day 3 of asking lol

  • @hxtec32

    @hxtec32

    6 ай бұрын

    Hey bro, sorry i havent responded quickly. I learned a lot of c++ from dronebot workshop, i also looked at a few esp32 examples online from random nerd tutorials.

  • @vachantheepic2825

    @vachantheepic2825

    6 ай бұрын

    its ok i understand, thank you for the quick reply anyway@@hxtec32

  • @vachantheepic2825

    @vachantheepic2825

    6 ай бұрын

    also btw in the pid line follower robot when one of the motors weren't turning and you said it was because of low output of pwma, you said you changed the code but i couldn't see any difference in the code (from the perspective of the video) can you please tell me what you changed? ty@@hxtec32

  • @coc1841
    @coc18414 ай бұрын

    Lil dude pretends that he knows what is he talking about.

  • @coc1841

    @coc1841

    4 ай бұрын

    @@hxtec32 Just messing with you. It meant to be a silly comment, sorry for upsetting you, so please don't take it seriously. Looks like you know your judo well. Keep it up!

  • @hxtec32

    @hxtec32

    4 ай бұрын

    @@coc1841 no it’s fine man. I’m not upset lol. Thanks, you should have typed /s lol, I’m bad at these sorts of things 💀😁

  • @hxtec32

    @hxtec32

    4 ай бұрын

    @@coc1841bro I thought you were one of THOSE kinds of people if you know what I mean lol. Sorry if I came across as mad 😂

  • @fahvm4362

    @fahvm4362

    4 ай бұрын

    Lol, he's genius.

  • @keithsummers1889
    @keithsummers188922 күн бұрын

    The regulator gets "concerningly hot" and you're "not sure" if you can recommend them? You need the formal education -- and then come back to tell the story all over again.

  • @hxtec32

    @hxtec32

    22 күн бұрын

    @@keithsummers1889 and that’s exactly what I’m going to be doing with my new videos, since I made a new board which reverse polarity protects its voltage input with an N-channel MOSFET and ideal diode controller, before being fed into a Buck converter. Most people would interpret ‘not sure’ as ‘not advisable to do this in a design’ in the context I mentioned this in. It should still ensure no one thinks using an LDO is a good idea for stepping down voltage with any more than a ~3V drop, at this amount of current. This is a free video, which I have learned knowledge about using free information online. Do you consider reading hundreds of Texas Instruments, Infineon, and Espressif application notes formal education? What about watching videos by Altium, which explain how to implement many things explained in this video? Do you consider spending thousands of hours reading data sheets and finding the right parts for my boards, formal education? With all due respect, I’m a 13 year old child in Year 10 who can’t even take any subjects at school to teach me these things, let alone take a university course with will cost tens of thousands of dollars a year which we don’t have. So, if you’d like to see me ‘tell the story all over again’, I can make a video doing exactly that, and if you’d like more information about these boards, given that I’ve made 3 successful boards this past year, I’d be happy to help you through this comments section. But, if you’re here just to criticise me and tell me that I need to go to university to learn basic circuit board design such as this, which probably won’t happen for another 2 years, I can’t help you with anything. Thanks 😁

  • @keithsummers1889

    @keithsummers1889

    22 күн бұрын

    ​@@hxtec32 You you also consider recommending medicines if you had no formal education as a doctor? Just to excuse it all saying -- "I'm only a 13 yr old child"? Personally, I do have the formal education and 30 years experience and I can tell you that even I would "get beat" up for being inaccurate. I'm saying here that you're way over your head on this topic. But, I will say that you are further along than most people at this time in your life and I look forward to what you will produce as you arrive to your Master degree in education.

  • @hxtec32

    @hxtec32

    22 күн бұрын

    @@keithsummers1889 thank you, but the subject of this video is nothing that should be used by anyone in medical or even automotive purposes where things breaking puts someone’s life in danger. The ESP32-S3 chip is very low cost with lots of functionality, and reliability is a trade-off here. People watching this video know this. Almost every electronic part datasheet out there will have a section saying ‘this component is not permitted to be used in life-saving devices’, and for good reason. Texas Instruments is a great example of the difference between reliable and hobby/non-critical applications, since all of their automotive parts have a -Q1 at the end of the part number, while less reliable, or lower temperature range parts will not. This video was simply an attempt at educating people about designing from the bare ESP32-S3 chip for their own hobby projects, and not meant to be taken as anything more. My GitHub schematic specifically states that I do not assume reliability from anything produced as a result of my own design. This is one of the reasons why I don’t share the PCB files because I don’t want people manufacturing my boards if they haven’t been tested and work properly. But, thanks for bringing this to light, I might add some kind of notice to my next video saying that my advice is only to be taken into consideration for hobby projects.

  • @hxtec32

    @hxtec32

    22 күн бұрын

    @@keithsummers1889 and, no. This topic is not ‘way over my head’ and I don’t think I need to prove that to anyone. There isn’t even any high speed digital signals, and impedance matching is almost optional for the USB differential pair (even though I still do it), so I would argue that designing with ESP32 is even easier than atMega, especially when using the modules. I know I say things like ‘I don’t know what harmonics are’ and pretend to seem like I don’t know what I’m doing, but this is clearly for comedic effect and to shorten the length of the video. Not everyone needs to be lectured on every detail of everything; most will be annoyed and click off the video I find, at least on this platform. If this was way over my head, how could the board have worked, and the 2 others I made after it? If a surgeon performs 1000 surgeries in his lifetime without any of the patients having any issues caused by the surgery, was he just waving around metal tweezers and cutting random things, or did he know what he was doing and began to know more of what he was doing as time went on?

  • @hxtec32

    @hxtec32

    22 күн бұрын

    @@keithsummers1889 unfortunately for you, nowadays, there are probably petabytes of free, open source information on electronics online, making it a very foolish decision (in my opinion) to wait until University to start learning, when you’ll be forced into hundreds of thousands of dollars of student loans before you even have skills. But, that’s just how I roll. No disrespect towards you or any others.

Келесі