Hi,
i have an TPA81 sensor, which in addition to it’s temperature array sensor, provides the ability control a servo. The sensor is connected to socket 2 (I) on my cerbuino vis-a-vis a breakout board (the sensor is an I2C device and socket2 is the only socket that supports I2C). I’ve written the .netmf code to read the temperature and that works fine. Now i’m trying to get the sensor to control the servo…and there i’m running into some issues.
To rule out any issues related to the servo itself, I first tried the servo connected to to a digital pin on the cerbuino powered by the USB from my pC and that works fine…the servo rotates 0 to 180 degrees.
However, when i connect the sensor to the cerbuino and then try to drive the servo through the sensor, it behaves erratically. The problem is that the servo rotates only 90 in one direction only and in a very inconsistent manner…sometimes very jerky motion, and sometime very long pauses or random pauses.
Is this possibly due to the USB source not being able to provide a stable supply?
The sensor requires 5V.
The servo is a Hitec HS322 HD: http://www.servocity.com/html/hs-322hd_standard_deluxe.html and requires 4.8 -6v.
When i check the voltage at the servo when everything is connected (with USB from PC as power), i see about around 4.6v…so i’m thinking maybe its just not enough.
I haven’t been able to try a separate power source because all i have are 9.6v battery packs. i’ll probably pick a 6v up later in the week and give it a try…
If you have any suspicions regarding the issue or any advice, i’d appreciate it if you can share them w/ me.
thanks.