Hardware question

Hi,

Finally after much back & forth, I am getting very used to Tasmota flashing and even compiled my own binaries for the stepper motors and MCP23017 support!

While I am getting comfortable using these boards (Sonoff, NodeMCU, D1 Mini) around my house, I am curious if there are any documented limits or expected points of hardware failure based on read, write, CPU cycles etc.

If anyone has deeper knowledge of these hardware(s), please point me to the right resource.
Thanks,

1 Like

You can probably only re-flash them about 100,000 times each :slight_smile:

But seriously, for the ESP8266 based devices, saving states in flash memory for power restore state can potentially wear out the flash memory.

There’s an explanation here that applies to Tasmota too: ESPHome Core Configuration — ESPHome

1 Like

Thanks Tom, it makes sense!

So retaining messages on MQTT could be a good way to not write state in flash, please correct me if I am wrong here as I have been using more and more of MQTT retain options for switches.

Indeed. But be careful with retain. It can cause odd behaviour.

Hey there @PanMat !

I’m smashing my head against the wall trying to use some stepper motors (L293D) thru an MCP23017 and ESP32, did you manage to make it work? If so, could you help me point out how you managed to do it?

thanks a lot :smiley:

I’m creating an open source hydropnics system and its for that =) GitHub - jnrivra/QiU

cheers!

Yes I managed to make it work using Tasmota, 28BYJ-48 & A4988 driver board - here are few links for your reference.

https://tasmota.github.io/docs/A4988-Stepper-Motor-Controller/ - this one has a wiring diagram which is quiet helpful.

Here are few more pointers:

  1. You can use ESPHome instead of Tasmota and may not have to compile custom binaries for motor’s driver board
  2. First try the motor with a ESP board without the complexity of MCP23017, as MCP23017 requires compilation of custom binary and lot can go wrong with those steps.

Good luck!

thaaaaank sooo much!

have a great weekend!