Sensor Simulation

Hi guys

I am doing a project for water testing. To test the drinking water I require to measure Ph, dissolved chlorine and nitrogen etc. As chlorine and nitrogen sensors are not easy available as cheaper prices. The prices of these two sensor are higher than 2000 US$..

Can anyone help to simulate these sensors? I have been searching for over a month now but couldn't find anything.

Create a fake dataset and send it to the Arduino via the serial port.

If you want real data then contact the government department responsible for water management and request access to some historical data.

If you want to simulate the actual commercial sensors ( transducers?) then you need to know what form their output takes ( 4-20mA, RS232, etc ??) and what range it covers. You could then decide how to progress that , maybe using another Arduino, a circuit or PC to recreate that signal.

Or .if you don’t want to do that .. Just use a couple of pots on the analogue ports and twiddle them to represent changing sensor levels .