![]() ![]() Das ESP-Modul verbindet sich mittels Serial mit der Zentralen-MCU. Das ESP-Modul benötigt ein eigenes Sketch, welches im Downloadbereich heruntergeladen werden kann. If you use the Arduino UNO with WiFi over Software Serial, you can't activate the Ethernet-Interface!įür die WiFi-Kommunikation wird das ESP82660-01 Modul eingesetzt. To reset the IP to default you need to hold the power on/off switch while power plug in. You can also activate DHCP to receive a IP. The used IP-Address is by default 192.168.0.111/24 and can be changed only over it's website (you need to activate the website by #define HTTPCONF"). It provides the communication with the Z21 protocol library for cable devices connected to the Arduino W5100 Ethernet Shield. The Ethernet-Interface can be activated inside the sketch with "#define LAN". To select your own used protocols and hardware you have to (de)activate the interfaces inside the Arduino sketch (with "//" infront of #define or #include you can deactivate the unused protocol!). ![]() The central station support different protocols and it's own hardware interface. The Arduino Z21 DCC Central Station generates the DCC signal by using my own DCCInterface Library and Timer1/Timer2 (selectable). I am pleased to receive suggestions and unknown problems by: Email or they can also discussed on Stummis Modellbahnforum. (solved, from XpressNetMaster Libary v2.9.0) when reading CVs from a ROCO Multimaus the Multimaus blocks.(solved, from v4.86) crash when open the switch panel on mobile Z21-App.(solved, from v4.88) not correct init of EEPROM-Values when upload the sketch the first time.(solved, from v4.89) no status of LocoNet occupy detectors on mobile Z21-App.It doesn't have a 100% support for the used protocols. This project is private and just developed by myself. More informations you can find on the german Stummis Modellbahnforum. addition: Softwareupdate and own changes, because of open source software, with the upload of the Arduino IDE.DCC-Input connection from a "foreign central station" (only for Arduino MEGA).programming of LocoNet LNCV (configuration variable) with the Z21 mobile APP (supported from version v4.52).LocoNet-Client Mode (Slot-Server can be switched off) for connection to Uhlenbrock Intellibox.NEW: support for F9 up to F28 for Intellibox (supported from version v4.72).LocoNet with slot-management for FRED or Uhlenbrock DAISY handdevice.XpressNet XpressNet with protocol version 3.6.S88N feedback ( Arduino Simpel S88 Interface).NEU: CV read and write (with optional programming track) (supported from version v4.75).NEW: RailCom® Cutout for internal booster (supported from version v4.70).internal DCC booster (TLE5205 driver with 5A).extern booster connection for ROCO 10761/10764 Digitalamplifier.control 29 function (light, F0, F1 to F28),.WiFi Interface (Accesspoint- or/and Client-use).communication over ethernet with the " Z21 LAN protocol" of ROCO/Fleischmann, with more then only ten "clients"!.With extensions you can add for example even a WiFi AP or Client (with ESP6288) to the central station. With the ethernet shield you can include the central station into a already used home network with WiFi to control over smartphone hand device or other software for example Rocrail your model railroad. The basic version need for the network connection a Ethernet Shield with a W5100 chip (at AliExpress for about 5,- Euro). ![]() Here I will describe the build up of the Z21 DCC Central Station on the base platform of the Arduino ( Arduino MEGA buy it on AliExpress for about 8,- Euro) to control the model railway via the Z21 LAN protocol. The self-construction central station should also have a network interface for APP and PC control, XpressNet, S88 and LocoNet so it will be equal or even more powerful then the original ROCO Z21. My intention was to reduce the hardware or/and replace it with software. A very good but also very expensive model railway control ROCO Z21 and the XpressNet gave me the idea to develop a own central station.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |