Controlling SmartDrive40 Using 3.3V Microcontroller (Serial Simplified Mode)

If you would like to control Cytron smart motor driver using 3.3V microcontroller, you can try this tutorial.

INTRODUCTION

SmartDrive40 is a smart motor driver series with current capacity up to 80A peak and 40A continuously. It is equipped with a microcontroller unit to provide smart features such as multiple input modes, current limiting and thermal protection. In order to control SmartDrive40 using 3.3V microcontroller, you can consider to use either:

  1. RC MCU mode
  2. Serial Simplified mode
  3. Serial Packetized mode

In this tutorial, I will show you how to control SmartDrive40 using ESP32 board in Serial Simplified mode.

VIDEO

This video shows how to control SmartDrive40 using NodeMCU ESP32 in Serial Simplified mode.

HARDWARE PREPARATION

Below is the list of items used in the video

 

 

 

 

Esp32 Mds40b Wiring

Wiring connection table.

NodeMCU ESP32SmartDrive40Rotary Encoder
VIN5V 
GNDGNDGND
D13IN1 
D14IN2 
3.3V VCC
D25 CE
D26 EA
D27 EB

Sample Code

This is the sample code used in the video. Please install ESP32 board in your Arduino IDE first.

Thank You

References:

  1. MDS40B User’s Manual

Thanks for reading this tutorial. If you have any technical inquiry, please post at Cytron Technical Forum.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Smart Dustbin
Interface LSM9DS1 9DOF IMU With TTGO T-Display ESP32
Send and Receive SMS Using TTGO ESP32 SIM800L
Getting Started With ProjekIoT.com Using Raspberry Pi
Control Servo With Gesture Using ESP32 and Arduino
Scroll to Top