The following schematic shows the Relay Wiring Circuit Diagram for controlling an Air Conditioner or other higher high-current device from a microcontroller. This circuit is necessary if you are using a relay with a coil that needs more power than the microcontroller can supply.