Questions tagged [distance]

5 questions
3
votes
2 answers

Is an Ultrasonic Sensor or Infrared Sensor better for measuring distance (to/from a human body)?

I'm trying to make a sensor to detect that a person is within 50cm to trigger a function. But when I use the HR-SR04 sensor, it works accurately on flat surfaces (e.g. walls, books) with a margin of error around 5cm, but not on uneven surfaces (e.g.…
1
vote
0 answers

Unable to read the sensor data from all the sensors connected

I am trying to build a project where I have connected 8 Sparkfun TOF Sensors to an I2C MUX which is connected to a Sparkfun RedBoard. I need to read and display the data from each sensor on the serial monitor right now and later on an OLED Display.…
user90726
  • 19
  • 1
1
vote
0 answers

can we use TCRT5000 sensor instead of IR proximity sensor?

I am planning to make a human following robot which requires two IR proximity sensors. I already have two TCRT5000 sensor. Can I use it instead of it?
cOde_monkey
  • 31
  • 1
  • 3
1
vote
0 answers

What module should I use for high precision localization?

I have a toy car and I want to measure the coordinates/location of that car in my house. It need to bee high precision equipment so GPS won't work here. My precision requriments is 5+- cm and the distance is like 10-20 meters as maximum raduis. What…
euraad
  • 111
  • 2
0
votes
1 answer

Ultrasonic sensor showing random readings

I am using a HC-SR04 ultrasonic sensor to measure the distance using an Arduino Uno. When I run this code which is worked perfectly in the previous, it only shows just random readings in the serial monitor. the sensor is little old and there is good…
Y_Jay
  • 3
  • 2