Cheers Paul. I agree that real examples are best to learn from, but it's also hard for me to judge what's too complex or not to show, as I have a wide range of people watching these videos.
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!!!
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.
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!
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 :)
I there is no MicroPython variant of the library, then no, as the requirements for libraries for MicroPython are What they need to be very lightweight and not everything in CPython is available int MP.
No, there is MicroPython and CircuitPython based libraries for some stuff, but that's not what you asked. You can't just take a CPython library and use it, but lots of more lightweight libraries are being developed all the time. Just do some research :) www.tensorflow.org/lite/microcontrollers
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.
Oh I never noticed that! I must have forgotten to copy the updated config.json to my TinyPICO before I started. Sorry! My example code is using the configseon,json file and because it was working, I assumed I'd copied both over :(
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.
i found this => github.com/witnessmenow/crowdsupply-tp-scraper - but t looks like crowdsupply is not putting claimed values on the page anymore so I just modified the index.js script to return the json the produces the necessary content.
Hi again Sr, me again! I've gonne trough a lot this hours, i've watched this video like ten times by now and I've learned a lot!! I have now my application running, Just a simple JSON logger to store wifi ssid and password IF a button is pressed on boot start, otherwise it just get connected to the stored wifi credentials. I've a problem by now that is my esp8266 lost wifi connection every 1 or 2 secs. I will google it. Thx again.
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 :)
Hi Sr.! I've really enjoyed a lot this video but I'm getting "OSError: can't set AP config" when i either try to "wlan.config(essid="myESSID")" or "wlan.config(password="myESSIDpasword12345")". I'm ussing a NodeMCU 0.9 ESP8266, recently flashed with micropython V1.11 and i don't see the same amount of network modules that you have when you type "help". I was following along your tutorial, checked spell, syntax twice and do some google, but i can't figure it out. Thanks a lot for your vids!!
Hey Sr. Sorry to bother you but I get this working. If there is someone asking, the module doesn't allow me to change essid or stuff because it was wlan.active()=False. When I switched to wlan.active(True) It start working and allow me to change essid. Greetings.
Quite a complicated example but I understood it. Real examples are always best, as long as they can be understood. Thanks Seon.
Cheers Paul. I agree that real examples are best to learn from, but it's also hard for me to judge what's too complex or not to show, as I have a wide range of people watching these videos.
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!!!
Cheers!!!
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.
Wicked! Is it an original PyBoard? Have fun learning MicroPython :-)
Thanks Seon! I love this series. Started learning Python a while ago and was so pleased to learn it was ported to the ESP32!
Hey Dustin! Yeah, how good is Python.. I'm annoyed with myself I put off learning it for so long!
@@UnexpectedMaker It's so intuitive!
These are great, thanks. Really wish you would continue the series!!!
Nice. Me looking for ressources for Micropython, learning a channel I was subscribed to already, has such explanations. Great stuff. Thanks Seon.
Thanks Seon! This is a very good channel and I liked and subscribed. Keep on the excellent work
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.
Cheers Hari. I'm super glad you've been learning it!
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.
This looks great, the faffing around you'd have to with arduino to do the equivalent would be pretty huge!
Cheers Brian! Thanks again for making the data scraper!
What device are you using for the light sensor? Do you have an LCSC part number?
thanks that lil dict population trick is awesome
Yeah List Comprehensions are amazing, but can also be mind bending ;)
When is there a continuation of these fantastic series?
As soon as I find some free time :-)
Thank you for making it so easy to understand and learn. Where can I find videos after your #5 video?
I have more videos planned... but a sever lack of time to execute atm. But there will be more!
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!
Quá tuyệt vời! Cảm ơn bạn nhiều nhé!
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 :)
I there is no MicroPython variant of the library, then no, as the requirements for libraries for MicroPython are What they need to be very lightweight and not everything in CPython is available int MP.
@@UnexpectedMaker So, the best way to apply machine learning to microcontrollers is still coding in C/C++ :) Thanks a lot !
No, there is MicroPython and CircuitPython based libraries for some stuff, but that's not what you asked. You can't just take a CPython library and use it, but lots of more lightweight libraries are being developed all the time. Just do some research :)
www.tensorflow.org/lite/microcontrollers
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.
At 4:05, what happened to "server_url" ? that flustered me.
Oh I never noticed that! I must have forgotten to copy the updated config.json to my TinyPICO before I started. Sorry! My example code is using the configseon,json file and because it was working, I assumed I'd copied both over :(
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.
i found this => github.com/witnessmenow/crowdsupply-tp-scraper - but t looks like crowdsupply is not putting claimed values on the page anymore so I just modified the index.js script to return the json the produces the necessary content.
Hi again Sr, me again! I've gonne trough a lot this hours, i've watched this video like ten times by now and I've learned a lot!!
I have now my application running, Just a simple JSON logger to store wifi ssid and password IF a button is pressed on boot start, otherwise it just get connected to the stored wifi credentials.
I've a problem by now that is my esp8266 lost wifi connection every 1 or 2 secs. I will google it. Thx again.
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 :)
Hi Sr.! I've really enjoyed a lot this video but I'm getting "OSError: can't set AP config" when i either try to "wlan.config(essid="myESSID")" or "wlan.config(password="myESSIDpasword12345")".
I'm ussing a NodeMCU 0.9 ESP8266, recently flashed with micropython V1.11 and i don't see the same amount of network modules that you have when you type "help".
I was following along your tutorial, checked spell, syntax twice and do some google, but i can't figure it out.
Thanks a lot for your vids!!
Hey Sr. Sorry to bother you but I get this working.
If there is someone asking, the module doesn't allow me to change essid or stuff because it was wlan.active()=False. When I switched to wlan.active(True) It start working and allow me to change essid.
Greetings.