- 161
- 341 751
Shilleh
United States
เข้าร่วมเมื่อ 31 ก.ค. 2014
I am a software engineer working out of Austin, TX with a background in mechanical engineering and computer science. I was an educator in college and as a graduate student where I taught people calculus, physics, statics, dynamics and vibrations, and more, so I enjoy doing this. This channel is primarily about making useful coding videos to help programmers in various domains.
These domains include:
1-) Python/MicroPython
2-) React and Node
3-) IoT
4-) Raspberry Pi
5-) Other miscellaneous topics
In these domains, I go through ways to help make you a better coder, offer useful tips for beginners and intermediate programmers, showcase cool projects, and guide you through processes/architectures that can help streamline your coding projects. If you enjoy any of these spaces you are guaranteed to learn something new on this channel. I look forward to not only helping but connecting with some of you on this channel.
These domains include:
1-) Python/MicroPython
2-) React and Node
3-) IoT
4-) Raspberry Pi
5-) Other miscellaneous topics
In these domains, I go through ways to help make you a better coder, offer useful tips for beginners and intermediate programmers, showcase cool projects, and guide you through processes/architectures that can help streamline your coding projects. If you enjoy any of these spaces you are guaranteed to learn something new on this channel. I look forward to not only helping but connecting with some of you on this channel.
How to Connect MPU6050 to Raspberry Pi Pico Using C++
Learn how to interface the MPU6050 sensor with the Raspberry Pi Pico and retrieve data using C++. This tutorial builds on our previous video, where we demonstrated how to write your first C++ script on the Raspberry Pi Pico using the official Raspberry Pi C++ SDK.
View Blog on Medium (dont forget to follow!):
towardsdev.com/interfacing-the-mpu6050-with-raspberry-pi-pico-w-in-c-176deea5c3af?sk=ea107c56be896c2edaa80b3ed2e1764f
Where to Get MPU6050:
On Amazon:
www.amazon.com/dp/B0BMY15TC4?maas=maas_adg_8E5B1E513D53240E7CE5610F0638D81F_afap_abs&ref_=aa_maas&tag=maas
On ShillehTek:
shillehtek.com/products/mpu-6050-2-pcs-pre-soldered-module-gy-521-module-6-dof-6-axis-accelerometer-sensor-raspberry-pi-accelerometer-compatible-with-raspberry-pi-pico-and-other-models-arduino-accelerometer
Donate to Shilleh and Support:
buymeacoffee.com/mmshilleh
Join this channel to get access to perks:
th-cam.com/channels/D13UWk3lJtjka7BoA0KZ5w.htmljoin
Other Videos that are Related:
Connect to the MPU6050 with Raspberry Pi Pico W in MicroPython:
th-cam.com/video/HezXoT12E40/w-d-xo.html
Calibrate the MPU6050:
th-cam.com/video/5xLHZEl0h10/w-d-xo.htmlsi=87-Pl_EzjvYnAtla
Measure Angles with the MPU6050:
th-cam.com/video/C93SoHYeuz0/w-d-xo.html
TIMESTAMPS:
00:00 Intro
02:36 Code
View Blog on Medium (dont forget to follow!):
towardsdev.com/interfacing-the-mpu6050-with-raspberry-pi-pico-w-in-c-176deea5c3af?sk=ea107c56be896c2edaa80b3ed2e1764f
Where to Get MPU6050:
On Amazon:
www.amazon.com/dp/B0BMY15TC4?maas=maas_adg_8E5B1E513D53240E7CE5610F0638D81F_afap_abs&ref_=aa_maas&tag=maas
On ShillehTek:
shillehtek.com/products/mpu-6050-2-pcs-pre-soldered-module-gy-521-module-6-dof-6-axis-accelerometer-sensor-raspberry-pi-accelerometer-compatible-with-raspberry-pi-pico-and-other-models-arduino-accelerometer
Donate to Shilleh and Support:
buymeacoffee.com/mmshilleh
Join this channel to get access to perks:
th-cam.com/channels/D13UWk3lJtjka7BoA0KZ5w.htmljoin
Other Videos that are Related:
Connect to the MPU6050 with Raspberry Pi Pico W in MicroPython:
th-cam.com/video/HezXoT12E40/w-d-xo.html
Calibrate the MPU6050:
th-cam.com/video/5xLHZEl0h10/w-d-xo.htmlsi=87-Pl_EzjvYnAtla
Measure Angles with the MPU6050:
th-cam.com/video/C93SoHYeuz0/w-d-xo.html
TIMESTAMPS:
00:00 Intro
02:36 Code
มุมมอง: 160
วีดีโอ
Easily Write Your First C++ Program on the Raspberry Pi Pico W
มุมมอง 224วันที่ผ่านมา
Discover how to write your first C program for the Pico W in just a few minutes! In this tutorial, I'll guide you through setting up your development environment on macOS, downloading the SDK, creating your first project, and flashing it to your Raspberry Pi. While I use macOS, you can follow along on your own operating system with similar commands. By the end of it we will learn how to create ...
Create an IoT Dashboard with ThingSpeak and the Raspberry Pi Pico W - Real-Time Data Monitoring!
มุมมอง 39514 วันที่ผ่านมา
Learn how to use ThingSpeak with the Raspberry Pi Pico W! ThingSpeak is a free and easy-to-use IoT platform that's perfect for data integration. In this tutorial, we'll use the BME280 sensor from ShillehTek to set up our very own weather station dashboard. We'll guide you through the steps to set up your ThingSpeak account and configure everything on the MicroPython side. Whether you're a begin...
How to Connect ADS1115 to Raspberry Pi - Measure Analog Signals with MQ135 (Part 1)
มุมมอง 59414 วันที่ผ่านมา
Learn how to measure analog signals with the Raspberry Pi using the ADS1115 ADC module. In this tutorial, we'll guide you through the physical setup and coding process. We'll use an MQ135 sensor as an example, which outputs an analog signal that we can convert to a discrete voltage, indicating changes in volatile compounds. To follow along, you can use any analog output sensor; an MQ135 is not ...
How to Install Pip Packages in AWS Lambda Functions with Docker (Method 2)
มุมมอง 17921 วันที่ผ่านมา
In this tutorial, I'll show you how to streamline your AWS Lambda deployments by using Docker and Amazon Elastic Container Registry (ECR) to package and manage your dependencies efficiently. This step-by-step guide will cover everything from setting up the AWS CLI, creating and configuring Dockerfiles, to pushing Docker images to ECR and updating your Lambda functions. By the end of this video,...
Secure SSH Access to Your Raspberry Pi with Tailscale VPN - SSH From Any Network Easily
มุมมอง 43528 วันที่ผ่านมา
I'll guide you through the process of setting up Tailscale VPN to securely SSH into your Raspberry Pi. Tailscale simplifies remote access by creating a private network that keeps your connections safe and encrypted. It is free, easy to setup on just about any device, and removes the need to play around with router settings to configure external ssh! Join this channel to get access to perks: th-...
Beginner Tutorial: Learn how to Send Email with ESP32S3 in the Lua Programming Language (Part 2)
มุมมอง 15228 วันที่ผ่านมา
In this tutorial, we delve into sending emails with the ESP32-S3 using the Lua programming language, focusing on the Xedge IDE's built-in SMTP configuration feature. Learn how to set up and secure your email credentials, configure SMTP settings for popular email providers, and utilize the Xedge functions to send both simple text and HTML emails with inline images. Enhance your projects with det...
Beginner Tutorial: Learn how to Program the ESP32S3 with Lua Programming Language (Part 1)
มุมมอง 303หลายเดือนก่อน
In this tutorial, I'll guide you through developing Lua-based applications on the ESP32-S3 using the Lua programming language. We'll leverage the XEdge32 firmware from RealTimeLogic, which enables the creation of sophisticated IoT applications on this device. I will walk you through the steps to install the firmware and run your first Lua script, highlighting the user-friendly and efficient nat...
Beginner Tutorial: Stream Audio from Raspberry Pi to Local Computer
มุมมอง 546หลายเดือนก่อน
Discover how to stream audio from your Raspberry Pi using a USB microphone directly to your local computer over the internet! In this guide, I'll show you how to utilize open-source software such as Icecast, DarkIce, and VLC-without any Python coding. Follow along as I take you through each step, simplifying the process for easy setup and streaming. Link to Blog Post and Config File on ShillehT...
Remotely Control your Raspberry Pi via SSH through a Cell Phone
มุมมอง 415หลายเดือนก่อน
This beginner-friendly guide will walk you through remotely controlling your Raspberry Pi using SSH through your cell phone. You'll learn how to ssh into your Pi from your Cell Phone using a secure shell in a few steps. You will be able to program and control your Pi over your local network! Pretty cool. Link to Blog Post: shillehtek.com/blogs/news/ssh-raspberry-pi-via-cell-phone TIMESTAMPS: 00...
Remotely Control your Raspberry Pi via SSH from an External Network: Beginner's Guide (Part 3)
มุมมอง 1.1Kหลายเดือนก่อน
Learn how to SSH into your Raspberry Pi from any network. This is critical in IoT since you can control your device from anywhere in the world with this technique. This is an extension of the previous video where we only showed how to set up SSH on the local network. We take it a step further in this tutorial by removing that limitation. Join this channel to get access to perks: th-cam.com/chan...
Stream Video from Raspberry Pi Camera to YouTube Live with Python
มุมมอง 789หลายเดือนก่อน
Learn how to easily stream video from your Raspberry Pi to TH-cam live in Python in a few simple steps. By the end of this video, you will be able to have a publicly viewable live stream with a simple hardware setup. You can donate here if I saved you time: buymeacoffee.com/mmshilleh Join this channel to get access to perks: th-cam.com/channels/D13UWk3lJtjka7BoA0KZ5w.htmljoin Hardware: Raspberr...
How to Connect BH1750 with Arduino: Measure Ambient Light for Smart Lighting
มุมมอง 1892 หลายเดือนก่อน
How to Connect BH1750 with Arduino: Measure Ambient Light for Smart Lighting
How to Connect MPU9250 and Raspberry Pi (Part 2 - Calibration)
มุมมอง 5132 หลายเดือนก่อน
How to Connect MPU9250 and Raspberry Pi (Part 2 - Calibration)
Beginner Tutorial: How to Stream Video from Raspberry Pi Camera to Local Computer using Python (P3)
มุมมอง 1.8K2 หลายเดือนก่อน
Beginner Tutorial: How to Stream Video from Raspberry Pi Camera to Local Computer using Python (P3)
Upload Data from Raspberry Pi Pico W to Google Sheets - (Part 2) Without Using IFTTT
มุมมอง 9722 หลายเดือนก่อน
Upload Data from Raspberry Pi Pico W to Google Sheets - (Part 2) Without Using IFTTT
How to Connect BH1750 with the Raspberry Pi Pico/Pico W: Measure Ambient Light for Smart Lighting
มุมมอง 5312 หลายเดือนก่อน
How to Connect BH1750 with the Raspberry Pi Pico/Pico W: Measure Ambient Light for Smart Lighting
How to Connect BMP280 to Raspberry Pi Pico/Pico W - Measure Temperature and Atmospheric Pressure
มุมมอง 5162 หลายเดือนก่อน
How to Connect BMP280 to Raspberry Pi Pico/Pico W - Measure Temperature and Atmospheric Pressure
Beginner Tutorial: How to Stream Video from Raspberry Pi Camera to Computer using Python (P2)
มุมมอง 2.1K2 หลายเดือนก่อน
Beginner Tutorial: How to Stream Video from Raspberry Pi Camera to Computer using Python (P2)
How to set up WiFi provisioning on Blynk + Device activation flow demo! With ESP32 - Shilleh Version
มุมมอง 1883 หลายเดือนก่อน
How to set up WiFi provisioning on Blynk Device activation flow demo! With ESP32 - Shilleh Version
How to Connect MPU9250 and Raspberry Pi (Part 1)
มุมมอง 1.4K4 หลายเดือนก่อน
How to Connect MPU9250 and Raspberry Pi (Part 1)
How to Install Pip Packages in AWS Lambda Functions (Method 1)
มุมมอง 1.3K4 หลายเดือนก่อน
How to Install Pip Packages in AWS Lambda Functions (Method 1)
Raspberry Pi + Squid: Building a Proxy Server with your Raspberry Pi for Web-scraping
มุมมอง 3K4 หลายเดือนก่อน
Raspberry Pi Squid: Building a Proxy Server with your Raspberry Pi for Web-scraping
Beginner Tutorial: How to Stream Video from Raspberry Pi Camera to Local Computer using Python (P1)
มุมมอง 18K4 หลายเดือนก่อน
Beginner Tutorial: How to Stream Video from Raspberry Pi Camera to Local Computer using Python (P1)
Beginner Tutorial: How to Connect Arduino Nano with DHT22 for Temperature and Humidity Readings
มุมมอง 6215 หลายเดือนก่อน
Beginner Tutorial: How to Connect Arduino Nano with DHT22 for Temperature and Humidity Readings
How to Connect the DHT22 to the Raspberry Pi Pico - Measure Temperature and Humidity in MicroPython
มุมมอง 1.1K5 หลายเดือนก่อน
How to Connect the DHT22 to the Raspberry Pi Pico - Measure Temperature and Humidity in MicroPython
How to Upload Data to AWS DynamoDB from the Raspberry Pi Pico W
มุมมอง 7025 หลายเดือนก่อน
How to Upload Data to AWS DynamoDB from the Raspberry Pi Pico W
Remote Desktop Into Your Raspberry Pi with VNC Viewer: Beginner's Guide (Part 3)
มุมมอง 4985 หลายเดือนก่อน
Remote Desktop Into Your Raspberry Pi with VNC Viewer: Beginner's Guide (Part 3)
How to Connect your Raspberry Pi Pico W to AWS IoT Core
มุมมอง 1.2K5 หลายเดือนก่อน
How to Connect your Raspberry Pi Pico W to AWS IoT Core
Upload Data from Raspberry Pi Pico W to Google Sheets - (Part 1) Using IFTTT
มุมมอง 1.7K5 หลายเดือนก่อน
Upload Data from Raspberry Pi Pico W to Google Sheets - (Part 1) Using IFTTT
thanks a lot, that is very useful for me
Can i use the webcam for this project ?
do I have to use bullseye os I am using raspberry pi 4 ubuntu linux os, Thonny ide and it is not working, do you have a solution and thank you
Hey thanks for the Tutorial! I have to mention that physical connection didnt work for me. Had to connect SCL to D22 and SDA to D21 als Gnd to GND and VCC to 3.3 V. Also I have question, i want to work with two ESP32s and to two MPU6050s simultaneously and send the data via Wifi to the Ard IDE, do you think thats possible?
hmmmm why the IDE? Idk if that is possible but in my experience anything is! You can send data over wifi easily but idk if I would use the IDE to receive it. I would send it to an MQTT channel first and write a script to harvest the respective channels. Shouldnt be too bad. Goodluck, hope you can subscribe my friend
Sos un crack, thank you very much, really made my life easier!
Glad it helped! I hope you can subscribe !
Keep getting error "no module named ussl"
Hmmmm are you using the latest micropython for the Pico W?
@@mmshilleh yes
Which OS version are you using?
See comments !
Great Video, I request you to make video on "how to stream audio to wireless head phone as well as recording in local computer"
Thanks for the idea! Noted
Nice.
I spend day struggeling with the arducam and libcamera... thanks for that simple working code man! How can I add more specific adjustments like shutter etc.?
Glad it helped! I believe you should be able to do that with the .configure method on the camera object if I am not mistaken. I hate to be this guy, but I refer you to the library documentation for that :)
Nice and easy, thanks. I've had a DHT22 in my Pi drawer for a while now and would have hooked it up to a Pico earlier if I knew it was this simple. I appreciate you getting straight to the point too. Cheers!
That is awesome, yes they are pretty seamless. Thanks for watching
bro can you share you serverside also please!
I dont think I have it anymore! Was a while ago :/
Why not we should do the s3 bucket job on our PC and then upload that zip.
Wont work... different OS... trust me I would not have made the video if it was that simple.
@@mmshilleh it works if you use AWS Cloud9 on AWS linux OS
Giving this a try!
Youre a G
How can you adjust the squid.conf to allow remote use of the proxy? If I set the proxy I made as my browser proxy on my laptop it works great when I’m connected to the same wifi network but if I’m at a friends house on their wifi and try using the proxy as my browser proxy, it will not prompt for user authentication hence disallowing remote connection.
You can do these sorts of things easily with Tailscale. I recommend looking into that.
where i can find the c"url" commands ?
Description at ShillehTek.com
Look forward to seeing next C example(s) on pico.
That is great to hear! Yes think it can save people some time!
I'm so eager to see part 3. I just can't seem to get any of the tilt filters (Kalman or Madgwick) to give me good stable compass headings that are not affected by motion of the MPU-9250. You would think that with all the robot and electronics people out there there would be something easy to figure out, but I'm just too new to Python to get it to work properly. Hopefully this will be covered in Part 3...please? Thanks for the work.
Haha a lot of people are asking about this! I need to do some research this summer and do a Kalman filter series. I will get to that later this summer hopefully
Nice work! Could you help me? Chinese calliper data reading pi pico micropyton is the few lines of code that do this! Unfortunately, I couldn't find a sample example of such a thing anywhere!
I help people on projects but typically I charge a small consulting fee. You can see more on my link buymeacoffee.com/mmshilleh Let me know if interested :)
@@mmshilleh Micropython, can you write my question? There is an arduino code in C++, you just have to write it in micropython!
thanks for this video. any plan for Kalman filter in micro python with pi pico ?
Not at the moment, I have done Kalman filtering in the past would take a bit of time to dig into it and learn it again. It is in the backlog of video ideas though
your videos are really great sir......, But in my case, I'm working on a project where i wanted to measure the lean angle of motorbikes while turning or doing any other angle changes. In here, i'm stuggling with the reference point. I mean if I upload the code and start the system, it shows XYZ - Roll pitch yaw angles are nearly zero. When I "START" the device they are zero, which means in any direction, if I start the device, it takes it as a reference point. I think you got my point. Is there any way (by using complex maths or different sensors or whatever) that i can set the sea water level(or global flat reference) as my starting point/reference point even if I start the system in any direction or any angle.... HOPE you would reply me sir
Hard to say, seems too complex to discuss over YT comments to be frank with you
Any view or opinion on BLECON?
Good question, just heard of it and never used it... next video?
@@mmshilleh That'd be awesome. I've watched a couple of videos from Hardware Pioneers Max 2024 and if they can do everything they're claiming they can do .. ... ....
Excellent 👍👍👌 thanks for sharing
Thanks for watching
FYI I misspoke in the video, gyroscope measures DPS, not degrees per second squared, there is no square factor.
Question: When you said that you weren't moving the sensor, the gyroscope output on the x-axis was ~-2.7 degrees/second. But if the sensor isn't being moved, shouldn't this be zero? Could someone please explain this? By the way, thanks for the tutorial, I'll come back to this when I start my next project.
Yes it should you need to properly calibrate it to remove that error... sadly you will see this with all MPU6050s.
@@mmshilleh Ah, thanks. I'll keep that in mind.
@@user-ki4cn7zs2c yessir! Hope you can subscribe would be helpful :)
Nice! Saw you from reddit!
Haha that’s me
it is funny, Anytime i want to do some research i stumble upon your videos, they are accurate and to the point for my master thesis. At this point Im not sure if i am doing my master thesis. Feels like you have already done it for me :') I really appriciate for all your videos on raspberry pi. Thank you so much. :)
Lol I am very happy I am helping people with advanced things. Thank you my friend and goodluck
Great tutorial 👍I can't wait for the follow-up showing how to do the same using Xedge32 and Lua 🙂
Exactly haha! Coming soon
Thanks for a peek at at the hoops "real" coders have to jump through. As an Arduino hobbyist and volunteer teaching Arduino I will be forever grateful for the work the Arduino organization put into bringing microcontrollers to the masses. I believe there would be a very small percentage of hobbyist that would make it through your lesson just to get "Hello World" on the screen and continue in the hobby. I will stick with Arduino for the 8 bit chips and micropython for the 32 bit chips for now. Thanks for the video.
Yeah i will make about 5 C++ videos see how it goes, community is def smaller than the micropython community hahahah
Great vídeo! Thank you!
Thanks for watching :)
Dont forget to subscribe or donate :) Hope you enjoyed it my friends
Im doing an adaptation of a traditional test for early detection of cognitive deterioration, one of the test questions asks the patient to draw a specific shape, in the traditional test the applicator confirms if the shape looks like the one requested and scores. My idea is to pass the image with the original shape to an AI service to confirm how similar the drawing is to the requested shape. My question is do you think that passing the array of points will allow the AI to confirm if it looks like the shape or not? Keeping in mind that the orientation should not be considered only the shapes. BTW amazing videos, Your videos have helped me a lot.
Thank you for your support. I guess it would depend on the type of AI you are using I am not familiar with these types of AI. I am sure an LLM could potentially handle that but you would need some degree of accuracy. I cannot guide you on that regard since I dont have the direct experience. But I am sure something can be mustered.
Does the MPU6050 with this library measure angles in its own reference frame or the global reference frame?
Its own reference it should be
Great info! I did not know Thingspeak was free. Thanks for the video.
انا بلفعل اعمل على برنامج مشابه من فضلك هل يمكنك إرسال كود الخاص بلبرنامج
Email me shillehtek@gmail.com
This would work awesome for a project I am working on. I have 12 network junction boxes out in a warehouse and I would like to monitor the temperature and humidity in each of those boxes. Can ThingSpeak dashboard handle the 12 different feeds so I can see the 12 temps and the 12 humids in one dashboard? Or, would I need to create 12 channels - 1 for each box?
I think you can use the same channel! But I believe each channel can only have a maximum of 8 fields :( So perhaps you can group them into two? But sounds like a cool project and a practical use case
Thank You
Do you know of any electrical conductivity (EC) sensors that would work with this system? I've only seen standalone sensors that don't appear to have the ability to connect to a Pi or Arduino.
Have you looked into DFRobot Gravity: Analog EC Meter V2.0?
@@mmshilleh I haven't. But will. Thank you.
@@mmshilleh Looks promising. Thanks!
Hey, I tried running your code, am getting the following error, can you debug it for me ? Traceback (most recent call last): File "<stdin>", line 10, in <module> File "imu.py", line 105, in __init__ File "imu.py", line 158, in chip_id MPUException: I2C failure when communicating with IMU
I cannot
nice thank you!
Any time! :)
Thank You!!!! it helps me a lot to connect my e32 to ftp!
Glad it helped! Hope you subscribe :)
Hello bro I watched this video this is perfect to me I student in university My major is controll engineering My project is Robotic arm with remote hand movement.with esp32 and mpu6050 and 4 servos Can you help me ???
I can help but for these types of requests, you would have to book a consulting slot on my buymecoffee link for a fixed price. Let me know if that interests you
Great Video! Thanks
No, thank you for watching!
@@mmshilleh I finally got around to giving this a try. I had an ADS1115, hooked up 4 different voltages, used your code, and got my first voltage connected to the ADC. The question now is what code do I need to add to read all 4 voltages and print out the 4 voltages. Thanks
@@donaldhoudek2889 Hey Donald good question, I can make a part 2 soon! Happy you asked, stay tuned my friend will try and get that working shouldnt be that hard
how do we get the port for windows?
Use the cmd and type command 'mode'
I was unable to run GUI and i wanted only a coding environment and this is perfect, thanks.
Great to hear! Hope you can subscribe your support would be awesome
Hey Shilleh any chance you could share the python script you use in this demo please. I can't find it!!
Sorry, check description!
anyone find any bugs in this where the ssid doesn't set properly and the access point doesn't let you log in?
I have not, been a while they could have changed somethings in the library
@@mmshilleh I found a bug. I think it's because I originally set it up for STA mode then I tell it to switch to AP mode if it loses connection. The problem is that it won't set ssid correctly or let me log on. It seems to work fine if I set it up in AP mode from the start.
Thank you, I like VSCode and when I first saw Thonny I thought nup I'm finding out how to do this in VSCode.....so yeah thank you
Happy to help! Hope you can subscribe :)
This is very kool. I have been using SMS only because I could not get e-mail. And I think your help explaining this makes it seem even easier.
Glad you think it is cool. We should thank the folks at real time logic for making this tech!
what operating system are you using?
Bullseye ;)