Home/Support/Support Forum/urgent !! HC SR04 ultrasonic sensor connection with XBee(serie 2)

urgent !! HC SR04 ultrasonic sensor connection with XBee(serie 2)

0 votes
How do I make a connection with XBee(serie 2) hcsr04 ultrasonic sensors?
note:
parking sensors help you specify the source I'm so glad I'm working on a project?
thanks for everthing
asked Feb 15, 2016 in ZigBee PRO Featureset (and legacy ZNet 2.5) by ferhat New to the Community (7 points)
recategorized Apr 8, 2016 by michaelt

Please log in or register to answer this question.

2 Answers

0 votes
If you have a Digi XBee ZB Coordinator, make sure you set ZS=2 to maintain compatibility with 3rd party ZigBee Pro Featureset (ZigBee 2007) devices. The ZS=1 setting can be used to maintain compatibility with ZigBee 2006 if your sensor uses this older ZigBee stack.
answered Apr 8, 2016 by michaelt Veteran of the Digi Community (758 points)
0 votes
You would need to pass it through something like an RC circuit such as the one listed at http://knowledge.digi.com/articles/Knowledge_Base_Article/Converting-the-XBee-PWM-to-an-analog-voltage-for-DAC-Digital-to-Analog-Conversion/?q=analog+to+digital&l=en_US&fs=Search&pn=1

into the radios ADC input after then scaling it down to either 0 - 1.2v, 0 - 2.5v or 0 - 3V depending on which XBee module you use.
answered Apr 12, 2016 by mvut Veteran of the Digi Community (11,300 points)
...