Home › Forums › Mayfly Data Logger › How to get a 5V signal out based on a sensor reading › Reply To: How to get a 5V signal out based on a sensor reading
Basically trying to control flow through an outlet of a bioswale. The algorithm for control is attached as a diagram (I have written this in python and campbell coding but yet to do in C++). I’ve attached the .ino file I’m playing around with as well. The decagon CTD sensor is connected to D4-5 and I’m trying to get a 0-5V signal out from D10-11 as you suggested. And yes I need to maintain a 5V signal between sensor readings to keep the valve open according to the algorithm. I hope this clarifies what I’m trying to do.