Assist to improve code fore arduino waveform analyser
€6-12 EUR / hour
En curso
Publicado hace casi 7 años
€6-12 EUR / hour
am looking to build a compression tester for mazda wankel rotary engine. This will involve a 0-10 BAR pressure sensor outputting 0.5-5Volts into an analog input. This signal is to be fed into an arduino mega.
The rotary engine has 3 seperate compression cycles (1 per rotation) On a single "chamber". RPM will need to be determined by counting the time between peak pressure values. The peak value will then be required for each of the 3 rotor faces.
Program should be as follows:
1) wait for minimum analog value from sensor to be reached (200)
The engine will now be cranked.
2) capture data from sensor over a 5 second period
3) stop capture and analyse the results ata s high a sample rate as possible
4) send results over a serial connection
The analysis of the data needs to record the engine RPM based on the "peak pulses" (this will be between 100 and 350 RPM) these pulses form a repeating signal with 3 unique values eg 1-2-3, 1-2-3... with 1 pulse for every 1 rpm
The code should allow for detection of 1 or 2 of the pulses to be abnormally low (as low as 150 analog reading. Sample graphs can be supplied if required.
Please see attached file for example of signal waveform
Having practical experience of development in this area through some starling concepts. May be next one is yours . You may also wish to review my portfolio in order to check my previous work and learn more about my skill.
Thank you