Hey all 😄,
This repo is about controlling 2 LED and 1 DC motor using Arduino Uno and ESP8266.
Hardwares Buy Boards
- Arduino Uno (Other can also be used)
- ESP8266 (NodeMCU)
- HW-130 motor Driver
- Connecting wire
- USB (Arduino and NodeMCU)
- LED x 2
- DC Motor
Software
Clone this repo locally.
- Open ESP code in Arduino IDE.
- Goto
Sketch > Include Library > Add .ZIP Library...
and select all zip files one by one. - Goto
File > Preference...
in setting section scroll down.- Paste
http://arduino.esp8266.com/stable/package_esp8266com_index.json
into Additional boards manager URLs - Save and let it download
- Paste
- Connect NodeMCU to System using USB.
- Select port of NodeMCU
- In Board section Seach for NodeMCU 1.0 (ESP-12E Module)
- Upload code to NodeMCU using IDE or
Ctrl + U
shortcut. - Open Arduino code in Arduino IDE.
- Connect Arduino Uno using its USB connector and Upload the code
- Connect Arduino Uno, NodeMCU and HW-130 Motor driver using circuit diagram given below
- Connect to
Vision Home
using12345678
- Goto 192.168.2.1
- Login using
- username - admin
- password - Admin@123
- Turn on/off LEDs or motor 😉