====== Interfacing with a Generic Microcontroller ====== The ComfileHMI's RS-232 ports are PC-level (+/-12V), so it may be necessary to adapter your MCU's 5V or 3.3V UART signals. {{ :comfilehmi:hmi_connection_mcu:connectionmcu.png?nolink | }} * For adapting 5V levels, use a[[https://www.maximintegrated.com/en/products/interface/transceivers/MAX232.html|MAX232]] or similar transceiver. * For adapting 3.3V levels, use a[[https://www.maximintegrated.com/en/products/interface/transceivers/MAX3232.html|MAX3232]] or similar transceiver. ===== ComfileHMI Project Communication Settings ====== When creating a new project, select //MCU// and //SIMPLE MODBUS//. {{ :comfilehmi:hmi_connection_mcu:eprj3.png?nolink |}} [[comfilehmi:simplemodbus:index|More about Simple MODBUS]]. ===== Example ====== {{ :comfilehmi:hmi_connection_mcu:plchmi2.gif?nolink |}} [[comfilehmi:index#ComfileHMI_Connectivity| Back to ComfileHMI]]