Comment by phoehne

Comment by phoehne 7 days ago

20 replies

They're more fun. The programming is easier (although you can get an Arduino like experience on a ESP32). They have 5V options, which make some projects easier without having to add additional components. The ESP32 API (and the Pico for that matter) are better suited professional programmers.

An Arduino is better if you're doing something and want a quick, easy, simple to program controller. It started as a way for artists to add MCUs to the projects without having to become embedded programmers.

xd1936 7 days ago

I've only ever used my ESP32s with the Arduino IDE. I don't think there's anything "easier" about using an Arduino board vs that experience.

vachina 7 days ago

Ain't fun spending $40 for a 'fun' project. ESP32 is like a dollar for WiFi and GPIOs. That's fun.

  • cosmicgadget 7 days ago

    That's like the cost of two burritos. Unless you're bricking these things on the daily why would $1 vs $40 be the deciding factor for a project that is tens of hours at a minimum?

    • vachina 7 days ago

      I buy 10s them and throw them around the house. I have a couple on AAA batteries and with deep sleep + watchdog wake on WiFi they last months.

    • limagnolia 7 days ago

      20$ for a burrito? That is like some high-end, premium burrito right there! But hey, its your money, spend it however it makes you happy.

      • cosmicgadget 7 days ago

        $13-17 plus tax. Closer to two than three, especially by TPIR rules.

        The $7 burrito era is long gone unless it's a frozen burrito or someplace that is extremely sus.

  • pcdoodle 7 days ago

    ESP32 is a dumpster fire IMO.

    I prefer to get things done quickly over cheap.

    • sschueller 7 days ago

      How so? I have a product that you can buy that runs on an ESP32S3[1]. They work very well and you can even do OTA updates. Even my competitor uses an ESP32 :)

      [1] https://www.stationdisplay.com/

      • void-pointer 7 days ago

        Did you need to go through CE certification to get your product on the market?

        I have some ESP-based hardware ideas of my own (which include custom PCBs) but the CE certification is prohibitively expensive..

        • sschueller 7 days ago

          Yes, regardless if you are using a pre-certified module/parts or not you need to CE certify your product as a whole. However if you use pre-certified modules the testing is cheaper/less complicated.

          I do my certification testing in China by a reputable lab which is much cheaper than doing it here in Switzerland (at least 15k USD). At a minimum expect to spend 1000-2000 USD if all goes well.

          There is a workaround for CE but it's a bit of a dirty trick. If you are not expecting to sell very many and your target audience are tinkerers then you can sell your device as a kit. There must be assembly that the end user has to do but they are then the ones "putting the device into the market" and they take on that responsivity of CE. That basically means they can't sell it unless they get a CE. Such an example is https://www.clockworkpi.com/ which sell their products a kits.

      • monegator 7 days ago

        peripherals are a dumpster fire. I usually have to resort to bit-bang if i want to use the peripherals in a slightly different way than intended. Way easier than figuring out all the "drivers" thing to see if it's actually possible. Also, the couldn't make a decent ADC if their life depended on that. I use them for projects that require radio and GPIO, or slow PWM, or low accuracy ADC, or screens (but only with the preapproved screen controllers)

s1gsegv 7 days ago

For what it’s worth, the original ESP32 is actually 5V tolerant, semi-officially acknowledged by Espressif. Good enough for hobby projects, anyway

  • extraduder_ire 7 days ago

    I'm surprised cheap level shifters with the same pin pitch as various dev boards aren't common.

    • Evidlo 7 days ago

      There's DIP-packaged level shifters that are 0.1"

    • poly2it 7 days ago

      Do you know where you can get one?

      • phoehne 7 days ago

        Be a little careful on those. It depends on what you're doing. Some of them are not suited to be used with the high data rates for I2C, or I2C only at 100khz. I found out the hard way with some of the SparkFun level shifters, years back.

        You need to do a little research. It will usually tell in the spec sheet. Which is why the Arduino is useful. You don't have to buy a level shifter. You don't have to read a level shifter spec sheet.

  • SirHumphrey 7 days ago

    And a lot of dev boards you will use as a hobbyist even include level shifters on the board, so you will have a 5V pin.