ESP32 in a commercial product? - From prototype to production

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 122

  • @PredictableDesigns
    @PredictableDesigns  ปีที่แล้ว +6

    Get your free guide From ESP32 Prototype to Production: 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

    • @to.l.2469
      @to.l.2469 4 วันที่ผ่านมา

      the ESP32 is a Chinese design. Yes, and that is exactly the huge problem!
      Choosing Chinese products basically increases dependence on an autocracy/dictatorship and that is exactly the Chinese strategy!
      I admit it is the job of politicians to deal with such questions, but you should always keep that in mind if there is still a spark of democracy in you!
      (I know that under Trump plus Musk the USA is no longer a real democracy (but an oligarchy), but it can be much worse…!)

  • @ThatTalkingDogGuy
    @ThatTalkingDogGuy ปีที่แล้ว +12

    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 ปีที่แล้ว

      I’m also working on an ESP32 product called SecureCoop for chicken keepers. What’s yours called?

    • @PredictableDesigns
      @PredictableDesigns  ปีที่แล้ว

      That's so nice to hear, thank you!

  • @jdsan6009
    @jdsan6009 ปีที่แล้ว +8

    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  ปีที่แล้ว +2

      Yes, great point. I commonly suggest using the Arduino IDE with the ESP32 to simplify development. Thanks for commenting!

    • @cdevidal
      @cdevidal ปีที่แล้ว +2

      I love MicroPy but it is definitely limited in critical ways

  • @mafhper
    @mafhper ปีที่แล้ว +1

    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.

  • @waveform2k
    @waveform2k 10 หลายเดือนก่อน +2

    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.

  • @tookitogo
    @tookitogo 9 หลายเดือนก่อน +2

    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.

  • @muralikrishnan6231
    @muralikrishnan6231 2 หลายเดือนก่อน +1

    I think the most attractive part in ESP32, apart from WIFI (or even more than wifi) is that the features of dual core, sleep modes and the rtc. It can handle a quite diverse types of applications.

  • @TvistoProPro
    @TvistoProPro ปีที่แล้ว +22

    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  ปีที่แล้ว

      Thanks for sharing that!

    • @HermanWillems
      @HermanWillems 5 หลายเดือนก่อน

      Try building systems for the Army, any processor from China and many other products are forbidden. And you don't know about the backdoors .... YET.

  • @thefreem0
    @thefreem0 ปีที่แล้ว +42

    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  ปีที่แล้ว +1

      Thanks for sharing that and commenting!

    • @keithsummers1889
      @keithsummers1889 ปีที่แล้ว

      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 ปีที่แล้ว +1

      Do you think the ESP32 is phoning home??

    • @thefreem0
      @thefreem0 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +10

      @@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.

  • @mauriciotavares5360
    @mauriciotavares5360 ปีที่แล้ว +2

    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  ปีที่แล้ว +1

      Great point, thank you. I do tend to maybe over focus sometimes on the Hardware. But I do love software too.

  • @zakspop
    @zakspop 5 หลายเดือนก่อน

    My Atomstack X20 Pro Laser engraver/cutter has a ESP32-WROOM-32U as the heart of it's motherboard.

  • @radistor_ua
    @radistor_ua ปีที่แล้ว +1

    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.

  • @user-mr3mf8lo7y
    @user-mr3mf8lo7y 6 หลายเดือนก่อน

    Wi-fi feature can be disabled, if not needed. On the other hand, #1 strength of ESP based modules is offering 4MB+ eprom.

  • @avmattos1
    @avmattos1 9 หลายเดือนก่อน

    The Emporia Vue 2 whole house energy monitoring uses ESP32 as well.

    • @PredictableDesigns
      @PredictableDesigns  9 หลายเดือนก่อน

      Great to know, thanks for sharing that!

  • @mytube1000javed
    @mytube1000javed 9 หลายเดือนก่อน +1

    Hi, how to change API keys and secret code in a commercial product?

    • @PredictableDesigns
      @PredictableDesigns  9 หลายเดือนก่อน

      I don't know, and it depends on the product.

  • @momentomoridoth2007
    @momentomoridoth2007 10 หลายเดือนก่อน

    my xtool laser has an esp32 in its mobo. I had to smile to myself a little when I Saw it.

  • @cdevidal
    @cdevidal ปีที่แล้ว +2

    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 11 หลายเดือนก่อน +2

      very peremptive statement, which is also very wrong.

    • @cdevidal
      @cdevidal 11 หลายเดือนก่อน

      @@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?

    • @simontillson482
      @simontillson482 4 หลายเดือนก่อน +1

      Hmm, not really. PCB antennas tend to have rather terrible gain and radiation patterns, making their range pretty low. A little quarter wave external antenna will almost always perform a lot better. Antenna gain vs PA power level is a bit of a minefield in terms of FCC regulations, but it mostly comes down to ERP - effective radiated power. That is a system level measurement, and is one reason why FCC certification is only given on the basis of a certain module / antenna / casing and grounding situation. Change any one of those things, and ERP (and also extraneous out-of-band emissions) also change.

    • @cdevidal
      @cdevidal 4 หลายเดือนก่อน

      @@simontillson482 don’t take my word for it. The data sheets show that the external antenna model has slightly worse gain. Go see.

    • @Foxfried
      @Foxfried 3 หลายเดือนก่อน

      @@cdevidal Sorry sir but you are 100% wrong any hardware developer with the most basic equipment can measure the difference between the internal and external antenna.

  • @andre-le-bone-aparte
    @andre-le-bone-aparte 3 หลายเดือนก่อน

    Just found your channel. Excellent Content - another sub for you sir!

  • @jdsalmonson
    @jdsalmonson หลายเดือนก่อน

    I am curious what dual core microcontroller SoCs you'd recommend as an alternative to ESP32 (particularly the ESP32S3 for instance) if WiFi isn't required. I've been working with this chip for awhile and have enjoyed having the WiFI capability for debugging, but I ultimately don't need WiFi. I find the Espressif IDF to be quite mature and useful (it also has some nice optimizations for machine learning operations), but if there are offerings by other manufacturers that have similar compute power and mature interface at the same price point (but w/o wireless capability), I'd be interested to hear more about them.

    • @PredictableDesigns
      @PredictableDesigns  หลายเดือนก่อน +1

      The ESP32 is so price competitive that even if you don't need WiFi (or Bluetooth) it still makes sense for many designs.
      The only other dual core I know of that's this cheap (actually cheaper) is the RP2040 from Raspberry Pi. The dual core Cortex ARM microcontroller costs only $1. It's loaded with lots of power and features for a ridiculously low price.

  • @richdobbs6595
    @richdobbs6595 10 หลายเดือนก่อน

    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  9 หลายเดือนก่อน

      If I understand your question correctly, yes there are lots of microcontrollers that support USB without wireless functions.

    • @richdobbs6595
      @richdobbs6595 9 หลายเดือนก่อน

      @@PredictableDesigns What are some of those microcontrollers? Especially ones that have ADCs.

  • @VndNvwYvvSvv
    @VndNvwYvvSvv 11 หลายเดือนก่อน +4

    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.

    • @AliKhodrAliG
      @AliKhodrAliG หลายเดือนก่อน

      Can you explain a little more in depth for me please? I’m building bionic prosthetics for children and I’m aiming for perfection. This seems quite simple but a circuit diagram or more thorough explanation could help me implement this suggestion since I’m using a lot of pressure sensitive resistors for example

  • @hello81642
    @hello81642 5 หลายเดือนก่อน

    What are your recommendations if wireless connectivity is not necessary?

    • @PredictableDesigns
      @PredictableDesigns  4 หลายเดือนก่อน

      Well it depends. I'd need a lot more info to make any suggestions. Probably an STM32, but maybe an RP2040.

  • @calvinaizumiramadhan2685
    @calvinaizumiramadhan2685 7 หลายเดือนก่อน

    What type of the microcontroler that can use for industrial aplication and product john?

    • @PredictableDesigns
      @PredictableDesigns  7 หลายเดือนก่อน

      That depends on what it does. Industrial or consumer doesn't really matter for selecting the MCU.

    • @HermanWillems
      @HermanWillems 5 หลายเดือนก่อน

      @@PredictableDesigns this comment instantly made you an electronics beginner. It does matter, because proper chip brands have big track record on being able to keep a chip in production for x years. Also microcontrollers and chips from China are forbidden in MANY European products, systems and industries. Especially in the military. The ESP32 is only used in Chinese products. Your code is also less secure on a ESP32, while western chip brand really protect your code much better. There are so many reason why Western companies never choose for ESP32's even though they are amazing for hobby use and super cheap.

  • @lanceharvie
    @lanceharvie 11 หลายเดือนก่อน

    Great explanation

  • @-Slade-
    @-Slade- ปีที่แล้ว

    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  ปีที่แล้ว

      Yes of course they are really both just CPU's. But they are very different from both an application perspective and a development perspective.

  • @NE-Explorer
    @NE-Explorer 5 หลายเดือนก่อน

    Does ESP 32 come with certification for FCC DOC and Europe/CISPR intentional emitters

    • @PredictableDesigns
      @PredictableDesigns  5 หลายเดือนก่อน

      The modules are pre-certified but not the bare chips.

  • @seppeseppe-jq7nr
    @seppeseppe-jq7nr ปีที่แล้ว

    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

  • @plcworker
    @plcworker 6 หลายเดือนก่อน

    Ok, thanks for the explanation, but not everything is rosy.
    There must also be disadvantages,

    • @PredictableDesigns
      @PredictableDesigns  6 หลายเดือนก่อน +1

      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 6 หลายเดือนก่อน

      @@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

  • @TheObiwantoby
    @TheObiwantoby ปีที่แล้ว

    I believe ESP32 is used in the Whisker Litter Robot.

  • @icarossavvides2641
    @icarossavvides2641 10 หลายเดือนก่อน

    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  10 หลายเดือนก่อน +1

      That's true, but not every maker using an ESP32 knows this already.

  • @VishalSharma-en9sb
    @VishalSharma-en9sb 11 หลายเดือนก่อน +2

    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  11 หลายเดือนก่อน +2

      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 11 หลายเดือนก่อน

      @@PredictableDesigns Ok, I understood sir,
      Please send the video link
      Thank you very much!

  • @Foxfried
    @Foxfried 3 หลายเดือนก่อน +1

    ESP32 would rarely ever make it commercial production it is almost always used to power a GUI/LCD display and add wifi/bluetooth, never for any actual functions, those jobs are still done by STM32, Novuton, And various other established micro controllers. Main reasons for this are the low quality ADC and high power consumption. Espressif will still need a decade to optimize this chip. DIY and Makers like this chip because they could care less they just want to show everyone the wifi enabled tooth brush they made.

  • @kokalti
    @kokalti 7 หลายเดือนก่อน +1

    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  7 หลายเดือนก่อน +1

      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.

  • @platin2148
    @platin2148 5 หลายเดือนก่อน

    Well already happened but no network access for this thing.
    You still have to certify and let you module be checked.
    Well the RF design is trivial for a real manufacturer that creates mass products.

  • @Fixaj
    @Fixaj 3 หลายเดือนก่อน

    S3?

  • @Really2950
    @Really2950 3 หลายเดือนก่อน

    I use for internet radio. Super cheap and easy

  • @ADAM-k5p7x
    @ADAM-k5p7x 3 หลายเดือนก่อน

    why didn't you mention slime vr ?

    • @PredictableDesigns
      @PredictableDesigns  3 หลายเดือนก่อน

      Probably because I've never heard of it before:)

  • @srinivaastammaali2937
    @srinivaastammaali2937 ปีที่แล้ว

    Good Insights... Thanks

  • @kevinparker48
    @kevinparker48 10 หลายเดือนก่อน

    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.

  • @guatagel2454
    @guatagel2454 ปีที่แล้ว

    Thank you!

  • @lo2740
    @lo2740 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน

      True, but from a certifications perspective they are both considered custom.

    • @lo2740
      @lo2740 11 หลายเดือนก่อน

      @@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 9 หลายเดือนก่อน

      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.

  • @sallyfromthevalley66
    @sallyfromthevalley66 ปีที่แล้ว

    Thanks!

  • @Ech01378
    @Ech01378 6 หลายเดือนก่อน

    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

  • @roscosmo
    @roscosmo 9 หลายเดือนก่อน

    basically every smarthome device i own is an esp32 under the hood

    • @PredictableDesigns
      @PredictableDesigns  9 หลายเดือนก่อน

      Not necessarily, but quite a few are.

  • @TheNamelessOne12357
    @TheNamelessOne12357 ปีที่แล้ว +6

    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.

    • @HermanWillems
      @HermanWillems 5 หลายเดือนก่อน

      ESP32 is powerfull and has many options. But in reality it's still a cheap toy and doesn't meet the professional specs. And in many cases is even FORBIDDED to be used by western companies.

    • @Foxfried
      @Foxfried 3 หลายเดือนก่อน

      @@HermanWillems ESP32 works well if you need to drive a LCD display and add bluetooth/wifi to it but it would then communicate with a main wifi circuit such as a Novuton or STM32. Many people that are jumping up and down with esp32 have just made a wifi powered tooth brush so they assume its a chip that would work every where.
      There is a reason why its cheap and yes the ADC are terrible.

    • @dr0gaN
      @dr0gaN หลายเดือนก่อน

      @@Foxfried but that's the point. For your wifi powered toothbrush timings and precision do not matter. Choose the right tool for the job.

    • @dawsonpate7385
      @dawsonpate7385 26 วันที่ผ่านมา +1

      ​@@dr0gaNsadly not to many actually get that part. Yeah sure something else could have been "better" in the sense of capabilities, but for something like that it just doesn't matter, if I were making it I'd just want the cheapest option that gets the job done . . . And u can't really get better than that. If u don't use an adc then why da f would u even care about adc performance of the chip being used. If u don't need floating point then why get a more expensive option that has it. Same game for every other part . . .

  • @minteligencia
    @minteligencia ปีที่แล้ว

    Nice 😊

  • @nick4088
    @nick4088 9 หลายเดือนก่อน

    It's already been done. It's commercial products are all over.

    • @PredictableDesigns
      @PredictableDesigns  9 หลายเดือนก่อน

      Yes, that's very true. But many makers may not know that:) Thanks for commenting.

    • @HermanWillems
      @HermanWillems 5 หลายเดือนก่อน

      Most if not all of these commercial products are from China as well...

  • @jsonslim
    @jsonslim 11 หลายเดือนก่อน

    The answer: why not?

  • @MaxQ10001
    @MaxQ10001 11 หลายเดือนก่อน

    What a strange question...