logo elektroda
logo elektroda
X
logo elektroda

Transition from ESP8266 to ESP32 without redesigning the board - adapter can be created

Kuba_Cooper 630 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19163970
    Kuba_Cooper
    Level 3  
    Hi!
    I have a board designed with several devices on I2C, output/input. All of this is supported by the ESP8266. However, I'm struggling with performance issues with this chip, so I'd like to make the switch to its big brother, the ESP32, as painless as possible. I'm wondering if it would be possible, instead of redesigning the whole board, to design an "adapter" which would match the ESP8266 with pins on one side and with paths leading to the same places in ESP32. Has anyone tried this solution yet and is it even doable according to you? I don't need additional I/O just more RAM/processor power.
  • ADVERTISEMENT
  • #2 19164027
    khoam
    Level 42  
    Kuba_Cooper wrote:
    I wonder if it would be possible, instead of redesigning the whole board, to design an "adapter" that would fit the ESP8266 with pins on one side and with paths to the same places in the ESP32
    .
    I think this is possible (I have not done such experiments and have not seen such a solution). However, it could not be a "1:1" pin mapping. For example: on the ESP8266, I2C is assigned by default to GPIO4 and GPIO5 ( Link ), while on the ESP32 it is assigned to GPIO21 and GPIO22 ( Link ). There are more such 'nuances'.

    Added at 9 [minutes]:

    Edit:
    I found on the net, a similar solution - an adapter from ESP32 to NodeMCU (ESP8266): Link .
  • ADVERTISEMENT
  • #3 19164082
    Zdzicho
    Level 25  
    There is also LoLin in esp32 and 8266 versions.
  • ADVERTISEMENT
  • #4 19164779
    Slawek K.
    Level 35  
    It is easy to make a hardware adapter, but of course you have to modify the software.

    Greetings
  • ADVERTISEMENT
  • #5 19165248
    Nagus
    Level 27  
    And what is the ESP8266 doing that is so demanding that it can't cope? Are you generating/receiving signals with microsecond timing?
    I'm afraid the problem might be faulty software design, in which case even switching to an RPi with a quad-core CPU won't help.
    In other words: write something about this project, because you might not have to mess around with adapters.
  • #6 19174252
    krzbor
    Level 27  
    The problem may be the lack of hardware I2C on the ESP8266. The ESP32 has several hardware I2Cs.
ADVERTISEMENT