Implement S88/S88-n Sensor support #2
Comments
Implemented in v1.1.0 |
Hi, All I have found is this page: Unfortunately I haven't found a single wiring scheme. Could you please share more details on that, perhaps add it to the documentation page? Info like: what components should one buy, where should it get connected to on the ESP32 board and maybe some simple scheme would help a lot. Thank you very much. |
@zubozrout I've been meaning to add more documentation all around on the site. I'll add some details on the wiring. For S88 you would likely be best with an RJ45 breakout board for the connections to the esp32. Three pins are common across all S88 buses with one additional pi per bus for data. I've got a reference page for the S88 pinout for RJ45 and the inline pin connector and will add both to the webpage today. |
@zubozrout I've updated the page to now include more details. It may take a short bit for it to replicate to the webservers. |
Thank you very much for all the info and the updated wiki, really appreciate it :). |
Hello,
It might be related to this All I have available is the DCCppESP32 Web interface and JMRI. And then a occupancy detector connected to the S88N bus. Also, once the data pin is configured, what should I see? Will there be a new item for S88 sensors in the Web UI and/or where to look for that in JRMI? Thank you very much and sorry to be bothering you with these for sure trivial things to solve. |
If you enable the S88 support in the code, recompile and flash it to the esp32 you should see a S88 section available on the configuration tab of the web interface. From the web interface you should be able to create the S88 Bus with the data pin and how many S88 inputs are expected. Sending the S88 command as written above is not directly supported from JMRI. Once the S88 Bus has been defined, the inputs will show up as regular sensors in JMRI with a base ID of 512 (default) and count upwards from there for each input. Secondary buses will do the same but will start with the first sensor id as a multiple of 512. |
This will provide up to 512 sensors with only a few GPIO pins required to read state of the inputs.
The text was updated successfully, but these errors were encountered: