|
Page 1 of 1
|
[ 7 posts ] |
|
Controlling Devantech SD21
Author |
Message |
rosg86
Rookie
Joined: Sun May 12, 2013 10:15 pm Posts: 4
|
 Controlling Devantech SD21
Hi, I'm new here. And I need some help. I'm trying to control de Devantech SD21 using NXT. Here is what I've done so far: No reaction... servo simply dont move. I'm using 2 x 47k resistors as pullups for SDA and SCL.
|
Sun May 12, 2013 10:20 pm |
|
 |
mightor
Site Admin
Joined: Wed Mar 05, 2008 8:14 am Posts: 3654 Location: Rotterdam, The Netherlands
|
 Re: Controlling Devantech SD21
You definitely need to send both high and low bytes at the same time, not in two transactions. As for pull-ups, 82K may be more suitable, YMMV. = Xander
_________________| Professional Conduit of Reasonableness| (Title bestowed upon on the 8th day of November, 2013) | My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
Mon May 13, 2013 1:47 am |
|
 |
rosg86
Rookie
Joined: Sun May 12, 2013 10:15 pm Posts: 4
|
 Re: Controlling Devantech SD21
=/
I did it. Changed the Resistors but... no success...
I think I am misusing the registers... but I dont know... gonna research more...
|
Mon May 13, 2013 7:07 pm |
|
 |
rosg86
Rookie
Joined: Sun May 12, 2013 10:15 pm Posts: 4
|
 Re: Controlling Devantech SD21
Aaaaarrrgghhhh
No success!
Any ideas?
|
Tue May 14, 2013 7:06 am |
|
 |
mightor
Site Admin
Joined: Wed Mar 05, 2008 8:14 am Posts: 3654 Location: Rotterdam, The Netherlands
|
 Re: Controlling Devantech SD21
Do you have a protocol analyser or something like that? They can really help to track down issues.
= Xander
_________________| Professional Conduit of Reasonableness| (Title bestowed upon on the 8th day of November, 2013) | My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
Tue May 14, 2013 7:17 am |
|
 |
rosg86
Rookie
Joined: Sun May 12, 2013 10:15 pm Posts: 4
|
 Re: Controlling Devantech SD21
No I dont have.
Suggestions?
I will google for information.
|
Tue May 14, 2013 11:21 am |
|
 |
mightor
Site Admin
Joined: Wed Mar 05, 2008 8:14 am Posts: 3654 Location: Rotterdam, The Netherlands
|
 Re: Controlling Devantech SD21
Try to make it work with the I2C test program in ROBOTC first, so you can rule out code issues.
= Xander
_________________| Professional Conduit of Reasonableness| (Title bestowed upon on the 8th day of November, 2013) | My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
Tue May 14, 2013 11:41 am |
|
|
|
Page 1 of 1
|
[ 7 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
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 post attachments in this forum
|
|