Oxygen controller

hello, please HELP!!!! I am not a programmer, but I have interesting idea in mind. Please can some one solve for me and make code for this.

So - I took from car lamda sensor (oxygen sensor), and I want to use it in this project.

Project name - "right gas/air mixture".

in project I need parts:
arduino, rotary encoder, display, stepper, 2 endswiches, lamda sensor, milivolt amplifier (for example x10) and start/stop button.

I have 3 way valve, there I will connect the stepper motor. Valve from min to max is turning from 0 - 90 degree. in this case, the nr.1 inlet is the main gate for the main air flow. when the valve is on 0 degree, than all flow is going through nr.2 output way, and when on 90 degree, than all flow is going through nr. 3 output way, and when is staying on 45 degree, than 50/50 through nr.2 and nr. 3 ways.

endswiches will be mounted on 0 and 90 degree position. Program needs to understand, that motor cant go further by this position, this is limit. To not broke the valve or stepper.

the right air/gas mixture is than, when at the end, the oxygen content is 4-6 %. It means, that lamda sensor will give in the output approx. 6-20 mV. This is small value, so I need to amplifier this output signal, for example by 10 times, so I need to use some amplifier, after that in the output I will receive after amplifier 60-200 mV (for example if I use amp x10), which will be good signal for arduino, I think so.

To work with this device, I need that the stepper moves very slow, or that he does every step with somekind of time interval - for example he make 1 degree, he waits 1 seconds, and move forward 1 degree and waits 1 second and so on... And the second thing, in menu, I need to give bottom and top values in mV with help of encoder - for example these (Bottom) 60 mV and (Upper) 200 mV. this will save me from situation, that stepper wont work like crazy, if he will be inside these borders, than he wont turn any more, he will stay steady, and, only if there will be some changes in air/gas mixture, only in this situation he will once more start to regulating the valve. (in the menu we can program that these setting range we can change from 20-4500 mV, to have chance to find the right one values)

If some thing is not clear, than please be free and ask me.

What is not clear is that you are willing to supply the equipment to test the code as it is being developed.

Paul

Working with o2 like this can be quite dangerous and often requires special equipment, valves, etc. (none of which I think you are aware of or have.)

I would avoid doing this completely, as I don’t want the legal liability if anything goes wrong and I advise all others to follow suit.

Sorry.