How to Setup ESP32 Microcontroller for Arduino and Micropython

  Рет қаралды 18,476

BaldGuyDIY

BaldGuyDIY

Күн бұрын

In this video I show how to simply configure both Arduino IDE and Micropython for electronics projects.
Buy an ESP32: s.click.aliexpress.com/e/rZaTDb8M
Download the USB to serial driver: www.silabs.com/products/devel...
Get the latest Arduino IDE: www.arduino.cc/en/Main/Software
Download Micropython firmware: micropython.org/download
Download uPyCraft IDE: randomnerdtutorials.com/uPyCr...
Follow me on Twitter: @BaldGuyDIY
Send me an email: brandon@BaldGuyDIY.com

Пікірлер: 34
@wsvitak
@wsvitak 3 жыл бұрын
Thanks for sharing...took many different videos to try and get this thing working properly. Once I added the ESP32 link, I had to download the driver before the boards would show. Just an FYI for anyone doing the same.
@BaldGuyDIY
@BaldGuyDIY 3 жыл бұрын
Thanks for watching. You are right about needing a driver in most cases. If you check out the more recent video I did about Tinkerdoodle.cc, I show that step as well as how Tinkerdoodle can be used for all things Micropython. If you are planning to give Micropython a try, it’s a great program.
@wsvitak
@wsvitak 3 жыл бұрын
@@BaldGuyDIY great thanks for the tip. I’m building a simple Dot matrix display and going crazy. I’m 3 hours in and still can’t get the code to upload. At least I can see the board now, lol.
@untitleddragon7322
@untitleddragon7322 4 жыл бұрын
Wonderful explanation, definitely worth a like and a subscribe. :) will share this intel to the rest of the people that need it, thank you :D
@BaldGuyDIY
@BaldGuyDIY 4 жыл бұрын
Thanks for watching and subscribing!
@prakashdutt1520
@prakashdutt1520 4 жыл бұрын
Awesome I like your way of explaining😉
@BaldGuyDIY
@BaldGuyDIY 4 жыл бұрын
Thank you very much!
@charlesmarseille123
@charlesmarseille123 4 жыл бұрын
Great info Bald, though the background music is disturbing (muted to see if it was a weird cat noise.. nope). We can see all steps from start to end, great intro to newbies.
@BaldGuyDIY
@BaldGuyDIY 4 жыл бұрын
Thanks for watching! I sometimes don’t list to the whole music clip, just try to give a little background to fill in some of the quieter parts. You’re the first one to mention the music in that particular video, but I will try to make it an easier listening experience on new videos.
@MrTalhakamran2006
@MrTalhakamran2006 3 жыл бұрын
Best tutorial....really few tuts out for this. Thank you 🇵🇰🇵🇰🇵🇰
@BaldGuyDIY
@BaldGuyDIY 3 жыл бұрын
Thank you for the kind words!
@flowcharttocodeconverter936
@flowcharttocodeconverter936 3 жыл бұрын
👍🏻informative video
@BaldGuyDIY
@BaldGuyDIY 3 жыл бұрын
Thanks for watching!
@SolarWebsite
@SolarWebsite 3 жыл бұрын
I'm using notepad++ for editing now, esptool to flash my boards and use ampy.exe to transfer my files to/from the ESP32s. I've always found this a little bit of kludge, but I had not realised something like uPyCrafty existed. I'm going to install that tonight, and I'm sure it's going to streamline my workflow tremendously! Thank you for that tip.
@BaldGuyDIY
@BaldGuyDIY 3 жыл бұрын
SolarWebsite I hope it works great for you. Thanks for watching!
@SolarWebsite
@SolarWebsite 3 жыл бұрын
@@BaldGuyDIY I have just installed it and I've been playing with it, and I should bang my head against the wall for not looking for something like this sooner. This is going to save me so much time and mouse clicking. In fact, this is going to replace four applications: * Notepad++ * esptool * ampy * YAT (serial terminal) THANK YOU!!!
@BaldGuyDIY
@BaldGuyDIY 3 жыл бұрын
Awesome! Productivity will soar:)
@offensivebias3965
@offensivebias3965 3 жыл бұрын
Can you use these to build a flight controller ?
@BaldGuyDIY
@BaldGuyDIY 3 жыл бұрын
Yes you can. Depending on your plans you’ll need more components, but it’s a good base.
@paiboon19
@paiboon19 Жыл бұрын
Thanks for sharing. I have one question, now I am using ESP32 with Micropython, how can I rollback ESP32 board to use with Arduino ide?
@BaldGuyDIY
@BaldGuyDIY Жыл бұрын
I think all you have to do is upload a new sketch using Arduino IDE!
@paiboon19
@paiboon19 Жыл бұрын
@@BaldGuyDIY Thanks for your answer 🙂
@u_watch9497
@u_watch9497 Жыл бұрын
How do you return to c after trying micropython and choosing to go back?
@BaldGuyDIY
@BaldGuyDIY Жыл бұрын
If you upload a new sketch using Arduino IDE, it automatically wipes out micropython’s boot loader.
@TOMTOM-nh3nl
@TOMTOM-nh3nl 3 жыл бұрын
Thank You
@BaldGuyDIY
@BaldGuyDIY 3 жыл бұрын
Thanks for watching! I also have a newer video about using Micropython through a website called Tinkerdoodle.cc. It’s a single app that lets you do all things Micropython, even easier than the steps here if you’re interested.
@airtonfelipe9829
@airtonfelipe9829 3 жыл бұрын
Voçe tera maior vantagem se utilizar esp-32 com Ide Arduino ? Para Micropython e mais fácil dependendo da sua aplicação com placa chamada MaixPy
@BaldGuyDIY
@BaldGuyDIY 3 жыл бұрын
Thanks for watching! I only speak English, but Google translate tells me you are wondering if Arduino IDE will be better than Micropython. The Arduino community is a lot larger than the Micropython community, so there are a lot more libraries and support found online for it. Micropython is great if you already know and love Python for programming, and if you like to create your own functions. My go to is generally Arduino IDE and Micropython for curiosity and exploration. Not all Arduino libraries work for ESP32, so be cautious. Good luck on your projects!
@airtonfelipe9829
@airtonfelipe9829 3 жыл бұрын
@@BaldGuyDIY Other people even report problems with the Arduino library. My solution for my projects was Raspberry PI and similar cards today there are cards that integrate, AI with IOT on the same example board Sipeed-Maix-BIT-RISC-V-Dual-Core-64bit
@BaldGuyDIY
@BaldGuyDIY 3 жыл бұрын
@@airtonfelipe9829 it definitely depends on the project. A raspberry Pi can often be the perfect solution, other times a microcontroller is better, for lower power and reliability. One thing to remember is that Arduino and ESP32 are microcontrollers, the Raspberry Pi is a microcomputer. They have different strengths and weaknesses. I’m glad you found a good solution!
@anokhautomation4453
@anokhautomation4453 3 жыл бұрын
Nice comparison tutorial sir. If you use thonny python ide the process will be more easy. I tried upycraft. When u unplug the esp32 from computer and provide external power supply, it's not functioning. If you use thonnypython, there is a privilege to save our sctipt directly in the memory of esp32 or esp8266.
@BaldGuyDIY
@BaldGuyDIY 3 жыл бұрын
Thanks for watching! I don’t doubt that other software could be just as good or better. However, you must have missed a step with uPyCraft because it will definitely work when it’s not connected to a computer. Perhaps the script was not saved properly to the microcontroller?
@amelliamendel2227
@amelliamendel2227 3 жыл бұрын
I'm afraid to leave the Arduino ide because there's already not enough libraries for the esp32 I don't think Python has more than the ide
@BaldGuyDIY
@BaldGuyDIY 3 жыл бұрын
You’re right that there are less libraries and support for Micropython than for Arduino, but if you’ve written code for Python before the consistency is really nice. Also, there’s no need to be afraid because all you have to do is upload a sketch from Arduino to the ESP32 and it goes right back. No firmware flash needed.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Рет қаралды 248 М.
#328 ESP32 Secrets: Interrupts, and Deep-Sleep under the Hood
18:57
Andreas Spiess
Рет қаралды 174 М.
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 16 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 47 МЛН
Moving from Arduino to MicroPython - 10 Things you need to know.
15:49
ESP32: How to Setup a Keypad and Set a Secret Code
11:54
BaldGuyDIY
Рет қаралды 8 М.
Using MicroPython in the wild
31:55
PyCon AU
Рет қаралды 35 М.
Programming an ESP32 NodeMCU with MicroPython: Setup with Thonny
5:28
Metalmancy (Micronote)
Рет қаралды 40 М.
How to Run Linux on an ESP32
18:53
element14 presents
Рет қаралды 150 М.
PlatformIO: All you need to know in 10 Minutes!
10:56
J's e-shack
Рет қаралды 294 М.
Милая мебель для котов
0:27
🌀 Вирусные видео
Рет қаралды 2,3 МЛН
Ném bóng😂😂😂
0:17
Tippi Kids TV
Рет қаралды 6 МЛН
телега - hahalivars #семейнаяжизнь
0:36
HAHALIVARS
Рет қаралды 2,1 МЛН