Trying to control dc motor with IR remote

file:///C:/Users/brayd/OneDrive/Desktop/Arduino-IR-Remote-Receiver-Controlling-LEDs-with-the-IR-Remote-768x321.png
I'm a beginner and I am trying to control a DC motor with an IR remote but the dc motor just makes a shifting noise. If I copied the link right there should be an image of an IR receiver with two LEDs. Instead of the LEDs, I connected a small DC motor.

IR_door_closer.ino (597 Bytes)

I recommend doing like this:
Start by wiring up the motor and its circuit, and make some code to make it run as You want.
Then do the same for the IR remote.
By then You know how they work and it's not much hard to combine their actions.

Hmm, i never thought of doing that. Thanks

How do You think the guys did to land on the moon and walk around there?
Smack all together and press a button?
Not different att all to integrate parts even in much smaller projects.
Note that both hardware and software need to work for every part of the project.

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