|
Re: HC-SR04 Ultrasonic Distance Sensor wiring and programming
NI RoboRio Manual states:
DIO, PWM, and Relay Lines
The NI roboRIO provides the following DIO lines:
• 3.3 V general-purpose DIO lines on the MXP
• 3.3 V digital lines on the DIO, I2C, and SPI ports
• 5 V digital lines on the PWM and Relay ports.
HC-SR04 Specs State:
VCC = +5VDC
Trig = Trigger input of Sensor
Echo = Echo output of Sensor
GND = GND
Is the variation between 3.3v (roboRIO output) and 5v (sensor requirement) where the problem may lay?
Parameter Min Typ. Max Unit Operating Voltage
4.50 5.0 5.5 V
__________________
FridgeBot Inc
Providing robotic appliances since 2014!
|