it only shows connection of gsm to arduino and gas sensor to arduino, anyone who can give me a connection diagram of three devices, thank you very much
The shield only goes on one way. It's going to be hard to get that connected incorrectly.
The 2nd link shows how to connect the gas sensor. That there is a shield on top of the Arduino is completely irrelevant. The same connections are used.
The shield only goes on one way. It's going to be hard to get that connected incorrectly.
The 2nd link shows how to connect the gas sensor. That there is a shield on top of the Arduino is completely irrelevant. The same connections are used.
The diagram on your first link shows where the Ground, 5V and Analog Inputs are on the shield. The picture on the second link shows which connections on the sensor board to connect to Ground, 5V and Analog Input 0.
dxw00d:
The diagram on your first link shows where the Ground, 5V and Analog Inputs are on the shield. The picture on the second link shows which connections on the sensor board to connect to Ground, 5V and Analog Input 0.
yes, based on the diagram, i think it is in the same analog input which is in analog 0 as i can see, the gsm has analog input of 0-5 and in the gas sensor is in analog 0, any alternative connection of this three devices?
dxw00d:
I don't understand, what is wrong with using Analog In 0? The shield doesn't use it (or any Analog input), as far as I can see.
They are connected in same analog so either of the two must connected in analog 0 that's what i mean, so if you put the gsm in the arduino then where you will connect the gas sensor?
The shield is plugged into the Analog inputs, but it doesn't use them, it just passes them through. Looking at the diagram at the bottom of the first link, the shield uses pins 0, 1 and 2, and a couple of pins on the ICSP header for power.
dxw00d:
The shield is plugged into the Analog inputs, but it doesn't use them, it just passes them through. Looking at the diagram at the bottom of the first link, the shield uses pins 0, 1 and 2, and a couple of pins on the ICSP header for power.
ok i understand you know, the only problem now is how i will connect the gas sensor
ok i understand you know, the only problem now is how i will connect the gas sensor
You aren't listening. The GSM shield simply passes the analog pins to the top. It makes no connection to the analog pins. So, simply connect the gas sensor just like you would if the damned shield wasn't there.