MicroPython #5 - JSON & Network Modules + Practical Example

preview_player
Показать описание
It's no secret I like MicroPython... and MicroPython on the ESP32 is amazing, so I decided to start a video series about MicroPython.

In this episode I take a look at the JSON and Network modules and then show a practical example where I use them to download data scraped from my TinyPICO Crowd Supply website and display it in a human readable form.

#MicroPython #esp32 #tutorial

[ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]

If you'd like to support me on my journey, please consider buying one of my products on tindie

or becoming a Patron at

★ Subscribing, Liking and Sharing my videos really makes a difference. If you are not subscribed, please consider it and then click the alarm button to be notified when I release new videos. Thanks!

★ FOLLOW ME
Рекомендации по теме
Комментарии
Автор

Quite a complicated example but I understood it. Real examples are always best, as long as they can be understood. Thanks Seon.

paulrautenbach
Автор

By far one of the best, or THE BEST, videos about Micropython. Straight to the point, well explained and lots of valuables commands. Turn the device in a access point was extremely helpful as well. I never saw anyone here explain it. Serious, thank you very much for shared this amazing knowledge. SUBSCRIBED!!!

fvgoya
Автор

I just got a PyBoard, a little different from the TinyPICO, a bunch of new stuff to learn. Now I've caught up on the videos. I'll be rewatching most of this after I get more familiar with the PyBoard or when my TinyPicos arrive. Thanks Seon.

jerril
Автор

BRIL - could do with a little less complex example for newbie uP but will be back after i learn more uP to replay - keep up the GREAT work & thanks.

BenDover-pqxj
Автор

Thanks Seon! I love this series. Started learning Python a while ago and was so pleased to learn it was ported to the ESP32!

DustinWatts
Автор

Thanks Seon! This is a very good channel and I liked and subscribed. Keep on the excellent work

tav
Автор

These are great, thanks. Really wish you would continue the series!!!

christopherlyons
Автор

Nice. Me looking for ressources for Micropython, learning a channel I was subscribed to already, has such explanations. Great stuff. Thanks Seon.

peter.stimpel
Автор

Great content Seon! I'm excited to start using WiFi in MicroPython! Thanks for sharing your knowledge Seon. I've been learning a lot from you.

HariWiguna
Автор

This looks great, the faffing around you'd have to with arduino to do the equivalent would be pretty huge!

BrianLough
Автор

At 4:05, what happened to "server_url" ? that flustered me.

PaulTurner_Haizo
Автор

Thank you for making it so easy to understand and learn. Where can I find videos after your #5 video?

ssgoh
Автор

What device are you using for the light sensor? Do you have an LCSC part number?

SeanAlcorn
Автор

When is there a continuation of these fantastic series?

Konrad_Wallmeier
Автор

Hi Seon! Thank you for an amazing series of micropython tutorials. I would like to ask something: Is there any way to use some python modules that are not in the list of micropython modules? For example some machine learning libraries like tensorflow, numpy, Tflearn... I would really appreciate any help about this topic. Thanks in advance :)

receptemelli
Автор

Did I miss it or do you not share the actual server_url you are using for the example? I'm one of those people that just has to do things to actually understand them. Great series - I wish i'd ditched arduino/c a long time ago - running python is just so much more intuitive - I haven't gotten far enough in my training but my fingers are crossed that there's support for usual OOP concepts in micropython.

leewenger
Автор

Thank you for sharing this. Your code is very clean!

I'm using an AP_IF for setting up JSON config files using a simple webserver and json module.
The config files are used to set up internet wifi credentials and pin info for a few alarm sensors. The AP_IF is only activated if a link is closed on one of the ESP pins, otherwise, the main application runs - sending MQTT messages to my node-red server.

My micropython webpage code which handles the html form data is horribly messy (with string splits etc). I really wish - I could send the form response as a JSON body or string. Do you know any suitable libraries which may be able to help clean up my rubbish?

Thanks again!

johnwilson
Автор

Yes, but... WHY micropython? Is it practical to use if the majority of libraries for microcontrollers are written in c? Why not just a rasberry pi? Why struggle to make python run on a esp32 that will never achieve performances similar to C code or a pi? I would like to know your opinion :)

ico-theredstonesurgeon
Автор

pls help me, i want to connect esp32 to blynk by python. But, when i code, and i debug then have a problem: mportError: no module named 'blynklib'. I had installed this library blynklib.

Huynh-Tan-Quoc
Автор

thanks that lil dict population trick is awesome

MicheleHjorleifsson