hall effect sensor

Discussion in 'Embedded Systems and Microcontrollers' started by kamalsolimen, Oct 20, 2014.

  1. kamalsolimen

    Thread Starter New Member

    Oct 3, 2014
    18
    0
  2. Kermit2

    AAC Fanatic!

    Feb 5, 2010
    3,795
    951
    looks like you need a resistor between your supply line and your sensor output. the voltage/signal there would become an INPUT to your micro. rbo would then become an input to your circuit driving the LED
     
  3. kamalsolimen

    Thread Starter New Member

    Oct 3, 2014
    18
    0
    i try to add resistor in output senssor puls pin 10 ohm
     
  4. Kermit2

    AAC Fanatic!

    Feb 5, 2010
    3,795
    951
    10 is too small. should be about 1k or larger.
     
  5. Kermit2

    AAC Fanatic!

    Feb 5, 2010
    3,795
    951
    see photo
     
  6. kamalsolimen

    Thread Starter New Member

    Oct 3, 2014
    18
    0
    ok thanks i try , its like switch or restart pic16f877a
     
  7. Kermit2

    AAC Fanatic!

    Feb 5, 2010
    3,795
    951
    yes, sensor will be like a switch. using pic to output to led, the sensor will become an input to the pic.
     
  8. kamalsolimen

    Thread Starter New Member

    Oct 3, 2014
    18
    0
    thanks its working thanks thanks thanks alot
     
  9. Kermit2

    AAC Fanatic!

    Feb 5, 2010
    3,795
    951
    I'm pleased it worked. Thank you for posting and letting us know this. Many people do not follow-up and tell us how their problems are resolved.
     
    kamalsolimen likes this.
Loading...