ESP32 in a commercial product? - From prototype to production

  Рет қаралды 45,616

Predictable Designs

Predictable Designs

8 ай бұрын

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

Пікірлер: 87
@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
@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!
@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.
@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
@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!
@radistor_ua
@radistor_ua 6 ай бұрын
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.
@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.
@seppeseppe-jq7nr
@seppeseppe-jq7nr 6 ай бұрын
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
@lanceharvie
@lanceharvie 5 ай бұрын
Great explanation
@PredictableDesigns
@PredictableDesigns 5 ай бұрын
Glad it was helpful!
@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.
@srinivaastammaali2937
@srinivaastammaali2937 7 ай бұрын
Good Insights... Thanks
@PredictableDesigns
@PredictableDesigns 7 ай бұрын
Glad it was helpful!
@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.
@sallyolle
@sallyolle 7 ай бұрын
Thanks!
@PredictableDesigns
@PredictableDesigns 7 ай бұрын
You're most welcome!
@richdobbs6595
@richdobbs6595 4 ай бұрын
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 3 ай бұрын
If I understand your question correctly, yes there are lots of microcontrollers that support USB without wireless functions.
@richdobbs6595
@richdobbs6595 3 ай бұрын
@@PredictableDesigns What are some of those microcontrollers? Especially ones that have ADCs.
@minteligencia
@minteligencia 7 ай бұрын
Nice 😊
@PredictableDesigns
@PredictableDesigns 7 ай бұрын
Glad you liked it, thanks!
@VishalSharma-en9sb
@VishalSharma-en9sb 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
@@PredictableDesigns Ok, I understood sir, Please send the video link Thank you very much!
@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 7 ай бұрын
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 6 ай бұрын
Do you think the ESP32 is phoning home??
@thefreem0
@thefreem0 6 ай бұрын
@@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 6 ай бұрын
@@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.
@guatagel2454
@guatagel2454 5 ай бұрын
Thank you!
@PredictableDesigns
@PredictableDesigns 5 ай бұрын
You're welcome!
@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?
@kokalti
@kokalti Ай бұрын
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 Ай бұрын
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.
@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!
@momentomoridoth2007
@momentomoridoth2007 4 ай бұрын
my xtool laser has an esp32 in its mobo. I had to smile to myself a little when I Saw it.
@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.
@TheObiwantoby
@TheObiwantoby 7 ай бұрын
I believe ESP32 is used in the Whisker Litter Robot.
@PredictableDesigns
@PredictableDesigns 7 ай бұрын
Thanks! I'll check it out.
@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.
@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.
@plcworker
@plcworker 9 күн бұрын
Ok, thanks for the explanation, but not everything is rosy. There must also be disadvantages,
@PredictableDesigns
@PredictableDesigns 8 күн бұрын
I'd say the two main disadvantages of the ESP32 compared to similar WiFi chips is their increased programming difficulty and lack of good tech support.
@plcworker
@plcworker 8 күн бұрын
@@PredictableDesigns Thank you very much for answering. I'm thinking of using a WFI32, the advantage I have is my experience of many years working with microcontrollers and tools, from MCHP, however, I must analyze the ESP32 option
@icarossavvides2641
@icarossavvides2641 4 ай бұрын
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 4 ай бұрын
That's true, but not every maker using an ESP32 knows this already.
@kevinparker48
@kevinparker48 4 ай бұрын
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.
@roscosmo
@roscosmo 3 ай бұрын
basically every smarthome device i own is an esp32 under the hood
@PredictableDesigns
@PredictableDesigns 3 ай бұрын
Not necessarily, but quite a few are.
@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 3 ай бұрын
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.
@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.
@MaxQ10001
@MaxQ10001 5 ай бұрын
What a strange question...
@Ech01378
@Ech01378 11 күн бұрын
The worst thing in my opinion is the poor debugging method for esp32. Comparing it to stm32 it gets terribly behind. Espressif should care about it. Imagine a world with stm32 + wifi, that would be a pain for all those esp32 boards
@jsonslim
@jsonslim 4 ай бұрын
The answer: why not?
@nick4088
@nick4088 3 ай бұрын
It's already been done. It's commercial products are all over.
@PredictableDesigns
@PredictableDesigns 3 ай бұрын
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
Рет қаралды 12 М.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Рет қаралды 210 М.
Glow Stick Secret (part 2) 😱 #shorts
00:33
Mr DegrEE
Рет қаралды 45 МЛН
【獨生子的日常】让小奶猫也体验一把鬼打墙#小奶喵 #铲屎官的乐趣
00:12
“獨生子的日常”YouTube官方頻道
Рет қаралды 108 МЛН
Which ESP32 is Best for Your Project?
11:12
Predictable Designs
Рет қаралды 16 М.
Launching a new electronic product? Don't make these 3 critical mistakes!
6:22
451 Which Processor can kill the ESP32?
11:24
Andreas Spiess
Рет қаралды 333 М.
How Can You Sell Your Own Tech Products?
52:16
Robert Feranec
Рет қаралды 21 М.
Simulate Arduino, ESP32, Pi Pico, STM32, And ATtiny with Wokwi
11:41
Andreas Spiess
Рет қаралды 84 М.
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 163 М.
We built a Drone using ESP32 for less than Rs.1000!
9:37
Circuit Digest
Рет қаралды 76 М.
Пленка или защитное стекло: что лучше?
0:52
Слава 100пудово!
Рет қаралды 1,8 МЛН
The power button can never be pressed!!
0:57
Maker Y
Рет қаралды 43 МЛН
Рекламная уловка Apple 😏
0:59
Яблык
Рет қаралды 822 М.
Apple. 10 Интересных Фактов
24:26
Dameoz
Рет қаралды 69 М.
Edit My Photo change back coloured with Bast Tech
0:45
BST TECH
Рет қаралды 333 М.