×

NodeMCU ESP12E Motor Shield

Rp32.000

NodeMCU ESP8266 Expansion Board CP2102 Wifi with L293D Motor Driver

4 in stock




Setelah membeli produk ini, kamu dapat meminta training (online/ offline), hubungi cs KlinikRobot.com untuk keterangan lebih lanjut dan jadwal training.

Produk juga tersedia untuk pembelian langsung :
📍 Offline Store : Ciledug, Kota Tangerang

Produk juga tersedia di (*Biaya MarketPlace = 8%) :
🛍️ Shopee | 🛍 ️Tokopedia | Sewa | 💬 WhatsApp

Layanan tersedia :
👨‍🏫 Tutorial | 👥 Konsultasi | 👨‍🔧 Toy Repair

KlinikRobot.com sedang mengadakan SALE!!! 🛒💸💰 Lihat produk SALE
<style>

Description

Wireless Expansion Board for nodeMCU ESP8266 for CP2102 Serial Communication
ESP8266 board sold separately

Features

  • ESP12 DEV KIT development board expansion module;
  • lead ESP12 DEV KIT all the features of pins: SPI, UART, GPIO, AI and 3.3V power connector;
  • extend two-way motor-driven, two-way direct drive motor;
  • onboard power switch;
  • L293D
  • Motor power, control power separation; In the experiment, a short circuit can block the merger, shorted to VIN and VM, while power supply to the motor and the control board.

Specification

  • Motor Power Range: 4.5V ~ 36V;
  • control supply range: 4.5V ~ 9V
  • Logical operating current Iss: ≤60mA (Vi = L), ≤22mA (Vi = H);
  • Driving part of the work current Io: ≤1.2A;
  • Maximum power dissipation: 4W (T = 90 ℃)
  • Control signal input level: High: 2.3V≤VIH≤VIN; Low: -0.3V≤VIL≤1.5V
  • Operating temperature: -25 ℃ ~ + 125 ℃
  • Drive Type: Dual high-power H-bridge driver
  • ESP12E Dev Kit Control Port: D1, D3 (A motor); D2, D4 (B motor)

Input Power:

~motor power (VM): 4.5~36V, can be powered seperately;

~control power (VIN): 4.5V~9V(10V MAX), can be powered seperately;

~provide the shorcut connector (short by VM and VIM), thus can use one power source (must be 4.5V~9V) to complete the drive and control for motor at a time.

ESP12E Schematic :

Expansion board ini berguna untuk mengontrol motor dc (2 buah), baik itu dc motor atau stepper motor (1 buah). Power supply yang terhubung dengan port Vm dan Gnd sekaligus dapat menghidupkan NodeMCU (perhatikan jumper pin yang berada dekat tombol tactile switch). Short by VM and VIM, thus can use one power source (must be 4.5V~9V) to complete the drive and control for motor at a time.

  • Logic working current Iss:<=60mA (Vi=L), <=(Vi=H);
  • Driven working current Io: <=1.2A;
  • Max of dissipation power: 4W (T=90℃);
  • Control signal input voltage: 2.3V<=VIH<=VIN (high), -0.3V<=VIL<=1.5V (low);
  • ESP-12E Dev Kit control port: D1, D3 (motor A); D2, D4 (motor B);

the shield is placed directly on the microcontroller. The power supply of the motors is connected to the VM/GND terminal block and that of the board to the VIN/GND terminal block. It is possible to connect the VIN and VM pins with a bridge, if the power supply of the motors is the same as the power supply of the NodeMCU (<10V Max). The motors are connected to the terminal blocks A+,A-,B+,B-.

  • D1, D3 (motor A/ Stepper 1,2)
  • D2, D4 (motor B / Stepper 3,4)

Contoh penggunaan dengan dc motor (maksimal 2 motor dc dapat dikontrol) :

Source Code :

/*
Board pin | NodeMCU GPIO | Arduino IDE
A- 1 5 or D1
A+ 3 0 or D3
B- 2 4 or D2
B+ 4 2 or D4
*/

const int pwmMotorA = D1;
const int pwmMotorB = D2;
const int dirMotorA = D3;
const int dirMotorB = D4;

int motorSpeed = 500;

void setup() {
Serial.begin(115200);
Serial.println();

pinMode(pwmMotorA , OUTPUT);
pinMode(pwmMotorB, OUTPUT);
pinMode(dirMotorA, OUTPUT);
pinMode(dirMotorB, OUTPUT);

Serial.println(“Motor SHield 12E Initialized”);
delay(5000);
}

void loop() {
Serial.println(“Activate A”);
digitalWrite(pwmMotorA, motorSpeed);
digitalWrite(dirMotorA, LOW);
delay(1500);

Serial.println(“Reverse A”);
digitalWrite(dirMotorA, HIGH);
delay(1500);

Serial.println(“Stop A”);
digitalWrite(pwmMotorA, 0);
digitalWrite(dirMotorA, LOW);
delay(3000);

Serial.println(“Activate B”);
digitalWrite(pwmMotorB, motorSpeed);
digitalWrite(dirMotorB, LOW);
delay(1500);

Serial.println(“Reverse B”);
digitalWrite(dirMotorB, HIGH);
delay(1500);

Serial.println(“Stop B”);
digitalWrite(pwmMotorB, 0);
digitalWrite(dirMotorB, LOW);
delay(3000);
}

 

Contoh penggunaan dengan stepper motor (maksimal 1 stepper motor) :

Source Code :

const int pwmMotorA = D1;
const int pwmMotorB = D2;
const int dirMotorA = D3;
const int dirMotorB = D4;

int delayBtwnStep = 3;

void setup() {
Serial.begin ( 115200 );
Serial.println();

pinMode(pwmMotorA, OUTPUT);
pinMode(pwmMotorB, OUTPUT);
pinMode(dirMotorA, OUTPUT);
pinMode(dirMotorB, OUTPUT);
Serial.println(“Motor SHield 12E Initialized”);
}

void loop() {
stepperRotate(10, 0);
delay(500);
stepperRotate(10, 1);
delay(500);
}

void stepperRotate(int nbStep, int dirStep) {
for (int i = 0; i <= nbStep; i++) {
if (dirStep == 0) { // sens horaire
nextStep(i % 4);
}
if (dirStep == 1) { // sens antihoraire
nextStep(3 – (i % 4));
}
delay(delayBtwnStep);
}
}

void nextStep(int index) {
if (index == 0) {
digitalWrite(pwmMotorA, true);
digitalWrite(pwmMotorB, false);
digitalWrite(dirMotorA, true);
digitalWrite(dirMotorB, false);
}
if (index == 1) {
digitalWrite(pwmMotorA, false);
digitalWrite(pwmMotorB, true);
digitalWrite(dirMotorA, true);
digitalWrite(dirMotorB, false);
}
if (index == 2) {
digitalWrite(pwmMotorA, false);
digitalWrite(pwmMotorB, true);
digitalWrite(dirMotorA, false);
digitalWrite(dirMotorB, true);
}
if (index == 3) {
digitalWrite(pwmMotorA, true);
digitalWrite(pwmMotorB, false);
digitalWrite(dirMotorA, false);
digitalWrite(dirMotorB, true);
}
}

 

Untuk menentukan pasangan kabel dan polaritas pada stepper motor dapat dilihat pada tutorial berikut ini : Kontrol Stepper Motor dengan L298

Additional information

Weight 0,7 kg
Skill Programming

Level 3

Skill Elektrikal

Level 3

Skill Robotika

Level 2

Skill DIY - Do it yourself

Level 1

Skill Soldering

Level 3