Controll Railway Model With Visuino Programmed ESP8266 Wi-Fi

by ziejezy in Circuits > Remote Control

4526 Views, 24 Favorites, 0 Comments

Controll Railway Model With Visuino Programmed ESP8266 Wi-Fi

BR 80 018 wifi ESP8266 Visuino BLDC czestotliwosc obroty predkosc dystans nastawnik zasilanie swiatl
BR 80 018 wifi ESP8266 Visuino BLDC part 2

The project is under construction.

The aim of the project is to achieve locomotive control via wifi with two ESP8266 modules.
The power supply of the locomotive is a 7.2 volt battery.

The new brushless motor is used to drive the old locomotive model.

Analog speed control is made with a potentiometer.

Turning on and off the lights and changing the direction of travel is done with the buttons.

From the locomotive we get the actual engine revolutions and the calculated distance traveled.

In addition, we receive an analogue battery voltage signal.

The motor control is via PWM 1 kHz. The best would be 3710 Hz.
The biggest problem was the simultaneous operation of two analog inputs.

Components

Man00.PNG
Lok000.PNG

Components Manual and Lok Controll.
1. 2 NodeMCU ESP8266 boards.

2. 1 Nidec 13H055B020 BLDC motor with BD6922 driver inside.

3. 1 UP DC/DC converter.

4. 1 DOWN DC/DC converter.

5. 1 Potentiometer 100k lin.

Nidec 13H055B020 Jumpers

Nidec 13H055B020 new  jumpers.PNG
Nidec 13H055B020  jumper remove .PNG

1. Nidec 13H055B020 jumper remove.

2. Nidec 13H055B020 new jumpers

ESP8266 NodeMcu Configuration Wifi.

Man01.png
Man01 a.png

ESP8266 NodeMcu configuration wifi based:

https://www.instructables.com/id/ESP8266-and-Visui...

Step 5 and 6.

Man02.png

ESP8266 NodeMcu configuration wifi.

Man03.png

Add and Connect Make Structure.

Man04.png

Add and Connect Split Structure.

Man05.png

Add and Connect Complementary Analog Filter

Man06.png

Add and Connect Divide By Value.

Man07.png

Add and Connect Divide By Value.

Man08.png

Add and Connect Integrer To Analog.

Man09.png

Add and Connect Divide By Value.

Man10.png

Add and Connect Divide By Value.

Man11.png

Add and Connect Complementary Analog Filter.

Man12.png
Man12 a.png

Add, Configure and Connect Packet.

Man13.png

Add and Connect Formatted Text.

Man14.png

Configure Wifi

Lok01.png
Lok01 a.png
Lok02 a.png

ESP8266 NodeMcu configuration wifi based:
https://www.instructables.com/id/ESP8266-and-Visui...

Step 14 and 15.

Lok02.png

Lok03.png

Lok04.png

Lok05.png

Lok06.png

Lok07.png

Lok08.png

Lok09.png

Lok10.png

Lok11.png

Lok12.png

Lok13.png

Lok14.png

Lok15.png

Lok16.png

Lok17.png

Lok18.png

Happy Bartosz. the Locomotive Is Going.

Happy Bartosz.JPG

Happy Bartosz. The locomotive is going.