Wiper motors

Hi guys

I need some ideas because of school homework.

I got a wiper motor. I will connect it to 9 volt dc. And i will connect a button it too.

When i push the button, The wiper motor should turn 360 degree and it has to be stop. When i push it again, it should turn 360 degree again.
The button will be pushed 40-50 times in a day. And the motor should turn always 360 degree and it has to be stopped.

How can i make this with arduino?
Is it so diffucult?

You will need a sensor to stop the motor at a specific point.
This can be a micro switch or photo interupter.

Use the button to start the motor then read the switch until it changes state and stop the motor.

There will be inertia in the motor so it will travel past the sensor operation but will be consistent.

How are you going to switch the motor?

If you are using a 9 volt battery, it will not have enough current capacity to run the motor or Arduino.

Weedpharma

Thank you

I am planning to use a dc adaptor. My main question is that.

How can the motor pass the switch? When ı give power the motor, it will touch the switch and it will stop. And switch will become a open curcuit. After that, When i push the button, the motor wont work because of switch.

Connect the button to one input and stop switch to another.

Loop around until the button is pressed. Start the motor.
Then look for the sensor to be activated and stop the motor.
Go back to looking at start button.

Set motor flag to false

If start pressed and motor flag false
Start motor
Set motor flag to true

If stop sensor true and motor flag true
Stop motor
Set motor flag to false

Weedpharma

So, i am going to connect button positive input and connect to switch negatif input.
Motor will turn 360degree and after that touch the switch. Switch will be pressed. But when i push the button, motor will turn again, switch becomes free untill to touch switch again.
Am i right?

I am planning to use a dc adaptor.

This is doubtful. It might work with no load but with a load you're going to have to have a power supply that can provide more current.

When i push the button, The wiper motor should turn 360 degree and it has to be stop. When i push it again, it should turn 360 degree again.

If this is all you need the motor to do you don't need an Arduino. A wiper motor is designed in such a way that it will do this automatically. This is how the wipers stop at their 'home' position when you turn the wipers off. All you need is a momentary contact switch to turn the motor on. When it completes a rotation it'll stop on it's own.

  • Scotty

scottyjr:
This is doubtful. It might work with no load but with a load you're going to have to have a power supply that can provide more current.

If this is all you need the motor to do you don't need an Arduino. A wiper motor is designed in such a way that it will do this automatically. This is how the wipers stop at their 'home' position when you turn the wipers off. All you need is a momentary contact switch to turn the motor on. When it completes a rotation it'll stop on it's own.

  • Scotty

So, ı am going to buy a momentary contact switch and i am going to connect the switch on curcuit. When i push the switch, motor will turn 360 degree and it will stop automaticly to the home positive. When i push the button, it will turn 360 again. Am ı right?
This is the motor that i ordered.

So i Just need a momentary contact switch and a psu. Am i right?

Since I can't read the description language I cannot tell if that is a conventional wiper motor. If it is then yes. that setup will work. Take a look at this. The momentary contact switch will have to have normally open contacts and the contacts will have to be able to handle the start current.- Scotty

ı dont have any idea if its a conventional one or not.
but i have give the order and i can not send it back.

ın a few days, i am start to build the system. if i can not do as you said, i am plainning to se a limit switch.

This far all too complicated!

wiper motors have an internal rotating switch in series with the motor which open-circuits once per revolution.

They also have two power input connections

One goes directly to the motor, one via the rotating switch.

Connect your +9 to the switch input. Use your press button between +9 and the motor direct input.

When you press the button, the motor will start. When you release it the motor continues with power via it's internal switch until it gets back to the start position

No computer required!

That's how the intermittent wipe on a car does it!

regards

Allan

ps you'll need several amps at 9v - up to about 10A. Be sure your power supply is big enough!

Also be sure your press button will take that current.