Making custom sensors: What would be the demand?

Discussion specific to the intelligent brick, sensors, motors, and more.
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

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

Post by HaWe »

yes you're right! The FT controller uses it's ARM9 directly without any co-processor in between.
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 »

mightor wrote:The difference is that the FT controller probably uses hardware I2C and the NXT uses a bit-banged approach for the sensor ports. The hardware I2C on the ARM7 chip in the NXT is used to communicate with the ATmega. It was a design trade-off, I guess.

- Xander
What!? You mean, LEGO has faked us out!? :o Ungenuine protocol :shock:

To quote GLaDOS "No! NO! NO! AAAAAAAAAAAAAAA-"
A.K.A. NeXT-Generation.
"A kingdom of heaven for RobotC now has recursion!"
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 »

Oh, that's nothing compared to what they did for the NXT 2.0 color sensor! They used their own custom, unique protocol for that!
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
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 »

And actually, SW I2C master in general does have it's advantages. You can setup whatever error codes you want, and you can instantly recover from any error. However, the NXT FW is awful about I2C errors. Most often the program crashes when it gets an error, instead of being allowed to deal with it.
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 »

However, the NXT FW is awful about I2C errors. Most often the program crashes when it gets an error, instead of being allowed to deal with it.
sounds as if you're talking about BT, not i2c ;)
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 »

Well, despite the NXT's shortcomings, it's actually very impressive and stable for a $150 toy.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
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:Oh, that's nothing compared to what they did for the NXT 2.0 color sensor! They used their own custom, unique protocol for that!
I know! Infuriating, right? :evil:
mattallen37 wrote:And actually, SW I2C master in general does have it's advantages. You can setup whatever error codes you want, and you can instantly recover from any error. However, the NXT FW is awful about I2C errors. Most often the program crashes when it gets an error, instead of being allowed to deal with it.
Oh, I didn't know that. This business just sounds better and better.... :roll:
mattallen37 wrote:Well, despite the NXT's shortcomings, it's actually very impressive and stable for a $150 toy.
Yes, but couldn't you build your own for much less than that?
A.K.A. NeXT-Generation.
"A kingdom of heaven for RobotC now has recursion!"
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 »

If you understand the NXT's HW and SW limitations, then working with them to build custom sensors and interfaces isn't usually too hard.
inxt-generation wrote:
mattallen37 wrote:Well, despite the NXT's shortcomings, it's actually very impressive and stable for a $150 toy.
Yes, but couldn't you build your own for much less than that?
Well, it doesn't cost them that much to make them. If you think about it though, the FW is fairly stable, and the HW is almost bullet-proof. It would take a long time for an individual to come up with a comparable product at a comparable end-user price. And at that, there are many non-lego controller boards available (things like Arduino, Leaf Labs, Fez, Beagle Board, Olimex, etc.).
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
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 »

I've ordered a pressure sensor and a couple of segment LED displays from Digi-Key. Also, my TI LaunchPad came about a week ago. I plan to use one of the chips that come in this for the pneumatic thing. Currently compiling a list of other parts I'll probably need.

Oh, BTW, I just want to say that TI is AWESOME :P When I ordered my LaunchPad, I literally got it less than 24-hours later :shock: And it was supposed to be 2-day shipping. A fully featured development platform, plus UberFast shipping for $4.30. Not bad.
A.K.A. NeXT-Generation.
"A kingdom of heaven for RobotC now has recursion!"
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

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

Post by mightor »

I have 5 of those Launchpads but I haven't really had much of a chance to play with them. I bought 5 because they were giving huge discounts. I think I got them all for the price of 2 or 3 in total. They are super low power.

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 8 guests