# Cost-effective, open-source light shutters with Arduino control

**URL:** <https://forum.microlist.org/t/cost-effective-open-source-light-shutters-with-arduino-control/2654>\
**Category:** Builders/Tools\
**Created:** [September 1, 2024, 2:40am UTC](https://forum.microlist.org/t/cost-effective-open-source-light-shutters-with-arduino-control/2654 "2024-09-01T02:40:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fischer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.microlist.org/fischer/32/1534_2.png) [@fischer](https://forum.microlist.org/u/fischer)\
**Post date:** [September 1, 2024, 2:40am UTC](https://forum.microlist.org/t/cost-effective-open-source-light-shutters-with-arduino-control/2654/1 "2024-09-01T02:40:38Z")

</div>

Microscopes generally employ shutters to limit light exposure for the safety of the samples or the user. Most commercial microscopes come with integrated shutters. For home-built instruments you can purchase external shutters (there are many options out there, but they can be quite expensive) or assemble your own. We have just published an open source, low-cost, general purpose shutter system based on various actuators (RC servos or solenoids). Several shutters are connected to an Arduino-based controller and the shutters can be controlled via a display, by serial commands via USB, or by electrical control lines.

 ![ShutterSystem](https://us1.discourse-cdn.com/flex020/uploads/microlist/original/2X/1/17f5404fdb85375e025fcb01ded15bb2da929e8a.jpeg)

We described this design in our open-access [HardwareX paper](https://doi.org/10.1016/j.ohx.2024.e00548). The associated design files are in the [Github repo](https://github.com/MCFLab/Shutter/) and include 3D print files for the actuator holders and cases, software for the Arduino, libraries for serial communication (C and python), and example graphical user interfaces for testing.

In the paper we provided instructions for a design with RC servos (very cheap, quiet, but relatively slow with a bit of timing jitter) and linear solenoids (faster and more deterministic, but quite a bit noisier). Since the paper came out, we have also tested the controller with rotary solenoids like these:

 ![RotarySolenoidShutter](https://us1.discourse-cdn.com/flex020/uploads/microlist/original/2X/c/c45e298a2a16963a7e7181f552d75ced3dd31d7c.jpeg)

These perform quite a bit better then servos:

 ![RotSolComparison_reduced](https://us1.discourse-cdn.com/flex020/uploads/microlist/original/2X/c/cf71260785b6c9cad7350ba7190e41daeb7dc021.jpeg)

However, rotary solenoids are a bit more expensive (~$60) compared to RC servos (~$5) and are a bit harder to get (only a few types of rotary solenoids are available in small quantities through distributors). In the [Github repo](https://github.com/MCFLab/Shutter/tree/main/Docs) we include a document that describes the operation with rotary solenoids in a bit more detail. Happy to answer questions here 🙂

---

<div class="post-metadata">

**Author:** ![P\_Tadrous](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.microlist.org/p_tadrous/32/862_2.png) [@P\_Tadrous](https://forum.microlist.org/u/P_Tadrous)\
**Post date:** [September 1, 2024, 9:19am UTC](https://forum.microlist.org/t/cost-effective-open-source-light-shutters-with-arduino-control/2654/2 "2024-09-01T09:19:34Z")

</div>

Hello @fischer and welcome to the forum.  
Thanks for making these tools available as open source and bringing them to our attention.

---

<div class="post-metadata">

**Author:** ![Deepansh\_Goel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.microlist.org/deepansh_goel/32/1835_2.png) [@Deepansh\_Goel](https://forum.microlist.org/u/Deepansh_Goel)\
**Post date:** [August 12, 2025, 4:11am UTC](https://forum.microlist.org/t/cost-effective-open-source-light-shutters-with-arduino-control/2654/3 "2025-08-12T04:11:14Z")

</div>

Hello @fischer , thanks for sharing this project. What is the model number of the servo used here?

---

<div class="post-metadata">

**Author:** ![fischer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.microlist.org/fischer/32/1534_2.png) [@fischer](https://forum.microlist.org/u/fischer)\
**Post date:** [August 12, 2025, 7:17pm UTC](https://forum.microlist.org/t/cost-effective-open-source-light-shutters-with-arduino-control/2654/4 "2025-08-12T19:17:35Z")

</div>

The design should work with most available servos, see this [servo database](https://servodatabase.com/) for a nice collection of servos with the most important specs. The ones we tested are listed in the paper in the Appendix in the BOM section:

- Small servo: Savox SH-0262MG. As of the time of manuscript submission, this item was discontinued. A replacement item is SH-0264MG at a price of $35.99 each. [https://www.savoxusa.com/products/savsh0264mg-super-torque-metal-gear-micro](https://www.savoxusa.com/products/savsh0264mg-super-torque-metal-gear-micro)
- Large servo: MG 996R at a price of about $5 each. 4-pack: [https://www.amazon.com/4-Pack-MG996R-Torque-Digital-Helicopter/dp/B07MFK266B/](https://www.amazon.com/4-Pack-MG996R-Torque-Digital-Helicopter/dp/B07MFK266B/)
- Large servo: HiTEC HS-322HD at a price of about $15 each. [https://www.amazon.com/Hitec-33322S-HS-322HD-Standard-Karbonite/dp/B0006O3XEA/](https://www.amazon.com/Hitec-33322S-HS-322HD-Standard-Karbonite/dp/B0006O3XEA/)

The first one is a small but fast servo, the last two are very common general-purpose servos.
