We are connecting a CO2 sensor with the RJ12 connector.
RJ12 Connector only gives us 4 pins that are required for this sensor, but we are missing 2 pins.
The pins that we don’t get from RJ12 connector are the signal and en_vbb pins. Can we connect them to the board? How and which ones?
The imp that we are using is the battery powered sensor node which uses imp003
Datasheet of CO2 sensor:
Manual of CO2 sensor:
Here is the snippet of the code:
local LP = hardware.uartFG;
local state = 1
LP.configure(9600, 8, PARITY_NONE, 2, NO_CTSRTS);
Not sure how to read/write from the sensor after reading the manual.
Please help out.