Install MicroPython on ESP8266 & ESP32

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024
  • Do you want to install MicroPython on an ESP8266, NodeMCU or ESP32? Its easier than you think, just grab Thonny and the latest firmware from micropython.org and away you go.
    For more information, tutorials, parts and more visit:
    www.smarsfan.com​
    To join the membership at bronze, silver or gold levels, head over to
    www.smarsfan.c...
    Enjoy this video? Buy me a coffee!
    www.buymeacoff...
    Music by Epidemic Sounds
    www.epidemicso...
    My Code repositories on GitHub:
    www.github.com...
    #ESP8266​ #MicroPython​ #Robotics

ความคิดเห็น • 65

  • @thweiser
    @thweiser 3 ปีที่แล้ว +3

    Hey Kev, thanks for that great video...now it seams that I don't have any excuses anymore to jump to micropython 🤯 I will try to translate some of my projects… Btw. I would go with the ESP because I have a ton of ESPs 😊

  • @peterbrook3815
    @peterbrook3815 28 วันที่ผ่านมา

    Great explanation, Kevin. Wish I could just hear you without annoying music. Apart from that you’ve made a hard task easy. Thanks.

  • @dankorth4525
    @dankorth4525 2 หลายเดือนก่อน

    Great content - super helpful!
    This was working great for my Wemos D1 minis until I reset my laptop and downloaded the latest version of Thonny. This is fairly reliable with Thonny 4.0.0. When using 4.1.4 I got through the install and then the onboard led would blink rapidly and not stop.
    Thanks - been back to rewatch this video many times when something is not working exactly as I remember it.

  • @tishinpadilla100
    @tishinpadilla100 2 ปีที่แล้ว +1

    I have watched 6 or 7 videos already. Those videos were so complicated and didn't work. I just found your video and your steps are so simple and it worked. Thx.

  • @gtype06260
    @gtype06260 2 ปีที่แล้ว +4

    OMG THANK YOU!!! you wouldnt believe how complicated everybody was making this on other tutorial videos!. If you need ideas on other videos perhaps you could make one on addressable LED control on an esp32 with micropython. (in my case i want to learn to control lust 1 LED at a time on a 300 pixel string. then graduate to patterns) In any case your video just did in 5 mins what 20 others couldnt do in 5 days!

  • @MrPmribeirox
    @MrPmribeirox 2 หลายเดือนก่อน +1

    Thank you very much Kev, great video💯👌

    • @kevinmcaleer28
      @kevinmcaleer28  2 หลายเดือนก่อน +1

      You are very welcome

  • @andreaschristiansen8996
    @andreaschristiansen8996 หลายเดือนก่อน

    Thank you for the help, it worked like a charm:)

  • @eDRoaCH
    @eDRoaCH 3 ปีที่แล้ว +3

    I love these short vids. The intros are a bit aggressive tho. Still waiting on Alf 2.0!

    • @kevinmcaleer28
      @kevinmcaleer28  3 ปีที่แล้ว +1

      Thanks for the feedback - so when you say too aggressive, which bit - the bit where I talk or the video of the chips? Just want to know which bit to dial down

    • @Geeksmithing
      @Geeksmithing 3 ปีที่แล้ว +1

      I would be inclined to agree. Music is quite loud and it takes a bit oo long to just get to even the title of the video. Fantastic content, just a recommendation. Keep it up!

  • @KeelDudeRad
    @KeelDudeRad ปีที่แล้ว +2

    only 6k views for such great content.... maybe the MicroPython world is a bit... tinier... than i thought?

  • @wizardeddas
    @wizardeddas 2 ปีที่แล้ว +1

    Thank you. I just got this board and you made this so easy!

  • @Teko_Tekor
    @Teko_Tekor 5 หลายเดือนก่อน

    Thanks for the soundtrack!

  • @ProEdi
    @ProEdi ปีที่แล้ว

    explained so well and on point. Thank you!

  • @gutefragen5427
    @gutefragen5427 ปีที่แล้ว

    Nice Video! Helped me a lot

  • @PatanjaliSamadhi
    @PatanjaliSamadhi 3 ปีที่แล้ว +1

    I love this video 😍😍😀
    Keep it up bro

  • @Adrian-hl2se
    @Adrian-hl2se 2 หลายเดือนก่อน

    Thank you!!!

  • @omarbasem6112
    @omarbasem6112 ปีที่แล้ว +1

    When downloading the firmware at 1:51 it says error code 2, any idea what I should do? I tried different usb port and removed all the extra wiring still no new results

  • @TheUnofficialMaker
    @TheUnofficialMaker ปีที่แล้ว

    very good kev

  • @johanbos3651
    @johanbos3651 2 ปีที่แล้ว +1

    Hi Kevin,
    In your video it looks very simple and it should be like that.
    But…
    In my case it isn’t.
    I have an iMac and an AZDelivery ESP32 NodeMCU Module WLAN WiFi Development Board with CP2102.
    Problem is that in Thony this device isn’t recognised, because with Port select the normal port isn’t popping up.
    How can I make this happen.
    My attention with this Esp32 and using micro Python is:
    * Make a clock ( digital figures and scrolling text ) on a Max7219.
    ( Time via NTP server )
    * Make a clock ( in text ) on 100 LEDs .
    ( Time via NTP server ).

  • @darrenantonysmith
    @darrenantonysmith 3 ปีที่แล้ว +1

    Hey Kev. Thanks for the videos mate. Great job - your explanations are really good to follow. A couple of things. Firstly, do you do requests? And secondly, do you believe Arduino may be migrating to an optional Micro-Python on all of their boards, OR stick with their proprietary C++ language. In other words, to future proof, in your opinion,is it worth learning Python?

    • @kevinmcaleer28
      @kevinmcaleer28  3 ปีที่แล้ว +1

      I'm always interested in what you'd like to see - so feel free to suggest content ideas (I can't guarantee I'll cover them all!) Arduino is definitely branching out into MicroPython as this is a genuinely easier language to learn for beginners, and easier to teach for educators. I suspect they will always have the Arduino/Processing language for the Uno line of boards for several reasons (its 8 bit and cant run python, and there is years of libraries and tutorials around that platform), but for new boards MicroPython is where its at. Python is the worlds most popular language, and for good reason. Its easy to switch to if you already know a language too. A great place to start is at smarsfan - www.smarsfan.com/learn/python_101

    • @darrenantonysmith
      @darrenantonysmith 3 ปีที่แล้ว +1

      @@kevinmcaleer28 Thanks Kevin. That adds up, and my assumptions seem to be correct; I am working on the rudiments of Python now, so hopefully heading in the right direction. I am a newbie, but I am totally hooked! My area of interest is the built environment: building automation and control systems, digital twins, IIot and IoT. Fascinating stuff. You have a new fan and I’ll keep in touch. 🙏

  • @paul-pp1op
    @paul-pp1op 6 หลายเดือนก่อน

    Trying to run python code on esp32 using micropython and i am getting the error "numpy is not supported by esp32" i need some help...

  • @TheGodOfCodll
    @TheGodOfCodll ปีที่แล้ว

    Any way to fix:
    Device is busy or does not respond. Your options:
    - wait until it completes current work;
    - use Ctrl+C to interrupt current work;
    - use Stop/Restart to interrupt more and enter REPL.
    Clicking Native Python is just outputting a blank line

  • @livefreeordie5033
    @livefreeordie5033 4 หลายเดือนก่อน

    How can you implement xon/xoff flow handshake in micropython using esp32?

  • @phatnguyenthanh3620
    @phatnguyenthanh3620 10 หลายเดือนก่อน

    Hello sir, I am beginner with micropython. I would like to know how I can use opencv with esp32cam , I have installed its firmware.

  • @paul-pp1op
    @paul-pp1op 6 หลายเดือนก่อน

    How do i get the pandas and numpy libraries to esp32?

  • @mohamedfarid7499
    @mohamedfarid7499 2 ปีที่แล้ว +1

    thank you Mr.Kevin for tis help to use esp32 with micropython , are the TTGO T display like esp32 alone ?

    • @kevinmcaleer28
      @kevinmcaleer28  2 ปีที่แล้ว +1

      I’d like to help - What’s does TTGO T display ame mean?

    • @mohamedfarid7499
      @mohamedfarid7499 2 ปีที่แล้ว

      @@kevinmcaleer28 TTGO T display esp32 it have display but don't have flash or boot bottom , just two bottom we can program it

    • @mohamedfarid7499
      @mohamedfarid7499 2 ปีที่แล้ว

      ​@@kevinmcaleer28 if we want to return to use arduino ide again we must erase the firmware of micropython ? any conflict can happen if we use both arduino ide firmware and micropython firmware ?

  • @cheblack677
    @cheblack677 2 ปีที่แล้ว

    I need to save some parameters while boot time. How to access internal EEPROM/flash memory.

  • @zokitofaraon7807
    @zokitofaraon7807 ปีที่แล้ว +1

    Q: Hi sir! I don’t see that firmware for esp8266 do they update their website? thanks in advance

    • @kevinmcaleer28
      @kevinmcaleer28  ปีที่แล้ว

      Its there! micropython.org/download/?port=esp8266

  • @mystery_1101
    @mystery_1101 ปีที่แล้ว +1

    Hey after installing microphyton into my board, can i also code c++ in it?

    • @kevinmcaleer28
      @kevinmcaleer28  ปีที่แล้ว

      Great question - as soon as you upload a C++ program to the board you overwrite the micropython that is installer. However you can always install micropython on the board again, as many times as you like

  • @sumitsingh-fm2nz
    @sumitsingh-fm2nz 2 ปีที่แล้ว +1

    Hey Kevin! can you pls confirm if the process to install micropython on esp32-cam is same as esp32? Thanks in advance!

  • @kevinmcaleer28
    @kevinmcaleer28  3 ปีที่แล้ว +1

    Pico or ESP - what's your go-to Chip?

    • @message2prateek
      @message2prateek 3 ปีที่แล้ว +2

      ESP. Built in wifi, bluetooth and deep sleep. While pico does have some niche usecases, for majority of projects esp is easier and where I live, cheaper.

    • @pramukhshatabdikirtanmalar6637
      @pramukhshatabdikirtanmalar6637 3 ปีที่แล้ว

      Both! I'm making two SMARS robots. Paper edition will have a Pico and the 3D printed one will have either a nodemcu or a esp32 WROOM.

    • @Geeksmithing
      @Geeksmithing 3 ปีที่แล้ว +1

      Tortilla!

    • @kevinmcaleer28
      @kevinmcaleer28  3 ปีที่แล้ว +1

      @@Geeksmithing haha! Yes

  • @wrcoyle2024
    @wrcoyle2024 ปีที่แล้ว +1

    I like your video's but to me the music is a little distracting. (loud) I have a hearing problem, so I have to concentrate on the words you speak but the music is taking away words. Again, I thank you for your instructions.

    • @kevinmcaleer28
      @kevinmcaleer28  ปีที่แล้ว

      Hi! I've stopped putting music behind the talking sections now. Thanks for the feedback - it really helps me make better videos in the future.

  • @MrBobWareham
    @MrBobWareham 11 หลายเดือนก่อน +1

    What's with the banging music???

    • @kevinmcaleer28
      @kevinmcaleer28  11 หลายเดือนก่อน

      Haha always with the compliments Bob, I wouldn’t expect anything else

  • @sebastianthomas8507
    @sebastianthomas8507 3 ปีที่แล้ว +1

    Sir, I have a big confusion, how can I choose a microcontroller (not a development board ). for example I would like to make a smartwatch or things like this I need a perfect size MCU so how can I choose one. I am ok with development boards like Arduino or raspberry pi but now I want to know that what is my next step. I searched the internet many times I got many results about PIC, ARM, etc... but when I open a link or tutorial they are using a 3inch or 4inch development boards, I fed up with searching on the internet, that's why I am asking to you to help me. Please sir give a reply or any resource, I am waiting for your reply.

    • @kevinmcaleer28
      @kevinmcaleer28  3 ปีที่แล้ว +1

      Hi Sebastian, if you're not sure which board to use, then any board will do. Its important to try stuff out first, before you scale it down. And which board you choose really depends on what you want it to do. I like the Tiny2040 for smaller projects, but this doesn't have wifi. Making things very small is very challenging, not only for providing power, but also the case you're going to put it in. Making a Smart watch is very advanced (I would start with something simpler). Hope this helps.

    • @sebastianthomas8507
      @sebastianthomas8507 3 ปีที่แล้ว

      @@kevinmcaleer28 Thank you i just want this kind of help thank you so much sir

    • @kevinmcaleer28
      @kevinmcaleer28  3 ปีที่แล้ว +1

      @@sebastianthomas8507 Are you a member of my Small Robots group on Facebook? if not headover to the group and you'll have access to over 8000 people all passionate about creating robots. facebook.com/groups/smallrobots

    • @sebastianthomas8507
      @sebastianthomas8507 3 ปีที่แล้ว

      @@kevinmcaleer28 i don't have a fb account i have only WhatsApp and insta. I will take one if necessary for my learning sir

  • @romazavadskyi4437
    @romazavadskyi4437 4 หลายเดือนก่อน

    I have such problem and nothing help. So maybe somebody knows a solve of this problem. Please help. Thank you.
    Device is busy or does not respond. Your options:
    - wait until it completes current work;
    - use Ctrl+C to interrupt current work;
    - reset the device and try again;
    - check connection properties;
    - make sure the device has suitable MicroPython / CircuitPython / firmware;
    - make sure the device is not in bootloader mode.

    • @isaacrichardson579
      @isaacrichardson579 4 หลายเดือนก่อน +1

      I have the same issue and can't figure out how to fix it

    • @frozenwolf9576
      @frozenwolf9576 3 หลายเดือนก่อน

      @@isaacrichardson579 if you still have this problem.. just google "ESP8266 Flasher" and use that application to flash the Downloaded firmware...if you still cant do it yourself. ask me i will help

  • @occamraiser
    @occamraiser 4 หลายเดือนก่อน

    missing key steps and jumping around. Typical behaviour of someone who already knows stuff - but the 30 seconds of music intro could have been better invested in giving some context about what you were doing and why. Also Why thonny needed to be flashed .

  • @mayureshupadhye8033
    @mayureshupadhye8033 ปีที่แล้ว

    Hu what ide is this?