Usb host capability + power supply



  • Hi Commmunity;
    i am planning on using the M5Stack as a controllunit for a device, that has its own power supply.
    The device has only a RS232 seriell port, however i could modify this device and use a pin of the r232 as a powersupply for the M5. The most elegant solution would be to use the usb-c port of the M5 to controll my device and to power the M5 at the same time. Now my questions:
    Has anyone tried something similiar ?
    Has anybody advice for controlling a device via seriell connection ?
    Can the M5 act as an usb host while simultaneously receiving its powersupply via usbc ?
    Thanks in advance fo any help.