Пікірлер
@jimohern5002
@jimohern5002 2 күн бұрын
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.
@mmshilleh
@mmshilleh 2 күн бұрын
No I doubt it can too much noise to be able to do that!
@bennguyen1313
@bennguyen1313 2 күн бұрын
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
@kbrsi1
@kbrsi1 2 күн бұрын
Why not work on arduino uno r4 wifi
@mmshilleh
@mmshilleh 2 күн бұрын
hmmmm not sure why never used that module
@kbrsi1
@kbrsi1 2 күн бұрын
@@mmshilleh Please can you make a video explaining how to connect arduino uno r4 wifi to blynk.ncp
@mmshilleh
@mmshilleh 2 күн бұрын
@@kbrsi1 I do not have the time for that right now my friend
@skd69
@skd69 3 күн бұрын
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
@mmshilleh
@mmshilleh 2 күн бұрын
Too vague for me to help :/
@bjhonusa
@bjhonusa 4 күн бұрын
I think Klipper love over priced hardware. No explanation there like you. It's great.
@mmshilleh
@mmshilleh 2 күн бұрын
I am glad you like the explanation!
@3dyfication
@3dyfication 6 күн бұрын
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?
@mmshilleh
@mmshilleh 6 күн бұрын
@@3dyfication easily haha
@ivanfenis1221
@ivanfenis1221 6 күн бұрын
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.
@neogeo8267
@neogeo8267 7 күн бұрын
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?
@mmshilleh
@mmshilleh 6 күн бұрын
Not familiar with that use case but you can connect multiple items to the same network so sounds reasonable.
@squaddingquads
@squaddingquads 7 күн бұрын
I get the error "python3-picamera" has no install candidate And as such I have no legacy camera support in the menu either
@mmshilleh
@mmshilleh 7 күн бұрын
Watch my video series I show how to do it on new OS
@squaddingquads
@squaddingquads 7 күн бұрын
@@mmshilleh oh okay thanks, I just want to setup a live steam for KZbin, do you have a video for that buddy
@tristanwheeler2300
@tristanwheeler2300 7 күн бұрын
raspberry pi doesnt like it when you install libraries to your main python install now
@mmshilleh
@mmshilleh 7 күн бұрын
@@tristanwheeler2300 yeah you need a venv
@bubbarob1978
@bubbarob1978 7 күн бұрын
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.
@mmshilleh
@mmshilleh 7 күн бұрын
I think it would be very similar you would just have to change the audio input in the code my friend :)
@tyvek_
@tyvek_ 8 күн бұрын
Full code please
@mmshilleh
@mmshilleh 8 күн бұрын
@leonklufio1885
@leonklufio1885 13 күн бұрын
you go too fast
@mmshilleh
@mmshilleh 13 күн бұрын
@vyaas_v
@vyaas_v 14 күн бұрын
Amazing video! Clearly explained! I hope you keep up the good work!
@mmshilleh
@mmshilleh 14 күн бұрын
Aw thank you hope you subscribe
@vyaas_v
@vyaas_v 14 күн бұрын
@@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!
@novashi5996
@novashi5996 14 күн бұрын
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?
@mmshilleh
@mmshilleh 14 күн бұрын
Calibration is needed
@pratikphadte
@pratikphadte 15 күн бұрын
Does that library take values from the DMP or does it actually do sensor fusion of gyro and accel to get the angles?
@mmshilleh
@mmshilleh 12 күн бұрын
That is a good question I would need to check the source code and get back to you.
@pratikphadte
@pratikphadte 12 күн бұрын
@@mmshilleh i checked the code, seems like it takes the values directly from the mpu, it takes the quterions from the DMP
@jesper8367
@jesper8367 15 күн бұрын
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?
@mmshilleh
@mmshilleh 14 күн бұрын
Hardware?
@alevans51
@alevans51 15 күн бұрын
Very useful!
@mmshilleh
@mmshilleh 15 күн бұрын
@@alevans51 thanks pretty cool indeed
@MeshrdTechnologiesopcpvtltd
@MeshrdTechnologiesopcpvtltd 16 күн бұрын
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??
@mmshilleh
@mmshilleh 14 күн бұрын
This happens on some window machines not sure why
@nairPranav07
@nairPranav07 2 күн бұрын
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!
@omarsalem5832
@omarsalem5832 16 күн бұрын
Thank you for this! very helpful! subscribed :)
@mmshilleh
@mmshilleh 16 күн бұрын
I am glad to hear my friend. I hope you stick around :)
@vvlkathirvelu
@vvlkathirvelu 18 күн бұрын
Is raspberry pi 4 supports?
@mmshilleh
@mmshilleh 16 күн бұрын
yes
@vvlkathirvelu
@vvlkathirvelu 16 күн бұрын
@@mmshilleh is DT11 sensor supports for raspberry pi 4?
@mmshilleh
@mmshilleh 16 күн бұрын
@@vvlkathirvelu yea 100 percent
@vvlkathirvelu
@vvlkathirvelu 16 күн бұрын
@@mmshilleh im facing one problem.
@vvlkathirvelu
@vvlkathirvelu 16 күн бұрын
Module not founderror:no module named Adarfruit_IO
@zinqvenom7700
@zinqvenom7700 18 күн бұрын
The goat
@mmshilleh
@mmshilleh 18 күн бұрын
@@zinqvenom7700 hahahaha why thank you my friend!!! Hope you subscribe at least
@chrisl4999
@chrisl4999 19 күн бұрын
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.
@mmshilleh
@mmshilleh 19 күн бұрын
@@chrisl4999 yeah more power less accuracy. Not really needed for light applications :) hope you subscribe!
@timjenkinson26
@timjenkinson26 20 күн бұрын
Will you be making more videos about xedge
@mmshilleh
@mmshilleh 20 күн бұрын
Potentially in the future, wanted to see the traction on them first
@cyberl1f333
@cyberl1f333 20 күн бұрын
Will this work with raspberry pi 5?
@mmshilleh
@mmshilleh 20 күн бұрын
definitely
@edn8539
@edn8539 22 күн бұрын
Great staff thanks for sharing
@mmshilleh
@mmshilleh 21 күн бұрын
Haha, I am the only staff but thank you don't forget to subscribe
@anithasshenoy6662
@anithasshenoy6662 22 күн бұрын
@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
@gianbonme
@gianbonme 25 күн бұрын
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...
@mmshilleh
@mmshilleh 20 күн бұрын
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.
@funnyredditdaily777
@funnyredditdaily777 26 күн бұрын
Does it record when the phone is locked? maybe with a wake lock
@mmshilleh
@mmshilleh 26 күн бұрын
Not sure my friend
@whoisandrewnast
@whoisandrewnast 26 күн бұрын
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!
@mmshilleh
@mmshilleh 26 күн бұрын
The machine is a library in Micropython! If you have the latest version, you should be to use it
@whoisandrewnast
@whoisandrewnast 25 күн бұрын
@@mmshilleh Aaah okay! is it enabled automatically or do I need to install it?
@richiestark4921
@richiestark4921 28 күн бұрын
Thank you for sharing
@mmshilleh
@mmshilleh 28 күн бұрын
@@richiestark4921 thanks hope you subscribe!
@nexusorigin2600
@nexusorigin2600 29 күн бұрын
how did you get the library for "machine"?
@mmshilleh
@mmshilleh 29 күн бұрын
Comes with micropython
@MichaelOToole-gh3mi
@MichaelOToole-gh3mi Ай бұрын
Thoroughly enjoy all your videos. Would really like to see some slightly more advanced c++ videos.
@mmshilleh
@mmshilleh 28 күн бұрын
Thanks glad you do, I will try and do more in the future :)
@Smash-n-Grab
@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
@mmshilleh Ай бұрын
Sorry about that my friend
@Smash-n-Grab
@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
@mmshilleh Ай бұрын
@@Smash-n-Grab Yes really this channel is me learning and teaching what I learn haha
@patipanpatisampita8321
@patipanpatisampita8321 Ай бұрын
Where is the react client video clip?
@mmshilleh
@mmshilleh Ай бұрын
Not sure
@bajich4350
@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
@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
@mmshilleh Ай бұрын
You can decrease or increase
@AmartyaMandal-ml9uq
@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
@mmshilleh Ай бұрын
I am pretty sure they do
@nizarhaidar5225
@nizarhaidar5225 29 күн бұрын
just create one and it will work
@szkarlatny_pumpernikiel
@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
@mmshilleh Ай бұрын
Hmmmmm youre vague, I cannot help you at all
@victoriwuoha3081
@victoriwuoha3081 Ай бұрын
Cheers @Shilleh. Great content + well explained.
@mmshilleh
@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
@mmshilleh Ай бұрын
Good question, to be honest, not sure you need to do your research sounds advanced lol
@saitama2978
@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
@mmshilleh Ай бұрын
@@saitama2978 too vague for me to help you
@user-rp1sv8gp6k
@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
@mmshilleh Ай бұрын
What error are you getting? Why don't you manually get the library, should work fine with the 9250
@user-rp1sv8gp6k
@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
@SojisWorld Ай бұрын
Does this work via ethernet?
@mmshilleh
@mmshilleh Ай бұрын
Yes it does but I think it uses a different IP Address
@ChantOfSpirit
@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
@mmshilleh Ай бұрын
Hmmm I am not sure, what chip is it? Where did you buy the board
@ChantOfSpirit
@ChantOfSpirit Ай бұрын
@@mmshilleh I found solution (rotation - turn over)
@RajveerSingh-vf7pr
@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
@mmshilleh Ай бұрын
This is true
@Rjay_71359
@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
@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
@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!
@mmshilleh
@mmshilleh Ай бұрын
@@brians7749 ❤️❤️❤️❤️ dont forget to subscribe :)