Ultrasonic vs Infrared Sensors


| Ultrasonic | Infrared | |
|---|---|---|
| ๐ | Light conditions doesnโt matter | Easier to hide |
| No sound interference | ||
| ๐ | Sound interference | |
| Tend to be bulky and hard to hide | Tricky to use outdoors | |
| Close to |
A reed switch is another proximity sensor that will close in the presence of a magnetic field.