• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Image 1
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Image 2
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Image 3
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Image 4
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Image 5
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Image 6
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Image 7
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Thumbnail 1
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Thumbnail 2
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Thumbnail 3
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Thumbnail 4
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Thumbnail 5
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Thumbnail 6
MK4 ESP32-CAM with HomeAssistant integration 3D Printer File Thumbnail 7

MK4 ESP32-CAM with HomeAssistant integration

Piotr W avatarPiotr W

October 9, 2023

printables-icon
DescriptionCommentsTags

Description

The enclosure contains a buck converter and an esp32-cam. All the necessary parts you can see in the photo below. You can use any DC-DC buck converter up to 20x16x4mm and 5V or 3.3V output. There is enough room in the case for a small OPTIONAL heatsink (up to 9x9x3mm) to transfer heat from the esp32, there are also holes to ensure air movement. The pins are accessible externally to program the device directly in case of failure. Additional pins can be used for any purpose, e.g. to control the custom printer lighting. The power supply is connected to the motherboard, USE the RIGHT PAIR of power connectors, the left of them are for powering the heat bed and the voltage on them can be unstable. Use the wiring sleeve for the X axis motor to route the cables. SUPPORTS REQUIRED.

 

The shorter screws are M3x10, the longer one is M3x16.

 

OPTIONAL

 

The buck must be placed according to the picture, it must be pushed all the way under the cover. 

 

There is a hole in the arm to route the cable, I did not use it.

 

 

You will need a programmer and ESPHome software to prepare the chip. You can also use the Arduino IDE and share the video stream directly to Prusa Link/Connect (you can easly find how to do this). The code provides also a LED management (on/off). You will need to rotate video stream or card in HA, it is not possible in ESP.

Use the configuration appropriate to your chip. The following example is for the Ai-Thinker Camera (https://esphome.io/components/esp32_camera).

esphome:
  name: esp32-cam

#OPTIONAL
#esp32_camera_web_server:
#  - port: 80
#    mode: stream

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "USE YOURS"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

captive_portal:

esp32_camera:
  external_clock:
    pin: GPIO0
    frequency: 20MHz
  i2c_pins:
    sda: GPIO26
    scl: GPIO27
  data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
  vsync_pin: GPIO25
  href_pin: GPIO23
  pixel_clock_pin: GPIO22
  power_down_pin: GPIO32
  
  name: MK4_ESP32-CAM

# Flashlight
switch:        
  - platform: gpio
    name: "Flashlight"
    pin: GPIO4

 

 

License:

Creative Commons — Attribution — Noncommercial

Related Models

#3DBenchy - The jolly 3D printing torture-test by CreativeTools.se preview image

#3DBenchy - The jolly 3D printing torture-test by CreativeTools.se

CreativeTools profile image

CreativeTools

90,947

Important information sign for 3D printers / Wichtiges Hinweisschild für 3D-Drucker :) preview image

Important information sign for 3D printers / Wichtiges Hinweisschild für 3D-Drucker :)

Pat_S profile image

Pat_S

3d Printer Printing 3d Printer preview image

3d Printer Printing 3d Printer

JAJMWHungFamily profile image

JAJMWHungFamily

942

Self-Watering Planter (Small) preview image

Self-Watering Planter (Small)

parallelgoods profile image

parallelgoods

73,177

X, Y and Z calibration tool for IDEX / dual extruder / dual color 3D printers preview image

X, Y and Z calibration tool for IDEX / dual extruder / dual color 3D printers

Voxel3D_NL profile image

Voxel3D_NL

207

sign: don't touch my 3d printer preview image

sign: don't touch my 3d printer

Izzodesign74 profile image

Izzodesign74

642

All In One 3D Printer test preview image

All In One 3D Printer test

majda107 profile image

majda107

64,524

axes calibrage cube-xyz for 3d printers preview image

axes calibrage cube-xyz for 3d printers

H- printed profile image

H- printed

9

7