hi sir,can i use esp32cam act as smart doorbell when someone presses the push button ESP32 cam will capture picture and send to firebase and save as same image name and the flutter able to display the lastest image from firebase
Hi Sir, I was able to connect with AWS but I couldn't get any publish image messages on AWS and serial monitor, what could possibly goes wrong. please help.
Hello, I've been following your tutorials on how to connect the esp32 cam to aws via mqqt, and got it setup working great. I also followed your tutorial for connecting to a phone via bluetooth to connect to wifi, and that works great independently. However, I've tried to combine the two, and if I even include the libraries for bluetooth, the device will then continuously fail to connect to aws via mqqt (even though it connects to wifi fine). Any ideas how to overcome this issue?
Well, I haven't been able to get WiFi and BT modules to work at the same time. I wonder if others have some ways to do it. www.reddit.com/r/esp32/comments/ic43fw/esp32_wifi_and_bluetooth_simultaneously/
Thanks. Yeah, I really don't even need to use them at the same time, I'm just using bluetooth for provisioning wifi/account info. But unfortunately it seems even just including the ble libraries breaks the mqtt functionality. Will probably have to switch to esptouch.@@ThatProject
Again Great Project Application of this project is very large. if possible plz make audio video streaming parallel. If anything I can contribute plz let know. Thanks for your efforts
Well, in my case I'm developing ESP32 with VS Code sometimes. There is the software development framework by Espressif so we can use it easily. Arduino development typically uses Platform.io in VS code.
Hi Eric, with the ESP32CAM being a publisher on MQTT, do you think I could stream the video to AWS Kinesis? If not, would you happen to know if it is possible using other methods?
Hi Eric, using ESP32Cam can able to send a video stream to AWS Kinesis video stream with help of WebRTC protocol. if possible can you make a video on that or if not possible any other alternative solution. to live stream because AWS IoT costs is very high compared to Kinesis. Thanks in advance. Love from India. keep it up your great work.
thanks for your tutorial , it works. When I setup buffer size to 1024 * 64 and frame_size = FRAMESIZE_UXGA to get larger image , my esp32cam reboots and doesnt work at all. Do you have the same problem? Have your ever tried to set the bigger image size?
A buffer size of the data you want to send is required. Unfortunately, the amount of memory available in ESP32 is not that large. This is why ESP32 continues to reboot because no matter how much you increase the buffer size, it cannot handle it. If you want to send a really large file, I recommend you process it in a different way than MQTT. This is because it's not the right use to handle large-sized files in MQTT. To transfer large data, you must cut the data to that size(chunk) based on the specified buffer size and then send it. And then it's used by joining them on the receiving end.
Nice project man, would be fucking nice if you create/test esp32cam with some kind of ptz with two servo motors, controlled remotely by mqtt, and/or even by websocket through local network...
That's very weird. It's like affecting the initialization of AWS depending on the camera module. I've never encountered a case like this. Are there any other suspicious things?
@@ThatProject thanks for replying. The cause was, I forgot to enable PSRAM in the tools. Everything is working now. Only thing is that client publish takes around 200 to 400 ms. But my net speed is fast. Is that normal in your end? Thanks a lot in your tutorials bro. Really learned a lot. Keep it up! 🙂
@@ThatProject Is it because I live here in Philippines and my ARN is Asia Pacific (Tokyo)? Sorry for late reply. But when I send like a 1 byte message, it only takes 1ms for publish to finish.
Hello Eric. Thank you for sharing this beautiful project. I implemented the project as you described but I am getting an error by aws. Do you have any suggestion about it? Unfortunately, I couldn't find a solution in other sources. Incoming message: { "format": "json", "payload": { "code": 415, "message": "Unsupported document encoding; supported encoding is UTF-8" }, "qos": 0, "timestamp": 1685084086555, "topic": "$aws/things/studentIoT/shadow/update/rejected" }
@@ThatProject Thank you for the answer. I just use the code you wrote for esp32cam. I did not make any edits for the json format. When I check the incoming data in aws iot, such a message comes up. I don't know if I need to make an edit in aws iot.
Thank you so much for the code breakdown/walkthrough!
Very few people do that and it was extremely helpful!
Thanks man! I hope you like the next one too.
Hey, great project. Appreciate your channel and the knowledge you're sharing.
Thanks!
Hi Eric, Thanks for this project, very well explained, easy to follow even for beginners, wish you all the best.
That Project's Channel - th-cam.com/users/ThatProject
Join FB Group - facebook.com/groups/138965931539175
hi sir,can i use esp32cam act as smart doorbell when someone presses the push button ESP32 cam will capture picture and send to firebase and save as same image name and the flutter able to display the lastest image from firebase
Hi Sir,
I was able to connect with AWS but I couldn't get any publish image messages on AWS and serial monitor, what could possibly goes wrong. please help.
another great project.. thx u
Hello, I've been following your tutorials on how to connect the esp32 cam to aws via mqqt, and got it setup working great. I also followed your tutorial for connecting to a phone via bluetooth to connect to wifi, and that works great independently. However, I've tried to combine the two, and if I even include the libraries for bluetooth, the device will then continuously fail to connect to aws via mqqt (even though it connects to wifi fine). Any ideas how to overcome this issue?
Well, I haven't been able to get WiFi and BT modules to work at the same time. I wonder if others have some ways to do it. www.reddit.com/r/esp32/comments/ic43fw/esp32_wifi_and_bluetooth_simultaneously/
Thanks. Yeah, I really don't even need to use them at the same time, I'm just using bluetooth for provisioning wifi/account info. But unfortunately it seems even just including the ble libraries breaks the mqtt functionality. Will probably have to switch to esptouch.@@ThatProject
@@kylecooper323 Yeah. In your case, ESP-Touch might be a good solution.
Again Great Project
Application of this project is very large. if possible plz make audio video streaming parallel. If anything I can contribute plz let know.
Thanks for your efforts
Haha. I'm trying to find out a way to do it. I hope I can handle it soon.
@@ThatProject Me too working on the same will figure out how to achieve the same there is also esp32 ADF framework
How do you use vscode for Arduino programming?
Well, in my case I'm developing ESP32 with VS Code sometimes. There is the software development framework by Espressif so we can use it easily. Arduino development typically uses Platform.io in VS code.
Hi Eric, with the ESP32CAM being a publisher on MQTT, do you think I could stream the video to AWS Kinesis? If not, would you happen to know if it is possible using other methods?
It doesn't seem easy to access directly from the microcontroller without official support from AWS.
Bro you might wanna zoom in to the part of code you are working on in future videos. It would help in understanding it more. Thanks for the video tho!
Ummm, I'll keep that in mind.
hello erik, in this project are you using the free version of aws IoT core?
I don't really remember, but I think I used free credit.
Hi Eric, using ESP32Cam can able to send a video stream to AWS Kinesis video stream with help of WebRTC protocol. if possible can you make a video on that or if not possible any other alternative solution. to live stream because AWS IoT costs is very high compared to Kinesis.
Thanks in advance.
Love from India.
keep it up your great work.
yo estoy en la misma, quiero enviar la esp32 por medio de AWS Kinesis
thanks for your tutorial , it works. When I setup buffer size to 1024 * 64 and frame_size = FRAMESIZE_UXGA to get larger image , my esp32cam reboots and doesnt work at all. Do you have the same problem? Have your ever tried to set the bigger image size?
A buffer size of the data you want to send is required.
Unfortunately, the amount of memory available in ESP32 is not that large. This is why ESP32 continues to reboot because no matter how much you increase the buffer size, it cannot handle it.
If you want to send a really large file, I recommend you process it in a different way than MQTT. This is because it's not the right use to handle large-sized files in MQTT.
To transfer large data, you must cut the data to that size(chunk) based on the specified buffer size and then send it.
And then it's used by joining them on the receiving end.
Nice project man, would be fucking nice if you create/test esp32cam with some kind of ptz with two servo motors, controlled remotely by mqtt, and/or even by websocket through local network...
and thinking about this, using some encoding with h264, or base64, or other better to increase the quality and framerate.
Hello Eric, at 8:52 is it possible if i want to access that data with Node-Red ? thanks
Sorry I have no idea about Node-Red.
Hello,
I cant connect to AWS IoT if I'll initialize the camera, and connect if I don't initialize the camera. Is this build configuration problem?
That's very weird. It's like affecting the initialization of AWS depending on the camera module. I've never encountered a case like this. Are there any other suspicious things?
@@ThatProject thanks for replying. The cause was, I forgot to enable PSRAM in the tools. Everything is working now. Only thing is that client publish takes around 200 to 400 ms. But my net speed is fast. Is that normal in your end? Thanks a lot in your tutorials bro. Really learned a lot. Keep it up! 🙂
@@DJ-et1ke 200ms? This is too slow Where is the bottleneck coming from???
@@ThatProject Is it because I live here in Philippines and my ARN is Asia Pacific (Tokyo)? Sorry for late reply. But when I send like a 1 byte message, it only takes 1ms for publish to finish.
Is working to see pictures anywhere in the world or locally
Hi where we can find app source code for same
The last video was updated. You can get it from here, th-cam.com/video/aY7i0xnQW54/w-d-xo.html
Is it publisher anywhere in the world or just local
Since it operates on a cloud server, it can be used anywhere there is an Internet environment.
Sir please make vedio with homeautomatio with aws flutter and esp32
I'll do it if I have a good chance. Thanks.
Good project
Hello Eric. Thank you for sharing this beautiful project. I implemented the project as you described but I am getting an error by aws. Do you have any suggestion about it? Unfortunately, I couldn't find a solution in other sources. Incoming message:
{
"format": "json",
"payload": {
"code": 415,
"message": "Unsupported document encoding; supported encoding is UTF-8"
},
"qos": 0,
"timestamp": 1685084086555,
"topic": "$aws/things/studentIoT/shadow/update/rejected"
}
Is your data format JSON??? Are you sure sending only image data from ESP32-CAM to the server?
@@ThatProject Thank you for the answer. I just use the code you wrote for esp32cam. I did not make any edits for the json format. When I check the incoming data in aws iot, such a message comes up. I don't know if I need to make an edit in aws iot.