MicroPython using VSCode PyMakr on ESP32/ESP8266

Ғылым және технология

This post will show how to develop MicroPython projects using Visual Studio Code or VSCode using the PyMakr extension using an ESP32/ESP8266.
WriteUp:
www.donskytech...

If you like my post or videos then please consider subscribing to my channels and sharing them with your friends:
Website: www.donskytech...
Facebook: / donskytech
KZread: / donskytech
Twitter: / donskytech
If you are generous and you think I have helped you then please consider buying me a coffee. 🙂
Buy Me a Coffee:
buymeacoffee.c...

#vscode
#micropython
#pymakr

Пікірлер: 48

  • @CalvinCaracciolo
    @CalvinCaracciolo4 ай бұрын

    You are a hero. Struggled for so long trying to get pymakr to work. didn't know i needed node js. Salamat!

  • @U_Kamrc
    @U_Kamrc4 ай бұрын

    Maestro, that's what I needed. You are the First in Town! Thx!

  • @funkadellicd
    @funkadellicd4 ай бұрын

    Thank you - been trying to figure out how to get intelisense details into my IDE for micropython and this worked!! This should make things WAY easier.

  • @ricardoiribarren4765
    @ricardoiribarren4765 Жыл бұрын

    Excellent!!! very good explanation

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    @ricardoiribarren4765 Thanks for the kind words. Please consider subscribing to my channel for future content if you have not done so. Thanks again!

  • @zFrank_
    @zFrank_3 ай бұрын

    nice but how about downloading libraries for any project? i want to program my oled display with the ssd1306 library and i dont know how to do it with vs code

  • @quaternion-pi
    @quaternion-pi Жыл бұрын

    Well explained; worked perfectly; subscribed; thanks! This channel is a hidden gem.

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    Awesome, thank you!

  • @projectjam7020
    @projectjam70208 ай бұрын

    Great explanation, this worked a treat. Thank you.

  • @DonskyTech

    @DonskyTech

    8 ай бұрын

    Hey thanks! Happy exploring!

  • @BlooderDen
    @BlooderDen7 ай бұрын

    Thank you so much - best guide. You made my evening ) have a like =)

  • @DonskyTech

    @DonskyTech

    7 ай бұрын

    Hey thanks!

  • @BlooderDen

    @BlooderDen

    7 ай бұрын

    ​​@@DonskyTech, by the way what for is nodejs needed tell please. Thanks! 😊

  • @syahmihaziq6612
    @syahmihaziq6612 Жыл бұрын

    I cannot to upload to a device and it says path argument must be type of string, not at project section but the section devices below. can you help me?

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    Ohh..sorry for the delayed reply. I was out on vacation. I have not encountered this. When do you see this problem?

  • @east_alex
    @east_alex Жыл бұрын

    Thanks How to add all libs to development setup? For example U import machine but visual studio code marked it as missing source in ur video

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    Hey, I could not find it also unless you generate visual studio micropython stub. Thonny has the same problem also I think. Auto-complete works on the REPL prompt. I could be wrong though.

  • @Notion.Studios
    @Notion.Studios9 ай бұрын

    you saved my life

  • @DonskyTech

    @DonskyTech

    9 ай бұрын

    Wow, that's nice to hear! Thanks!

  • @AnKraDe
    @AnKraDe27 күн бұрын

    I have an issue when starting the programm (@7:44). I receive the error messge >>> eback (most recent call last): File "main.py", line 6, in empty line)... So, the cause is not the main.py, I assume. Furthermore, if I execute all python commands step by step it is working... Using sys.platform >>> import sys >>> sys.platform 'esp8266' weiterhin: >>> esp.check_fw() size: 633032 md5: 9dab27bf17e16019bed0cb8bac5823b7 True Any ideas?

  • @AnKraDe

    @AnKraDe

    27 күн бұрын

    Found the issue... It seem that sleep is expecting a float value, If I use e.g. sleep(1.2) it is working

  • @mariambenrahou1630
    @mariambenrahou16306 ай бұрын

    Hey, I am not able to run any command because I have modified the code without stopping the script😢 how can I fix this? Please

  • @DonskyTech

    @DonskyTech

    6 ай бұрын

    Hey reconnect your device.

  • @ikrammohamdi4439
    @ikrammohamdi44394 ай бұрын

    When i create terminal affiche connexion en cours...

  • @murataslan8631
    @murataslan8631 Жыл бұрын

    Thanks

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    Hey, sure no problem.

  • @jarogniewmilewski3012
    @jarogniewmilewski3012 Жыл бұрын

    Great job! Thanks.

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    Thanks for watching! Hope you could support me by subscribing to my channel if you have not done so.

  • @jarogniewmilewski3012

    @jarogniewmilewski3012

    Жыл бұрын

    ​@@DonskyTech I did it ;) Have you tried PyMakr to program the ESP-01?

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    @@jarogniewmilewski3012 Thank you! I have used other models of ESP8266 but not ESP-01. I will add it to the list of videos and blogs that I am going to create about MicroPython.

  • @jarogniewmilewski3012

    @jarogniewmilewski3012

    Жыл бұрын

    @@DonskyTech With ESP8266 and ESP32 PyMakr 2.22 works great. There are communication problems with ESP-01 (1M). I do not know why. Thonny with ESP-01 works perfectly.

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    @@jarogniewmilewski3012 That is interesting to know. Maybe there is a bug in the PyMakr plugin or something

  • @joaquingutierrez3072
    @joaquingutierrez307210 ай бұрын

    thank you. It worked perfectly. Like and sub

  • @DonskyTech

    @DonskyTech

    10 ай бұрын

    Glad I have helped you. Thanks for the like and sub!

  • @user-np1go1vi5c
    @user-np1go1vi5c Жыл бұрын

    Why is it that after my ESP32 is connected, this device in the device list has been rotating and cannot upload the program

  • @DonskyTech

    @DonskyTech

    11 ай бұрын

    Hey, try to remove your device and connect it again.

  • @kacperbardecki3671
    @kacperbardecki367111 ай бұрын

    Hero

  • @DonskyTech

    @DonskyTech

    11 ай бұрын

    Thanks. Kindly subscribe to my channel for future contents.

  • @user-bm6kw3bd4u
    @user-bm6kw3bd4u Жыл бұрын

    Are you able to upload several files? Or do you need to keep rewriting the first program you uploaded to the ESP.

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    Yes, tried syncing all my files and they seem to be uploaded.

  • @cash-if
    @cash-if Жыл бұрын

    i need help

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    Hey, help where?

  • @cash-if

    @cash-if

    Жыл бұрын

    @@DonskyTech brother when i hard reset led doesn't ON

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    @@cash-if maybe your board does not have the internal LED wired to GPIO2. Try out a new GPIO pin.

  • @cash-if

    @cash-if

    Жыл бұрын

    Its done Actually the issue was MicroPYthon was not flashed in ESP32

  • @DonskyTech

    @DonskyTech

    Жыл бұрын

    @@cash-if ohhh, that was the first step. Glad you figured it out brother. Please consider subscribing to my channel if you have not done so. I will be posting more content soon.

Келесі