MCUs are ideal MQTT clients because the protocol is lightweight and designed for low-bandwidth, low-RAM environments.
This code example demonstrates system power supply control for the Raspberry Pi based application using PIC16F15245 Control board. For more details refer section 6 “Appendix: System Power Supply ...