Motor on a roller blind - ESPHome version?

So I have now set up my project and I have tried multiple stepper motors. I believe I would need to setup some sort of Torque gear to improve

Does anyone have any good 3d prints that adds torque to my Nema 17 stepper motor?

How does this connect to the esp? :slight_smile:

Anybody know what I need to do in order to switch to the tmc2208 driver? I would like to quiet this thing down.

hello my system not working :confused: uln2003 and 28 BYJ-48. I can run nodemcu on usb. Can you help me ?

esphome:
  name: perde
  platform: ESP8266
  board: nodemcuv2

wifi:
  ssid: "xxxxxxx"
  password: "xxxxxxxx"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "xxxxxxxxx"
    password: "xxxxxxxx"

captive_portal:

# Enable logging
logger:


# Enable Home Assistant API
api:
  services:
    - service: control_stepper
      variables:
        target: int
      then:
        - stepper.set_target:
            id: my_stepper
            target: !lambda 'return target;'

ota:

web_server:
  port: 80 

cover:
  - platform: template
    name: "perde"
    id: perde1

    open_action:
      - stepper.set_target:
          id: my_stepper
          target: -700

    close_action:
      - stepper.set_target:
          id: my_stepper
          target: 700

    stop_action:
      - stepper.set_target:
          id: my_stepper
          target: !lambda return id(my_stepper).current_position;      

    optimistic: true  

stepper: #https://community.home-assistant.io/t/motor-on-a-roller-blind-esphome-version/116179/11
  - platform: uln2003
    id: my_stepper
    pin_a: D0
    pin_b: D1
    pin_c: D2
    pin_d: D3
    max_speed: 250 steps/s
    sleep_when_done: true    

    # Optional:
    acceleration: inf
    deceleration: inf

Adsız

new here and a quick Q…

how wide a roller blind can i realistic drive with a 28BYJ-48 (12V) and DRV8825?

i dont mind if they are slow as i will only use them when going to sleep and in the morning. and ocational when sun is in the way

i like your idea with the reed switch, how big a magnet did you need and how did you install it?

I used some small neodymium magnets I had pulled from some old magnetic phone flip cases. The key was placing the reed switch in a location which was close to where the magnets would end up.

I ended up going from a 28byj-48 motor to a NEMA 17 I had lying around - specifically for the 52" blind on my patio door - the byj skipped steps even with an additional 23:1 gearing added on to it. But now I’m waiting for some tmc2208 drivers in the mail because the a4988 driven NEMA 17 is just too loud.

oki, will thinker with it, the byj allows for a more wife friendly design, sadly the link for fusion360 that [pgote] gave is no longer allowing download

i live on first floor and our windows are the kind that can be flipped arround so the outside becomes inside when cleaning windows

use of power is also something to consider, not only will the blinds have to be easy to remove when doing cleaning, but also have to have enough juice so they do not run out every week. or i need to figure a way to give them constant power

1 Like

also i guess its not so much the width of the blind that is the problem but more the lenght, ie how much fabric that is on it

Perhaps consider adding a solar panel to charge the battery that runs the blinds?

its a rented flat so its limited to what i can do…

but then again i have not even calculated how big a battery i need to only charge it say every 2 months or every 6 month

Worry about the battery after you’ve built the mechanism? That way you can measure the watts required on each drop/raise and multiply to determine your power needs? Other option is to use a wall power supply - then the trick is to source some nice white wire to run the cable.

yep, there are so many options for how to mount these things that i have to sit and figure out which ones suit me best. Also thinker with the idea of using one 28BYJ-48 at each end so i do not run of out lifting power. also have the DRV8825 in mind

the most sad thing is that i had the fusion files for [pgote] holder but lost them and the link on thingiverse no longer allows download only display, so i’m busy building them up from scratch using the stl as a template

but my idea so far is to have one stepper at each end and run a white wire behind the blind from one side to the other and then have a small box at the window frame hidden behind a “fake” curtain. fake becase it will never be used but only be there for decorative purpose

They download just fine here,

the stl’s yes but not the fusion360 link

from the description:

I’ve thought of doing a wall-mounted version but I don’t have that need myself so instead I can share the source code. I’ve used Autodesk Fusion 360 in the design and you are welcome to download and modify it further as long as you give credits to the original. Download: https://goo.gl/zsPTnC

the mounting is kind of sorted, i found a thing on thingiverse that is just pressed in to the end of the roller blind tube

Modded it a bit so screw mounts are removed

made a small frame that should fit thight arround it.

one part is screwed in to the window frame, but on its own are not in the way for cleaning windows. the box with stepper will just slide in to it

and then the other part of the frame is slid sideways on to the first part of the frame

just need to integrate a reed tube or a switch

Funny enough, I’ve actually been toying with the idea of using two 28byj motors on one side, combining their efforts with a planetary gearing that ends up with a 3:1 reduction as well.

yeah, the reason why i place a stepper on each side is to make it simple, the tube of the roller blind will lock them together anyway. they will be both 12V and bipolar modded and i know that with a drv8825 they will be pretty silent, of course depends on speed and microstepping

1 Like

Just in case your interested in the idea (and don’t want to deal with any voltage drop issues with the wire going between the two ends of the blind).