Skip to the content
2 layers130.5 × 39.5 mmBlind SleepyLoRa Slave, the printed circuit board in 3D

Blind SleepyLoRa Slave

Hootie81/SleepyLoRa24

SleepyLoRa Binds, A LoRa based solution for low power actuation of plantation shutters

Size
130.5 × 39.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
24
Pads
73
Tracks, vias
168, 10
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
1 Jun 2025
Updated
30 Sep 2025

Overview

Blind SleepyLoRa Slave is an open-source printed circuit board by Hootie81, from the Hootie81/SleepyLoRa repository on GitHub, published under the MIT licence. It is a 2-layer board of 130.5 × 39.5 mm with 17 parts on 24 nets, routed with 168 tracks and 10 vias.

Its parts include 6 resistors, 4 capacitors, 3 ICs and 3 connectors. It belongs with the radio and wireless boards and the ESP32 boards of this library.

README

README.md

SleepyLora Blinds System

A low-power wireless smart blinds system using LoRa to enable low power yet fast response to commands - 100% local control.

In July 2023 I set out the key requirements for the project

  • 100% local control - no 3rd party servers etc.
  • solar powered with up to 3days bad weather.
  • back driveable without breaking.
  • secure
  • be cheap

This system is 100% local, no external access required at all.

A 2.5w 380mm x 70mm thin film flexible panel is enough to keep a 2000mah battery fully charged with less than 2 hours a day of sun. the 2000mah battery lasts about 10 days with no panel connected.

Key design requirement was for the blinds to still operate by hand, so a mechanism was developed that disengages the motor from the actuator once the move command is complete. See disengage mechanism video

Position is sensed using a linear potentiometer thats connected to the actualing arm, so the blinds always know their position.

The actuators now use a PID controller to target a specified time for each move, this allows the motor to run significantly quieter and allows syncronsation of blinds with different operating forces/friction. All PID, PWM and timing settings are customisable.

All data packets are AES128 encrypted and hardened against replay attacks using 1 second interval TOTP, so no-one can open your blinds but you. Costs are kept low by using cheap modules form china, assembled onto custom PCB's and housed in 3d printed parts. The wired slaves are powered by the master, thus only a single battery and solar panel per system and a significant reduction in actuator cost too.

This project includes electronics designs, firmware, and 3D printable parts for a complete DIY solution.

This has been a couple of years in the making, and still very much a work in progress. If you find this project useful, please consider supporting my work:

Buy Me a Coffee

Your support helps me keep building and maintaining open-source projects like this. Thank you!


System

  • Gateway:
    Heltec Wireless Stick Lite V3, Connects to WiFi and MQTT, relays commands between Home Assistant and LoRa network. Exposes a web portal for configuration and security key generation

  • Master:
    Blind actuator with a Heltec Wireless Stick Lite V3, voltage booster, motor driver, position sensor and RS485 module. Powered from a single cell lipo battery or USB. Can supply power to and control multiple slave devices via RS485. Exposes a web portal for configuration and firmware updates. (via button press or mqtt command)

  • Slave:
    Blind actuator with an ESP32-c3 module, motor driver, position sensor and RS485 module. Powered by the Master Exposes a web portal for address configuration and OTA updates. (via button press or mqtt command) Connects to the master using a flat 6core telephone cable terminated with 4pin JST XH2.54 connectors


Features

  • Long-range LoRa wireless communication
  • Easy WiFi and MQTT Setup
  • Easy key generation and sharing
  • Home Assistant auto-discovery
  • OTA firmware updates
  • Configurable RS485 slave addressing
  • Easy Open/Closed position setting via web portal
  • PWM speed control with PID controller for quiet operation
  • Auto calibration feature for disengage mechanism
  • Low-power operation
  • 3D-printable hardware
  • Easy to assemble electronics
  • Open-source

Project Structure

  • 3d_prints/
    STL files for all mechanical parts

  • Electronics/
    KiCad schematics, PCB layouts, and Gerber files for the master and slave boards.

  • SleepyLoraGateway/
    Firmware for the LoRa gateway device. Handles MQTT, Home Assistant integration, and LoRa communication.

  • SleepyLoraMaster/
    Firmware for the master device, an actuator for one set of shutters, with the capability to power and control several slave devices via RS485.

  • SleepyLoraSlave/
    Firmware for the slave device, an actuator for one set of shutters and reports position/status.


Getting Started

  • Order all the parts/modules from Aliexpress, list in Electronics/
  • Order PCB/s using the KiCad files in Electronics/
  • Print and assemble the required parts from 3d_prints/
  • Solder the modules onto the PCB's
  • Install electronics in 3d printed base
  • Flash the appropriate firmware to each device:
    • Gateway: SleepyLoraGateway/
    • Master: SleepyLoraMaster/
    • Slave: SleepyLoraSlave/
  • Configure the Gateway
    • Connect to the SleepyLoraGateway AP (pw: blind1234)
    • Set the WiFi, MQTT and NTP server information.
    • Set LoRa Region
    • Generate keys and download them.
    • Save and reboot.
    • Gateway Connects to WiFi, MQTT and Sync's its time.
    • Gateway Publishes gateway metric discovery info and publishes data.
  • Configure the Master/s
    • Connect to the SleeplyLoRaMaster AP (pw: blind1234)
    • Load the keys file downloaded above
    • Set Open and Closed limits
    • Save and reboot
    • Master sync's time with gateway
    • Master transmits Device metrics and status to Gateway.
    • Gateway publishes Blind discovery info, subscribes to MQTT topics, and publishes data every 60sec.
    • Master will transmit device metrics and status every minute.
  • Check your HA MQTT integration, the Gatway, device and blind will magically appear after a minute or so.
  • Optionally - configure the slave/save
    • Connect the slave to the master
    • Press the reset button on the master
    • Master will scan for slaves on initial bootup
    • Master transmits slave status to Gateway.
    • Gateway publishes Blind discovery info, subscribes to MQTT topics, and publishes data every 60sec.
    • Open web portal via MQTT or from the master web portal
    • Set Open and Closed limits
    • Master will poll slave and transmit status every minute.
    • Optionally - if a second slave is required
      • press the "Open Web Portal" button on the slave device in HomeAssistant
      • Connect to the SleeplyLoRaSlave AP (pw: blind1234)
      • Change the slave number
      • Save to flash
      • Scan for slaves via the master's web portal (Or press the reset button on the master)
      • Master will rescan for slaves

Documentation

  • Each firmware folder contains its own README with build and usage instructions.
  • For wiring, assembly, and setup, see my videos on youtube or open an issue for help.

ToDo

  • Update slave firmware to use new motor controller library and updated web portal.
  • Add feature to get/set all blind settings via MQTT.
  • Design an enclosure to the battery and charger modules.
  • Make an injection moulding option for the plastic parts.

License

This project is open-source under the MIT License.
See LICENSE for details.


Credits


Happy hacking and smart shading!

Parts

17
QtyValueFootprintReferences
610KResistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_HorizontalR1, R2, R3, R4, R5, R6
4CCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1, C2, C3, C4
2Conn_01x04_SocketConnector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ3, J4
1Conn_01x04_SocketConnector_JST:JST_XH_B4B-XH-AM_1x04_P2.50mm_VerticalJ1
1ESP32SUPERMINI_ESP32-SUPERMINIesp32-c3:ESP32SUPERMINI_ESP32-SUPERMINIU2
1R_PotentiometerHeltec:linear_pot_128mmRV1
1~Heltec:drv8833_moduleU1
1~Heltec:RS485_3v3_moduleU3

More from Hootie81/SleepyLoRa

1
  • 2 layers130.5 × 39.5 mmBlind SleepyLoRa, the printed circuit board in 3D

    Blind SleepyLoRa

    Hootie81/SleepyLoRa

    SleepyLoRa Binds, A LoRa based solution for low power actuation of plantation shutters

    12 parts24MIT

Similar boards

  • 2 layers50 × 35 mmServo power, the printed circuit board in 3D

    Servo power

    earthtojake/text-to-cad

    Design physical products with AI

    17 parts26kMIT
  • 2 layers139.7 × 62.2 mmBreakout 60pin EEC IV, the printed circuit board in 3D

    Breakout 60pin EEC IV

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    17 parts1.2k
  • 2 layers29.2 × 55.9 mmDeniseadapter, the printed circuit board in 3D

    Deniseadapter

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    17 parts1kGPL-3.0
  • 2 layers24.5 × 36.5 mmCluster, the printed circuit board in 3D

    Cluster

    JesusFreke/lalboard

    A 3D-printed keyboard inspired by the DataHand

    17 parts993
  • 2 layers56.3 × 55.7 mmStarNecklace, the printed circuit board in 3D

    StarNecklace

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    17 parts915
  • 2 layers25 × 25 mmSmallEncoder, the printed circuit board in 3D

    SmallEncoder

    DDeGonge/OS-ARM

    This arm is not industrial and it will not be fast, but that is not my goal. But it will hopefully be a very nice looking arm fully capable of 6dof motion, cheap enough to keep it accessable but capable enough to…

    17 parts498MIT
  • 2 layers38.9 × 16.1 mmAmoeba spc, the printed circuit board in 3D

    Amoeba spc

    mtl/keyboard-pcbs

    Keyboard PCBs

    17 parts485
  • 2 layers36 × 51 mmABSIS ALE, the printed circuit board in 3D

    ABSIS ALE

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    17 parts431

Questions

How big is the Blind SleepyLoRa Slave PCB?

It measures 130.5 × 39.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Blind SleepyLoRa Slave use?

17 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Blind SleepyLoRa Slave KiCad files?

From the Hootie81/SleepyLoRa repository on GitHub, at the commit this page was made from: the board is Electronics/Slave/Blind_SleepyLoRa_Slave.kicad_pcb and its schematic Electronics/Master/Blind_SleepyLoRa.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Blind SleepyLoRa Slave design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).