Hi,
How can I Connect MQ2 Gaz sensor with the Develpoment Kit NRF52840_pca10056
Hi,
How can I Connect MQ2 Gaz sensor with the Develpoment Kit NRF52840_pca10056
I don't have any experience with the sensor in questions, but I did a google search and found this:
https://lastminuteengineers.com/mq2-gas-senser-arduino-tutorial/
It looks like you need to connect 3 pins (I suggest to use gnd, vdd and analog pin). If you flip the nRF52840-DK upside down, you can find that pin P0.03 is labeled with AIN0 (analog input 0).
Then you can program the nRF52840-DK with the SAADC project that can read analog input 0:
https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/nrf_dev_saadc_example.html
Best regards,
Kenneth
I don't have any experience with the sensor in questions, but I did a google search and found this:
https://lastminuteengineers.com/mq2-gas-senser-arduino-tutorial/
It looks like you need to connect 3 pins (I suggest to use gnd, vdd and analog pin). If you flip the nRF52840-DK upside down, you can find that pin P0.03 is labeled with AIN0 (analog input 0).
Then you can program the nRF52840-DK with the SAADC project that can read analog input 0:
https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/nrf_dev_saadc_example.html
Best regards,
Kenneth