Controll Railway Model With Visuino Programmed ESP8266 Wi-Fi
by ziejezy in Circuits > Remote Control
4564 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](/proxy/?url=https://content.instructables.com/FLF/LMQW/J4SQ67J5/FLFLMQWJ4SQ67J5.jpg&filename=BR 80 018 wifi ESP8266 Visuino BLDC czestotliwosc obroty predkosc dystans nastawnik zasilanie swiatl)
![BR 80 018 wifi ESP8266 Visuino BLDC part 2](/proxy/?url=https://content.instructables.com/FWL/5AW5/J4SQ67QQ/FWL5AW5J4SQ67QQ.jpg&filename=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](/proxy/?url=https://content.instructables.com/FOD/401Y/J4SQ5ZMW/FOD401YJ4SQ5ZMW.png&filename=Man00.PNG)
![Lok000.PNG](/proxy/?url=https://content.instructables.com/F2P/2I1P/J4SQ63C9/F2P2I1PJ4SQ63C9.png&filename=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](/proxy/?url=https://content.instructables.com/FJI/ZGDN/J4SQ693C/FJIZGDNJ4SQ693C.png&filename=Nidec 13H055B020 new jumpers.PNG)
![Nidec 13H055B020 jumper remove .PNG](/proxy/?url=https://content.instructables.com/FDM/FN9Y/J4SQ693H/FDMFN9YJ4SQ693H.png&filename=Nidec 13H055B020 jumper remove .PNG)
1. Nidec 13H055B020 jumper remove.
2. Nidec 13H055B020 new jumpers
ESP8266 NodeMcu Configuration Wifi.
![Man01.png](/proxy/?url=https://content.instructables.com/FEL/STRV/J4SQ5YYZ/FELSTRVJ4SQ5YYZ.png&filename=Man01.png)
![Man01 a.png](/proxy/?url=https://content.instructables.com/FNC/JVRZ/J4SQ5ZN2/FNCJVRZJ4SQ5ZN2.png&filename=Man01 a.png)
ESP8266 NodeMcu configuration wifi based:
https://www.instructables.com/id/ESP8266-and-Visui...
Step 5 and 6.
![Man02.png](/proxy/?url=https://content.instructables.com/F09/EZH9/J4SQ5YZ6/F09EZH9J4SQ5YZ6.png&filename=Man02.png)
ESP8266 NodeMcu configuration wifi.
![Man03.png](/proxy/?url=https://content.instructables.com/FF4/WK03/J4SQ5YZE/FF4WK03J4SQ5YZE.png&filename=Man03.png)
Add and Connect Make Structure.
![Man04.png](/proxy/?url=https://content.instructables.com/F6Z/VSCA/J4SQ5YZQ/F6ZVSCAJ4SQ5YZQ.png&filename=Man04.png)
Add and Connect Split Structure.
![Man05.png](/proxy/?url=https://content.instructables.com/FVI/JYYN/J4SQ5YZT/FVIJYYNJ4SQ5YZT.png&filename=Man05.png)
Add and Connect Complementary Analog Filter
![Man06.png](/proxy/?url=https://content.instructables.com/FES/FQ1D/J4SQ5Z01/FESFQ1DJ4SQ5Z01.png&filename=Man06.png)
Add and Connect Divide By Value.
![Man07.png](/proxy/?url=https://content.instructables.com/FDI/TURW/J4SQ5Z0A/FDITURWJ4SQ5Z0A.png&filename=Man07.png)
Add and Connect Divide By Value.
![Man08.png](/proxy/?url=https://content.instructables.com/F5O/BX34/J4SQ5Z0G/F5OBX34J4SQ5Z0G.png&filename=Man08.png)
Add and Connect Integrer To Analog.
![Man09.png](/proxy/?url=https://content.instructables.com/F7F/K0K6/J4SQ5Z0R/F7FK0K6J4SQ5Z0R.png&filename=Man09.png)
Add and Connect Divide By Value.
![Man10.png](/proxy/?url=https://content.instructables.com/FQM/26T2/J4SQ5Z0Y/FQM26T2J4SQ5Z0Y.png&filename=Man10.png)
Add and Connect Divide By Value.
![Man11.png](/proxy/?url=https://content.instructables.com/FYK/L196/J4SQ5Z19/FYKL196J4SQ5Z19.png&filename=Man11.png)
Add and Connect Complementary Analog Filter.
![Man12.png](/proxy/?url=https://content.instructables.com/FRF/Z1RW/J4SQ5Z1D/FRFZ1RWJ4SQ5Z1D.png&filename=Man12.png)
![Man12 a.png](/proxy/?url=https://content.instructables.com/F0Y/G182/J4SQ61MU/F0YG182J4SQ61MU.png&filename=Man12 a.png)
Add, Configure and Connect Packet.
![Man13.png](/proxy/?url=https://content.instructables.com/FVN/DG0U/J4SQ5Z2B/FVNDG0UJ4SQ5Z2B.png&filename=Man13.png)
Add and Connect Formatted Text.
![Man14.png](/proxy/?url=https://content.instructables.com/FXL/QKIB/J4SQ5Z2S/FXLQKIBJ4SQ5Z2S.png&filename=Man14.png)
Configure Wifi
![Lok01.png](/proxy/?url=https://content.instructables.com/FKI/DHT0/J4SQ61U4/FKIDHT0J4SQ61U4.png&filename=Lok01.png)
![Lok01 a.png](/proxy/?url=https://content.instructables.com/FH1/5N54/J4SQ61T1/FH15N54J4SQ61T1.png&filename=Lok01 a.png)
![Lok02 a.png](/proxy/?url=https://content.instructables.com/FJ3/ZH0Z/J4SQ61U5/FJ3ZH0ZJ4SQ61U5.png&filename=Lok02 a.png)
ESP8266 NodeMcu configuration wifi based:
https://www.instructables.com/id/ESP8266-and-Visui...
Step 14 and 15.
![Lok02.png](/proxy/?url=https://content.instructables.com/FTF/5R2C/J4SQ61VA/FTF5R2CJ4SQ61VA.png&filename=Lok02.png)
![Lok03.png](/proxy/?url=https://content.instructables.com/FP9/8UH8/J4SQ61VB/FP98UH8J4SQ61VB.png&filename=Lok03.png)
![Lok04.png](/proxy/?url=https://content.instructables.com/FZN/HR87/J4SQ61WF/FZNHR87J4SQ61WF.png&filename=Lok04.png)
![Lok05.png](/proxy/?url=https://content.instructables.com/FIR/23GM/J4SQ61WG/FIR23GMJ4SQ61WG.png&filename=Lok05.png)
![Lok06.png](/proxy/?url=https://content.instructables.com/FP5/5E02/J4SQ61XK/FP55E02J4SQ61XK.png&filename=Lok06.png)
![Lok07.png](/proxy/?url=https://content.instructables.com/F54/8S7F/J4SQ61XL/F548S7FJ4SQ61XL.png&filename=Lok07.png)
![Lok08.png](/proxy/?url=https://content.instructables.com/F41/G9UE/J4SQ61YP/F41G9UEJ4SQ61YP.png&filename=Lok08.png)
![Lok09.png](/proxy/?url=https://content.instructables.com/FHT/GHH1/J4SQ61YQ/FHTGHH1J4SQ61YQ.png&filename=Lok09.png)
![Lok10.png](/proxy/?url=https://content.instructables.com/FAM/64KS/J4SQ61YR/FAM64KSJ4SQ61YR.png&filename=Lok10.png)
![Lok11.png](/proxy/?url=https://content.instructables.com/F11/962K/J4SQ61YS/F11962KJ4SQ61YS.png&filename=Lok11.png)
![Lok12.png](/proxy/?url=https://content.instructables.com/FVM/GZGW/J4SQ61YT/FVMGZGWJ4SQ61YT.png&filename=Lok12.png)
![Lok13.png](/proxy/?url=https://content.instructables.com/F4F/8MPE/J4SQ61YV/F4F8MPEJ4SQ61YV.png&filename=Lok13.png)
![Lok14.png](/proxy/?url=https://content.instructables.com/FC5/L51U/J4SQ61YW/FC5L51UJ4SQ61YW.png&filename=Lok14.png)
![Lok15.png](/proxy/?url=https://content.instructables.com/FEJ/IAPY/J4SQ61YX/FEJIAPYJ4SQ61YX.png&filename=Lok15.png)
![Lok16.png](/proxy/?url=https://content.instructables.com/F3Q/ZE9U/J4SQ61YY/F3QZE9UJ4SQ61YY.png&filename=Lok16.png)
![Lok17.png](/proxy/?url=https://content.instructables.com/F02/8477/J4SQ61YZ/F028477J4SQ61YZ.png&filename=Lok17.png)
![Lok18.png](/proxy/?url=https://content.instructables.com/FZD/779T/J4SQ61Z0/FZD779TJ4SQ61Z0.png&filename=Lok18.png)
Happy Bartosz. the Locomotive Is Going.
![Happy Bartosz.JPG](/proxy/?url=https://content.instructables.com/FOA/I6TM/J4SQ6683/FOAI6TMJ4SQ6683.jpg&filename=Happy Bartosz.JPG)
Happy Bartosz. The locomotive is going.