Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
[Solved] Motor ON/OFF Trigger to Arduino UNO
(@Anonymous)
Joined: 1 second ago
Posts: 0
Topic starter
January 24, 2022 1:47 AM
Hello,
I am a beginner at using Arduino.
I wish to do a very simple project.
If a user turns ON a water motor pump, it should give a trigger to my Arduino UNO.
Arduino will note the Motor ON time and date.
If a user turns OFF a water motor pump, it should again give a trigger to my Arduino UNO.
Arduino will note the Motor OFF time and date.
Please help me how can I detect motor ON/OFF and save the data using Arduino.
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2815
January 24, 2022 6:25 AM
Hello Nikhil_m,
Well, the simplest way would be to utilize the switch used to turn the motor on or off.
This could be, for example, be a simple witch, opening/closing one of the wires to power the motor.
There are plenty of switches out there that are "double" switches and basically have 2 switches in one case - the second one could be used for the Arduino.
Another option is to have a relay (or a solid state alternative) in series with the motor. So when the motor is switched on, the relay is enabled as well, of which the switch is connected to your Arduino. This could even be an opto-coupler.
I guess it also matters what kind of motor this is and at what voltage it is running.