Programming a NodeMCU with MicroPython: I2C Bus Part 1 (MPU6050 IMU)

  Рет қаралды 12,702

Metalmancy (Micronote)

Metalmancy (Micronote)

Күн бұрын

Пікірлер: 41
@jimhein9689
@jimhein9689 2 жыл бұрын
This was a great tutorial. The comments rightfully speak accolades. I was able to follow along without having to keep going back and the code worked perfectly. I was able to adjust the code to work with a Raspberry Pi Pico. Thank you. I look forward to more lessons from you.
@davidjohnston5329
@davidjohnston5329 4 жыл бұрын
Excellent video! Fast paced, and no fluff!
@stevegables3303
@stevegables3303 3 жыл бұрын
Clear, concise and well edited! Thank you for your time, sir!
@metalmancytech
@metalmancytech 3 жыл бұрын
Thank you! I'm glad to be helpful 👍
@jimmybryant7942
@jimmybryant7942 3 жыл бұрын
i know it is quite off topic but does anybody know of a good site to watch new tv shows online?
@ansonemmitt4404
@ansonemmitt4404 3 жыл бұрын
@Jimmy Bryant Flixportal =)
@jimmybryant7942
@jimmybryant7942 3 жыл бұрын
@Anson Emmitt Thank you, I went there and it seems like they got a lot of movies there =) Appreciate it !
@ansonemmitt4404
@ansonemmitt4404 3 жыл бұрын
@Jimmy Bryant happy to help xD
@metalmancytech
@metalmancytech 4 жыл бұрын
Special thanks to Kevin Thomas who wrote a MicroPython driver class for the MPU6050! Check it out here: github.com/mytechnotalent/MicroPython_MPU6050
@ico-theredstonesurgeon4380
@ico-theredstonesurgeon4380 3 жыл бұрын
link seems to be broken... do you have an updated one?
@horacewonghy
@horacewonghy 3 жыл бұрын
esp32 works as well (i use Hardware I2C bus, scl: pin 18 & sda: pin19)
@jayare7750
@jayare7750 2 жыл бұрын
I’m guessing that a D1 Mini would work just the same since it’s the same ESP8266 chip, right?
@kenwallace6493
@kenwallace6493 3 жыл бұрын
This is great for learning Micropython. I assume very similar code would work on the pyboard and the new Pi Pico.
@clarkhtse
@clarkhtse 3 жыл бұрын
wow, that' really helpful for beginners ! thanks
@raymondliu1444
@raymondliu1444 3 жыл бұрын
This video helped a lot!!! Thank you so much for making this sir!
@VINICIUSBH100
@VINICIUSBH100 8 ай бұрын
uauuuuu that was a very nice tutorial, thank very much !!!!! It was a big big help for me.... best regards from Brazil
@agnisri1201
@agnisri1201 Жыл бұрын
How to read H and L in single request is that accurate? I am wondering how to make this place explain
@mytechnotalent
@mytechnotalent 4 жыл бұрын
Love your tutorials. 2 questions. Why not create the device drivers as classes? Second question would you be open to creating a tutorial for the APDS-9960 with a detailed breakdown of how to custom create the Gesture Dectection, Color Sense and Gesture sensing? This would really solidify people who would like to contribute to the MicroPython community to write device drivers as there are literally NONE out there other than the work you have done.
@metalmancytech
@metalmancytech 4 жыл бұрын
Thank you for the feedback! I haven't made the device drivers as classes simply because the structure of my guides is to build an understanding of the concepts, not necessarily to optimize usage. However, I think that creating device drivers using classes is a good idea that I will definitely consider for my future guides. It's funny that you mention the APDS-9960. I was very close to using this sensor instead of the MPU6050, but I settled on the IMU because, in my opinion, it is more straightforward and easy to understand. I probably will make a video featuring the APDS-9960 soon. Your feedback has given me some new ideas. I really appreciate you taking the time to leave a thoughtful comment.
@mytechnotalent
@mytechnotalent 4 жыл бұрын
@@metalmancytech no worries I have learned alot and will try to make a class library from this foundation.
@mytechnotalent
@mytechnotalent 4 жыл бұрын
@@metalmancytech again I want to emphasize how valuable this tutorial has been to me to help me get started with device driver development.
@mytechnotalent
@mytechnotalent 4 жыл бұрын
I just tweeted the new lib I created and put a special thanks at the bottom of the repo linking to your tutorials so others can learn from you. Thank you again. github.com/mytechnotalent/MicroPython_MPU6050
@metalmancytech
@metalmancytech 4 жыл бұрын
@@mytechnotalent I saw that! I think I'll link to your repo and credit you at the end of the article for doing this.
@Steveshp1
@Steveshp1 2 жыл бұрын
It is really help me. Thank you powerful instruction.
@辛孤达
@辛孤达 4 жыл бұрын
Hi,can I use int.from_bytes function? Read 2 bytes then change bytes into int with int.from_bytes
@mobachali
@mobachali 4 жыл бұрын
Hi, I got stuck with my esp32wroomdevkit1 . Have issues importing i2c. Any clue? Cheers
@metalmancytech
@metalmancytech 4 жыл бұрын
I just got out my ESP-WROOM-32 and made sure it was flashed with the latest version of MicroPython (1.12) and tried importing I2C from machine and had no problem. I will just say to make sure that "I2C" is capitalized. Below is the exact import statement I made: from machine import I2C Feel free to reply here if you have more details on the problem or it still isn't working.
@mobachali
@mobachali 4 жыл бұрын
@@metalmancytech that's works great now. thanks for for the detailed videos. it helped me better than any other to understand every step of the process
@raguaviva
@raguaviva 4 жыл бұрын
You are good! here is my like!
@metalmancytech
@metalmancytech 4 жыл бұрын
Thanks! I'm glad you liked it!
@abrahamtiradorico1697
@abrahamtiradorico1697 Жыл бұрын
Awesome video, thank you
@angelo_pavan
@angelo_pavan 3 жыл бұрын
Awesome!! Thank you very much!
@davidmarks509
@davidmarks509 2 жыл бұрын
Great tutorial TY very much
@vaibhavkhurana215
@vaibhavkhurana215 3 жыл бұрын
Thanks a lot !!!
@shivadasarad
@shivadasarad 3 жыл бұрын
thank u very much I learn soo much from this vedio
@Noahakavalkrie
@Noahakavalkrie 3 жыл бұрын
Nice
@bdfy8349
@bdfy8349 3 жыл бұрын
Спасибо, мужик, очень помогли твои видео. Привет из России!
Programming a NodeMCU with MicroPython: I2C Bus Part 2 (SSD1306 OLED Display)
7:42
When u fight over the armrest
00:41
Adam W
Рет қаралды 16 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 20 МЛН
HOW IT'S MADE - NC DUMPERS!
12:25
NC Engineering Ltd .Official
Рет қаралды 96
Raspberry Pi Pico & MPU9250 with MicroPython
1:14:37
Kevin McAleer
Рет қаралды 15 М.
Programming a NodeMCU with MicroPython: Timers and Interrupts
7:01
Metalmancy (Micronote)
Рет қаралды 6 М.
Programming a NodeMCU with MicroPython: Introduction to API Calls
12:14
Metalmancy (Micronote)
Рет қаралды 6 М.
#20 Tutorial: Multiple Devices on One Arduino I2C Bus
7:42
Andreas Spiess
Рет қаралды 209 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3,2 МЛН
ESP32 Tutorial using MicroPython - Let's Get Started!
47:35
Clayton Darwin
Рет қаралды 66 М.
ESP32 MicroPython OLED Tutorial with ADC & FTP
18:05
rdagger68
Рет қаралды 26 М.
When u fight over the armrest
00:41
Adam W
Рет қаралды 16 МЛН