
MovieMaker
USA
Asked
— Edited

I know that this sounds crazy, but . .
I removed six working maxbotix EZ0s from the LEAF robot that I disassembled. They were all working.
I wired them as directed (no brainer.)
None of them worked. I hooked them to the ADC ports. I tried all ports and all sensors.
I tried several ways of wiring them. No soap.
I even tried them on Digital.
I am beginning to think my ADC ports are not working.
Thanks!
I need to regroup.
1) See the pin that is labelled GND? Plug that into the ground pin on adc0
2) See the next pin +5? Plug that into the 5V pin on port adc0
3) See the pin labeled AN? Plug that into the last open analog pin on adc0
Open the read analog value control in ARC.... set it for analog port adc0... Now read the values
Yes, good idea re-group.... Step back and think before you wire things up.... Wiring electronics seems to give you a lot of grief.... Just take your time and triple check your connections before applying power....
2) Are you sure your ezb3 is connected to ARC? A flashing LED on your ezb means it is not connected to ARC
I have 4 MaxBotix EZ1's, all of which work fine in analog mode...
I should have a pot in my toolbox.
thanks,
Mel
Use a 100k pot...that'll give you a little bit over a 180 degree turn....if you're trying to replicate a servo...I use that to read the positioning on my dc wormgeared motor...
The way I know that the ezb is connected, I operate the unit with the movement panel. If it goes forward, I know it is connected.
sorry.