aymen ammari
DIIDevHeads IoT Integration Server
•Created by aymen ammari on 7/23/2024 in #firmware-and-baremetal
Issues with Fuel Injector Testing Bench Using Arduino Minima R4 at High Frequencies
Hi Devs I m trying to create a fuel injector testing bench with an Arduino minima r4.
Running on low frequencies as in the first part of my code everything appears to be good, but in the higher frequencies I believe that the injectors doesn' t close at all. I believe this because except for 50 Hz I don t see any difference in the way injectors work? Can anyone spot a mistake on hardware that can cause that. In the software I m using Arduino built in DAC, it would be better using PWM for this application?
#include <analogWave.h>
analogWave wave(DAC);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
wave.square(50);
wave.start();
delay(15000);
wave.stop();
delay(20000);
wave.freq(300);
delay(20000);
wave.start();
delay(60000);
wave.stop();
wave.freq(150);
delay(20000);
wave.start();
delay(60000);
wave.stop();
wave.freq(80);
delay(20000);
wave.start();
delay(60000);
wave.stop();
}
3 replies