|
891
|
Using Arduino / Sensors / Re: Interface Arduino with GPS, accelerometer, gyro, magnetometer, barometer
|
on: May 09, 2012, 12:15:16 pm
|
The bus pirate uses a PIC processor. If you can find the right software and libraries you might try it. But I have no experience with PIC processors at all. This is the link? : https://store.diydrones.com/Full_ArduPilot_Mega_kit_from_Udrones_p/kt-apm-02.htmIf you buy that you have: absolute pressure sensor (barometer), gyro, accelerometer, GPS. That's only 4 sensors, for a high price. If they come with good explanation and libraries, you can have it working in a short time. I think the TinkerKit system in the Arduino store is cheaper. You can use a normal Arduino Uno, so things don't get unnecessary complicated. The accelerometer and gyroscope can be the same thing. I have ordered such a sensor myself, so I'm still not sure how they can distinquish between accelerometer and gyroscope 
|
|
|
|
|
894
|
Using Arduino / Sensors / Re: Interface Arduino with GPS, accelerometer, gyro, magnetometer, barometer
|
on: May 08, 2012, 12:03:38 pm
|
|
1) The I2C is designed to have one single master, with many slaves. You only need SDA and SCL (both will pull-up resistors) and you can attach many slaves. Every slave reacts if its ID is transmitted on the bus. But if some sensors use 5V and others use 3.3V, you need extra hardware for level shifting. 2) Simple sensors like sensors with analog outputs (MMA7361 accelerometer), or sensors with a single digital line (DHT11, temperature + humidity) can be connected to the Arduino directly.
If you want to use the MMA7361 accelerometer, you need 3.3V again. But you need 3 analog inputs. The digital version MMA7455 is also running at 3.3V and can be attached to the I2C bus. So you use less pins, but you need an example or a library to get the digital communication working. These MMA... series accelerometers are cheap. Many people use the BMA... series accelerometer which are more expensive.
The whole tinkerkit idea is to have a shield, and with connectors and cables you can attach sensors. It is very fast (just click the shield and cables) and the result is very nice and clean looking. But to test or develop something by yourself, you could solder the sensors yourself and learn about them along the way.
|
|
|
|
|
896
|
Using Arduino / Sensors / Re: WHICH of the two sensor in better..
|
on: May 08, 2012, 07:00:51 am
|
Wikipedia about fluorescence: http://en.wikipedia.org/wiki/FluorescenceI assume that for fluorescence, you use a UV light source, and that there is very little light. So you need a very sensitive sensor. S9706: 12-bit S11059: 16-bit Both are for 3.3V. The datasheets are hard to compare, since the sensitivity is in different units. But the S11059 has a larger range of colors, and is more sensitive. However, if it's sensitivity is enough to detect fluorescence colors ? ... I don't know. You have to try that, or find an example of someone who did that already.
|
|
|
|
|
897
|
Using Arduino / Sensors / Re: Interface Arduino with GPS, accelerometer, gyro, magnetometer, barometer
|
on: May 08, 2012, 06:49:57 am
|
|
To interface all of that, you need some kind of microcontroller. Do you know something simpler than the Arduino?
There are shields (boards you can attach to the arduino) with sensors. Most of those shields have example code and a library. You could start with a shield with as many sensors as possible.
Sensors with analog outputs are easier to read than a digital serial communication. So, you could try to find sensors with analog outputs to make it yourself easier. But if you need all those sensors at the same time, you don't have enough analog inputs.
(1) If you have a Arduino (for example the Arduino Uno), start with the example for a blinking led. (2) Try to send a message back, with the Serial library. (3) Try to interface an analog sensor. (4) Try to interface digital sensors over I2C or other digital serial communication.
It's not hard. The only problem is that most sensors use 3.3V. But the Arduino has 3.3V onboard for those sensors.
|
|
|
|
|
900
|
Using Arduino / General Electronics / Re: arduino uno r3 and relay
|
on: May 07, 2012, 07:46:31 am
|
|
Yes, this one is okay for you.
As far as I know this relay has 5 pins. Two for the coil, and three for the switching contacts. That is why the header has three contacts. You just need two of them for switchting something on.
|
|
|
|
|