Cov txheej txheem:
- Kauj Ruam 1: Nkag Siab Rau Hauv ESP32 Nta & Siv Nws Nrog Arduino IDE
- Kauj Ruam 2: Daim duab Circuit Court thiab PCB
- Kauj Ruam 3: ESP32 Node MCU Sketch
- Kauj Ruam 4: Arduino Pro Mini Sketch
- Kauj Ruam 5: WiFi_DCC App
Video: WiFi DCC Qhov Chaw Nres Nkoj rau Cov Qauv Tsheb nqaj hlau: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hloov kho 5 Lub Plaub Hlis 2021: kos duab tshiab thiab hloov kho rau cov khoom siv hluav taws xob. Qhov tshiab kos duab: command_station_wifi_dcc3_LMD18200_v4.ino
Hom DCC tshiab siv WiFi los sib txuas lus qhia 3 cov neeg siv xov tooj ntawm tes/ntsiav tshuaj tuaj yeem siv rau ntawm tus qauv zoo rau ob qho tib si hauv tsev thiab qws qauv kev tsheb ciav hlau
Ib qho yooj yim hluav taws xob hluav taws xob muab DCC teeb liab thiab lub zog rau txoj kev taug, txawm li cas los xij App ua haujlwm tiag tiag! Lub khoos phis tawj ntawm koj lub xov tooj tau siv tag nrho los ntawm kev tsim cov lej uas yuav tsum tau ua los ua txhua pob ntawv ntawm cov lus qhia, yog li ua kom yooj yim txoj haujlwm ntawm tus tswj hwm micro!
App muaj nyob ntawm £ 8.49 ntawm Play Store 'Locomotive DCC 3 WiFi'
- Cov App no yuav tsum tau teeb tsa hauv cov khoom siv nrog Android 7 nce mus.
Qhov yooj yim tshaj puas tau NMRA ua raws DCC Command chaw nres tsheb !! Saib cov npe ntawm cov yam ntxwv hauv qab no
Haum rau tus qauv NMRA sib xws decoders piv txwv Bachmann, Lenz, Atlas, Hornby, thiab lwm yam
Cov yam ntxwv suav nrog: Txog 3 tus neeg siv hauv Android xov tooj lossis ntsiav tshuaj (muaj txiaj ntsig zoo rau cov tswv cuab koom nrog) 4 Tus lej loco hais txog qhov kev zov me nyuam ntawm lub ntsiab (PoM) Muaj kev tswj hwm Kev Tswj ntawm 1 txog 50 qhov chaw Nyob Tsav mus txog 12 OO/HO locomotivesShort circuit tiv thaiv Tsis siv neeg ntau dhau txiav tawm -Lights thiab kev coj ua 1 txog 28Turnout / cov ntsiab lus / cov khoom siv ntxiv txog 255 khub ntawm cov txiaj ntsig Kev cai lub npe ntawm koj qhov chaw Nyob Hloov pauv ib qho kev ua haujlwm rau ib ntus rau / tawm hloov pauv App muaj lub npe hloov pauv tau, pom kev thiab pom tau ib ntus ntawm 28 cov haujlwm muaj nuj nqi ib lub sijhawm Ntxiv qhov nrawm tshaj plaws rau txhua qhov chaw Xaiv DC lub zog hluav taws xob kom haum rau qhov ntsuas siv (Z/N/OO/HO/O) 14v txog 16v
Daim ntawv teev npe:
1 tawm ESP32 S Pawg Thawj Coj Loj 2.4GHz WiFi+Bluetooth Antenna CP2102 Module
Nco tseg: saib tus pin tawm daim duab rau kev teeb tsa lub cuab yeej raug rau qhov PCB tsim
1 tawm ntawm Arduino Pro Mini Atmega328P 5V/16M
1 tawm LMD18200T H-choj IC
1 tawm 0.1 ohm 2W Hlau Zaj Duab Xis Resistor (11.5 mm x 4.5 mm)
7 tawm Capacitor 0.1uf
Nco tseg: 10k resistor ib sab ntawm 4.7k tsis xav tau rau WiFi version
1 tawm 470 ohm (nyob rau hauv qhov chaw ntawm 10k ib sab ntawm 0.1 ohm resistor
1 tawm 2k8Ω Resistor (qhov no tuaj yeem yog 2.2k lossis 2.7k lossis 2.8k)
2 tawm 180Ω Resistors
1 tawm Capacitor 10uf 25v;
1 tawm Capacitor 220uf 16v;
1 Phoenix Hu rau MKDS 1/ 2-3, 5 2 Txoj Kev Ntsia Hlau PCB Terminal Thaiv 13.5A 200V 3.5mm
1 4.7kΩ Resistor
1 L7805 CV Cov Qauv Hluav Taws Xob Zoo IC nrog 1 Heatsink TO 220 style rau L7805
Nco tseg: tus tswj hwm 5v no yuav kub, tshwj tsis yog siv lub dab dej kub txaus
Tej zaum nws yuav tsum tau teeb tsa sab nrauv no los ntawm PCB nrog xaim txuas
2 tawm 15 tus pin Poj Niam Header Edge Pins Sawb 0.1 2.54mm
2 tawm 12 tus pin Poj Niam Header Edge Pins Sawb 0.1 2.54mm
1 tawm 6 tus pin 2.54mm PCB Universal Screw Terminal Block
1 tawm Zener Diode 4.7V 0.5 watt lossis 3.6v 0.5 watt
Hlau
Fais fab mov:
TSIS TXHOB siv DC lub tsheb ciav hlau tswj hwm vim tias cov no tsis muab qhov tseeb DC qhov hluav taws xob.
15V 2 Amp version nrog 2.1 x 5.5 mm ntsaws, tshawb rau eBay yam khoom # 401871382681
Kauj Ruam 1: Nkag Siab Rau Hauv ESP32 Nta & Siv Nws Nrog Arduino IDE
Ob peb xyoos dhau los, ESP8266 coj lub ntiaj teb IoT los ntawm cua daj cua dub. Tsawg dua $ 3, koj tuaj yeem tau txais lub programmable, WiFi-enabled micro-controller muaj peev xwm saib xyuas thiab tswj hwm txhua yam los ntawm txhua qhov chaw hauv ntiaj teb. Tam sim no Espressif (Lub tuam txhab semiconductor tom qab ESP8266) tau tshaj tawm qhov kev hloov pauv zoo tshaj plaws: ESP32. Ua tus ua tiav rau ESP8266; tsis tsuas yog nws muaj kev txhawb nqa WiFi, tab sis nws tseem muaj Bluetooth 4.0 (BLE/Bluetooth Ntse) - zoo meej rau tsuas yog hais txog ib qhov haujlwm IoT.
ESP32 Sib Koom 802.11b/g/n HT40 Wi-Fi transceiver, yog li nws tuaj yeem tsis tsuas yog txuas rau WiFi network thiab cuam tshuam nrog Is Taws Nem, tab sis nws tseem tuaj yeem teeb tsa lub network ntawm nws tus kheej, tso cai rau lwm yam khoom siv txuas ncaj qha rau nws. ESP32 txhawb WiFi ncaj qha ib yam, uas yog qhov kev xaiv zoo rau cov phooj ywg-rau-phooj ywg kev sib txuas yam tsis xav tau lub nkag nkag. WiFi ncaj qha tau teeb tsa yooj yim dua thiab cov ntaub ntawv xa mus nrawm dua li Bluetooth. Qhov tseem muaj ob lub peev xwm Bluetooth muaj peev xwm, txhais tau tias nws txhawb nqa ob qho Bluetooth 4.0 (BLE/Bluetooth Smart) thiab Bluetooth Classic (BT), ua rau nws ntau dua ntau yam.
Hauv txoj haujlwm no, kuv tsuas yog siv lub peev xwm WiFi los tsim lub server hauv zos rau DCC qhov chaw nres tsheb kom sib txuas lus nrog Android App.
Hauv kev tshawb xav, nws muaj peev xwm tsuas yog siv ESP tus qauv, txawm li cas los xij lub moos tsim cov cai xav tau yog qhov sib txawv kiag li los ntawm AVR moos chaws siv hauv Arduino Pro Mini. Kuv tso txoj haujlwm no rau lwm tus nyeem ntawv nyob ntawd!
Kev sib txuas ntawm ESP32 thiab Arduino yog qhov yooj yim tiag tiag - saib daim duab kos duab. RX, TX los ntawm Pro Mini txuas rau Rx2, Tx2 ntawm ESP ntaus ntawv. Nco tseg kev siv cov tshuaj tiv thaiv kom nqis qis qib teeb liab mus rau ESP32 vim nws tsuas tuaj yeem siv qib 3.3v.
Kauj Ruam 2: Daim duab Circuit Court thiab PCB
Arduino Circuit yog tib yam uas tau siv hauv Bluetooth version. Kuv tau ntxiv cov qhov (socket) los teeb tsa ESP32 qhov chaw ntawm BT module. Tam sim no PCB tau muag rau ntawm eBay ntawm no. Qhov Arduino yuav tsum yog Pro Mini ATmega 328 16MHz 5v version
ESP32 ua raws li WiFi server, tau txais cov ntaub ntawv los ntawm WiFi_DCC App thiab xa qhov no mus rau Arduino ntawm TX2 tus pin. Txhua cov ntaub ntawv rov qab mus rau App yuav raug xa los ntawm tus pin RX2.
Qhov kev txiav txim siab tam sim no 0.1 ohm pom ntau tshaj thiab cov xwm txheej luv luv uas tom qab ntawd teeb tsa lub kaw lus kom txog thaum tau txais lub teeb liab pib dua.
LMD18200T h-choj hloov DCC pob ntawv rau hauv AC waveform uas muab cov khoom khiav nrog lub zog thiab cov ntaub ntawv.
Nco tseg: 5 tus tswj hluav taws xob hauv pob TO-220 tau kub thaum ua kom lub zog ESP32 (txog 200 mA) yog li ntawd yuav tsum siv lub rhaub dej kub.
Kauj Ruam 3: ESP32 Node MCU Sketch
Hloov kho 2020-11-30 - thov siv daim duab tshiab txuas nrog 'DCC_WiFi_v3.ino'
Kho tshiab 17/7/2020 - thov siv daim duab tshiab txuas nrog 'DCC_WiFi_v2.ino'
Qhov kev kos duab no teeb tsa koj cov neeg rau zaub mov hauv zos thiab tau txais kev hloov tshiab los ntawm App ntawm koj lub cuab yeej hauv xov tooj.
Mus rau GitHub txuas kom tau txais cov ntaub ntawv xav tau ntawm no.
ESP32S yuav tsum tau programmed ntawm Arduino IDE. Mus rau Cov Cuab Yeej, Pawg Thawj Coj, thiab xaiv Node32S lossis NodeMCU-32S los ntawm cov npe.
Mus rau Cov Cuab Yeej, Chaw nres nkoj thiab xaiv /dev/cu. SLAB_USBtoUART
Qhov ntawd yog qhov kev xaiv ntawm kuv Apple MacBook Air - qee yam zoo sib xws hauv PC Kuv xav.
Arduino kos duab 'DCC_WiFi_v1.ino' xav tau cov ntaub ntawv hauv tsev qiv ntawv no:
// rau App 'LocoMotive WiFi Controller'
// tsim kom muaj WiFi nkag mus thiab muab lub web server rau nws
#suav nrog "WiFi.h" #suav nrog "WiFiClient.h" #suav nrog "WiFiAP.h"
const char *ssid = "DCC_WiFi"; // yuav tsum tau sib phim hauv Android cov cuab yeej teeb tsaconst char *password = "123456789"; // yuav tsum tau nkag mus thaum xaiv ssid saum toj no
WiFiServer server (80);
Kauj Ruam 4: Arduino Pro Mini Sketch
Hloov kho 5/4/2021 - thov siv daim duab tshiab txuas nrog 'command_station_wifi_dcc3_LMD18200_v4.ino'
Hloov kho 24/3/2021 - thov siv daim duab tshiab txuas nrog 'command_station_wifi_dcc3_LMD18200_v3.ino'
Txhawm rau thauj cov duab kos rau Arduino Pro Mini koj xav tau USB- TTL adapter xws li CH340 muaj nyob ntawm eBay lossis ntawm no ntawm Hobby Components website:
Kauj Ruam 5: WiFi_DCC App
Lub App muaj nyob hauv Google Play Store ntawm no 'LocoMotive DCC 3 WiFi'.
Lub App muaj nyob hauv Google Play Store ntawm no 'LocoMotive DCC 2 WiFi'.
Lub App yuav raug thauj mus rau ntau dua ib lub cuab yeej Android txhawm rau muab ntau DCC lub qhov ncauj.
Nco tseg: App ua haujlwm tau zoo ntawm Android 7, txawm li cas los xij ntawm Android 9 nce koj yuav tsum hloov OFF 'mobile data' hauv xov tooj
Koj kuj tseem yuav tau hloov ON GPS hauv Qhov Chaw Teeb ntawm koj lub cuab yeej.
Tsis tas li, koj yuav tsum nyem qhov Tau Txais WiFi khawm ob peb zaug kom txuas tau zoo.
Pom zoo:
Chaw Nres Tsheb Huab Cua DIY & WiFi Chaw Nres Tsheb Sensor: 7 Kauj Ruam (nrog Duab)
Chaw Tshawb Xyuas Huab Cua DIY & WiFi Chaw Nres Nkoj: Hauv qhov haujlwm no kuv yuav qhia koj yuav tsim lub chaw nres tsheb huab cua nrog rau qhov chaw nres tsheb WiFi sensor. Lub chaw nres tsheb ntsuas ntsuas cov ntaub ntawv kub thiab av noo hauv cheeb tsam thiab xa nws, los ntawm WiFi, mus rau chaw nres tsheb huab cua. Cov chaw nres tsheb huab cua tom qab ntawd qhia t
Laptop Touchpad Tswj Cov Qauv Tsheb nqaj hlau - PS/2 Arduino Interface: 14 Kauj Ruam
Laptop Touchpad Tswj Cov Qauv Tsheb nqaj hlau | PS/2 Arduino Interface: Lub laptop lub touchpad yog ib qho khoom siv zoo tshaj plaws los siv ua cov tswv yim rau microcontroller cov haujlwm. Yog li hnub no, cia siv lub cuab yeej no nrog Arduino microcontroller los tswj tus qauv kev tsheb ciav hlau. Siv lub PS/2 touchpad, peb yuav tuaj yeem tswj 3 t
Yuav Ua Li Cas Tsim Lub Chaw Nres Tsheb txhawm rau daws qhov mob ntawm Nrhiav Qhov Chaw Dawb: 12 Kauj Ruam
Yuav Ua Li Cas Tsim Lub Chaw Nres Tsheb txhawm rau daws qhov Mob ntawm Nrhiav Qhov Chaw Dawb: Hauv qhov haujlwm no peb yuav tsim lub chaw nres tsheb yooj yim uas siv Raspberry Pi. Nws hloov tawm tias txhua tag kis kuv yuav tsum ntsib cov lus nug no: Puas yog XAUS qhov chaw nres tsheb nyob rau ntawm kuv lub chaw haujlwm twb tau coj lawm? Vim tias thaum nws yog qhov tseeb, Kuv yuav tsum tau mus ncig
FinduCar: Lub Ntsej Muag Tsheb Ntsuas Qhia Cov Neeg rau Qhov Chaw Lub Tsheb Nres Tsheb: 11 Cov Kauj Ruam (nrog Duab)
FinduCar: Ntse Lub Ntsiab Tseem Ceeb Qhia Tib Neeg rau Qhov Chaw Tsheb Nres Tsheb: Txhawm rau daws cov teeb meem saum toj no, txoj haujlwm no tawm tswv yim txhawm rau txhim kho tus yuam sij tsheb ntse uas tuaj yeem coj tib neeg mus rau qhov chaw lawv nres tsheb. Thiab kuv txoj kev npaj koom nrog GPS rau hauv lub tsheb tseem ceeb. Tsis tas yuav siv lub smartphone app los taug qab
Qauv tsheb ciav hlau - DCC Chaw Hais Kom Siv Chaw Siv Arduino :: 3 Kauj Ruam
Qauv Kev Siv Hluav Taws Xob - DCC Cov Chaw Nres Nkoj Siv Arduino :: Hloov Kho Lub Yim Hli 2018 - Saib Cov Lus Qhia Tshiab: https: //www.instructables.com/id/Model-Railroad-DC…Update 28th Plaub Hlis 2016: Tam sim no 16 qhov kev tawm/cov ntsiab lus tswj lub peev xwm mus rau Command Station. Kev tawm mus T1 - T8 muaj nyob ntawm 'B' qhov tseem ceeb Qhov kev tawm mus T9 - T1