Welcome, Guest. Please Login.
Surveyor Corporation Surveyor SRV-1
Home Help Search Login

Surveyor Robotics Forum

Welcome to the user support forum for Surveyor SRV-1 robots, SRV-1 robot controllers and SVS stereo vision systems. To register for this forum, please send an email to support@surveyor.com which includes your desired forum user name, your registration email address, and a brief explanation of why you wish to join, and we will create a forum account for you.

Please note that there is a Search button in the forum toolbar for forum topics. Another effective search method for the entire surveyor.com site is to use Google, e.g. "xyz site://www.surveyor.com" where "xyz" is the search topic.



Pages: 1
Send Topic Print
SRV-1 & I2C (Read 1000 times)
Marco
YaBB Newbies
*




Posts: 22
SRV-1 & I2C
02/04/12 at 12:50pm
 
Hi,
 
I'm trying to communicate with a slave MCU (Arduino) through the SRV protocol to the console software.
 
I have no trouble writing data to the MCU (Arduino) through the SRV protocol, the MCU recieves that successfully.
 
However if I try to read (request) a byte or word through the SRV protocol, my Slave MCU recieves a single byte cooresponding to the register address.  I'm sure that it's supposed to be a request, however for some reason the ISR for onRequest will not fire, only the ISR for onRecieve.  Does the SRV-1 require an ACK bit?  
 
Now I have managed to figure out that both use the 7bit I2C protocol, but is there any information about the I2C specifications used in the SRV-1?  I'm trying to figure out if this is the SRV-1 or the Arduino.
 
Thanks
 
Marco
Back to top
 
« Last Edit: 02/05/12 at 9:20pm by Marco »  
Email   IP Logged
anagnosz
YaBB Newbies
*




Posts: 12
Re: SRV-1 & I2C
Reply #1 - 02/07/12 at 3:49am
 
Hi,i suggest the following:
 
Firstly,check this http://www.robot-electronics.co.uk/acatalog/I2C_Tutorial.html , so you have an idea for the i2c protocol.Secondly,check your slave device to see the status of interupts regarding i2c.
Back to top
 
 
Email   IP Logged
Marco
YaBB Newbies
*




Posts: 22
Re: SRV-1 & I2C
Reply #2 - 02/11/12 at 8:31am
 
Thanks,
 
Is there a way to add a 5ms delay between the start and stop of the SRV-1?
 
Thanks
 
Marco
Back to top
 
 
Email   IP Logged
tjump
Global Moderator
*****




Posts: 412
Re: SRV-1 & I2C
Reply #3 - 02/12/12 at 9:30am
 
This is beyond my understanding of the system.
 
T. Jump
Back to top
 
 
  IP Logged
anagnosz
YaBB Newbies
*




Posts: 12
Re: SRV-1 & I2C
Reply #4 - 02/13/12 at 5:05am
 
Do you mean at the Start and stop sequence ?? I dont know that..
Back to top
 
 
Email   IP Logged
Pages: 1
Send Topic Print