Hello,
I’m working on a robot project for my university. Therefor I’m using Pololus ‘mini maestro 12’ to control some servos.
I use the script modus to run a self-written program. The programm should read two input pins and drive two servos. This works fine exept from one little (big) problem:
I have a strange conductivity between the input pins. When I connect one pin to 5V I get nearly the same voltage on the other input pin, too. But I can’t measure a resistance with a meter. I also tried it with different input pins with the exact same result.
When i use the ‘Step Script’-modus i read ‘1023’ on the pin that is connected with the power source and around
’1000’ (but not allways the same value which makes it difficult to define a threshold) on the other pin that is not connected. That means for the program that one times the ‘right’ pin detects a HIGH and another times the ‘wrong’ pin is seen as HIGH from my program.
At the moment I connected the power directly to the input pins without a pull-up- or pull-down-resistor. But i also tried it with resistors with the following result: Everything works fine in the ‘Step Script’-modus. I have 1023 on the connected pin and 0 on the not connected. The program is doing the right things. But when ich switch on the ‘Run Script’-modus, nothing happens. Either the connected pin nor the not connected one will be seen as HIGH from the program.
I’m working on this problem for hours and hours now but couldn’t fine an solution. I really need some help because the robot has to run next week.
I’m looking forward for an answer and a big thanks in advance.
Greeting from Germany
Michael