Тёмный

Happiness is a Working Blink Sketch - ESP32-S3 PCBs Are Here! 

atomic14
Подписаться 45 тыс.
Просмотров 18 тыс.
50% 1

The PCBs have arrived from www.PCBWay.com/?from=atomic they look great! But do they work?
I've been working on these mini ESP32-S3 boards for a while now. And it's starting to get quite interesting.
I've shared the schematic and PCB for the ESP32 module - use at your own risk! It's still being tested and this is Version 0... oshwlab.com/chris_9044/sandta... and for the board with pins: oshwlab.com/chris_9044/microe...
---
If you'd like to help support the channel and help me buy more nonsense - I have a Patreon page: / atomic14
To get notified when new content is published - sign up for the atomic14 newsletter - atomic14.substack.com
And if you're shopping on AliExpress or Amazon then if you click on these links I will get a little bit of affiliate money:
Aliexpress - s.click.aliexpress.com/e/_Ac05mF
Amazon - www.amazon.com/?tag=atomic14-20
You can also join us on Discord here: / discord
And don't forget about the MakerNews newsletter - makernews.substack.com/

Наука

Опубликовано:

 

17 авг 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 95   
@TheSlyMouse
@TheSlyMouse 11 месяцев назад
The part where you explained the power circuit was fascinating and easily understood
@atomic14
@atomic14 11 месяцев назад
Thanks - I think it’s a fascinating circuit. Something that I would never be able to come up with myself.
@Moronicsmurf
@Moronicsmurf 11 месяцев назад
Im curious what the value of that resistor would be.. is it the case of "any 10k resistor" as it is in many cases.. or is it something that needs to be mathed on. :D
@OMNI_INFINITY
@OMNI_INFINITY 10 месяцев назад
Sigh...I designed an S3 board and Win10 does a repetitive load/unload unless the boot jumper is set and then it loads and lists it as " "Unknown USB device descriptor". I put the board together from scratch, so is it necessary to flash a bootloader and firmware on it or something? (ESP32 S3 WROOM 1 module with antenna) Thanks in advance for advising how to get it functioning properly! @@atomic14
@alejandroperez5368
@alejandroperez5368 8 месяцев назад
@@atomic14 The P-MOS circuit is based on the reverse polarity protection circuit (here's a great video about it: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-IrB-FPcv1Dc.html&pp=ygUVcHJvdGVjdCB5b3VyIGNpcmN1aXRz) . Only difference is, the gate of the MOSFET is now controlled by the USB signal and the diode is not a Zener one.
@michaelcw6792
@michaelcw6792 12 дней назад
@@atomic14 how do i get the gerber file i need to save but cant save to get gerber file
@str8upkickyaindanuts289
@str8upkickyaindanuts289 11 месяцев назад
I've not used the S3 but with other ESP32 boards the real fun starts when you try to use the radio on battery power. Drop out voltage of LDO and FET in conjunction with lack of 3v3 rail capacitance will cause brownout resets on Tx sooner than you would think, the biggest drawback of the ESP32 in my opinion is the operation voltages required. They are rather picky and make battery power projects challenging. I found that they almost require a buck/boost SMPS or large 3v3 capacitance to get anything near the rated capacity from the battery. If you include a UART port you can at least know what's going on when it starts the brownout resets. The Brownout protection works better than any other feature on the ESP-32!
@atomic14
@atomic14 11 месяцев назад
That's very interesting - I'll watch out for then in my testing. I should be able to easily hook up a UART board to the pins and see what's going on.
@wojciechbajon
@wojciechbajon 11 месяцев назад
@@atomic14 By the way, depending on the sources, 0% capacity is referred to as 3V - 2.5V. On the other hand, at 10% it's still 3.5V...
@JeffreyGroves
@JeffreyGroves 11 месяцев назад
I recently ran into the same issue with using diodes and had given up. I think I will try your MOSFET solution. Thanks for sharing this!
@atomic14
@atomic14 11 месяцев назад
No worries - hope it fixes your problem!
@peter.stimpel
@peter.stimpel 11 месяцев назад
Well done, like it quite much
@atomic14
@atomic14 11 месяцев назад
Thanks Peter!
@davepauljones
@davepauljones 11 месяцев назад
Nice job, I have low voltage dropout problem to solve on my UPAS KP V2 project, so I now know how to tackle it, thanks for sharing.
@atomic14
@atomic14 11 месяцев назад
No worries - I almost dropped the ball on this one - I knew about the MOSFET circuit, but thought it was overkill and the Schottky diodes would be fine. Fortunately one of my friends checked the data sheet and pointed out the voltage drop!
@MatthewKanwisher
@MatthewKanwisher 11 месяцев назад
Thanks for making video . I enjoyed the follow to your previous video
@atomic14
@atomic14 11 месяцев назад
Thanks! There should be a bunch more videos in this sequence.
@dromeosaur1031
@dromeosaur1031 11 месяцев назад
Thank you for the video!
@atomic14
@atomic14 11 месяцев назад
Thanks for watching!
@whattt-wc7gw
@whattt-wc7gw 6 месяцев назад
Hello! Can I just say that I absolutely love. Your videos, I have only just discovered you recently but have found you of immense help on my arduino journey! I love this follow up video and am fascinated myself and think I will make something similar. Any chance you could make a design video, that would be brilliant! Thanks again, from a very satisfied arduino developer!
@gosdeCarrer
@gosdeCarrer 7 месяцев назад
Nice project. Would be it better to add an under discharge protection like the DW01A? I don't know if the MCU can still work below 3V or less, in that case it could damage the battery. At least with batteries without protection incorporated.
@jeremywilkerson9307
@jeremywilkerson9307 11 месяцев назад
Great Video
@atomic14
@atomic14 11 месяцев назад
Thanks!
@hldh214
@hldh214 10 месяцев назад
Thanks for your work. I have a concern regarding the charging circuit. I've come across recommendations against using a self-designed load sharing circuit with a diode and a MOSFET. I was wondering if there are any differences between the TP4057 and other ICs(mostly TI did) with power path management functionalities in this case. Thank you once again.
@atomic14
@atomic14 10 месяцев назад
Interesting - do you have any more information? In theory, when the battery is being charged it should be completely isolated from the system by the MOSFET. There is a really interesting video from @bigclivedotcom where he talks about charging circuits - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-f2yMs-JAyQM.html I don't think there's really much difference between the TP450X ICs.
@lucasprates1
@lucasprates1 7 месяцев назад
nice project! the circuit include low voltage protection for the battery?
@bkmakhoba
@bkmakhoba 11 месяцев назад
This is great! Awesome Stuff! Do you think using flexypin to make the modules swappable is possible?
@atomic14
@atomic14 11 месяцев назад
I think that would work - it's quite a nice idea.
@alejandroperez5368
@alejandroperez5368 8 месяцев назад
Just wondering, are you using low-melt temperature solder paste?
@renxula
@renxula 11 месяцев назад
Neat and compact! I wonder about the battery voltage though. At the nominal 3.7V it's only half drained, and can be safely discharged down to 3.0V (or 2.7V, but I'd stop at 3.0 because there's very little energy left below that). That's why I'm annoyed by "strict 3.3V supply" devices. Even a basic AVR works with a 2.7-5.5V supply!
@atomic14
@atomic14 11 месяцев назад
True, I think ideally you want to have a little boost circuit so you get every last bit of juice from the battery. Hmmm - I wonder if I could fit on the board...
@zyghom
@zyghom 11 месяцев назад
@@atomic14 i.e. "TPS63020 Automatic Buck-boost Step up Down Power Supply Module 3.3V " from Ali. It provides 3.3V from input between 1.8V-5V - tested ;-)
@atomic14
@atomic14 11 месяцев назад
That's pretty nice - and it doesn't need many external components so would probably fit in the space. Inductor might be quite big though?
@zyghom
@zyghom 11 месяцев назад
@@atomic14 did you check on Ali? there are pictures there. It is 2R2 inductor
@atomic14
@atomic14 11 месяцев назад
Pretty small!
@caiopedreira6643
@caiopedreira6643 11 месяцев назад
Great video! Where may we buy this board already soldered with all these components? You could try testing it with a GPS using UART1 and also with some 4G/5G modem module attached to UART2.
@atomic14
@atomic14 11 месяцев назад
I probably won't be selling these, they are very much an experiment to see what's possible. It's also just not possible to compete with all the dev boards out there that are very cheap.
@saydiy1528
@saydiy1528 4 месяца назад
good job, do you have the board for sale?
@MrSasha3050
@MrSasha3050 2 месяца назад
Have you got scheme of your S3 project?
@mad_circuits
@mad_circuits 11 месяцев назад
6:00 You should consider protecting the gate of the p-channel MOSFET against power-on voltage spikes (inrush current). An additional resistor?
@atomic14
@atomic14 11 месяцев назад
I need to do some research on some best practice for hooking up to USB power. I'm sure there should something there.
@alejandroperez5368
@alejandroperez5368 8 месяцев назад
I think that's what USB ESD diodes are for.
@piconano
@piconano 11 месяцев назад
Would the ESP32 not run on 3.0V? Just wondering since it can operate from 2.2V to 3.6V. I don't remember at what max speeds it can run on different supply voltages.
@atomic14
@atomic14 11 месяцев назад
Had a quick look at the data sheet - it will do 3.0 to 3.6 so pretty flexible. But I think we’d hit probably with talking to other bits of hardware.
@gibsonpinball
@gibsonpinball 7 месяцев назад
Hi, very nicely done!. you mention there is room for improvement and you wil probably design a newer version. Could you give some information about the improvements you are thinking about? is there anything you are not satisfied with now that you have some considerable experience with them?
@atomic14
@atomic14 7 месяцев назад
There are a couple of follow up videos where I add on a lot more peripherals. The main thing that is missing is an easy way to force the ESP32 into firmware download mode. It works most of the time automatically, but occasionally does not...
@gibsonpinball
@gibsonpinball 7 месяцев назад
@@atomic14 Thanks for the quick reply!
@AntonioDellaRovere
@AntonioDellaRovere 11 месяцев назад
Consider redesigning the pcb: the usb connector covers the antenna clearance.
@atomic14
@atomic14 11 месяцев назад
Definitely - there's a video coming soon where we'll investigate how much of an impact this has on radio performance. There's a bunch of tradeoffs to be made when trying to get everything into such a small space.
@gyulange
@gyulange 11 месяцев назад
An absolutely interesting video! I was searching for something like that since a while... One question: what's the role of the class D amplifier? What are the two {SPKN, SPKP} items for? Thanks a lot and waiting for a follow-up.
@atomic14
@atomic14 11 месяцев назад
There's a sneak peak in the next video in the series: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6b1Lels0a3c.html - the SPKN and SPKP are to connect a speaker - and ultimately I'll be connecting a small screen to make video display.
@gyulange
@gyulange 11 месяцев назад
Can I remove the amplifier block only while leaving all the rest?
@atomic14
@atomic14 11 месяцев назад
Sure - you only need the amplifier if you want o hook up a speaker.
@bendtherules0
@bendtherules0 11 месяцев назад
Thanks for the schematics. How do you suggest adding ESD protection to the usb?
@atomic14
@atomic14 11 месяцев назад
Yes, I think that would be a good idea if this was to be turned into a product. And there’s plenty of room for it.
@PostalPete
@PostalPete 3 месяца назад
Two questions: Can you order a small pcb with a esp32 module already soldered on? Also, where can I purhcase a bare esp32 module? All I can seem to find are dev kits.
@ihsanas
@ihsanas 2 месяца назад
last time i bought it from Digikey.
@SojournerDidimus
@SojournerDidimus 11 месяцев назад
Could you reduce the size even more and make it the exact same size as the ESP? Does the USB port impair the antenna?
@atomic14
@atomic14 11 месяцев назад
Yes, you can definitely go smaller - I think you could easily fit it on the size of a mini module. The USB connector will have an impact - I'm going to do some tests when I get some time to see how much.
@FuzzyScaredyCat
@FuzzyScaredyCat 11 месяцев назад
Shouldn't you rotate your esp32 in your design so that the antenna hangs off the edge of the board rather than ignoring the keep-out area? Does it make a difference to wifi performance?
@atomic14
@atomic14 11 месяцев назад
It’s definitely a compromise I’ve made. I’m going to do some tests to see how much of an impact it has. I’ve got a couple of options for next version. I’m quite tempted to switch to a module with an external antenna - this removes the problem completely. Or I’ll use a vertical USB-C socket - that will give me a lot of flexibility on where to place it. I didn’t do that in the original design because I wanted to have the option of plugging into breadboard with the adaptor. But I’m now wondering if that was worth the extra effort or if my adaptor board should just include the USB socket as well. Or maybe I should just break out the 5v input and then I can use a USB break out board to hook it up in breadboard mode. Too many options!
@bkmakhoba
@bkmakhoba 11 месяцев назад
@atomic14 A vertical port would increase the form factor of the board. For some use cases the wifi need not be that far reaching in favour of the smaller footprint. I don't think the adaptor board benefits from the usb port being there as the pins are already broken out for use. The port should rather stay on the module. The external antenna. Yeah that's a good one. But the external antenna ESP modules aren't ubiquitous. Making the external antenna version of the board extremely niche, its reliant on a fairly rare module.
@atomic14
@atomic14 11 месяцев назад
Very true - I'm going to do some tests - I can solder a ESP32 module directly to my adaptor board and use a USB breakout to program it. So we can see how much the USB port on my current board effects things.
@OMNI_INFINITY
@OMNI_INFINITY 10 месяцев назад
*Nice how little it is. Is it necessary to "burn" that efuse (USB_PHY_SEL) to use native USB? I designed and built a custom board with an S3 and want to get the native USB part functioning so I can program it, as there isn't a USB to UART IC on the PCB. Thanks in advance for answering soon!*
@atomic14
@atomic14 9 месяцев назад
It should just work out if the box from the factory. You may need to hold IO0 low when you power up/reset to get into boot mode.
@mast3rbug
@mast3rbug 7 месяцев назад
I use it all the time and you don't need anything. Moreover, the Upload by the USB JTAG DEBUG port is WAY FASTER than the highest speed setting on the Serial port.
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 11 месяцев назад
Did seon take it from the arduino mega, they have the same circuit. As I've just disconnected the 5V from the usb connection as i don't need it and this totally removes the issue. Also its a common circuit on large military 28V power backup systems where you are pulling 100s of amps and a normal diode would get very hot😂
@atomic14
@atomic14 11 месяцев назад
Not sure where he got it from - I first learnt about it from @AndreasSpiess - not sure I would be allowed anywhere near something that involved 100s of amps...
@raymondmichael4987
@raymondmichael4987 11 месяцев назад
@@atomic14😂😂😂
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 11 месяцев назад
@@atomic14 large aircraft pull frightening amounts of power from the 28V busses and when you have to have seamless fallback between busses you can be diode OR'ing a lot of current.
@dartfrogdk
@dartfrogdk 8 месяцев назад
very nice would be very good with a solar charger onboard
@jeffreydijkstra3391
@jeffreydijkstra3391 6 месяцев назад
did you come up with the Misfit solution yourself? or did you get it somewhere? I'm looking at integrating the same kinda setup for a project :) and was curious. PCB is looking great :) very smart
@atomic14
@atomic14 6 месяцев назад
The MOSFET power path circuit? It’s quite a well known pattern. I copied mine from the Unexpected Maker’s dev boards. But you can find lots of examples elsewhere.
@jeffreydijkstra3391
@jeffreydijkstra3391 6 месяцев назад
@@atomic14 yes that one :) did not know its name, thanks alot!
@AG34273
@AG34273 7 месяцев назад
pcbway also solder those components? If not, did you do that yourself or got it done somewhere else?
@atomic14
@atomic14 7 месяцев назад
Yes, they do SMT assembly. For this I assembled on side and soldered the ESP32-S3 module myself. If is pretty easy (though pretty fiddly) to do it all yourself. I tend to stick to 0603 components if I'm doing it myself.
@veitklub
@veitklub 11 месяцев назад
Big fan of your videos. One question: isn't there a smaller package for the S3? Why did you choose this big one?
@atomic14
@atomic14 11 месяцев назад
There is yes - www.espressif.com/sites/default/files/documentation/esp32-s3-mini-1_mini-1u_datasheet_en.pdf - it's a good point - using that one we might have been able to get everything on one side of the PCB in the same space.
@veitklub
@veitklub 11 месяцев назад
@@atomic14 i meant the esp32 packages without the metal casing. for instance the one on the lolin32 lite board. are there any reason not to use them like RF shielding? i want to design a board very similar to yours, so i'm quite interested!
@atomic14
@atomic14 11 месяцев назад
@@veitklubGot you - have a look at the Unexpected Maker's boards - all his schematics are available and he uses bare chips. The main reason I stick to the modules is just simplicity - everything is wired up and there's a lot of choice around flash and PSRAM combinations. You also have to understand how to do antennas and stuff like that - way beyond my pay grade :)
@veitklub
@veitklub 11 месяцев назад
@@atomic14 thanks, exactly the information i needed! or as we germans say: "again what learned" i will follow your example and stick to the simpler stuff!
@nikthefix8918
@nikthefix8918 9 месяцев назад
@@veitklub One reason to stick with the modules is that they are pre-certified. This could be important and much cheaper if your product goes to market in jurisdictions that insist on exhaustive and expensive EMR testing.
@raguaviva
@raguaviva 11 месяцев назад
I am afraid the metallic USB socket right under the ESP32 antenna is a major problem, even more if it is connected to ground, it will suck all the antenna's power. (made that mistake myself)
@atomic14
@atomic14 11 месяцев назад
Definitely a big compromise. I'll be doing some testing to see what effect it has. For the next version I'm probably going to go for a vertically mounted socket which will be a lot more flexible.
@raguaviva
@raguaviva 11 месяцев назад
Really, it is a major problem, please treat it as such, no biggie, we are all learning. From the ESP32 HW guidelines: "It is recommended that the module is mounted on the edge of the host PCB with the antenna exposed to free space. It is permitted for PCB material to be below the antenna structure of the module as long as no copper traces or planes are on the host PCB in that area" From the TI Bluetooth Antenna design: "Printed and surface-mount antennas have certain common properties. Area around and beneath the radiating element must be kept copper-free." [..] "The antenna will detune if any object is placed close to it (in its near field). This has an effect of pulling the frequency, which must be retuned to 2.45 GHz."
@bkmakhoba
@bkmakhoba 11 месяцев назад
​@@atomic14 Maybe rotate the module 180° so that the antenna sticks out the bottom? Sounds like quite the hassle, hence my reservations in recommending it.
@atomic14
@atomic14 11 месяцев назад
Yeah, the routing of the pins would be horrible - though I could use a four layer board maybe.
@sarwarmehedi
@sarwarmehedi 9 месяцев назад
Is it possible to use the mosfet solution to choose between USB_5V and another different 5v supply (instead of the BATP whcih is 3.7V) ? refer to ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zeSlRvCd6tg.html
@adept-of-all
@adept-of-all 2 месяца назад
Why it need amplifier
@atomic14
@atomic14 2 месяца назад
Doesn’t need one - but I have a few audio projects so it’s always useful to have one…
@thenextproblem8001
@thenextproblem8001 11 месяцев назад
I was typing the MOSFET method... My excitement goes down to the floor 😢
@weerobot
@weerobot 11 месяцев назад
Let's go Smaller..lots of empty space on your board..
@atomic14
@atomic14 11 месяцев назад
Indeed - loads of room! Next version will have more stuff on it!
@dmitrymarukh6857
@dmitrymarukh6857 11 месяцев назад
With many references to datasheet it is funny how you completely ignoring one of the key requirements of not having components or traces under the PCB antenna area
@atomic14
@atomic14 11 месяцев назад
We'll be doing some experiments in a future video to see what the impact of this is. There are definitely some tradeoffs being made in the current design to fit everything in.
Далее
I made a VGA card that blew my mind
15:44
Просмотров 423 тыс.
Каха заблудился в горах
00:57
Просмотров 7 млн
A Lot of Hot Air - Soldering ESP32-S3 Boards
6:03
Просмотров 7 тыс.
Is this the most functional ESP32-S3 dev board EVER?
5:51
SMT Mounting for ESP32
7:39
Просмотров 11 тыс.
I Made A Tiny ESP32
5:40
Просмотров 106 тыс.
Most Interesting Addressable LEDs that I've Ever Seen
10:50
How TINY Can I go? The BEST Power Board is here!
11:55
Просмотров 276 тыс.
6 Horribly Common PCB Design Mistakes
10:40
Просмотров 183 тыс.