Page 2 of 3

Re: Question about the OS/internal specs

Posted: 09 Dec 2014, 08:52
by HaWe
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.

Re: Question about the OS/internal specs

Posted: 09 Dec 2014, 23:56
by Stryker295
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.

Re: Question about the OS/internal specs

Posted: 10 Dec 2014, 09:55
by HaWe
benchmark comparison of what kind of platform compared to which different platform(s) by what detailed benchmarks?

Re: Question about the OS/internal specs

Posted: 10 Dec 2014, 14:24
by Stryker295
Nothing detailed, just a rough estimate. I now know (assuming I used stock chips) my available processing/memory has been cut by ⅛ to ¼.

Re: Question about the OS/internal specs

Posted: 10 Dec 2014, 14:34
by HaWe
what Platform do you mean? what do or will you actually use?

Re: Question about the OS/internal specs

Posted: 10 Dec 2014, 14:37
by Stryker295
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

Re: Question about the OS/internal specs

Posted: 10 Dec 2014, 14:39
by HaWe
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

Re: Question about the OS/internal specs

Posted: 10 Dec 2014, 14:41
by Stryker295
HaWe wrote:The Uno just has much less SRAM and EEPROM.
Right. Especially when you compare it to the NXT.

Re: Question about the OS/internal specs

Posted: 10 Dec 2014, 14:44
by HaWe
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!)

Re: Question about the OS/internal specs

Posted: 10 Dec 2014, 14:49
by Stryker295
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!