Sharp ir distance sensor


Results 1 to 4 of 4

Threaded View

  1. #3
    Join Date
    Oct 2009
    Location
    malaysia
    Posts
    3


    Did you find this post helpful? Yes | No

    Default sharp ir distance sensor

    Hi Alain,

    For the answer of your question;

    1.Yes,i have the Comparators module aboard the 4550 which is this 4550 have analog comparators on PORTA and another port.I will attach the picture of PIC18F4550.These 3 sensors were connected through PortA0 to PortA2.

    2. Actually i used TRISA.1=1 just for test one of my sensor either it is function or not.I used the TRISA=1 so that all my 3 sensors active but the problem was from the instruction of ADCON1.there seems like the sensors not funtion when i used only 1 ADCON1 to combine all of 3 sensors.
    Attached Images Attached Images  
    Last edited by hasnannordin; - 11th October 2009 at 04:23. Reason: attach the file

Similar Threads

  1. Need a cheap touch sensor idea.. here it is
    By mister_e in forum Code Examples
    Replies: 20
    Last Post: - 16th April 2016, 22:42
  2. Ultrasonic distance sensor with PIC16F84A
    By MrRoboto in forum mel PIC BASIC
    Replies: 3
    Last Post: - 29th June 2009, 09:01
  3. Need Help with GP2Y0A21 IR Sensor
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th January 2009, 11:51
  4. line follower - IR sensor
    By shirleyz in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th May 2008, 12:14
  5. distance sensor
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th January 2006, 10:37

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