NodeMCU V2 Motor Board

Last Updated on 31 May 2019 by Suffocation

Für den NodeMCU V2 gibt es ein Erweiterungsplatine mit Motortreiber. Mit ihr können zwei kleine Motoren (bis 1,2 Ampere) über eine Motorbrücke L293DD angesteuert werden.  Auch der Anschluss eines Schrittmotors ist möglich.

Sie bietet weiterhin zwei getrennte Anschlüsse für die Stromversorgung der Platine und die der Motoren. Die meisten Pins des ESP sind mit einem zusätzlichen Masse/Strom Pin herausgeführt, was den Anschluss von Peripherie erleichtert.

Die Pins D1, D2, D3, and D4 sind von der Motorbrücke belegt.

Data

Power Supply: 4.5V to 9V
Motor voltage: 4.5V – 36V
Maximum motor current: 1.2 A

View

Front view

Rückansicht

Anschlüsse

Pin assignment

Mit den Pins D1 -D4 können die Motoren angesteuert werden weitere Belegungen können der Tabelle unten entnommen werden.

Programming

The experimental setup is simple. Plug the ESP8266 onto the board, connect two motors to the corresponding contacts, and load the example program below onto the ESP.

Library

… habe nach kurzer Suche keine gefunden, für jeden Tip bin ich dankbar.

Own test program

Hier ein simpler Test. Er lässt beide Mortoren vorwärts drehen, rückwärts drehen und stoppen.

ESP8266MCUV2Motorplatine

Own lib

I'll probably write a class in the near future that encapsulates all the functions.

Verwandte Beiträge

Sources

https://cdn.hackaday.io/files/8856378895104/user-mannual-for-esp-12e-motor-shield.pdf
http://www.instructables.com/id/Motorize-IoT-With-ESP8266/
DateChangeAuthor
25.06.2018Post createdSuffocation

2 thoughts on “NodeMCU V2 Motorplatine

  1. Hello Stefan Krebber,

    One could wire this up via an analogue port (exactly one on the ESP8266) and a voltage divider, and then read out and convert the analogue port in Tasmota. For exact instructions, I would need to read up on it myself first. But it must also be said that the board is very old and has its weaknesses. There are certainly some more modern variants, for example for the D1 Mini or Arduino Wi-Fi with a motor shield. Also, motors can be operated on almost any microcontroller using a motor driver board. This is usually more flexible and also allows stronger motors to be operated. Regards, Stefan

  2. Good day
    I've only just discovered this circuit board for myself and find it very exciting. .
    Is there a way to read the battery level under Tasmota? Or do you have any experience in this area?

Leave a Reply

Your email address will not be published. Required fields are marked *