Sunday, February 3, 2013

Measuring

Measuring the distance
The interference between the sensors was solved by adding a npn transistor on the powersupply for the Sharp sensor.
The npn transistor shuts down the sharp sensor when its time for the sonar
When removing the power on the Sharp sensor the sonar can measure properly. But I did not anticipate that the Sharp sensor would need so much time to start up i added a delay based on the datasheet. (delay(38+10+6); )

No comments:

Post a Comment