Detect Train and Close Window with Arduino and Webcam

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
68,774
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 6, 2011

Using a webcam, open-source motion detection software, and an arduino, I've created an automatic window closer for my bedroom windows. This is a demonstration of how it works.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 8 dislikes

Link to this comment:

Share to:

Top Comments

  • By the time the window closes the train will have passed lol.

  • 0:30 lotion and tissues. lo

see all

All Comments (59)

Sign In or Sign Up now to post a comment!
  • "It's whisper-quiet!" "WHAT??" "IT'S WHISPER-QUIET!!"

  • Really great. In my opinion you should use high power laser beam to alert the train passing even a few hundred meters earlier.

  • Nice. A little slow, but a nice build.

  • Neat ideal! Most windows are verticle but this is great for sliding windows. My advice for improvement is to put a simple pressure switch on the track and add a wireless kit to your Arduino. You could also put an audio sensor which would kick in way before the webcam sees the train... I have no doubts you can tweak the coding to respond only to the repetitive sound of a train. Really cool though!

  • genius!!

  • Thank you for sharing this! I am upset about people posting what's wrong without building a better solution, documenting it and or posting a video response showing how to impove your very good idea. Your video is helpful.

  • not sure if it would be legal but, you can wire the railroads to give you heads up long time before the train approaches.

  • When you hear the train coming, go and close the two windows. It would take less time and there would be no need for a special printer that makes plastic du-hickies and no need to put holes in your landlord's walls. If you need something to do, invent a robot to close the windows and it could also get beer. Then I'd buy one! Thanks for the video and I'm sorry to the person who is losing his company.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more