Question about the OS/internal specs

Discussion specific to the intelligent brick, sensors, motors, and more.

Re: Question about the OS/internal specs

Postby HaWe » 09 Dec 2014, 08:52

then you might use a Due (for 15 USD) stand-allone and later maybe connect both to a NXT as a I2C slave plus optionally to an additional Mega as an I2C master.
To the Due you may plug all Touch and ADC sensors and some I2C, and to the NXT later on some special NXT sensors like USS or Color sensors which are incompatible to std I2C.

The combination NXT+Arduino is far easier to program than hooked-up NXTs or EV3 by gpp and it's much more powerful than RobotC.
User avatar
HaWe
 
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Question about the OS/internal specs

Postby Stryker295 » 09 Dec 2014, 23:56

HaWe wrote:then you might use a Due stand-allone and later maybe connect both to a NXT as a I2C slave plus optionally to an additional Mega as an I2C master.
It's not the NXT's processing that's got me limited.

I'm wanting to work on a project that doesn't involve the NXT in anyway, but I'm familiar enough with the NXT's processing capabilities that I wanted to use it as a benchmark comparison to the new project I would be doing.
—Jag
User avatar
Stryker295
 
Posts: 46
Joined: 29 Sep 2014, 09:53
Location: Arizona, USA

Re: Question about the OS/internal specs

Postby HaWe » 10 Dec 2014, 09:55

benchmark comparison of what kind of platform compared to which different platform(s) by what detailed benchmarks?
User avatar
HaWe
 
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Question about the OS/internal specs

Postby Stryker295 » 10 Dec 2014, 14:24

Nothing detailed, just a rough estimate. I now know (assuming I used stock chips) my available processing/memory has been cut by ⅛ to ¼.
—Jag
User avatar
Stryker295
 
Posts: 46
Joined: 29 Sep 2014, 09:53
Location: Arizona, USA

Re: Question about the OS/internal specs

Postby HaWe » 10 Dec 2014, 14:34

what Platform do you mean? what do or will you actually use?
User avatar
HaWe
 
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Question about the OS/internal specs

Postby Stryker295 » 10 Dec 2014, 14:37

The chip driving the Uno/Peggy. But considering that it is extremely under powered I probably will have to use a much beefier 'duino and connect it via i2c/TWI
—Jag
User avatar
Stryker295
 
Posts: 46
Joined: 29 Sep 2014, 09:53
Location: Arizona, USA

Re: Question about the OS/internal specs

Postby HaWe » 10 Dec 2014, 14:39

the Arduino Uno uses the same AVR type by 16 MHz cpu clock like the Arduino Mega, so the UNO is exactly as quick as the Mega in my benchmarks.
The Uno just has much less SRAM and EEPROM.

http://www.mindstormsforum.de/viewtopic ... 772#p64772
User avatar
HaWe
 
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Question about the OS/internal specs

Postby Stryker295 » 10 Dec 2014, 14:41

HaWe wrote:The Uno just has much less SRAM and EEPROM.

Right. Especially when you compare it to the NXT.
—Jag
User avatar
Stryker295
 
Posts: 46
Joined: 29 Sep 2014, 09:53
Location: Arizona, USA

Re: Question about the OS/internal specs

Postby HaWe » 10 Dec 2014, 14:44

that's why I'm using the Mega and the Due.

But your question was about computational speed, and in my benchmarks you can see:
the Mega (Uno) is 5x faster than NXC and 20x faster than RobotC on NXT,
and the Due has more RAM than the NXT and is > 10x faster than NXC and 100x faster than RobotC on NXT.
The Due is even quicker than nxtOSEK on the NXT !!

(missing display tests on Arduino distort the pure runtimes, but I will fix that soon!)
User avatar
HaWe
 
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Question about the OS/internal specs

Postby Stryker295 » 10 Dec 2014, 14:49

Ooh! Just looked up the specs on that one, it looks incredible! Not to mention, it's 32-bit, as opposed to 8-bit.

Seems like I can get one for about 25-30 bucks. Perhaps I can poke around and find a friend or someone willing to run test code for me before I buy one!
—Jag
User avatar
Stryker295
 
Posts: 46
Joined: 29 Sep 2014, 09:53
Location: Arizona, USA

PreviousNext

Return to Mindstorms Hardware

Who is online

Users browsing this forum: No registered users and 19 guests

cron