Multiple CO2 sensors and pyfirmata

Hi

I am trying to use a raspberry pi and an Arduino mega to control and read from multiple Cozir CO2 sensors. I currently have it setup so my laptop is SSH'd into the raspberry pi, my pi is connected to my arduino via a usb cable and my arduino is connected to the sensors. I was planning to use pyfirmata to control the arduino, as then I can merge that code into my existing python code on the raspberry pi. However I don't see a way to do serial communication to sensors in the pyfirmata library. Is there a better way to do this or am I not using the library correctly? Is it possible to do without pyfirmata?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.