Making custom sensors: What would be the demand?

Discussion specific to the intelligent brick, sensors, motors, and more.
inxt-generation
Posts: 290
Joined: 03 Oct 2011, 00:06
Location: Gallifrey
Contact:

Re: Making custom sensors: What would be the demand?

Post by inxt-generation »

mattallen37 wrote:What pressure sensor are you using?
MPX5700DP
A.K.A. NeXT-Generation.
"A kingdom of heaven for RobotC now has recursion!"
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Making custom sensors: What would be the demand?

Post by HaWe »

the MPX5700DP looks like the one which Dexter is using for his own pressure sensor.
inxt-generation
Posts: 290
Joined: 03 Oct 2011, 00:06
Location: Gallifrey
Contact:

Re: Making custom sensors: What would be the demand?

Post by inxt-generation »

doc-helmut wrote:the MPX5700DP looks like the one which Dexter is using for his own pressure sensor.
Yeah, I mentioned that way back in the beginning. But, the pics are blurred on the site, so I can't see the part number. I think that this one is different, though. Dexter's is a max of 70 PSI while mine goes up to 101.5 PSI.
A.K.A. NeXT-Generation.
"A kingdom of heaven for RobotC now has recursion!"
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Making custom sensors: What would be the demand?

Post by HaWe »

1 more:
a QWERTY keyboard, with a looped-through i2c plug (optional disabled pullups )
(BTW
-OT -
is there an understandable reason why the i2c pullups have to be integrated into each single sensor, and not 1 pair of pullups for all into the NXC sensor ports...? )
inxt-generation
Posts: 290
Joined: 03 Oct 2011, 00:06
Location: Gallifrey
Contact:

Re: Making custom sensors: What would be the demand?

Post by inxt-generation »

doc-helmut wrote:1 more:
a QWERTY keyboard, with a looped-through i2c plug (optional disabled pullups )
(BTW
-OT -
is there an understandable reason why the i2c pullups have to be integrated into each single sensor, and not 1 pair of pullups for all into the NXC sensor ports...? )
I'm not sure what you mean by "looped-through I2C plug" but connecting a keyboard to the NXT has already been done: http://extremenxt.com/keyboard.html
A.K.A. NeXT-Generation.
"A kingdom of heaven for RobotC now has recursion!"
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Making custom sensors: What would be the demand?

Post by HaWe »

correct, I forgot about that, I remember I saw that some time before somewhere.
By "looped through" I meant sort of "chainable" to other i2c sensors.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Making custom sensors: What would be the demand?

Post by mattallen37 »

Over the past several years I have asked mindsensors for it a couple times. Since they didn't seem to have taken an interest in the idea, I added it to my project idea list.

I don't think you really want it to be chain-able, at least not in the way HiTechnic made the Tetrix controllers. Two NXT ports wired in parallel? Now that would be semi-practical, but why not just use a port splitter?

The reason for each sensor using pullups instead of the NXT, is probably that most (non-NXT) I2C devices are setup with pullups (either permanent or optional) on the slaves. I can't think of a technical or even a practical advantage for this practice, but there aren't many dis-advantages either (on an average I2C bus). It could also be due partly to Lego cutting costs; with each NXT kit they sell, they only ship 2 pullups (in the ultrasonic sensor) instead of 8 (if they were in each NXT sensor port).
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Making custom sensors: What would be the demand?

Post by HaWe »

of course a port splitter works, but the pullups on the custom sensor (keyboard, muxer, what ever) must be possible to be optional disabled.
A second plug on the sensor board (just looped-through or parallelized) would be very convenient though.
Alternatetively, if you have a series of sensors (all without any pullups on-board), you may plug a terminator (2 pullups) to the last one (like at SCSI device cables):

[NXTPORT]==[dev1]==[dev2]==[dev3]==[dev4]==[dev5]==[dev6]==[term]

By this, you may plug 2 different keyboards if one wishs (e.g., to play multiplayer games)^^
gloomyandy
Posts: 323
Joined: 29 Sep 2010, 05:03

Re: Making custom sensors: What would be the demand?

Post by gloomyandy »

I suspect the pullups are not on the NXT so that the sensor lines can be used for other (none i2c) purposes (like analogue input as used by the Lego color sensor)...
robotman2
Posts: 7
Joined: 28 Aug 2012, 04:52

Re: Making custom sensors: What would be the demand?

Post by robotman2 »

I think you should make a LCP (Lego Communications protocol) translator. The messages that are being sent over bluetooth for example (http://www.robotappstore.com/Knowledge- ... ms/92.html) can be pretty cryptic. It might be easier to make a translator device that could plug directly into the NXT.

You could also maybe make a data logger or something. Just some thoughts.

Robotman :P
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests