GDI Injector actuation using Arduino Atmega and Motos Shield Combo

I had a plan to run the GDI injector for a single pulse injection. This injector draws high current and voltage for its operation. For that I used a GDI injector, Arduino Atmega 2560, Motor Shield, and 12V Battery source. The motor shield was fixed with Arduino pin-wise for easy operation and control. The jumper wire was kept on during this process as the power supply is only by battery for both Arduino and motor shield.
The connections are follows (can be seen from figure):

  1. Battery to motor shield (external power)
  2. Motor shield to injector

The code was processed to run the injector for 20 ms of operation as follows:


#include <AFMotor.h>

AF_DCMotor motor1 (1);

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:
motor1.setSpeed(500);
motor1.run(FORWARD);
delay(20);
motor1.run(RELEASE);
delay(10000);

}

The injector was actuating with very low power and seems will not be able to actuate for sufficient flow rate. However, when the injector was connected in direct contact with battery previously, it was grabbing more current and a large tick sound was observed assuming good operation.

Please edit your post, select all code and click the </> button to apply code tags. Next save your post. It will make it easier to read and copy and the forum software will not treat it a formatting instructions.

Please post the specifications of the injector and the motorshield.

It's a solenoid; not a motor. Don't use a motor control library to control it. You should be controlling the motor driver speed and direction pins directly.

Also, are you sure that motor driver is rated for the full solenoid current?

What IS that current? WHICH motor shield?

motor1.setSpeed(500);

What effect does that have on output volage and/or current?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.