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






Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
who wants to use a 2nd brick as a motor and sensormuliplexer 

additional nxt's as sensor and motor multiplexers
to use further nxt's as sensor and motor multiplexers to me is very desirable 54%  54%  [ 7 ]
this is desirable probably in future 23%  23%  [ 3 ]
undecided 8%  8%  [ 1 ]
I won't need this stuff ever 15%  15%  [ 2 ]
Total votes : 13

who wants to use a 2nd brick as a motor and sensormuliplexer 
Author Message
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post who wants to use a 2nd brick as a motor and sensormuliplexer
opinion poll:
who wants to use an attached 2nd (3rd, 4th, ...) brick as a muliplexer both for sensors and for motors?

this could be done by a RS485 transmission control protocol (network protocol), which gives access to all sensor values and motor controls of an attached 2nd (3rd, 4th, ...) nxt brick (S4 to S4 by a standard nxt cable).

This RS485 transmission control protocol (network protocol) is not available yet and is an eligible expansion which could be realized by the RobotC developers.

By this, e.g. 3 connected NXT bricks may give you access to
9 motors and
9 sensors
just in a like manner as if they all are attached to 1 single brick.

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Last edited by Ford Prefect on Tue Oct 14, 2008 4:45 am, edited 2 times in total.



Mon Oct 06, 2008 7:32 am
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: opinion poll: who wants to use a 2nd brick as a muliplexer
PS:
How I think it should be designed to work:

For an end user the network commands won't have to be visible, it might be sort of a black box
(though the network source code surely could be readable in an included header file or library):

SetMotor(2, motorA)=100
maybe could set (at the 2nd NXT) the 1st motor to 100 ,
and
myVar=GetSensorValue(3, S2)
could assign the sensor value (at the 3rd NXT) of the 2nd SensorPort to my local variable.

The network protocol will do the rest automatically.

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Last edited by Ford Prefect on Wed Oct 08, 2008 5:57 am, edited 1 time in total.



Tue Oct 07, 2008 5:27 am
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: opinion poll: who wants to use a 2nd brick as a muliplexer
hi, ladies and gentlemen!
you can't seriously tell me that you all are fully satisfied with just 4 sensors and 3 motors to build your robots with!
So what's on?
If you ever wanted to have more than just that:

This net protocol solves your problems!

GIVE YOUR VOTE, PLEASE!

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Tue Oct 07, 2008 12:20 pm
Profile
Rookie

Joined: Sun Sep 28, 2008 1:06 pm
Posts: 27
Post Re: opinion poll: who wants to use a 2nd brick as a muliplexer
I would just use bluetooth communication...

I want this sort of thing for the FIRST Tech Challenge competition but we aren't allowed two NXT microcontrollers :(


Tue Oct 07, 2008 1:54 pm
Profile
Rookie

Joined: Mon Oct 01, 2007 11:56 am
Posts: 7
Location: England
Post Re: opinion poll: who wants to use a 2nd brick as a muliplexer
What's wrong with http://mindsensors.com/index.php?module ... PAGE_id=79?

Don't know if it works yet, on order.


Tue Oct 07, 2008 2:07 pm
Profile WWW
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: opinion poll: who wants to use a 2nd brick as a muliplexer
basicxman wrote:
I want this sort of thing for the FIRST Tech Challenge competition but we aren't allowed two NXT microcontrollers :(


Don't you have higher claims?

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Tue Oct 07, 2008 2:24 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3225
Location: Rotterdam, The Netherlands
Post Re: opinion poll: who wants to use a 2nd brick as a muliplexer
quirkey wrote:
What's wrong with http://mindsensors.com/index.php?module ... PAGE_id=79?

Don't know if it works yet, on order.

It doesn't work with motors, unless you want all of them to run at once. Also, it will work with sensors only if you have set their I2C address to something unique. Most Lego certified sensors use the I2C address 0x02. So you'll need to configure the other two sensors on your splitter to something else, like 0x03 and 0x04 or something.

Regards,
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 Oct 07, 2008 4:45 pm
Profile WWW
Rookie

Joined: Sat Apr 19, 2008 11:51 am
Posts: 43
Post Re: who wants to use a 2nd brick as a motor and sensormuliplexer
hi,
to me, having more sensors and motors is an urgent "MUST"! :cry:


Wed Oct 08, 2008 8:53 am
Profile
Expert

Joined: Sun Sep 09, 2007 10:12 am
Posts: 116
Post Re: who wants to use a 2nd brick as a motor and sensormuliplexer
I am interested on work with RS485, and i like the idea of share, but...

The way to have more sensors, it's not with that. I and Ogait87, are using a new system, creating multiplexers.

That would be cheaper than use other nxt...

_________________
http://www.apcsguarda.com
My Project: http://www.robotc.net/forums/viewtopic.php?f=15&t=712


Mon Oct 13, 2008 5:12 am
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: who wants to use a 2nd brick as a motor and sensormuliplexer
but I also will need some calculating power on the 2nd NXT - above the multiplexer function.

And because I'm not able to develop and solder home brewed multiplexers,
and I don't have any electronic stuff for this,
and because I already have 2 NXT's (actually 3, but 1 is "temporarily not available")) :

I need the RS485 and a BT network protocol to use this multiplexer function, and most nxt users don't have your abilities.

And so it's not fair to vote "not needed" if you have the ability for own hardware !

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Last edited by Ford Prefect on Mon Oct 13, 2008 5:56 am, edited 1 time in total.



Mon Oct 13, 2008 5:25 am
Profile
Expert

Joined: Sun Sep 09, 2007 10:12 am
Posts: 116
Post Re: who wants to use a 2nd brick as a motor and sensormuliplexer
I understand your point of view.

Vote Changed.


The multiplexer would be a commercial product, in order to be cheaper than buy a NXT.

Don't worry, it would be available all EUROPE, and in EUROS =)

_________________
http://www.apcsguarda.com
My Project: http://www.robotc.net/forums/viewtopic.php?f=15&t=712


Mon Oct 13, 2008 5:46 am
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: who wants to use a 2nd brick as a motor and sensormuliplexer
@developers:
please give us the functionality of using a 2nd, a 3rd, and a 4th NXT in a RS485 network
- as a "remote"multiplexer for both all attached motors and sensors,
- so that both the motors can be controlled and all values can be read by all other connected NXT's
- and the "remote commands" are simple macros like
Code:
setRSMotor(NXT_ID, MotorPort_No, speed)
int _var = getRSSensor(NXT_ID, SensorPort_No)


80% of the users meanwhile say they need this urgently now or at least later

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Tue Oct 14, 2008 3:45 am
Profile
Rookie

Joined: Wed Oct 15, 2008 9:49 am
Posts: 1
Post Re: who wants to use a 2nd brick as a motor and sensormuliplexer
hello developers,
I have a robot with 2 nxt's, 2 drive motors, 3 grabber motors, and several distance, light, and touch sensors.
Having a connection between both nxt's would be very helpful.
I'll appreciate very much getting the multiplexer functionality.

Could you please give us feedback?


Wed Oct 22, 2008 2:52 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Jan 31, 2007 3:39 am
Posts: 299
Location: San Diego, California. USA
Post Re: who wants to use a 2nd brick as a motor and sensormuliplexer
Ford Prefect wrote:
@developers:
please give us the functionality of using a 2nd, a 3rd, and a 4th NXT in a RS485 network
- as a "remote"multiplexer for both all attached motors and sensors,
- so that both the motors can be controlled and all values can be read by all other connected NXT's
- and the "remote commands" are simple macros like
Code:
setRSMotor(NXT_ID, MotorPort_No, speed)
int _var = getRSSensor(NXT_ID, SensorPort_No)


80% of the users meanwhile say they need this urgently now or at least later



I say this falls under a fun community project, not something the developers should do for you.
Scott B-)

_________________
Mmmm Legos B-)

My Robot Projects:
http://www.freewebs.com/robotprojects/


Tue Nov 04, 2008 7:04 pm
Profile WWW
Expert

Joined: Sun Sep 09, 2007 10:12 am
Posts: 116
Post Re: who wants to use a 2nd brick as a motor and sensormuliplexer
probably you can use the ogaits code:

http://www.robotc.net/forums/viewtopic.php?f=1&t=697&start=105

it's a way to continue

_________________
http://www.apcsguarda.com
My Project: http://www.robotc.net/forums/viewtopic.php?f=15&t=712


Tue Nov 04, 2008 7:12 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 18 posts ]  Go to page 1, 2  Next

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.