text.skipToContent text.skipToNavigation

COVID-19 & Shipping Updates

We are currently experiencing an increased volume of online orders, along with delays and general congestion within our freight and logistic networks. Unfortunately, this is resulting in delays getting some of your orders delivered to you on time. Unaffected services are our FREE 1hr Click & Collect we encourage you to use this service if you need your order urgently. We also have a limited Express/Same Day delivery** service that (for a short time) will be offered at a discounted price of $5 per order.
In line with state guidelines, Jaycar company-owned stores in Metro Victoria, Greater Sydney & ACT will remain open for CLICK & COLLECT orders only. We thank you for your support as we continue to keep our community and stores safe.

Automatic Blinds Opener

Please see the attached Automatic-Blinds-Opener.zip for code files.

Let the power of the sun encourage you to get out of bed each morning with this curtain/blinds opener. We’ve made a little motor/solar panel combo that will automatically open your blinds at sunrise and close at sunset. We've also included a remote so you can open and shut them whenever you want.

Warning, this project is designed to attach and operate on your blind system, and as such, could possibly run the blinds too far and damage them without proper testing and calibration. Jaycar accepts no responsibility for what you do with your own blinds.

Remember to test first, and test often, while developing before you attach to your working blinds.

Bill of Materials

1YM2756NEMA stepper motor
1XC4427Infra-red receiver module
1XC3718IR Remote
1XC4428RGB LED module
1ZM90151.5V Solar panel
1XC4492Stepper motor controller
1XC4430Duinotech Leonardo

Our prototype from the picture also had the following, but you can use any case to fit it in:

1WC6028Jumper leads


AccelStepperMike McCauley1.58.0

Connection Table

2IN1Motor Controller
3IN2Motor Controller
4IN3Motor Controller
5IN4Motor Controller
5V+5VMotor Controller
GNDGNDMotor Controller
A1SIR Module
GND-IR Module
A0+Solar panel
GND-Solar panel
13RRGB LED module
12GRGB LED module
11BRGB LED module
GND-RGB LED module


This project is a lot more free-form than other projects, as you've got to set it up to connect to your own home blinds.

Stepper motor controller.

The stepper motor can be tricky to debug, so connect it up first and make sure that it operates normally.

looking directly at your stepper motor, you can see the 4 wires going left to right, what you want to do is connect them to MOTORA and MOTORB ( + and - ) for both, with the outside ones connecting directly and the inside ones crossed over.

Use the File->Examples->AccelStepper->Bounce should provide an easy way to test and make sure that it works correctly. Best case if you wire it wrong, is that it will spin the opposite way. If it doesn't spin at all, is weak, or just sits and vibrates, then you've got something wrong with the wiring, so double check the connections.

IR Receiver

Find a way to mount the IR receiver away from sunlight and so you can point the remote right to it. Thankfully due to the XC3718_codes.h file, it will not decode and try to run a faulty signal if it gets an interrupted source of IR such as from bouncing off the wall or etc.

Solar panel and RGB LED

These should be fairly obvious where to mount. RGB status LED is to indicate to you what it is doing, so you can have it fairly front-facing, or even try to diffuse the brightness with a panel or something so you can get a dulled status bulb.

The solar panel should be in direct sunlight, and will need to have leads soldered to it.

Connections to Blinds

Connection to blinds is probably the most difficult and "creative" part of this, as you've got to find a way to interface and everyone's set up is a little different. (if you manage to finish the project and connect it to your blinds, send us a picture to github@jaycar.com.au so we can show it off!)

Here's a few ideas to get you started:

  • ●   Windlass mechanism is often used in boats:

Using a large diameter barrel, you can wound a string around so that both ends of the string are coming out of the barrel, then when the barrel turns, it will pull on one side while giving slack to the other. This is perfect for tying string to the blinds if you do not want to deconstruct the mechanism on your blinds already.

You can use a hub to attach to the spindle of the stepper motor, and interface between either the Windlass barrel above, or connect to the spindle of the base of the rotary system, depending on what your set up is.

It's possible to mount the stepper motor ABOVE the blinds, and interface to the spindle shown in the picture above, through either a belt-drive or direct attachment

Another location to place it, placing a bottle-cap or gear set to the plastic mounting so it can move the bead-lead. My blinds at home actually have a rotary attachment, so a great idea would be to mount the hub YG2784 straight to it.

Windlass idea. this is a great way to have non-destructive attachment to your blinds system, as it adds another element which can act as a failsafe.


There is quite a few parameters that need to be calibrated, they are all in config.h with comments on how to use them.


When you first start up the machine it will not do anything because it needs to be configured.

●   Start it up and turn the blinds by hand until they are closed. then press channel
●   Use CH+ and CH- to drive the motor to the full open position of the blinds.
●   Press channel again to save your configuration.

Keys 0-9 will now do a percentage between close and open.

To configure the Solar Panel, use find_power.ino to find the maximum voltage your panel gives in a chosen spot, then put that in config.h

To home the machine, bring it to a fully closed position and press channel