Hello everyone,
i just got my first UNO R3 and I want to control a DC-motor via Wifi an Bluetooth (Smartphone and Laptop).
Motor:DC 12V, 3A; maybe 12V, 5A
Control: ON-OFF, RPM
I dont need to get data/information from the Arduino back if it's on, off or the rpm.
The direction of the motor is also not important.
I've got these parts:
"The most complete starter kit UNO R3 project", package list is on the website
https://www.elegoo.com/product/elegoo-uno-r3-project-complete-starter-kit/
In addition to that I have
-
L298N H-Bridge
-
IRF520 MOSFET
(HALJIA MOS FET MOSFET-Treibermodul 520 Kompatibel mit Arduino Raspberry Pi ARM MCU : Ama) -
Bluetooth HC05 Module
-
Wifi ESP32 NodeMCU
-
Wifi ESP8266 Node MCU
-
Wifi ESP8266 Relaymodule
-
Sunfounder 2 Channel DC 5V Relay Module
-
Rectifier diodes 1000V 10A
-
RoboRemo App
-
ArduDroid App
No background knowledge!
Til now I only managed to control an LED via Bluetooth.
I found two interesting plans and sketches, which maybe can be combined, but I dont know how. A little help would be appreciated.
No. 1: Motorcontrol with IRF520 and potentiometer
https://42project.net/gleichstrom-bis-5a-und-24v-ueber-irf520-mosfet-mit-dem-arduino-schalten/
No. 2: Control via IRF520 with ESP8266 GPIO
https://www.letscontrolit.com/wiki/index.php/PWM_GPIO
Could you guys explain me step by step how to do it?
Thanks a lot, have a nice 2. Chrismas day.
P.S. I dont want that potentiometer in there, control only via bluetooth and wifi.