ESP32 in a commercial product? - From prototype to production

  Переглядів 43,965

Predictable Designs

Predictable Designs

7 місяців тому

The ESP32 is a wireless microcontroller that’s really popular with makers and hobbyists.
But what about using the ESP32 in a commercial product that will be mass manufactured?
Is that realistic? And if so, is it a good or bad idea to use the ESP32 in your product?
Well, that’s what I’m going to answer for you in this video.
FREE GUIDE - From Prototype to Production with the ESP32: predictabledesigns.com/esp32
And get your other free guides:
Ultimate Guide - How to Develop and Prototype a New Electronic Hardware Product in 2024: predictabledesigns.com/guide
From Arduino Prototype to Mass Production: predictabledesigns.com/from-a...
From Raspberry Pi Prototype to Mass Production: predictabledesigns.com/rpi
Prevent mistakes by downloading my DESIGN REVIEW CHECKLISTS for the schematic circuit, PCB layout, and enclosure 3D model design: predictabledesigns.com/design...
Want my personal help on your project? If so, check out my Hardware Academy program: predictabledesigns.com/Academy

КОМЕНТАРІ: 83
@PredictableDesigns
@PredictableDesigns 7 місяців тому
Get your free guide From Prototype to Production with the ESP32: predictabledesigns.com/esp32 And get your other free guides: Ultimate Guide - How to Develop and Prototype a New Electronic Hardware Product in 2023: predictabledesigns.com/guide From Arduino Prototype to Mass Production: predictabledesigns.com/from-arduino-youtube/ From Raspberry Pi Prototype to Mass Production: predictabledesigns.com/rpi Prevent mistakes by downloading your FREE DESIGN REVIEW CHECKLISTS for the schematic circuit, PCB layout, and enclosure 3D model design: predictabledesigns.com/design-review-checklists-youtube/ Want my personal help on your project? If so, check out my Hardware Academy program: predictabledesigns.com/Academy
@mafhper
@mafhper 7 місяців тому
I love working and having fun with these little esp32s. I always wonder what to do and the capabilities of this little sign always surprise me.
@ThatTalkingDogGuy
@ThatTalkingDogGuy 7 місяців тому
Gotta say, your videos, especially about getting a new electronic gadgets to market, are inspirational, and incredibly well structured and presented. And I'm not just saying that because my new device uses an ESP32! Seriously, in just a few videos, you have provided me with confidence in the correct steps I have already taken, and a solid - and thankfully small - to do list for steps I now need to take. Thank you so much for spending the time in crafting these videos!
@cdevidal
@cdevidal 7 місяців тому
I’m also working on an ESP32 product called SecureCoop for chicken keepers. What’s yours called?
@PredictableDesigns
@PredictableDesigns 7 місяців тому
That's so nice to hear, thank you!
@TvistoProPro
@TvistoProPro 7 місяців тому
One of the reasons the ESP32 is so popular is it's predecessors, namely the 8266. They (or a variant) were used in nearly every Wifi-enabled switch/plug in the market until about 3 years ago, when the market started moving toward the ESP32 and/or similar chipsets. The open documentation put out by ESPressif allowed for easy hacking, and the rise of custom firmware like Tasmota. One could argue that using the 8266 was not the best idea, because it lacked some simple hardware level protections (efuse for write-only boot flash, etc). But with the ESP32 line, there are built in safeties one can turn on in production settings to prevent 99% of the hacking that was done in the 8266 line.
@PredictableDesigns
@PredictableDesigns 7 місяців тому
Thanks for sharing that!
@SephironV
@SephironV 4 місяці тому
The only ESP32 product that I know of that I use is the HaritoraX Wireless (not the Haritora 1.1b), it is a 17 gram ESP32 based IMU motion tracking device that you strap to your body. It has an impressive 20 hour battery life per module and the PC connection + flashing for updates is done through Bluetooth. It is not a flawless product because it is susceptible to drift and geomagnetic interference, however it is pleasantly functional in a good environment and I think it's one of the examples where they have taken an ESP32 prototype into production where the product isn't very far off from the prototype.
@jdsan6009
@jdsan6009 7 місяців тому
Another advantage with ESP32 is that it can be programmed in Arduino, Micropython and C. The two first languages are useful in the prototype stage as they allow to test functionalities much faster.
@PredictableDesigns
@PredictableDesigns 7 місяців тому
Yes, great point. I commonly suggest using the Arduino IDE with the ESP32 to simplify development. Thanks for commenting!
@cdevidal
@cdevidal 7 місяців тому
I love MicroPy but it is definitely limited in critical ways
@lanceharvie
@lanceharvie 4 місяці тому
Great explanation
@PredictableDesigns
@PredictableDesigns 4 місяці тому
Glad it was helpful!
@mauriciotavares5360
@mauriciotavares5360 7 місяців тому
Hi John, thanks for the excellent video! I think you could also comment about the programming tools for the ESP32. In my experience, hardware is at most 30% of the product development effort.
@PredictableDesigns
@PredictableDesigns 7 місяців тому
Great point, thank you. I do tend to maybe over focus sometimes on the Hardware. But I do love software too.
@radistor_ua
@radistor_ua 5 місяців тому
Hi John, nice and informative video, as all on your channel, thanks! But you didn't touch a question of the firmware protection. I believe that's really actual topic for mass-market products, unfortunately not very well highlighted at all. There are some brief instructions but nothing about how this can be implemented in serial production, for an example. And I want to hear your opinion, is this necessary from perspective that binary probably includes some token for cloud services and is this somehow solved in projects based on ESP32.
@seppeseppe-jq7nr
@seppeseppe-jq7nr 5 місяців тому
is the esp working like sps s 7 from siemens? or is there a art windows programm who can make errors in controlling process? sorry bad englisch
@srinivaastammaali2937
@srinivaastammaali2937 7 місяців тому
Good Insights... Thanks
@PredictableDesigns
@PredictableDesigns 7 місяців тому
Glad it was helpful!
@sallyolle
@sallyolle 7 місяців тому
Thanks!
@PredictableDesigns
@PredictableDesigns 7 місяців тому
You're most welcome!
@thefreem0
@thefreem0 7 місяців тому
First I have designed many production systems using the ESP32... I will keep using them. However I do not TRUST them... there is a bunch of code I don't have access to that lives in the builtin ROM. It is used as a cheap WiiFi/Blutooth connection peripheral... the real product code lives in a trusted standalone micro-controller and I use an UART link between them. I would not recommend the ESP32 to be used in a product if all your secret sauce code is running on them.
@PredictableDesigns
@PredictableDesigns 7 місяців тому
Thanks for sharing that and commenting!
@keithsummers1889
@keithsummers1889 6 місяців тому
Drop me a line if you know of any contract opportunities with the Esp32 . I have been engineering code for the Esp32 for over 4 years - C++/IDF. Thanks.
@DMS20231
@DMS20231 5 місяців тому
Do you think the ESP32 is phoning home??
@thefreem0
@thefreem0 5 місяців тому
@@DMS20231 Not necessarily... although that could be a possibility, I have not heard of anyone seeing that behavior. My main issue is the firmware is not secure with their design.
@keithsummers1889
@keithsummers1889 5 місяців тому
@@thefreem0 is there just one shed of evidence that offers any support at all to the idea that the ROM microcode is insecure? Typically, that firmware is hard coded and immutable. If they even remotely allowed anything nefarious to occur there, it could sink the company. Do you really think they would risk that for data that wouldn't mean anything to them? It just doesn't make any sense.
@cdevidal
@cdevidal 7 місяців тому
The external antenna doesn’t give better reception than the internal (a little worse, actually), and using an antenna with higher gain is forbidden by the FCC. The only advantage is if your enclosure is metal.
@lo2740
@lo2740 4 місяці тому
very peremptive statement, which is also very wrong.
@cdevidal
@cdevidal 4 місяці тому
@@lo2740 I’m certainly no expert and could be entirely wrong, but why would you say that? I based what I said on the datasheets, are they wrong?
@guatagel2454
@guatagel2454 5 місяців тому
Thank you!
@PredictableDesigns
@PredictableDesigns 5 місяців тому
You're welcome!
@minteligencia
@minteligencia 7 місяців тому
Nice 😊
@PredictableDesigns
@PredictableDesigns 7 місяців тому
Glad you liked it, thanks!
@avmattos1
@avmattos1 2 місяці тому
The Emporia Vue 2 whole house energy monitoring uses ESP32 as well.
@PredictableDesigns
@PredictableDesigns 2 місяці тому
Great to know, thanks for sharing that!
@calvinaizumiramadhan2685
@calvinaizumiramadhan2685 Місяць тому
What type of the microcontroler that can use for industrial aplication and product john?
@PredictableDesigns
@PredictableDesigns Місяць тому
That depends on what it does. Industrial or consumer doesn't really matter for selecting the MCU.
@richdobbs6595
@richdobbs6595 3 місяці тому
In considering my potential product, it seems like one of the comparatively expensive and clunky aspects is just connecting the signals together using cables. Dupont jumpers are prone to bad loose connections and don't have cheap connections with custom PCBs. So it is tempting to go with wireless data communication, but then you still need power. Is there a standard solution that doesn't require unnecessary WiFi, but instead allows a network of USB C cables, which can provide power and data, as well as cheap reliable cabling?
@PredictableDesigns
@PredictableDesigns 2 місяці тому
If I understand your question correctly, yes there are lots of microcontrollers that support USB without wireless functions.
@richdobbs6595
@richdobbs6595 2 місяці тому
@@PredictableDesigns What are some of those microcontrollers? Especially ones that have ADCs.
@TheObiwantoby
@TheObiwantoby 7 місяців тому
I believe ESP32 is used in the Whisker Litter Robot.
@PredictableDesigns
@PredictableDesigns 7 місяців тому
Thanks! I'll check it out.
@momentomoridoth2007
@momentomoridoth2007 4 місяці тому
my xtool laser has an esp32 in its mobo. I had to smile to myself a little when I Saw it.
@VishalSharma-en9sb
@VishalSharma-en9sb 4 місяці тому
Namaste Sir, Thank You for the video. I am from India[ Bharat], I want to use ESP-C3FH4 Soc in my product for manufacturing, which means I need to make an antenna myself[ using PCB ] or I can use a chip antenna. So do I need an FCC certificate for this or not? I have read online that if we use the ESP32 module we don't need FCC certification, but for ESP32 SoC, FCC certification is required. Can you confirm if this is true?"
@PredictableDesigns
@PredictableDesigns 4 місяці тому
FCC authorization is always required but using a pre certified module makes it easier and cheaper. You lose that benefit if designing a custom antenna so full FCC certification is required. I have a video here on certifications that explain this all. Cheers.
@VishalSharma-en9sb
@VishalSharma-en9sb 4 місяці тому
@@PredictableDesigns Ok, I understood sir, Please send the video link Thank you very much!
@kokalti
@kokalti 28 днів тому
So if ESP32 development board is already FCC certified wouldn't your custom PCB that the board will be integrated into have to be certified as well?
@PredictableDesigns
@PredictableDesigns 28 днів тому
You rarely will integrate a dev kit on a custom board, and instead it will be a module. Correct though, and using a pre-certified module doesn't get you entirely out of FCC certification, it just drastically reduces the complexity and cost of the certification.
@tookitogo
@tookitogo 3 місяці тому
5:49 One other big advantage of ESP32: availability. During the pandemic, when every other MCU manufacturer struggled to keep anything in stock, ESP32 products remained available in volume.
@PredictableDesigns
@PredictableDesigns 3 місяці тому
Great point!
@-Slade-
@-Slade- 6 місяців тому
I wouldn't say a microcontroller is not a microprocessor though. It has a CPU and cache just like a desktop processor. The microcontroller just has more embedded peripherals which makes it a System-On-Chip . Yes they are slower and less complex than their desktop counter parts but they do basically the same thing. Many modern Desktops CPUs now are just SoCs. The same can be said of arm processors vs arm microcontrollers they do the same thing just one is more powerful than the other. One Arm M0+ can be clocked at 133 Mhz as a microcontroller but be clocked at 800Mhz or above to be a processor for a phone or iot device. The esp32 itself can and does run operating systems and be used just like SBC. I think we forgot that microcontrollers were used to be called embedded processors
@PredictableDesigns
@PredictableDesigns 6 місяців тому
Yes of course they are really both just CPU's. But they are very different from both an application perspective and a development perspective.
@mytube1000javed
@mytube1000javed 2 місяці тому
Hi, how to change API keys and secret code in a commercial product?
@PredictableDesigns
@PredictableDesigns 2 місяці тому
I don't know, and it depends on the product.
@VeritasEtAequitas
@VeritasEtAequitas 5 місяців тому
ESP32 has notoriously bad ADCs. You have to use attenuation and voltage dividing to match to avoid nonlinearity and noise problems. Even so, they're noisier than other MCUs. I avoid them unless integrated wifi is necessary.
@icarossavvides2641
@icarossavvides2641 3 місяці тому
Rather late for this video don't you think? I've personally come across a number of commercial products, in addition to the ones mentioned, using the ESP32/8266. These chips have been around for a long time and they couldn't possibly have survived if they sold only to the limited amateur market.
@PredictableDesigns
@PredictableDesigns 3 місяці тому
That's true, but not every maker using an ESP32 knows this already.
@kevinparker48
@kevinparker48 3 місяці тому
Yes, I too found the ESP32 incredibly buggy. They need to stop doing them selves a dis-service with so many branches and chip types now. esp-idf has become a mess and is unstable. They need to stop with feature releases for a solid 2 months to focus only on fixes.
@lo2740
@lo2740 4 місяці тому
i wouldnt call adding an antenna and a PI matching circuit a "fully custom RF design", ESP32 is a SoC, there is no "RF design", only a very basic matching and feed trace.
@PredictableDesigns
@PredictableDesigns 4 місяці тому
True, but from a certifications perspective they are both considered custom.
@lo2740
@lo2740 4 місяці тому
@@PredictableDesigns i know that rules are slightly different for FCC but for CE it doesnt matter at all if the module is "pre certified" you pay exactly the same price and all the CE-RED tests have to be passed in both cases.
@theagentsmith
@theagentsmith 2 місяці тому
With CE certification it is a lot easier and cheaper if the RF module is pre-certified as they are allowed to skip a bunch of tests. Been there, done that.
@roscosmo
@roscosmo 2 місяці тому
basically every smarthome device i own is an esp32 under the hood
@PredictableDesigns
@PredictableDesigns 2 місяці тому
Not necessarily, but quite a few are.
@MaxQ10001
@MaxQ10001 5 місяців тому
What a strange question...
@TheNamelessOne12357
@TheNamelessOne12357 5 місяців тому
ESP32 sucks at realtime. It just cannot react as fast and predictable, as other MCUs. Probably because it's SDK looks like a bloatware. And debugging is pain in the ass. I tried ESP32 and even created some working projects, but returning to STM32 was such a relief.
@jsonslim
@jsonslim 4 місяці тому
The answer: why not?
@nick4088
@nick4088 2 місяці тому
It's already been done. It's commercial products are all over.
@PredictableDesigns
@PredictableDesigns 2 місяці тому
Yes, that's very true. But many makers may not know that:) Thanks for commenting.
Design Mistakes You Must Avoid on Your New Electronic Product
16:04
Predictable Designs
Переглядів 11 тис.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Переглядів 200 тис.
Это было легко! Оживили и Отдаем BMW владельцу!
1:40:26
ИЛЬДАР АВТО-ПОДБОР
Переглядів 3,7 млн
КИРПИЧ ОБ ГОЛОВУ #shorts
00:24
Паша Осадчий
Переглядів 3,9 млн
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Переглядів 160 тис.
15 Brilliant ESP32 Projects that are Worth-trying!!!
11:12
ToP Projects Compilation
Переглядів 161 тис.
Which ESP32 is Best for Your Project?
11:12
Predictable Designs
Переглядів 15 тис.
451 Which Processor can kill the ESP32?
11:24
Andreas Spiess
Переглядів 331 тис.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 507 тис.
I Made A Tiny ESP32
5:40
Paul's Projects
Переглядів 98 тис.
Certifications required to sell a new electronic product
13:58
Predictable Designs
Переглядів 5 тис.
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Переглядів 120 тис.
Samsung or iPhone
0:19
rishton_vines😇
Переглядів 137 тис.
КУПИЛ SAMSUNG GALAXY S24 ULTRA ЗА 88000 РУБЛЕЙ!
27:29
DimaViper
Переглядів 31 тис.
Клавиатура vs геймпад vs руль
0:47
Balance
Переглядів 465 тис.
Phone sees the future ! 📲🫣👽
0:38
BOGDANCHIKI
Переглядів 11 млн