|
Post by riccardo on Mar 18, 2018 8:01:55 GMT -8
Hi I've just ordered a Weather Board and Im super excited, I have a few Embedded Adventures I2C Lightning Detector
MOD-1016 boards lying around and thought it would be great to hook up to the weather board (with grove).
should I create a simple I2c bus extension via a small breadboard and connect the MOD-1016 to the i2c bus and then connect the IRQ of the lightning board to a raspberry Pi GPIO Pin? if so what GPIO pin should I use? from my reading i think I should use GPIO 22?
or should I get a grove connector from the I2c on the weather board and connect that to the MOD-1016 and then wire the interrupt directly from the MOD-1016 to GPIO pin 22?
many thanks in advance Riccardo
|
|
|
Post by SDL on Mar 18, 2018 10:56:32 GMT -8
Riccardo,
If you have a female jumper to Grove connector, use that. Or clip one in half and wire it in. Just be careful!
GPIO 22 is fine. Just make sure the software works for it. If you are powering your MOD-1016 with 5V, you should not connect directly to the GPIO pins on the Raspberry Pi. Go through a Grove connection because they are all level shifted. Same goes with the I2C bus to be careful.
Best, BP
|
|
|
Post by riccardo on Mar 18, 2018 22:39:09 GMT -8
:-) many thanks, it will be on 3.3v I once learnt that the hard way.. Thank you very much! :-)
|
|