Hi all,
I'm new to Arduino and want to get a project to life which uses TWO sensors, connected to
(most likely) an Arduino Uno (but finally a board which is as small as possible).
Unfortunately, there are different sensors that use different buses.
Here's the first type (of which I would use two, as stated before):
http://www.dx.com/p/gy-521-mpu6050-3-axis-acceleration-gyroscope-6dof-module-blue-154602#.Vushkea-ZlQ
If I'm not wrong, it's using the I²C-Bus and to have them working at the same time one of them has to have pin AD0 connected to GND, the other sensor to Vcc. Fine so far.
Now there's an improved sensor which is this one (which I would prefer):
So this one is using the UART-Bus.
Here are my questions:
Am I right that this UART-Bus would also support two sensors at once?
Which bus and hence which sensors should I prefer? --> I'll tell you now what I need it for:
The sensors are used to detect bumps. Imagine a sensor mounted to the top of your flat hand.
I want to get an impulse (which is later on used to trigger something) which is fired when the hand bumps against e.g. a table top (and I also want to recognize the attitude of the hand).
So for quick hands I will assume max. 10 to 20 bumps per second. Does this fact alone exclude one of the two buses (speed-wise)? Or would both be sufficient?
Which bus is easier to "code for"? How good is library support?
I'm sorry for this noob questions and thank you in advance for your feedback!
Cheers!