Notifications
Clear all

ESP32 Cam Support  

Page 1 / 4
  RSS
Jove
 Jove
(@jove)
Membre
ESP32 Cam Support

I am really wanting a camera on the MK4 that is not PrusaConnect nor Octoprint. I am thinking of using an ESP32 Cam receiving serial data from the usb-c port initiated from custom layer change GCODE. Upon that command it will snap a picture.

I saw on another thread that the usb-c does not deliver power 🙁 I'll have to figure out that wiring.

Is this feasible? Is Prusa going to provide a similar solution?

Publié : 03/06/2023 9:08 pm
Cyril Ed a aimé
Cyril Ed
(@cyril-ed)
Membre
RE: ESP32 Cam Support

I read somewhere, it was on the plan to add an ESP32CAM to be a camera for prussa connect, but i think is not the first priority on the tasks

Publié : 26/08/2023 5:18 pm
Witties
(@witties)
Eminent Member
RE: ESP32 Cam Support

Maybe this is an option

Posted by: @jove

I am really wanting a camera on the MK4 that is not PrusaConnect nor Octoprint. I am thinking of using an ESP32 Cam receiving serial data from the usb-c port initiated from custom layer change GCODE. Upon that command it will snap a picture.

I saw on another thread that the usb-c does not deliver power 🙁 I'll have to figure out that wiring.

Is this feasible? Is Prusa going to provide a similar solution?

 

Publié : 26/08/2023 7:19 pm
johnyHV
(@johnyhv)
Active Member
RE: ESP32 Cam Support

This is my project. It's not great, but works. It's ESP32-CAM with connection to prusa connect

https://github.com/johnyHV/PrusaConnect_ESP32-CAM

Posted by: @jove

I am really wanting a camera on the MK4 that is not PrusaConnect nor Octoprint. I am thinking of using an ESP32 Cam receiving serial data from the usb-c port initiated from custom layer change GCODE. Upon that command it will snap a picture.

I saw on another thread that the usb-c does not deliver power 🙁 I'll have to figure out that wiring.

Is this feasible? Is Prusa going to provide a similar solution?

 

Publié : 19/09/2023 6:17 am
Fäbu a aimé
Rainer
(@rainer-2)
Reputable Member
RE: ESP32 Cam Support

That sounds really good. Is this  module the right one?

Publié : 19/09/2023 1:06 pm
Rainer
(@rainer-2)
Reputable Member
RE: ESP32 Cam Support

How did you connect the camera to the power? Does it make sense to permanently use the programmer board to power it via USB?

Publié : 19/09/2023 1:20 pm
johnyHV
(@johnyhv)
Active Member
RE: ESP32 Cam Support

Yes, your module is correct.

Currently I use programmer board and micro USB connector for power supply. But it's possible use  5V power supply (maybe from USB charger) and connect wire just to board. But for me is very intersting this 3D case (or idea from case) https://www.printables.com/cs/model/191577-esp32-cam-housing

Maybe is possible use 5V from printers board. But I didn't research it, and I didn't want to interfere with the printer's board. If the ESP32-cam module fails, I could damage the base of the printer board. I do not like this idea

Publié : 19/09/2023 6:54 pm
Rainer a aimé
Rainer
(@rainer-2)
Reputable Member
RE: ESP32 Cam Support

Thank you @johnyHV 👍 

The cam should come tomorrow. Then I'll see how far I get. I don't have much experience with Arduino. I will definitely post the result here.

 

Publié : 19/09/2023 7:03 pm
johnyHV
(@johnyhv)
Active Member
RE: ESP32 Cam Support

You are welcome. Please use app with WEB interface, so ESP32_PrusaConnectCam_web . When you have a problem with compilation, please contact me. But I think, manual is step by step and very simple

Publié : 19/09/2023 7:43 pm
Rainer a aimé
Rainer
(@rainer-2)
Reputable Member
RE: ESP32 Cam Support

I wanted to use the Arduino Web Editor. Does it fit?

I also installed the current Arduino IDE, something will work.

I've already worked through the instructions, but everything isn't clear to me yet. To do this I first have to have the module.

Publié : 19/09/2023 7:56 pm
johnyHV a aimé
Rainer
(@rainer-2)
Reputable Member
RE: ESP32 Cam Support

The module arrived today and it was immediately tried.

There were a few problems with compiling at first, but everything is solvable (if you also install all libaries 😜 ). I have used the web variant. I then also realized that not arduino web was meant 😇 

All in all it works. For monitoring it is enough and it is cheap.

The module itself makes some problems. It is two meters away from the router and still problems with the reception.Let's see how it works permanently.

With Prusa connect it seems to go. If you call the settings page it goes forever and sometimes not at all.Maybe I order a module with antenna at aliexpress.

In any case, thank you for making available. 👍 

A small suggestion. I was more confused by the two possible versions.After the web version is better anyway it would be beneficial to explain only this.

Publié : 20/09/2023 6:43 pm
johnyHV a aimé
Rainer
(@rainer-2)
Reputable Member
RE: ESP32 Cam Support

Today I connected 5V directly to the board. So the wifi is much better and the whole thing runs smoothly. Connection to Prusa Connect is flawless.

I am very satisfied with the way it works. 😀 

Publié : 21/09/2023 10:33 am
Ckobar
(@ckobar)
Trusted Member
RE: ESP32 Cam Support

hi guys, i need help. ist about 6 hours now. and i can't figure it out.

i am totally  new to arduino  🙂

so. i got the module, as shown above, installed the ide on my mac. i choose the "AI ESP32 thinker cam  board".

added the "https://raw.githubusercontent.com/espress..." line

installed the 3 libraries 

i uploaded a test "wifiscan" as a test and that worked,

But: what do i do with the downloaded esp32-2.0.13.zip file ? 

And then:? I start a new sketch, include the 3 libraries ?

 

but where do i see the sourced you are talking about. "wifi credentials tokens et."  ( i know what you are doing on the Prusa webpages.

I know it's annoying to describe it to a total newbie. But......   maybe.

Thanks

Publié : 23/09/2023 10:58 pm
Rainer
(@rainer-2)
Reputable Member
RE: ESP32 Cam Support

You have installed the Arduino IDE and the three libraries and can open AI Thinker ESP32?

Now go to the Prusa Connect page and click on "Camera".Now select "Add new other camera".Copy the token of the new camera.

Download the whole folder from johnyHV on github and unzip it.

You go to Arduino IDE and open your board "AI ESP32 thinker cam".Now go to File/Open/your unzipped folder/ESP32_PrusaConnectCam_web/ESP32_PrusaConnectCam_web.ino.

Now enter your wlan data.

After that you transfer to your board.

In your router you can see which IP address the camera has.

You call this in the browser and copy your token into the field below and save.

Restart everything again and it should work.

Publié : 24/09/2023 7:30 am
Ckobar
(@ckobar)
Trusted Member
RE: ESP32 Cam Support

hi rainer, thanks for your help. i hardly dare to ask. (GitHub is totally new to me too)

wich folder do i have to download ?

sorry !

Publié : 24/09/2023 10:33 am
Rainer
(@rainer-2)
Reputable Member
RE: ESP32 Cam Support

https://github.com/johnyHV/PrusaConnect_ESP32-CAM/archive/refs/heads/master.zip

Publié : 24/09/2023 10:38 am
Ckobar
(@ckobar)
Trusted Member
RE: ESP32 Cam Support

wow, that was fast. Thank you very much for your patience 🙂

christian

Publié : 24/09/2023 10:42 am
Ckobar
(@ckobar)
Trusted Member
RE: ESP32 Cam Support

Thanks again very much. It is working now.

if one knows the steps. its quite easy. Didn't even had to bother with the certificate 🙂

Publié : 24/09/2023 1:49 pm
Ckobar
(@ckobar)
Trusted Member
RE: ESP32 Cam Support

Ps. Did you connect the 5v through the usb-c port on the buddyboard 

Publié : 24/09/2023 5:45 pm
Rainer
(@rainer-2)
Reputable Member
RE: ESP32 Cam Support

No I do not want that. I have it connected to an old smartphone charger.

Publié : 24/09/2023 6:07 pm
Page 1 / 4
Partager :