HW-488 infrared sensor not detecting properly



  • I’m testing the HW-488 IR obstacle avoidance sensor with my Arduino, but the readings are weird. Sometimes it doesn’t detect anything, even if I put an object really close. Do I need to do something with the EN pin, or should it just work with VCC, GND, and OUT?



  • @jaydenlord Probably you do. If you leave the EN floating, electrical noise could cause it to enable or disable randomly.

    Some enable pin require a HIGH, some LOW. Connect it to VCC to see if it works more consistently. If it doesn't detect, connect it to GND.

    If one of these works, then the part wasn't designed to be in a default state of enable.

    Let us know your results (I found this video

    OSD


Log in to reply
 

Suggested Topics

  • 3
  • 7
  • 12
  • 12
  • 9
  • 4

38
Online

11.6k
Users

11.2k
Topics

113.0k
Posts