Arduino based curtain automation
jwz.org
jwz.org
Unfortunately, he used reed relays to determine when the runner was at the end. After a few days the magnet fell off thanks to it being stuck with the wrong glue and the motor ran past the end and jammed with power applied. Inevitably the armature caught fire after a couple of minutes [1] and set fire to the curtains.
Cue visit one evening by the fire bridgade and his entire bedroom being burned out and angry parents and insurers...
[1] motors = dangerous ... http://www.youtube.com/watch?v=0o0SdmAwA7o
Edit: other misadventures we produced together (really need to put these on a web site as we have photos): lawn mower to stand up personal hovercraft (two broken fingers), radio controlled hovercraft bodged from above (sunk in middle of lake), rocket propelled grenade launcher (got bollocking from the police), RC plane missile launcher (set fire to grass), portable BBC micro (electric shock + fire), coil gun (remove metal swarf from finger at hospital) + more I can't remember off the top of my head.
Probably be in prison if we did it now. Hardware hacker culture has been going for a while now...
He's now a lab manager for a pharma research company so some of the hard lessons about safety must have stuck.
Props to anyone who tinkers; young, old, and anywhere in between.
Sounds like a pretty good argument for hackerspaces.
We could even get small cannons (which were awesome when using firework gunpowder and marbles) in our local one for £2 a pop.
We need them back!
We get "radio fairs" occasionally which are electronics meccas but even these are dying off.
The software part seems manageable, but I've been intimidated by the hardware component.
The hardest part would be mounting the electric motors to the windows. I don't know what type of windows you have, but if they are single pane windows, a linear actuator will do the trick. Mounting a linear actuator is very simple, and mostly requires two brackets (one at each end). Other potential issue I can foresee is the window lock. But you could use a strong servo to actuate the mechanism.
One big, big issue about your system would be security. In case of a fire, the system might not allow for windows to be used an escape route. Though this only counts if you live in a one or two story house.
Why don't you take pictures of the windows and shoot them over to my email address? I can help you figure out the hardware side of things. (:
I did a similar project to control a motorized ham radio antenna mount on my truck. The mount came with this really silly-looking [0] controller switch that looks like a Hello Kitty product. I didn't want to velcro that crap on the dash of my ex-British military Land Rover so I built this board [1] to control the motor. It uses the SN754410 H-bridge and a Atmel ATTiny2313 that I flashed with Arduino code. I'd be happy to share the source and PCB with you if you want, jwz.
[0] http://www.flickr.com/photos/69697531@N00/6236671758/in/phot...
[1] http://www.flickr.com/photos/69697531@N00/6643770831/in/phot...
But first you have to know that you can use an Arduino (pretty obvious). Then you need to know that you need a relay and what kind. And you need tools, connectors, enclosures, etc.
I agreed with some of what he said: getting started in hardware hacking can be expensive and complicated. But this is a side effect of how people get started these days. Jumping into hardware by building small radios (me at age 11) cost a few dollars and some scrounged parts and I slowly amassed tools and equipment over years. Jumping in by starting with microcontroller development immediately requires more money and equipment.
I assume this controller acts this weird way since it is supposed to plug into an X-10 system, and the only control in an X-10 system is to turn the power on or off. The obvious way to control it is to turn the power on to raise or lower, but without power, it's hard to maintain state to know whether you want to raise or lower. So instead, it is always powered on, and they use the on-off-on transition to trigger an action. About the typical level of hack for X-10 hardware.
If you aren't using an X-10 system, and want to manage the state yourself, all this is pointless, and I can see why someone would want to get rid of it.
http://www.amazon.com/Add-A-Motor-D80-Drapery-Motor-Existing...
Then again seeing how the hardware part jwz did do went for him, it's probably better he did get a purpose-built motor and microcontroller in a casing.
I'm excited about seeing support for this beginner to intermediate level project on here. Hopefully this will encourage more people to try their hand at hardware and share the results with the community. Maybe I'll start sharing some of my smaller hardware projects on here...
Of course the actual project is pretty cool too, but if it were by someone less known I don't think it would be frontpage material quite as easily.
Also, it's from January 2012.
It's because I have a house with an upstairs room that faces the sun in the afternoon, and closing the internal blinds helps but is not nearly as effective as external blinds, if there were any. However, since the room is not anywhere near reachable, my only option would be to have a hand-crank that goes through the wall. Ugh. Electronics to the rescue!
http://elinux.org/RPi_Expansion_Boards (search for relay)
I've done it on an RC car, works great.
And what's with your attitude?
You just posted a list of parts. No shit?
I've got stuff in production with this. As in running live TV automation systems.