- 184
- 559 939
Shilleh
United States
เข้าร่วมเมื่อ 31 ก.ค. 2014
I am a software engineer working out of Chicago, IL 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.
Build a Reverse Geolocator with Pico W & GPS Module | Step-by-Step Tutorial
Transform your Raspberry Pi Pico W into a reverse geolocator! 🚀 In this hands-on tutorial, you'll learn how to combine the Pico W with a NEO-6M GPS module to fetch human-readable addresses based on your location using the OpenCage Geocoder API. Perfect for hobbyists, students, or anyone looking to explore MicroPython and GPS technologies.
📚 What You'll Learn:
How GPS works and its real-world applications
Soldering and connecting the NEO-6M GPS module to the Pico W
Setting up OpenCage API for reverse geocoding
Writing MicroPython code to process GPS data and fetch locations
🛠️ Tools & Components:
Raspberry Pi Pico W
NEO-6M GPS Module
Breadboard, jumper wires, soldering kit
ShillehTek Blog:
shillehtek.com/blogs/news/simple-guide-build-a-reverse-geolocator-with-raspberry-pi-pico-w-and-gps-module
📚 What You'll Learn:
How GPS works and its real-world applications
Soldering and connecting the NEO-6M GPS module to the Pico W
Setting up OpenCage API for reverse geocoding
Writing MicroPython code to process GPS data and fetch locations
🛠️ Tools & Components:
Raspberry Pi Pico W
NEO-6M GPS Module
Breadboard, jumper wires, soldering kit
ShillehTek Blog:
shillehtek.com/blogs/news/simple-guide-build-a-reverse-geolocator-with-raspberry-pi-pico-w-and-gps-module
มุมมอง: 167
วีดีโอ
How to Use a 5V Laser Diode with the Raspberry Pi Pico
มุมมอง 32614 วันที่ผ่านมา
In this guide, you’ll learn: How to set up the MB102 breadboard power supply for powering the laser diode. How to build a transistor-based circuit to control the laser diode using the Pico W’s GPIO pins. How to write MicroPython code to turn the laser diode on and off. By the end of this tutorial, you’ll not only have a functional setup but also the knowledge to use laser diodes in creative pro...
How to Connect and Use the HCSR501 PIR Sensor with a Raspberry Pi Pico/Pico W
มุมมอง 21721 วันที่ผ่านมา
Learn how to set up the HCSR501 PIR sensor with a Raspberry Pi Pico to detect motion and trigger actions like lighting an LED. This beginner-friendly guide covers wiring, coding, and configuring the sensor for reliable motion detection in your projects. ShillehTek Amazon Store for Raspberry Pi Parts: www.amazon.com/stores/page/F0566360-4583-41FF-8528-6C4A15190CD6?channel=yt Hire me on UpWork: w...
How to Use the MB102 Breadboard Power Supply
มุมมอง 349หลายเดือนก่อน
In this quick tutorial, we demonstrate the ShillehTek MB102 Breadboard Power Supply and show how to use it with the Raspberry Pi Pico W. We’ll go over the basics of powering your projects, setup tips, and how to safely connect the MB102 to the Pico W. Perfect for beginners and anyone looking to power their microcontroller projects with ease! Link to Blog Post: shillehtek.com/blogs/news/powering...
How to Control DC Motors with L298N and Raspberry Pi Pico W in MicroPython | Full Tutorial
มุมมอง 1.1Kหลายเดือนก่อน
In this video, we’ll show you how to control DC motors using the L298N motor driver with the Raspberry Pi Pico W in MicroPython. You'll learn how to connect the motor driver to the Pico W and write code to control the motor’s speed and direction using PWM. Whether you're building a robot or a DIY project, this tutorial will help you get started with motor control in MicroPython! Hire me on UpWo...
Controlling an LED with a Snap Using the KY-037 Sound Sensor and Raspberry Pi
มุมมอง 2792 หลายเดือนก่อน
Welcome back to part 2 of our KY-037 sound sensor tutorial series! In part 1, we successfully set up the KY-037 sound sensor with a Raspberry Pi to detect sound using its digital output. If you haven’t gone through that tutorial yet, I recommend starting there, as this guide builds upon the previous one. In this tutorial, we’ll go a step further by integrating an LED that turns on and off based...
Getting Started with the KY-037 Sound Sensor and Raspberry Pi: Detecting Sound Using Python
มุมมอง 6202 หลายเดือนก่อน
In this tutorial, I’ll guide you through setting up the KY-037 sound sensor with a Raspberry Pi using Python. This tutorial focuses on wiring and coding to measure the digital output signal of the sensor. The KY-037 is a highly versatile sensor that can detect sound levels and is often used in projects requiring sound-activated switches, noise monitoring systems, or smart home automation. Where...
Reddit Post Automation with Python: A Beginner's Guide
มุมมอง 2002 หลายเดือนก่อน
In this tutorial, we’ll walk through how to automate posting to Reddit using Python. This guide is designed for beginners looking to interact with Reddit’s API programmatically, whether for personal use, bot creation, or automating your social media workflows. By the end, you’ll be able to post to a subreddit with a script that handles authentication. Hire me on Upwork: www.upwork.com/freelance...
How to Create a Time-Lapse Video with a Raspberry Pi Camera and Python
มุมมอง 8643 หลายเดือนก่อน
Create Stunning Time-Lapse Videos with Your Raspberry Pi Camera Using Python Discover how to set up a Raspberry Pi camera for automated time-lapse photography with Python. In this comprehensive guide, we'll walk you through the entire process-from choosing the right hardware and installing necessary software to writing Python scripts and configuring your setup. By the end of this tutorial, you'...
Beginner's Guide: How to Connect the MPU6050 to the STM32 Using Arduino IDE
มุมมอง 8953 หลายเดือนก่อน
In this video, we'll show you how to connect the STM32 Blue Pill to the MPU6050 and read all 6DoF raw values (accelerometer and gyroscope data) using Arduino. We'll also walk you through a simple calibration process for the gyroscope to correct any offset, ensuring accurate readings. Follow along to learn how to set up the hardware, write the code, and implement basic calibration for your MPU60...
Beginner's Guide: Writing Your First Script on STM32 Using Arduino IDE
มุมมอง 9884 หลายเดือนก่อน
This comprehensive tutorial will guide you through the process of setting up and programming the STM32 Blue Pill using the Arduino IDE and a DSD TECH SH-U09C5 USB to TTL converter. The STM32 Blue Pill is a powerful yet affordable microcontroller board based on the STM32F103C8T6 ARM Cortex-M3 processor. Known for its robustness and versatility, the Blue Pill is an excellent choice for hobbyists,...
Automate Task Scheduling in AWS with Lambda, Step Functions, and CloudWatch
มุมมอง 2964 หลายเดือนก่อน
In this tutorial, I'll show you how to automatically schedule tasks in AWS at regular intervals using AWS Step Functions and CloudWatch with AWS Lambda. Learn how to chain your Lambda functions and schedule them to run whenever you need, essential for production-level applications requiring task automation, especially for ETLs. I'll guide you through all the necessary AWS services, ensuring a s...
Beginner Tutorial: Your First MQTT Lua Program on the ESP32 using Xedge32 (Part 3)
มุมมอง 3914 หลายเดือนก่อน
Beginner Tutorial: Your First MQTT Lua Program on the ESP32 using Xedge32 (Part 3)
How to Integrate reCaptcha in a React App for Beginners: Enhance Security and Prevent Spam
มุมมอง 4374 หลายเดือนก่อน
How to Integrate reCaptcha in a React App for Beginners: Enhance Security and Prevent Spam
AWS Lambda Tutorial: Using Selenium with Chromedriver in Python
มุมมอง 4K5 หลายเดือนก่อน
AWS Lambda Tutorial: Using Selenium with Chromedriver in Python
How to Connect MLX90614 Infrared Thermometer to Raspberry Pi Pico W: MicroPython Tutorial!
มุมมอง 5495 หลายเดือนก่อน
How to Connect MLX90614 Infrared Thermometer to Raspberry Pi Pico W: MicroPython Tutorial!
Connecting Raspberry Pi Pico W's with MQTT: Building a Collaborative IoT System (2024 Update)
มุมมอง 6155 หลายเดือนก่อน
Connecting Raspberry Pi Pico W's with MQTT: Building a Collaborative IoT System (2024 Update)
Simulating Raspberry Pi Pico Projects: Exploring Wokwi IDE for MicroPython & C Programming
มุมมอง 1.4K5 หลายเดือนก่อน
Simulating Raspberry Pi Pico Projects: Exploring Wokwi IDE for MicroPython & C Programming
How to Connect MPU6050 to Raspberry Pi Pico Using C++
มุมมอง 8886 หลายเดือนก่อน
How to Connect MPU6050 to Raspberry Pi Pico Using C
Easily Write Your First C++ Program on the Raspberry Pi Pico W
มุมมอง 1.6K6 หลายเดือนก่อน
Easily Write Your First C Program on the Raspberry Pi Pico W
Create an IoT Dashboard with ThingSpeak and the Raspberry Pi Pico W - Real-Time Data Monitoring!
มุมมอง 1.3K6 หลายเดือนก่อน
Create an IoT Dashboard with ThingSpeak and the Raspberry Pi Pico W - Real-Time Data Monitoring!
How to Connect ADS1115 to Raspberry Pi - Measure Analog Signals with MQ135 (Part 1)
มุมมอง 3.4K6 หลายเดือนก่อน
How to Connect ADS1115 to Raspberry Pi - Measure Analog Signals with MQ135 (Part 1)
How to Install Pip Packages in AWS Lambda Functions with Docker (Method 2)
มุมมอง 1.1K6 หลายเดือนก่อน
How to Install Pip Packages in AWS Lambda Functions with Docker (Method 2)
Secure SSH Access to Your Raspberry Pi with Tailscale VPN - SSH From Any Network Easily
มุมมอง 3.7K7 หลายเดือนก่อน
Secure SSH Access to Your Raspberry Pi with Tailscale VPN - SSH From Any Network Easily
Beginner Tutorial: Learn how to Send Email with ESP32S3 in the Lua Programming Language (Part 2)
มุมมอง 2857 หลายเดือนก่อน
Beginner Tutorial: Learn how to Send Email with ESP32S3 in the Lua Programming Language (Part 2)
Beginner Tutorial: Learn how to Program the ESP32S3 with Lua Programming Language (Part 1)
มุมมอง 1.5K7 หลายเดือนก่อน
Beginner Tutorial: Learn how to Program the ESP32S3 with Lua Programming Language (Part 1)
Beginner Tutorial: Stream Audio from Raspberry Pi to Local Computer
มุมมอง 3.1K7 หลายเดือนก่อน
Beginner Tutorial: Stream Audio from Raspberry Pi to Local Computer
Remotely Control your Raspberry Pi via SSH through a Cell Phone
มุมมอง 1.6K7 หลายเดือนก่อน
Remotely Control your Raspberry Pi via SSH through a Cell Phone
Remotely Control your Raspberry Pi via SSH from an External Network: Beginner's Guide (Part 3)
มุมมอง 4.2K7 หลายเดือนก่อน
Remotely Control your Raspberry Pi via SSH from an External Network: Beginner's Guide (Part 3)
Stream Video from Raspberry Pi Camera to YouTube Live with Python
มุมมอง 2.7K7 หลายเดือนก่อน
Stream Video from Raspberry Pi Camera to TH-cam Live with Python
Is there a reason you put the current path element inside a Paths.map? Seems like it's drawing a lot of paths unnecessarily but I don't know if there is a reason behind it
Noob question, is it possible to test locally? If so how can i run the docker and trigger the script?
@@williamhalflife it is possible you can run an image locally and enter something called a container. Search how to start a container from an image locally. The commands are hard to type here
And just like that, it worked! Well made tutorial. Clear and concise. Having access to the code is super useful too! Subbed
@@jamiem5677 amazing happy to have you and hear it made your life easier
a quick google search in forums was saying that pico w cannot be power another way except from the micro usb. let's check youtube... there you are you little angel (new to all this)
@@Gene669 haha yes google is definitely wrong on that case. The pico w is designed to be soldered and powered onto a pcb! Glad I can be a source of truth
How can we stream over the ethernet cable instead of internet? Do you have any source?
I have never tried that but as long as there is an active connection I dont see why that is impossible.
@@mmshilleh I think so, but I have another problem. My raspberry's operating system is Ubuntu 22.04 and I can't use the picamera library. Do you have any recommendation?
@@İleriDurmaz Not at the top of my head my friend.
Hi, how would i be able to do this with a Logitech c270 and in terminal only?
I would have to explain that over a tutorial or you can hire me on upwork for that if you need help. Its too specific for me to answer in the comments
is it possible to connect via ssh using the host name and not the ip adress because i cant connect the pi to the wifi and so am using ethernet
Should be possible to use the hostname I never tried ethernet so not too sure
hey, great vid. just a quick question, does it measure temperature of the board or around it, for example would it be a good project for a rack thermometer ?
This measures temperature around it, its more pertaining to atmospheric temperature or air temperature. I wouldn't use it for surface temperature measurement.
Many thanks for this tutorial. How stable would an rPi v4B be left on all day, every day, over the course of a year, for a picture in the morning and afternoon ?
Would work the whole year just get a cooling case to keep it cool! Goodluck
@@mmshilleh Thanks for the advice. Would this setup autonomously continue from where it left off in the event of a power cut, or would I need to intervene. If user intervention is required then how could I tell if a power cut had taken place in my absence ?
@ good question, you would need to intervene and probably design more robust code for that situation!
Hello Shilleh, Nice Video I saw that you live in Chicago I studied in IIT myself ahaha few years ago. I have a question concerning the package imu your are importing, my IDE do not recognize this package it does not look to be a native package. How did you download it ?
That is great to hear, welcome to the channel. You can download it from GitHub usually just download all of the package files and copy them into your pico directory.
@@mmshilleh Can you send me the link of the github I need to use because when I type imu on github I have lot of different outputs.
Hey! Do you have a repo of the project anywhere?
No just a blog post with code
Great explanation. How far away is it visible (of course not with your eyes)? Thanks.
Good question! They all kind of vary, probably about 100 meters nothing crazy. At a certain point there are regulatory contsraints lol
Dont forget to subscribe! Thanks everyone
how can we make video posts?
Should be doable, another problem to solve though. Ping me on email if interested
I'd like to ask a question to you. How can i get the camera frames from wifi which is created by raspberry pi ? How can i create wifi protocol from raspberry pi? btw thanks for the video
Ahmet thank you but your question is beyond the scope of a comment.
@@mmshilleh okay than what do you suggest about that getting the live video from 2kilometers away?
If both are in the same network, do we really need internet?
You do or else you cant connect to the network
I updated the script, it is a little different with the change in SSL context, see my medium article in the description
Very helpful. It’s just so sensitive hahah. I feel like I keep turning
Yes took me nearly 100 turns lol
do v3
I never tried it, is it harder? I would think its the same thing just a different key haha
how can i send multiple commands
Easy, just extend what I showed you!
I am doing the same as shown in a video when i give the command sudo i2cdetect -y 1 I am getting only 0x68 but the magnetometer is detected how should i debug this and then can i know if your setup did display 0x0c how can i verify if my MPU9250 has magnetometer init
Depends where you buy the unit!
I have issue with my router, he is asking external ip, i just leave it 0.0.0.0 , connection timed out message
Try using Tailscale its more reliable
Very creative idea to connect the resources in the internet and pico so that you make the low cost and limited feature pico to be powerful device in IoT field. 🎉❤
I'm glad you think so! The Pico is a pretty awesome device. Don't forget to subscribe!
Very skillful to link pico to local PC , google cloud to Google sheet. I like your creative idea.
@@simonfunghk i am glad you think so, hope I earned your subscription. Thanks 🙏🏼
i put my default gateway into a web browser and it won't connect
I am sorry to hear, could be many reasons for that
you're the mang bro
I'm glad you enjoyed the video! Hopefully, it can help you automate your tasks on the cloud. Dont forget to sub :)
This is exactly what I needed in theory..... however the free subscription to ngrok only comes with 1GB data transfer out which I unfortunately used within minutes 😵💫
from machine import Pin, I2C import time import ustruct # Constants ADXL345_ADDRESS = 0x53 ADXL345_POWER_CTL = 0x2D ADXL345_DATA_FORMAT = 0x31 ADXL345_DATAX0 = 0x32 # Initialize I2C i2c = I2C(0, sda=Pin(8), scl=Pin(9), freq=400000) # Initialize ADXL345 def init_adxl345(): i2c.writeto_mem(ADXL345_ADDRESS, ADXL345_POWER_CTL, bytearray([0x08])) # Set bit 3 to 1 to enable measurement mode i2c.writeto_mem(ADXL345_ADDRESS, ADXL345_DATA_FORMAT, bytearray([0x0B])) # Set data format to full resolution, +/- 16g # Read acceleration data def read_accel_data(): data = i2c.readfrom_mem(ADXL345_ADDRESS, ADXL345_DATAX0, 6) x, y, z = ustruct.unpack('<3h', data) return x, y, z # Main loop init_adxl345() while True: x, y, z = read_accel_data() print("X: {}, Y: {}, Z: {}".format(x, y, z)) time.sleep(0.1) __________________________________________________________ ADXL345: GND=GND VCC=3,3V CS=3,3V INT1=/ INT2=/ SDO=GND SDA=I2C Bus SCL=I2C Bus Raspberry Pi Pico: GND=GND VCC=3,3V SDA=GP8 SCL=GP9 Ich hoffe ich konnte Helfen :) Gebt dem Kommentar bitte ein Like damit ich sehe wie vielen Leuten ich schon helfen konnte. Würde mich mega darüber Freuen :)
Sehr gutes Video. Ich bekomme jedoch den OSError: [Errno 5] EIO nicht weg. Traceback (most recent call last): File "<stdin>", line 26, in <module> File "<stdin>", line 16, in init adxl345 OSError: [Errno 5] EIO Schon mal Danke falls jemand Hilft :)
Der Fehler OSError: [Errno 5] EIO deutet oft auf ein Problem mit der Verkabelung oder der I2C-Adresse hin. Überprüfe die Verbindungen und die Adresse des ADXL345 im Code.
I have several of those.
They are pretty cool
humm what if use a efs as storage ? not bad
I actually never even used EFS
thank you!!
I am happy that you liked it! Dont forget to sub!
Hi, thank you for this tutorial. Can I use 12V fan with this L298N board? Will the fan work?
Yes, of course. It easily can handle. Dont forget to get yours at ShillehTek! :)
hey i was trying to build the docker, but i got the error failed to solve: process "/bin/sh -c dnf install -y atk cups-libs gtk3 libXcomposite alsa-lib libXcursor libXdamage libXext libXi libXrandr libXScrnSaver libXtst pango at-spi2-atk libXt xorg-x11-server-Xvfb xorg-x11-xauth dbus-glib dbus-glib-devel nss mesa-libgbm jq unzip" did not complete successfully: exit code: 1 what do i do ?
I am sorry to hear you are having issues with the docker! are you using the same docker files?
@@mmshilleh I am also getting same error I am using exactly the same dockerfile.
I was able to so solve this, it is a Network issue, all you have to do is use --network=host in the building command, sudo docker build --network=host -t selenium-chrome-driver .
I also got the same issue. What I did was changed the "run dnf install -y ...." to "run install yum -y..."
sir , i have a problem please help me, i am Unable to use chrome profile session using selenium webdriver on render deployment in my local machine its properly working for my chrome path but in render or any other cloud service which path i need to define because i used local chrome path in my local machine but render don't have direct access to my computer files right? , this is my code please tell me how to manage chrome sessions- CHROME_PROFILE_PATH = "C:/Users/DEEPSAHA/AppData/Local/Google/Chrome/UserData/Default" chrome_options = webdriver.ChromeOptions() chrome_options.add_argument(f"user-data-dir={CHROME_PROFILE_PATH}") chrome_options.add_argument("--headless") chrome_options.add_argument("--disable-gpu") chrome_options.add_argument("--no-sandbox") chrome_options.add_argument("--disable-dev-shm-usage") with webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=chrome_options) as driver:
Seeing as the mpu6050 is obsolete, any recommendations for a more accurate accelerometer module?
Thank you. Yeah unfortunately some of my videos need tuning overtime since packages change. Appreciate comments like these to guide other users!
@mmshilleh would love to see a set up using the ICM-42686-P. This accelerometer has good tracking and is supposedly used in things like the meta quest controllers
@@Blakipino Do those come on PCB? I cannot find any
@@mmshilleh they have them on Shopee as separate modules if your in the SEA region, though Im not sure about other areas
Some important information: With current v1.24 of microython firmware it is needed to disable first the station interface (used to connect the Raspberry to other AP) to work with AP interface. In this code just add the following lines before ap declaration: sta_if = network.WLAN(network.STA_IF) sta_if.active(False) Otherwise the Raspberry does not receive or send anything.
hello! I think you are great. I am using your instructables tutorial to help me with my BMP180 sensor, but the code you have linked to is no longer public on your git. Is it gone forever, or is there any way you could post another link, so that I can view and pull from it. thank you so much! I am currently trying to build a satellite
You can view the content on shillehtek by looking at the description.
is there a Part 4?, I'm having issues like you said, I can't download the libraries
I've followed this carefully - but I never get anything asking for the password. So it doesn't connect
:/
You just made me pass a test at college
Thanks hope you can subscribe or support :)))
Thanks!
Too kind thank you
Please clarify the units of the gyroscope values
Degrees per second :)
Super❤🎉😊
I appreciate it!
Raspberry pi OS is based on Debian Bookworm this is the latests, it hasn't been called Raspian since Debian Stretch was replaced with Debian Buster ( raspberry pi OS) in 2020....... this may not work as bookworm has a new camera pipeline
@@matthewtscott1 yes i have another tutorial on the new one. Look at my channel!!! I wish i could funnel everyone to the next video easier
can the visualization on screen be a 3d model that I can import from my laptop
Im sure it can but I never tried to exactly
As of today, I'm not sure if MicroPico supports Linux and Pico2 - i cannot create project, but I can upload a single file. Now I found out there is official "Raspberry Pi Pico" extension that seem to support both MicroPython and C++.
Thanks for letting me know I will look into this and make another video if need be
I'm doing this! Thanks! I do like the bite-sized videos. Much easier to actually go into the "lab" and work on.
@@alevans51 ah so you prefer shorter?