ESP32 - which board to connect 2 USB host devices (CDC)
Posted: Thu Feb 01, 2024 10:10 pm
Hello!
I would like to make my first project on ESP32 using Micropython.
What I want to do is something like protocol converter between 2 USB devices.
In fact it is only one way communication (first device sending data and the second one is receiving).
The packet must be parsed and rebuild so the receiving device can understand the message)
Each device creates virtual COM (on Windows PC) or /dev/ttyUSBx on raspberry pi.
(It works on raspberry pi and it seems that first device is using FTDI driver and second PL2303.
I actually have this board https://www.diymore.cc/products/diymore ... no-nodemcu )
but unfortunately it seems that host USB library for MicroPython is still under development (no final release yet).
My questions are:
1. Which board do you recommend for my project (I don't need display - I got this board as a gift and it was lying somewhere in my desk)
2. This board should also be fixed and battery powered including charger/charge protection circuit)
3. Is there any working USB library for MicroPython
4. I MicroPython a story of success or should I start learning C/C++.
Since I know a little python (raspberry pi), I thought it would be easier to switch to MicroPython.
I appreciate your help.
Regards,
[Beer]
I would like to make my first project on ESP32 using Micropython.
What I want to do is something like protocol converter between 2 USB devices.
In fact it is only one way communication (first device sending data and the second one is receiving).
The packet must be parsed and rebuild so the receiving device can understand the message)
Each device creates virtual COM (on Windows PC) or /dev/ttyUSBx on raspberry pi.
(It works on raspberry pi and it seems that first device is using FTDI driver and second PL2303.
I actually have this board https://www.diymore.cc/products/diymore ... no-nodemcu )
but unfortunately it seems that host USB library for MicroPython is still under development (no final release yet).
My questions are:
1. Which board do you recommend for my project (I don't need display - I got this board as a gift and it was lying somewhere in my desk)
2. This board should also be fixed and battery powered including charger/charge protection circuit)
3. Is there any working USB library for MicroPython
4. I MicroPython a story of success or should I start learning C/C++.
Since I know a little python (raspberry pi), I thought it would be easier to switch to MicroPython.
I appreciate your help.
Regards,
[Beer]