DEV Community

Cover image for An ESP32 walks into a bar - Jokes web API MicroPython tutorial
Bhavesh Kakwani
Bhavesh Kakwani

Posted on • Originally published at bhave.sh

An ESP32 walks into a bar - Jokes web API MicroPython tutorial

Originally posted here

(If this is your first time here, check out my first MicroPython tutorial. Use it to get acquainted with the Wokwi simulator so that you are prepared to dive into this tutorial)

This week, our MicroPython tutorial flies away and connects to the web to fetch data from an API! While filming it, I ran into a temporary issue with the Wokwi simulator (thankfully it's fixed now, they were quick 🙂) so I ported the code to an actual ESP32 to continue the tutorial. Crisis averted, whew! What we can learn from this experience is that Wokwi is actually a perfect prototyping tool because I had to make zero changes to the code for it to work on real hardware. Amazing!

Hope you enjoy, and click follow down below and on my YouTube channel to get notified when new tutorials are out! I release them about once a week. As always, if you have questions or just wanna chat, hit me up here or on Twitter!

Top comments (2)

Collapse
 
sloan profile image
Sloan the DEV Moderator

Heyo,

Would you please consider embedding your video here instead of just linking to it? This way folks can see your content and discuss things on DEV without having to navigate elsewhere.

You might not have realized, but DEV actually allows folks to embed YouTube & Vimeo videos via Liquid Tags:

https://dev-to-uploads.s3.amazonaws.com/i/jbiro72vueo6fi9k9rww.png

By the way, here's a link to the editor guide where you can see other liquid tags and formatting options.

Hope this is helpful! 🙂

Collapse
 
bhav profile image
Bhavesh Kakwani

Oh this is the option I was looking for! I really was trying to embed the video but couldn't figure it out. Thanks, will do now