ESP32 Diesel Pump PWM Converter

via Freelancer ·

Budget / SalaryHourly project
TypeFreelance project
LocationRemote
Posted3 hours ago
My diesel heater’s stock pulse pump is simply too loud. I have already proved that swapping it for a peristaltic unit quiets things down, so now I need the electronics to drive it properly. The goal is straightforward: translate the heater’s existing pulse signal into a clean, stable PWM output so the new pump runs silently and at the correct fuel rate. The existing heater controls will still regulate the fuel as the pulses are adjusted on demand. It will just drive a PWM driven pump instead.

All of this will live on a CYD ESP32 board that has an attached display. I’d like to keep real-time gauges on that screen—flow rate, duty cycle, maybe temperature later—but the immediate priority is the conversion logic itself. I have a working project skeleton with wiring, basic screen code and a first pass at the ISR, yet the pulse-to-PWM section is messy. but the conversion logic is there.

What I’m asking you to do:

-build a simple gauges on CYD ESP32, same device running code.
• Analyse and rewrite the conversion routine so it captures the incoming pulse frequency accurately and produces a smooth PWM signal. the stock pulse can be 1PPS to 5.5PPS max. fuel rate is 0.25 Liters per hour to 5 Liters per hour (this should be adjustable in settings only as setup for pump size - common is 0.22ml per stroke) and this should convert to PWM directly. I will need another setting as I will need to input measured fuel rate from PWM pump. say amount per second measured. for calibration.
• Integrate that routine with the rest of my sketch, ensuring the existing display code still compiles and updates without timing conflicts.
• Hand back a tested, commented .ino (or PlatformIO) file together with any helper headers you introduce.

Acceptance will be based on:

1. Stable PWM output that tracks input pulses from 1 Hz up to 20 Hz with ≤2 % error.
2. Display has fuel rate and other info displayed on CYD.
3. Screen refresh stays above 10 FPS while the converter runs.

If you can also tidy the gauge visuals in the process, great—but the heart of the job is that solid, low-latency pulse-to-PWM translation.
electronics electrical engineering pcb layout arduino
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.