Go Down

Topic: Mega or Due? Data Glove for capstone project (Read 810 times) previous topic - next topic


Sep 27, 2013, 06:08 am Last Edit: Sep 27, 2013, 06:26 am by WhizzWr Reason: 1
Hello, :)

I'm currently working on a Arduino-based capstone project, and I could use some advice regarding the which flavour of Arduino suits my project the best.

I'm quite new to Arduino world, however heaps of documentations & tutorials definitely helps a lot. Then again it's the first reason I choose Arduino instead of barebone MCUs  :P

So my conditions are as the following:

I'm making a data glove (like KeyGlove but much more simple). Its main purpose is to manipulate  VR object inside a program (Mainly 3D CAD program).
Generally it consists of:

  • 1. A glove where the sensors and MCU are going to be mounted

  • 2. IMU sensors (for hand orientation and position, I planned to use MPU 9150)

  • 2. Two flex sensors (one for the thumb, one for the index finger)

Yeah, I'm going to use only those 2 fingers, and likely the flex resolution is rather crude (Something like: open, half-open and closed). So it's rather a simple HW implementation. At least I think so  :smiley-fat:
I'm going to do the signal filtering either on the Arduino (preferred) or on the PCs.

Initially, I'm going with UNO instead of Mega because of space problem (I know there are a lot of Arduino Pro-sized boards, but I'm not confident enough working with them).
The thing is I don't want to make the glove so bulky. My first thought when using Uno, the free analog pins should be enough. (i.e 4 pins for 2x flex and 2 pins for the IMU)

The problem starts I when I decided to use Pansenti's MPU9150 Library. I realised the flash memory size left would be so tiny (i.e MPU9150 lib code size is ~29k, Uno has 32k).

My project is still in very early stage, so a lot things are expected to be changed and added, with so little flash memory left. I can only do so much.  

So the story starts here, I immediately looking for already-proven Mega as replacement, but I realised there is also newer Due with faster processor that I expect to perform better on the signal filtering.

They cost effectively the same as for now.

As far as I'm aware, the main differences between Mega and Due are:

  • 8 bits vs 32 bits, Due's clock is faster too

  • 5V vs 3.3 volts, I believe the MPU 9150 is a 3.3v devices too, But I'm already considering using logic shifter with Mega

  • A little differences in analog pins number

I'm thinking should I want to add something else (i.e Touch LCD for user control,) I imagine Due is the the best option.
That said Mega has a lot numbers of compatible sensors, software library support, shield, etc compared to Due.

My main concern here is the robustness and compatibility when:

  • Designing  the HW (making circuits, addding shield)

  • Code development

  • Streaming and filtering the sensor readings

Should I go with Mega or Due?

Can anyone share they thought? I'd greatly appreciate it.


EDIT: I'm Sorry, I was posting in wrong forums. Thanks mod for moving it


I use a Due. It is good. Only 6% of flash memory is used for my Sketch. It has 96k bytes of RAM. I like it. I have no Mega experience. Go with Due. It has DAC analog output, many analog inputs, many interrupts available, vast pinout.

Go Up