News for hackers. Stuff that matters.
Re:Learning hardware programming as a software engineer by sprior on Wednesday December 25, 2019 @08:20PM (#21881466)
I don't feel like creating a userid on his website just to tell him this, but one thing he seems to have missed that may have caused some of his problems is that the ESP32 I/O pins are 3V and NOT 5V tolerant. Elsewhere in the article he seems to assume 5V levels (when he's talking about using PWM to output 2.5V from a 5V pin). With an ESP32 or ESP8266 when you need to interface with 5V devices you should use a level shifter.
Re:Learning hardware programming as a software engineer by Athrunen on Wednesday December 25, 2019 @08:30PM (#21881504)
Thanks for that information, but I learned that the esp32 is not 5V tolerant the hard way. ^^

Will fix the bit about the PWM in a second

Re:Learning hardware programming as a software engineer by sprior on Wednesday December 25, 2019 @09:26PM (#21881692)
That might be something good to mention in the article as something to watch out for. You mention checking the specs, but not that kind of issue with specs.