Air pump motor not working

Hi,

I am doing a final year project on a rehabilitation glove. I have 5 soft actuators I want to inflate and deflate using the control system shown in the picture. When I run the code shown, one air pump motor makes some noise but there is no air being produced. I have copied the layout of the schematic and I am not sure where I am going wrong. I am new to arduino and this would be one of my first times using the software.

Could it be that my air pump motors are faulty ?

You need a ground connection between the L298 driver and the UNO
Depending on the pump you have you will need to supply the L298 with 6V or more.

1 Like

Your code is not readable, please use code tags as explained on how to use this forum.

Double post.

Hi,

I am doing a final year project on a rehabilitation glove. I have 5 soft actuators I want to inflate and deflate using the control system shown in the picture. When I run the code shown, one air pump motor makes some noise but there is no air being produced. I have copied the layout of the schematic and I am not sure where I am going wrong. I am new to arduino and this would be one of my first times using the software.

Could it be that my air pump motors are faulty ?

Hi @mpoland18,

welcome to the arduino-forum.

I'm pretty sure that you agree and will follow the way how to solve your problem mimimum 200 minutes faster. This requires to invest 20 minutes of your precious time to read how to speedup solving your problems.

Directly after registering you got presented informations how to speed up solving your problem.
You should really read it.

Additionally:
How should anybody give any kind of help without knowing the exact type of airvalve that you are using?

How should anybody know from these few words what is really happening?

You will have to post the exact type of all components that you are using including datasheets. The more information the better.

What is the exact type of motor-controller-board you are using
post a picture of your real board.

Where did you buy the airpumps?
does the shop provide a datasheet ?
at least post a link and a real picture of the airpump

Did you check if your components fit to each other?

How much voltage / current can your power-supply provide?
How much voltage / current can your motor-controllerboard deal with?
How much voltage / current does your airpump need for proper operation?

You should test your system in small steps:

  • connect only one airpump
  • write a testcode that switches on / off this one single airpump
  • test the pure motor without any tubes connected to it
    with which direction does your motor blow air?

As you can see from all these questions. With that few words you have posted so far
it is very difficult to say what is wrong

Most motorcontroller-boards can run a motor clockwise and counterclockwise
Test both directions when does the airpumps outlet blow air?

best regards Stefan

1 Like

Yeah sure thing, I am in college at the moment will post a picture of the set up when I am home and a list of the components and their specs later on.

Appreciate the feedback

Do not create two topics with the same subject. This other one is flagged.

@mpoland18

Your two or more topics on the same or similar subject have been merged.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

It will help you get the best out of the forum in the future.

Thank you.

Surely, you tested both pumps before connecting them to the controller. Did they pump and suck at that time? Did you connect them one at a time to the actuator to test both components? Did the actuator actuate?

Both pumps work, I have tested them individually. But when i run the code they do not work.






This is my wiring set up.

My mini air pump motors are 6v
I have two power supplies which are also 6v.
Mosfet 60v N channel
Arduino Leonardo
LM298N Board
solenoid valve 2 position 3 way valve
12V diode 1N5349

For arduino wiring is as shown
Digital pmw (3) to input 4 of LM298N
Digital pmw (4) to input 3 of LM298N
Digital pmw (5) to input 2 of LM298N
Digital pmw (6) to input 1 of LM298N

Do you mean to say you tested the pumps attached to the L298 board and controlled them using the digital inputs to that board?

Either by a simple sketch, or by directly connecting the pins to 5 volts and ground where such code might have been writing HIGH or LOW?

The L298 reduces the voltage to the motors somewhat severely, measure the voltage at the motors with your current circuit and maybe see an explanation surprise.

There are 21st century motor drivers. Or you might already be using a high enough voltage on the L298 board so the loss is not the issue.

a7

1 Like

The pictures are somehow not high resolution enough to clearly see if you soldered the wires to the airpump-motors

If the wires are not soldered it is very likely that you loose connection and / or the connection is unreliable

Same with flex-wires like the power-supply to the breadboard
just stuffing in such thin-wired flex-cables into a bread-board is an unreliable connection.

You should solder the half of a jumperwire to your power-supply-cable
isolate the soldering with adhesive tape or shrink-tube
and then plug in the jumper-wire-PIN into the breadboard.

Of course you can make it work for a first quick test on this twist and stuff-level of non-professionalism but for going on testing you should change to a more reliable way of connecting things.

If you stay on this twist and stuff level you are always in danger that some contact is loose and you can't distinguish

Is it my code or is it the hardware????

2 Likes

Thanks Stefan
Maybe its the weak connection between the wires and the breadboard as you have pointed out. Yes all wires are soldered to the motors and they are not loose so that is not the issue. I will solder half of the jumper wire to the power supply cable and will let you know if that solves it.

Do you have a digital multimeter?

If not this is the right time to buy one.
If you are low on money any $15 digital multimeter will do

If you can afford to spend a little bit more money I recommend a digital multimeter that can measure

  • voltage
  • current (from Microampere up to 10 A)
  • resistance
  • diode-forward-voltage
  • frequency (which not all digital multimeters can measure)
  • duty-cycle (which not all digital multimeters can measure)
  • capacity (which not all digital multimeters can measure)
  • transistor amplifying factor "beta"

Something like this

See post #2