Joined: 18 Feb 2010
|Posted: Thu Apr 08, 2010 5:24 pm Post subject: OpenServo V3 I2C Communication
First of all, thanks for your help. So I had a problem with OSIF and OpenServo V3. The servo was not spinning. After 2 weeks testing, now I can control the OpenServo Board with the OSIF. The Problem was, first the PID values and then at initial state there was some peaks in the current and the board kept restarting. One capacitor between the VCC and the GND has solved the restarts.
Now I have other problem. I have connected the OpenServo board with our robot. The controlling chip in the robot is Infineon C167, but I cannot communicate with the servo. From the I2C master side, the i2c protocol and the communication are ok. I have tested them with some ultrasonic sensors. After measuring the signal with oscilloscope, the levels, voltage and the frequency are looking like the OSIF output.
Is there some initialization command/code for starting/turning on the OpenServo? At the moment I am only attempting to read form 0x10 (my OpenServo Address) the register 0x08, but I donít get ACK from the servo board.
Is the program for the OSIF (Version 2.1) open source? There I can find good examples, how I can communicate with the OpenServo.
I am trying to narrow the problem to hardware or software, but I have no idea how to do that. Can you give me some advice, what I have to look for?