Automatic Toilet Flusher


Closed Thread
Results 1 to 40 of 99

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Location
    Pennsylvania, USA.
    Posts
    130


    Did you find this post helpful? Yes | No

    Default

    Take a look at the Parallax website, they have some tutorials that you can download. One of them gives an example of using the Basic Stamp freqout command to drive an infrared emitter, and then collecting the signal if it is reflected back by an object in close proximity. The neat thing about their approach is that they demonstrate that by changing the modulated frequency you can determine a relative distance to the object. So, no one in the room, no reflection, someone approaches the toilet, wait, they leave, then gosub flush. I would suggest that you also monitor the temperature of the water feed line into the toilet. If unused, the water temperature will be close to room temperature. If you sense a drop in temperature while the infrared sensor senses someone close, or shortly thereafter, then that person flushed, (your fresh water should be colder,) and you don't waste any water flushing a second time.

    I'm sure that the infra-red information is in the 'Toddler' robot section of the Parallax site, and I think it appears in a few other places. You'll have to experiment to find the maximum range. Radio-Shack now carries some Parallax sensors, they have a passive infra-red motion sensor, I believe that it's only seven or eight dollars. Might be worth a look.

    Good luck!

    Jerry.
    If your oscilloscope costs more than your car...

  2. #2
    Join Date
    Jul 2007
    Posts
    67


    Did you find this post helpful? Yes | No

    Default

    That's kind of want to do

    What I want is just an IR sensor that reads when a hand has been passed by it and turns the servo all the way to the left (or right) and flushes the toilet.

    I made a drawing
    Attached Images Attached Images  

  3. #3
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Smile Infrared Proximity Sensor...

    Some ideas about this here:
    Infrared Proximity Sensor
    http://www.g9toengineering.com/AllSa...dproximity.htm

    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  4. #4
    Join Date
    Jul 2007
    Posts
    67


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Pic_User View Post
    Some ideas about this here:
    Infrared Proximity Sensor
    http://www.g9toengineering.com/AllSa...dproximity.htm

    -Adam-
    This is exactly what I am talking about

    but how hard would it be to interface with a PIC?

  5. #5
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Techbuilder,

    I really like your determination to build something. BUT, if they won't flush the toilet, what makes you think they'll wave their hand in front of a motion sensor that'll cause the toilet to flush? Here's an idea---get an under the carpet pressure pad and hook it up to an 12Fpic. Get a pretty pink toilet mat to pu over the pad. The system will sit in a WHILE/WEND loop until the USER is off the pad then it activates your solenoid to flush the toilet. Oh my gosh. I can feel the idea juices starting to flow. Is it exciting. Keep going and let us know your progress. I love this idea stuff.

    HTH,

    BobK
    Last edited by BobK; - 2nd February 2008 at 02:59. Reason: grammar check

  6. #6
    Join Date
    Jul 2007
    Posts
    67


    Did you find this post helpful? Yes | No

    Default

    I asked them would you at least wave your hand
    and they said they would.

    We don't have a carpet

    Plus I think the way I drew it would be the best solution
    to get them in the habbit

    Yelling does nothing

Similar Threads

  1. Automatic 240V / 110V selector
    By The Master in forum Off Topic
    Replies: 5
    Last Post: - 13th October 2008, 01:33
  2. LCD automatic management?
    By ruijc in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th September 2008, 12:24
  3. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 08:57
  4. Automatic turn off
    By AMay in forum Schematics
    Replies: 22
    Last Post: - 6th February 2006, 13:31

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts