Voice-Activated Window Shade

I was working with a woman who had lost the ability to open and close the window shade in her bedroom on her own. Being able to set a window shade’s position to let in sunlight when you want it or block outside light when you’re trying to sleep are really important. There are various motorized shades on the market but sometimes they are too expensive. What a present here is an affordable DIY alternative. NOTE: As always, with anything motorized it is important to have appropriate safeties in place to avoid damage or injury.

Here is a video of my initial adaptive-switch controlled prototype. The purpose of building this temporary setup was to get most of the details worked out in advance of an install at the user’s home. This is significantly preferred, but for some projects not always possible.

Here is a video of a first version installed in the user’s living space and setup for voice-activation via Amazon Echo.

Micro switches are used to allow the Arduino to detect when the shade is fully raised or fully lowered. In this way the Arduino should not go past the shade’s limits either due to user error or any error with the controls.

Here are some pictures of the micro switch setup of the prototype. Here some wire coat hanger is attached to the shade with gaffer tape and bent to make sure it hits both the upper and lower limit switch.

IMG_20160610_080253  IMG_20160610_080300

Here are some pictures of the micro switch setup at the user’s bedroom window. The plastic insert at the bottom of the shade is partially slid out of the right side to hit the limit switches.

IMG_20160617_144551  IMG_20160617_144600

I removed the latching mechanism in the shade so that its spring is always trying to pull the shade back up. That way, a single motor at the bottom can easily produce shade motion in either direction. For down, the motor simply winds the cord pulling the shade down. For up, the motor simply unwinds the cord and the shade’s spring pulls the shade up. Below are a series of pictures showing the result of opening up that end of the roller shade with pliers and pulling the latches out.

IMG_20160603_143232  IMG_20160603_143259IMG_20160603_213608  IMG_20160603_213740IMG_20160603_213849

For the motor I chose a 35 rpm worm gear motor. Worm gear motors can be self-locking under the right conditions, which in this case allows for holding the current shade position without using any power.

Here are some pictures of the initial prototype controller with adaptive switch jacks.

IMG_20160610_100255  IMG_20160610_100306

Here is a picture of the setup in the user’s bedroom on the floor underneath the window.

IMG_20160617_144537

In that setup, instead of switch jacks, the input pins on the Arduino are wired to a Photon (a WiFi enabled microcontroller board from Particle) which conveniently has a channel on IFTTT making it very easy to control with Amazon Echo via voice commands.

Screen Shot 2016-06-19 at 5.53.05 PM

 

One thought on “Voice-Activated Window Shade

  1. Pingback: Voice Activated Hospital Bed | Bob's Electronics Projects

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s