OpenServo.com Forum Index OpenServo.com
Discussion of the OpenServo project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OpenServo V3 I2C Communication

 
Post new topic   Reply to topic    OpenServo.com Forum Index -> Software
View previous topic :: View next topic  
Author Message
BKoprinarov



Joined: 18 Feb 2010
Posts: 3

PostPosted: Thu Apr 08, 2010 5:24 pm    Post subject: OpenServo V3 I2C Communication Reply with quote

Hi,

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?

Best regards
Boris Koprinarov
Back to top
View user's profile Send private message
ginge
Site Admin


Joined: 14 Jan 2006
Posts: 1029
Location: Manchester, UK

PostPosted: Thu Apr 08, 2010 9:59 pm    Post subject: Reply with quote

Some devices shift the address. Try reading/writing 0x20 or scanning the whole bus to see if you get an ACK
_________________
http://www.headfuzz.co.uk/
http://www.robotfuzz.co.uk/
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    OpenServo.com Forum Index -> Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group