External port expander module #34
falkoschindler
started this conversation in
Ideas
Replies: 3 comments 1 reply
-
We should try to make the address-schema and baud rates compatible with modbus. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I created a pull request (#44) containing the OTA functionality via HTTPS OTA update. It is controlled by the core module with |
Beta Was this translation helpful? Give feedback.
0 replies
-
See PR #64 "External Expander". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To increase the number of available pins and to simplify wiring, we've been thinking about creating a bus system for external port expanders. Here is a short sketch of our current idea:
Expander
module remains unchanged.core.ota(wifi_ssid, wifi_password, ota_url)
method for firmware updates "over the air".ExternalExpander(serial, address)
module for communicating with external port expanders, which is very similar to the existingExpander
module.core.store(key, value)
command to write its address (key__address
) to the NVS.ExternalExpander.ota(...)
method which callscore.ota(...)
on the external ESP using its address (see syntax below).Usage example:
Syntax for inter-ESP communication with leading two-digit hex address
Beta Was this translation helpful? Give feedback.
All reactions