Thank you for taking time to post this information. My goal is to enable a webcam to record video and audio when motion AND/OR audio is detected, so this seems to be a good start. Motion detection with a PIR is not difficult. I am curious if the KY-037's analog output can be used to record audio.
@mmshilleh2 күн бұрын
No I doubt it can too much noise to be able to do that!
@bennguyen13132 күн бұрын
So the ESP32 could transmit an SSID and act as a hotspot.. and simultaneously the esp32 runs a webserver? If so, what kind of data thruput could you expect? Perhaps that's the idea behind dual-cores.. one core does the AP, the other does the webserver? Regardless, if the ESP32 samples the ADC 2000 per second, and updates the web page with every new sample.. what will a client , connected to the hotspot/web-server, see as the sample rate? Or would it not be real-time, and instead the client must refresh the page manually to get fresh ADC samples? Perhaps the user could talk back to the ESP32 via the web page as well? BTW, very new to all this, just ordered an ESP32 8x8 RGB board, and an ESP-PROG JTAG programmer... hoping to use Visual Studio Code to code/debug on the esp32! At first I was thinking of an Android application, that transmits an SSID and acts as a hotspot.. then someone passes a puzzle quiz, I bridge my mobile cell data to the hotspot.. however, I was thinking I should first learn programming on a microcontroller like the esp32 before going to android
@kbrsi12 күн бұрын
Why not work on arduino uno r4 wifi
@mmshilleh2 күн бұрын
hmmmm not sure why never used that module
@kbrsi12 күн бұрын
@@mmshilleh Please can you make a video explaining how to connect arduino uno r4 wifi to blynk.ncp
@mmshilleh2 күн бұрын
@@kbrsi1 I do not have the time for that right now my friend
@skd693 күн бұрын
Hey man I have got. A problem .My raspi pi zero 2w doesn't have any option to enable the raspi camera but if I use open cv to stream on the pi itself sometimes it works (mostly) but I am unable to get this code running
@mmshilleh2 күн бұрын
Too vague for me to help :/
@bjhonusa4 күн бұрын
I think Klipper love over priced hardware. No explanation there like you. It's great.
@mmshilleh2 күн бұрын
I am glad you like the explanation!
@3dyfication6 күн бұрын
Thank you so much for the the tutorial! Using this method to stream video, could you take a still image of whatever the camera is pointed at and save it?
@mmshilleh6 күн бұрын
@@3dyfication easily haha
@ivanfenis12216 күн бұрын
Thanks for the video. What is the filter bandwidth setting for? I'm familiar with sensor fusion but forgot some concepts that are probably related to said setting.
@neogeo82677 күн бұрын
I want to use ESP32 AP to allow pass-thru connection between the clients. i.e. have three cell phones connected to ESP32, such that cell phones can see one another on DHCP-designated IP address. Possible?
@mmshilleh6 күн бұрын
Not familiar with that use case but you can connect multiple items to the same network so sounds reasonable.
@squaddingquads7 күн бұрын
I get the error "python3-picamera" has no install candidate And as such I have no legacy camera support in the menu either
@mmshilleh7 күн бұрын
Watch my video series I show how to do it on new OS
@squaddingquads7 күн бұрын
@@mmshilleh oh okay thanks, I just want to setup a live steam for KZbin, do you have a video for that buddy
@tristanwheeler23007 күн бұрын
raspberry pi doesnt like it when you install libraries to your main python install now
@mmshilleh7 күн бұрын
@@tristanwheeler2300 yeah you need a venv
@bubbarob19787 күн бұрын
So what would I need to change in the config file to utilize the 3.5mm jack instead of using a USB mic? I want to stream some audio from a source that will use the 3.5mm jack to input the audio. Thanks for the video. Thumbs up.
@mmshilleh7 күн бұрын
I think it would be very similar you would just have to change the audio input in the code my friend :)
@tyvek_8 күн бұрын
Full code please
@mmshilleh8 күн бұрын
@leonklufio188513 күн бұрын
you go too fast
@mmshilleh13 күн бұрын
@vyaas_v14 күн бұрын
Amazing video! Clearly explained! I hope you keep up the good work!
@mmshilleh14 күн бұрын
Aw thank you hope you subscribe
@vyaas_v14 күн бұрын
@@mmshilleh I always check if creators have other good videos in their channel and you did, so I subscribed! Hope you keep creating content on relevant topics!
@novashi599614 күн бұрын
The angle measurements in my case are not very accurate (a 90° angle is interpreted as 60°). I'm using the same code as you but with an Arduino Nano. Do you know anything about this?
@mmshilleh14 күн бұрын
Calibration is needed
@pratikphadte15 күн бұрын
Does that library take values from the DMP or does it actually do sensor fusion of gyro and accel to get the angles?
@mmshilleh12 күн бұрын
That is a good question I would need to check the source code and get back to you.
@pratikphadte12 күн бұрын
@@mmshilleh i checked the code, seems like it takes the values directly from the mpu, it takes the quterions from the DMP
@jesper836715 күн бұрын
Hey, I keep getting the error Connection Timeout, I've checked my wiring and every step, some times it works, then it stops suddenly, what could this be?
@mmshilleh14 күн бұрын
Hardware?
@alevans5115 күн бұрын
Very useful!
@mmshilleh15 күн бұрын
@@alevans51 thanks pretty cool indeed
@MeshrdTechnologiesopcpvtltd16 күн бұрын
Exactly followed but when opens thonny it says, Device is busy or does not respond. Your options: - wait until it completes current work; - use Ctrl+C to interrupt current work; - reset the device and try again; - check connection properties; - make sure the device has suitable MicroPython / CircuitPython / firmware; - make sure the device is not in bootloader mode. Any idea??
@mmshilleh14 күн бұрын
This happens on some window machines not sure why
@nairPranav072 күн бұрын
Were you able to figure out something for this error? I am encountering the same issue. Tried different firmware and IDEs. Please let me know if something works out. Thanks!
@omarsalem583216 күн бұрын
Thank you for this! very helpful! subscribed :)
@mmshilleh16 күн бұрын
I am glad to hear my friend. I hope you stick around :)
@vvlkathirvelu18 күн бұрын
Is raspberry pi 4 supports?
@mmshilleh16 күн бұрын
yes
@vvlkathirvelu16 күн бұрын
@@mmshilleh is DT11 sensor supports for raspberry pi 4?
@mmshilleh16 күн бұрын
@@vvlkathirvelu yea 100 percent
@vvlkathirvelu16 күн бұрын
@@mmshilleh im facing one problem.
@vvlkathirvelu16 күн бұрын
Module not founderror:no module named Adarfruit_IO
@zinqvenom770018 күн бұрын
The goat
@mmshilleh18 күн бұрын
@@zinqvenom7700 hahahaha why thank you my friend!!! Hope you subscribe at least
@chrisl499919 күн бұрын
I like how you discussed what the different settings actually mean. I was wondering why you wouldn’t just pick the 16G setting. Now I know.
@mmshilleh19 күн бұрын
@@chrisl4999 yeah more power less accuracy. Not really needed for light applications :) hope you subscribe!
@timjenkinson2620 күн бұрын
Will you be making more videos about xedge
@mmshilleh20 күн бұрын
Potentially in the future, wanted to see the traction on them first
@cyberl1f33320 күн бұрын
Will this work with raspberry pi 5?
@mmshilleh20 күн бұрын
definitely
@edn853922 күн бұрын
Great staff thanks for sharing
@mmshilleh21 күн бұрын
Haha, I am the only staff but thank you don't forget to subscribe
@anithasshenoy666222 күн бұрын
@mmshilleh : Nice video. I have an issue setting this up. Rather funny one. I use rpi pico w on thonny. Windows 7. I have setup the ap as access mode , created a socket and send a web page with form input text boxes with method =POST. I can get the wifi with ssis as Pico-W on my computer and gets the html page on the computer browser. When I enter the data in the boxes and send it to back to pico. It receives the headers etc without the data But if I connect my android phone, and send the data on the same html page. I get the entered data as a string (That is fine). But If i use the method=GET , I get the data on both ( along with the URL as standard). One thing I have noticed on computer " Inspect elements -> Network. On both loading the page , initially the status shows and 200 and after a couple of seconds (failed) net:ERR_CONNECTION_RST , But the page is loaded on the browser and I am able to enter the data into the boxes. On submit the status shows as pending and after a couple of sends , it changes to failed. In the Payload, i see the entered data. On thonny , I get the POST headers etc but without data. It seems for some reason the connection from browser is not maintained till all the info is send / received from picow. I did a ping test for the picow IP address 100 times and it worked like a charm without any loss. So why is computer browser not able to send or receive the last bit while Mobile is able to do that ? What are the possible solutions ( network, socket ) or the computer (I tried opera, chrome, internet explorer and on another laptop with edge). Are these stable with micropython or switch to c Thaks in advance
@gianbonme25 күн бұрын
Could you access the IP address of the internet connection where the raspberry pi, or other devices in that network if you are already connected to one of the devices (raspberry pi) in that IP with tailscale? I am already connected to one of my miners, but my second one keeps falling out, dropping connection, and I wish to access it from abroad to change settings...
@mmshilleh20 күн бұрын
You can definitely access the IP address of other devices in the same network if they are all connected via Tailscale and share the same Tailscale network. Each device should have its own unique Tailscale IP address, which allows you to access it directly, regardless of whether the device is on the same local network or connected from another location.
@funnyredditdaily77726 күн бұрын
Does it record when the phone is locked? maybe with a wake lock
@mmshilleh26 күн бұрын
Not sure my friend
@whoisandrewnast26 күн бұрын
Hello, I'm only starting to learn about raspberry pi's and micropython now, I copied your code to make the LED blink but I got this error message: ModuleNotFoundError: No module named 'machine'. I'm assuming "machine" was just the name you picked for it, but what should I use as my name to make the code run successfully? Great video btw!
@mmshilleh26 күн бұрын
The machine is a library in Micropython! If you have the latest version, you should be to use it
@whoisandrewnast25 күн бұрын
@@mmshilleh Aaah okay! is it enabled automatically or do I need to install it?
@richiestark492128 күн бұрын
Thank you for sharing
@mmshilleh28 күн бұрын
@@richiestark4921 thanks hope you subscribe!
@nexusorigin260029 күн бұрын
how did you get the library for "machine"?
@mmshilleh29 күн бұрын
Comes with micropython
@MichaelOToole-gh3miАй бұрын
Thoroughly enjoy all your videos. Would really like to see some slightly more advanced c++ videos.
@mmshilleh28 күн бұрын
Thanks glad you do, I will try and do more in the future :)
@Smash-n-GrabАй бұрын
You should have shown people how to find the USB audio/Mic. aplay -l arecord -l This does not usually work out of the box as the PI needs to be told to select either hw: 0,0 or hw:1,0 etcetera. Also you will need to change the password im icecast2 config or youll get a nag constantly . It can be cumbersome setting this up for beginners
@mmshillehАй бұрын
Sorry about that my friend
@Smash-n-GrabАй бұрын
@@mmshilleh no, dont be man ..every day is a learning curve my friend . Im still learning too, all of us are. Great video
@mmshillehАй бұрын
@@Smash-n-Grab Yes really this channel is me learning and teaching what I learn haha
@patipanpatisampita8321Ай бұрын
Where is the react client video clip?
@mmshillehАй бұрын
Not sure
@bajich4350Ай бұрын
When i am trying to create image, i am getting below error, Could you please help me on this => CACHED [3/8] COPY ./chrome-installer.sh ./chrome-installer.sh 0.0s => CACHED [4/8] RUN chmod +x ./chrome-installer.sh 0.0s => ERROR [5/8] RUN ./chrome-installer.sh 0.3s ------ > [5/8] RUN ./chrome-installer.sh: 0.291 /bin/sh: line 1: ./chrome-installer.sh: cannot execute: required file not found ------ Dockerfile:12 -------------------- 10 | 11 | RUN chmod +x ./chrome-installer.sh 12 | >>> RUN ./chrome-installer.sh 13 | RUN rm ./chrome-installer.sh 14 | -------------------- ERROR: failed to solve: process "/bin/sh -c ./chrome-installer.sh" did not complete successfully: exit code: 127
@user-rp1sv8gp6kАй бұрын
Hello, I'm curious about the sampling rate of your code. Because I have to make sampling rate reach 1000 per second. Do you know how can I improve?
@mmshillehАй бұрын
You can decrease or increase
@AmartyaMandal-ml9uqАй бұрын
Is docker-images a repository present in the Amazon ECR? I get 'The repository with name 'docker-images' does not exist in the registry with id '123456789''
@mmshillehАй бұрын
I am pretty sure they do
@nizarhaidar522529 күн бұрын
just create one and it will work
@szkarlatny_pumpernikielАй бұрын
This code not work for me. I read I should add time delay after initialization, but still get error EIO. MPY: soft reboot Traceback (most recent call last): File "<stdin>", line 30, in <module> File "<stdin>", line 20, in init_adxl345 OSError: [Errno 5] EIO
@mmshillehАй бұрын
Hmmmmm youre vague, I cannot help you at all
@victoriwuoha3081Ай бұрын
Cheers @Shilleh. Great content + well explained.
@mmshillehАй бұрын
Cheers to you. I hope you can subscribe!
Ай бұрын
nice video! if i want to make it full duplex, to talk like a telephone over the internet, i can configure another PI with icecast server and both playing each other stream? it will work?
@mmshillehАй бұрын
Good question, to be honest, not sure you need to do your research sounds advanced lol
@saitama2978Ай бұрын
Hi, it doesn’t recognize Picamera2. I’m using a library called “camera” but I don’t get information on internet about it
@mmshillehАй бұрын
@@saitama2978 too vague for me to help you
@user-rp1sv8gp6kАй бұрын
Sorry,I have a big problem. I have to connect mpu9250 with raspberry pi zero w. I couldn't install mpu9250-jmdev, what should I do? Thx
@mmshillehАй бұрын
What error are you getting? Why don't you manually get the library, should work fine with the 9250
@user-rp1sv8gp6kАй бұрын
@@mmshilleh Thanks for your replying. I already install pyhton3-pip. Then I tried to write "sudo pip3 install mpu9250-jmdev" same as your vedio. But I failed. The error message says "This evironment is externally managed." How do I manually get the library?
@SojisWorldАй бұрын
Does this work via ethernet?
@mmshillehАй бұрын
Yes it does but I think it uses a different IP Address
@ChantOfSpiritАй бұрын
Dear author, guide is good, but for some compass/chips models we have CCW value (heading) result. For example, you turning to right (CW) and geting 1,2,3,4,5..., then from 0 (north), you are turning to left (CCW) and getting 359,358,357,356... I'm getting the same, but reversed: Your: 359 | 0 | 1 My: 1 | 0 | 359 Do you have idea about how to fix it?
@mmshillehАй бұрын
Hmmm I am not sure, what chip is it? Where did you buy the board
@ChantOfSpiritАй бұрын
@@mmshilleh I found solution (rotation - turn over)
@RajveerSingh-vf7prАй бұрын
the point of accessing over any network is that i don't have the access to my pi's network, so, ideally, tail scale must start automatically on pi's boot, and have to authenticated automatically.
@mmshillehАй бұрын
This is true
@Rjay_71359Ай бұрын
I came find your videos just trying to program my pico using visual studio. I started playing around with microcontrollers this year and content from creators like you saved me so much time. Seeing you program through the terminal is another layer of discovery for me too and is really a eye opener into how deep the rabbit hole goes with these things. Really cool stuff man and I'm looking forward to more content as you are extremely knowledgeable it seems. Thank you
@mmshillehАй бұрын
@@Rjay_71359 wow thank you for the heartfelt comment sometimes I forget how valuable this is for beginners in this space and I was once in the position where I understood nothing! Thank you my friend :) hope you stick around and learn more
@brians7749Ай бұрын
Thank you for this! I was looking for an easy way to set this up for a Pi 5 and this came along at the perfect time!