Attaching sensor to programmable air using serialsoftware library

Hi,
I'm using the serialSoftware library to attach a additional sensor (which uses the 3.3V, GND and OUT pin) to a Arduino nano. I am actually confused on whether I need 2 microcontrollers in total (one with the sensor and another with the pump) and connect the two via my chosen pins. Or, can I link the sensor directly to the nano and specifying the pins in code?
currently have the two set up like this, where there are extra pin holes in the nano, but no rx tx.

Hello meepu

Post the current schematics to see how we can help.

Circuit diagrams always say more than 1000 words.

That depends on your other code. Why do you think that 2 controllers better suit your needs?

Which Nano board do you use? (Link to documentation?)

BTW I'd use a Mega or some other board with multiple serial ports in hardware.

hi sorry, as you can see i want to connect the output of the sensor to the bottom air pump using the library, but i am actually cannot wrap my head around the digital pins for some reason.


Is this the information for the board you are using? https://github.com/programmable-air

yep

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