View unanswered posts | View active topics It is currently Wed Oct 01, 2014 6:22 pm






Reply to topic  [ 6 posts ] 
Reset HTAngle on HT SMUX 
Author Message
Novice

Joined: Sun Feb 24, 2008 6:15 pm
Posts: 50
Post Reset HTAngle on HT SMUX
Hi,

Is it possible to reset the accumulated angle of a HTAngle plugged on an HT SMUX ? We need to reset it but we don't find the method.

Thanks.

Thibaud.

_________________
My Eurobot team website :
http://blog.mlrobotic.com/


My MOCs :
http://nxtgen.6mablog.com


Sat Apr 16, 2011 4:21 pm
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3223
Location: Rotterdam, The Netherlands
Post Re: Reset HTAngle on HT SMUX
It is not. You cannot send commands to a sensor connected to the SMUX. Only the read-only commands can be used. This is by design of the SMUX and not a limitation of the software :)

- 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]


Sat Apr 16, 2011 4:24 pm
Profile WWW
Novice

Joined: Sun Feb 24, 2008 6:15 pm
Posts: 50
Post Re: Reset HTAngle on HT SMUX
arrrrrrrrggg

It's a big problem for us... :(

_________________
My Eurobot team website :
http://blog.mlrobotic.com/


My MOCs :
http://nxtgen.6mablog.com


Sat Apr 16, 2011 4:42 pm
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3223
Location: Rotterdam, The Netherlands
Post Re: Reset HTAngle on HT SMUX
Can't you swap it out with another sensor that isn't on the SMUX?

- 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]


Sat Apr 16, 2011 4:46 pm
Profile WWW
Novice

Joined: Sun Feb 24, 2008 6:15 pm
Posts: 50
Post Re: Reset HTAngle on HT SMUX
we think about it...

Do you know the I2C adress of the SMUX, and the I2C adress of the HTAng?

We think that we could use the Mindsensor Splitter with the SMUX :

NXT->Splitter->SMUX

And connect an MSDIST to the splitter. With this configuration we can connect our two HTAng directly on S3 and S4.

_________________
My Eurobot team website :
http://blog.mlrobotic.com/


My MOCs :
http://nxtgen.6mablog.com


Sat Apr 16, 2011 5:00 pm
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3223
Location: Rotterdam, The Netherlands
Post Re: Reset HTAngle on HT SMUX
You may end up not being able to talk to either sensor due to the fact that both have pull-ups on their I2C lines. It's worth a shot, though. The I2C addresses are in the drivers, near the top of the driver files :) Look for "HTSMUX_I2C_ADDR" and "MSDIST_I2C_ADDR". Although, I am pretty sure the MSDIST uses a very different address from the SMUX.

- 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]


Sun Apr 17, 2011 12:58 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 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

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.