Automatic Toilet Flusher


Closed Thread
Results 1 to 40 of 99

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    67


    Did you find this post helpful? Yes | No

    Default

    Hey Pic_User or anyone

    Is it difficult to interface the that link that you gave me to a pic?

    All I want it to do is when it comes in contact, to rotate the servo all the way to the right or all the way to the left.

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


    Did you find this post helpful? Yes | No

    Smile Google....

    Quote Originally Posted by Techbuilder View Post
    Hey Pic_User or anyone

    Is it difficult to interface the that link that you gave me to a pic?

    All I want it to do is when it comes in contact, to rotate the servo all the way to the right or all the way to the left.
    Hi Techbuilder,

    search Google:
    IS471FE
    Find this (second hit):
    http://document.sharpsma.com/files/L...ce-opic_AN.pdf
    On this Sharp application note:
    Light Detecting Device-opic
    Search for:
    IS471FE
    Page 5 tells us:
    the parameters of the IS471FE
    Page 24 shows us the internal / external hook-ups of the IS471FE
    <IMG SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2326&stc=1&d=120200443 9">
    Mostly it looks like it will operate with 5V DC input.
    It has “open collector” output.
    It has a built in 10k “pull-up” resistor.

    so it LOOKs like you could use a circuit like this:
    <IMG SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2325&stc=1&d=120200428 1">
    Thanks to:
    Garrett Hamilton–Smith, Raihan Khondker, and Will Norris,
    School of Information Technology and Engineering, University of Ottawa
    http://www.g9toengineering.com/AllSa...dproximity.htm

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

  3. #3
    Join Date
    Jul 2007
    Posts
    67


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Pic_User View Post
    Hi Techbuilder,

    search Google:
    IS471FE
    Find this (second hit):
    http://document.sharpsma.com/files/L...ce-opic_AN.pdf
    On this Sharp application note:
    Light Detecting Device-opic
    Search for:
    IS471FE
    Page 5 tells us:
    the parameters of the IS471FE
    Page 24 shows us the internal / external hook-ups of the IS471FE
    <IMG SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2326&stc=1&d=120200443 9">
    Mostly it looks like it will operate with 5V DC input.
    It has “open collector” output.
    It has a built in 10k “pull-up” resistor.

    so it LOOKs like you could use a circuit like this:
    <IMG SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2325&stc=1&d=120200428 1">
    Thanks to:
    Garrett Hamilton–Smith, Raihan Khondker, and Will Norris,
    School of Information Technology and Engineering, University of Ottawa
    http://www.g9toengineering.com/AllSa...dproximity.htm

    -Adam-
    Thanks, would it be hard to compile a code to detect using this method?

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


    Did you find this post helpful? Yes | No

    Default like a push button

    Hi Techbuilder,

    You could consider the module like a push button. Your program would need to watch for a low or 0 (zero) to know someone / some thing had come close to the sensor module.

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

  5. #5
    Join Date
    Jul 2007
    Posts
    67


    Did you find this post helpful? Yes | No

    Default

    Ohh ok

    I get it

    So if I want to change the range to about 6 inches would that be done by changing the resistance to the IR leds?

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


    Did you find this post helpful? Yes | No

    Default

    That web page said "approximately 15cm". I had to use an on-line calculator because I am an old phart, and it said almost 6 inches (5.9").
    Ohm it's not just a good idea... it's the LAW !

  7. #7
    Join Date
    Jul 2007
    Posts
    67


    Did you find this post helpful? Yes | No

    Default

    Cool

    thanks I appreciate it

    and I appreciate everyone else helping me

    Well I am going to order that Sharp IS471FE and then write a program
    well try and then post my progress.

    Thanks everyone


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