Skip to the content
2 layers70 × 35 mmPicow motor driver, the printed circuit board in 3D

I made this for fun as well as to minimize nocturnal light bleed from my apartment's outdoor lights while allowing myself to wake up to sunlight in the morning.

Size
70 × 35 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
82
Pads
158
Tracks, vias
241, 36
Pours
11
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
11 Sep 2024
Updated
2 Aug 2025

Overview

Picow motor driver is an open-source printed circuit board by vsawce, from the vsawce/motorized-roller-blinds repository on GitHub. It is a 2-layer board of 70 × 35 mm with 21 parts on 82 nets, routed with 241 tracks and 36 vias.

It is built around the 10118194-0001LF. Its parts include 7 resistors, 4 diodes, 4 connectors, 3 switches and 2 ICs. It belongs with the robots and motor control boards and the RP2040 boards of this library.

Main components

1

README

README.md

Motorized Roller Blinds

A Raspberry Pi Pico W RP2040-based smart blinds project for my apartment.

I made this for fun as well as to minimize nocturnal light bleed from my apartment's outdoor lights while allowing myself to wake up to sunlight in the morning.

This system integrates with Home Assistant and MQTT, so a dedicated Home Assistant instance with the MQTT add-on is needed

Build / Upload Instructions

As of this markdown's commit

Linux

  1. Clone the pico-sdk and FreeRTOS-Kernel repos
    • Follow their instructions for setup
  2. If not done already, create the following system variables and assign them to pico-sdk and FreeRTOS-Kernel paths
    • Example in ~/.bashrc:
      text
      #PI PICO SDK
      export PICO_SDK_PATH=/home/<user>/pico-sdk/
      export FREERTOS_KERNEL_PATH=/home/<user>/FreeRTOS-Kernel/
    • source ~/.bashrc after
  3. Clone this repo
  4. cd into this repo's root directory
  5. mkdir build
  6. cd build
  7. Run cmake in this directory
    • Required options/arguments:
      • -DPICO_BOARD=pico_w
      • -DWIFI_SSID="<your_wifi_ssid>"
      • -DWIFI_PASSWORD="<your_wifi_pass>"
      • -DMQTT_CLIENT_ID="<custom_client_id>"
        • Should be a custom and unique ID for each Pico W device. You choose.
      • -DMQTT_USER=<"home_assistant_user">
        • Should be the helper user you created specifically Home Assistant for MQTT
      • -DMQTT_PASSWORD=<"home_assistant_pass">
        • Should be the helper user's password you created specifically Home Assistant for MQTT
    • Example call: cmake -DPICO_BOARD=pico_w -DWIFI_SSID="eduroam" -DWIFI_PASSWORD="abc123" -DMQTT_CLIENT_ID="picow_0" -DMQTT_USER="mqtt_test" -DMQTT_PASSWORD="xyz123" ..
  8. Ensure the following user-defined macros in the program are correct
    • definitions.h:
      • In namespace BLINDS, make sure your window height and blinds' shaft diameter is set accurately
      • In namespace PIN, make sure GPIO pins are set properly
    • wifi.h (may move these to definitions.h in the future):
      • MQTT_ADDR - point to the IP your Home Assistant is running on
      • MQTT_ADDR_PORT - point to the port your Home Assistant is configured to for MQTT
      • MQTT_POS_REQUEST_TOPIC - if you want to set a custom MQTT topic for position request (I use /blinds/<MQTT_CLIENT_ID>/pos_request)
      • MQTT_POS_JSON_KEY - JSON key string for Home Assistant -> Pico W blinds % position command (My example json: {"pos":"50%"})
  9. make main to build once all variables are set
  10. Copy src/main.uf2 into your Pico W and start a serial terminal!

Home Assistant Example Config

As of Home Assistant Core 2025.3.3 and Home Assistant Operating System 15.0

  • After installing MQTT add-on and creating a dedicated Home Assistant user for MQTT:
    • Settings->Devices & services->MQTT
    • Click the three dots next to the Mosquitto integration entry->Reconfigure
    • Ensure port is set correctly, and then add the dedicated MQTT Home Assistant user's credentials
    • Submit
  • Use something like the Studio Code Server add-on to edit /config/configuration.yaml (my current config):
    • text
      # Loads default set of integrations. Do not remove.
      default_config:
      
      # Load frontend themes from the themes folder
      frontend:
        themes: !include_dir_merge_named themes
      
      automation: !include automations.yaml
      script: !include scripts.yaml
      scene: !include scenes.yaml
      
      input_number:
        slider1:
          name: Bedroom Blinds
          initial: 0
          min: 0
          max: 100
          step: 5
      mqtt:
        - cover:
            name: Smart Blinds
            unique_id: smart__blinds
            command_topic: "/blinds/picow_0/command"
            position_topic: "/blinds/picow_0/pos_status"
  • Set up an automation with similar YAML:
    • text
      - id: <AUTO_ASSIGNED_BY_HOMEASSISTANT?>
      alias: Adjust Blinds Position
      description: ""
      triggers:
        - trigger: state
          entity_id: input_number.slider1
      conditions: []
      actions:
        - action: mqtt.publish
          data_template:
            qos: "0"
            topic: "/blinds/picow_0/pos_request"
            payload: "{\"pos\":\"{{ states('input_number.slider1') | int }}%\"}"
      mode: single

Parts

21
QtyValueFootprintReferences
4470Resistor_SMD:R_0603_1608MetricR1, R2, R3, R4
4LEDLED_SMD:LED_0603_1608MetricD1, D2, D3, D4
310kResistor_SMD:R_0603_1608MetricR5, R6, R7
3~Library:SW-SMD_L3.9-W3.0-P4.45SW1, SW2, SW3
110118194-0001LFLibrary:101181940001LFJ4
110nFCapacitor_SMD:C_0603_1608MetricC1
1Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
1Conn_01x04_PinLibrary:S4BXHALFSNJ3
1Conn_01x05_PinLibrary:S5B-XH-AJ2
1PicoLibrary:RPi_Pico_SMD_THU1
1~Library:SOIC-16_L9.9-W3.9-P1.27-LS6.0-BLU2

Similar boards

  • 2 layers189.5 × 204.9 mmSmartSpin2k Panelized, the printed circuit board in 3D

    SmartSpin2k Panelized

    doudar/SmartSpin2k

    Transform your spin bike into a Smart Trainer!

    749 parts292GPL-2.0
  • 4 layers70 × 70 mmAi camera, the printed circuit board in 3D

    Ai camera

    maxlab-io/tokay-lite-pcb

    Tokay AI Camera - ESP32 camera development board

    161 parts130CERN-OHL-P-2.0
  • 4 layers90.2 × 95.9 mmMainboard v04, the printed circuit board in 3D

    Mainboard v04

    pycubed/hardware

    Pycubed PC104 layout design files

    201 parts97
  • 4 layers32 × 23 mmKiCad Schematic, the printed circuit board in 3D

    KiCad Schematic

    DDeGonge/MultiUseBoard

    The MUB - An ultra-compact, modular processing unit

    43 parts64MIT
  • 4 layers100 × 100 mmV25Panel, the printed circuit board in 3D

    V25Panel

    maholli/SAM32

    Feather-sized SAMD51 with M4 core serving as UART bridge to WROOM ESP32

    211 parts43
  • 2 layers100.9 × 62.4 mmWnm mk 1 rev D, the printed circuit board in 3D

    Wnm mk 1 rev D

    Fabien-Chouteau/Wee-Noise-Maker

    Open source pocket synthesizer

    128 parts37GPL-3.0
  • 2 layers235.9 × 90 mmMK1, the printed circuit board in 3D

    MK1

    AdaCore/OPAVES

    Open Platform for Autonomous VEhicle Systems

    82 parts22
  • 2 layers144.9 × 59.8 mmMonkeys, the printed circuit board in 3D

    Monkeys

    PacketChat/MonkeyBadge

    This repository contains the hardware design files, badge code, and backend infrastructure code for the HushCon Winter 2023 badge.

    153 parts21

Questions

How big is the Picow motor driver PCB?

It measures 70 × 35 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Picow motor driver use?

21 parts, built around the 10118194-0001LF. 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 Picow motor driver KiCad files?

From the vsawce/motorized-roller-blinds repository on GitHub, at the commit this page was made from: the board is pcb/picow_motor_driver/picow_motor_driver.kicad_pcb and its schematic pcb/picow_motor_driver/picow_motor_driver.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Picow motor driver design in my own project?

Its repository states no licence, so its author keeps all rights: ask vsawce before reusing the design.