United Kingdom
Asked — Edited

Unable To Use Motion Sensor

Hello,

I have just received my first EZ-Robot order and it was great to see how fast it was to get the camera up and running. Unfortuantely, my ultrasonic sensor does not appear to be working.

It looks like I have the same problem as here: https://synthiam.com/Community/Questions/6087&page=3

I can see the LED is on in the in-line voltage regulator and I've metered the digital control pins with a meter and see that I can set the values [ set (D10,on) for example), so it looks like the EZ-B is fine.

Can you help with confirming the green and white wire connections (which is signal and which is read) or let me know of anything else that I could be wrong? (The exchange department mentioned I needed to post here before going further)

Thank you, Dan


ARC Pro

Upgrade to ARC Pro

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

PRO
Canada
#9  

Hi @Zebrastripes

Quote:

Also I notice that sometimes servos and motors on the roli don't work until you play with the controls and then all is good again. Is this normal?

If you use the Roli with the ARC Example Project you'll notice that there is an initialization script that activates the H-bridge. If you start from scratch and don't include this kind of script you'll have to move the PWM sliders at least once to activate the H-Bridge functions.

#10  

Thanks Jeremie - that solves one of my problems because this is exactly what I have experienced ... many thanks!

PRO
Canada
#11  

Quote:

I can't get any of my ultrasonic sensors to work on D23 and D22 but they spring into life on D7 and D8.

I thought this was looked at by @DJ a little while back but yeah I've verified that the only 2 ports the ultrasonic doesn't work on are D22 and D23. I'm sure this is on his list of things to do already but it's a good reminder. Thanks @ZebraStripes for the heads up!

#12  

Thanks for confirming so quickly .. this is just something we can work around once we are in the know ... cheers, Chris

United Kingdom
#13  

Thank you for all your help. Unfortunately, my sensor still does not work., but everything else does.

I have some SRF08 sensors around, but they'd require doing a different control since they are strictly I2C driven.

United Kingdom
#15  

It looks like the problem is the in-line 5v regulator that came with the ez-bit is defective. Despite the red LED coming on, the output is a constant 0. Hooking the power up to another 5v power supply and my ultrasonic sensor is working fine!

PRO
Synthiam
#16  

good to hear - but very strange. Because the LED is powered by the output of the voltage regulator. Glad to hear you got it working on another supply. In the meantime, the wire must be damaged and not connected on the in-line 5v regulator (either the red or black wire). Because the LED gets its power from the +5 volt side, not the input side. This is because the input side is a varying voltage which we can't predict.