Servo automated iris - sg90 mod for esphome / Home Assistant

Remix for using an ordinary sg90 and control with esphome
79
347
0
1957
updated February 22, 2024

Description

PDF

Update:

Added .step and fusion360 source files

 

I plan to use this automated iris remix for my prusa enclosure and later to control my air exhaust system from the printers and laser cutter.

Using a 24 teeth spur gear instead of th 12 teeth, allows me to use an ordinary sg90 servo, which in turn, allows me to use esphome to control the servo.

This means I can easily open and close the iris from home assistant ;) on top of a push button to toggle the iris.

Materials needed : 

  • esp32
  • 5  m3 x 5mm
  • Servo SG90 (or similar)

Print:

5 * door_blade_final 
1 * spur-gear-107th-125mo-145at
1 * Spur Gear (24 teeth)
1 * baseplate-aperature-sg90

 

You can use one of the provided esphome examples to control this iris.

Run them with esphome to flash the firmware 

esphome-iris.yaml → this open and closes the iris on a press of the button

esphome-iris-ha.yaml → like above but requires to setup wifi and home assistant connection, allows to open/close the iris from home assistant

wiring for the esphome example provided 

servo signal → esp32:GPIO14
servo + → esp32: +5v (VIN)
servo - → esp32: GND

Button In: esp32:GPIO26
Button Out: esp32:GND

 

 

 

Tags



Model origin

The author remixed this model.

Differences of the remix compared to the original

This remix allows to use an ordinary sg90 servo instead of the continuous version of the original.

It also moves the servo to the other side, so it can be mounted e.g in the prusa enclosure.

I also use esphome to easily integrate with home assistant later.

License