

An AC supply provides alternating current (AC) voltage to power electrical devices and circuits. Unlike direct current (DC), AC voltage alternates its polarity and direction over time, typically in a sinusoidal waveform. AC supplies are commonly sourced from wall outlets, generators, or transformers and are widely used in residential, commercial, and industrial applications.








The specifications of an AC supply can vary depending on the region and application. Below are general technical details:
| Parameter | Specification (Typical) |
|---|---|
| Voltage Range | 110V to 240V AC (region-dependent) |
| Frequency | 50 Hz or 60 Hz (region-dependent) |
| Waveform | Sinusoidal |
| Power Rating | Varies (e.g., 100W to several kW) |
| Output Type | Single-phase or three-phase |
| Connector Type | Standard wall plug or terminal connections |
For an AC supply, the pin configuration typically refers to the connections on the plug or terminal block. Below is a table describing the common pin assignments:
| Pin Name | Description |
|---|---|
| Live (L) | Carries the active AC voltage. |
| Neutral (N) | Completes the circuit and returns current to the source. |
| Ground (G) | Provides safety by connecting to the earth ground. |
While the Arduino UNO operates on DC voltage, an AC supply can be used indirectly by converting AC to DC using an adapter or power supply module. Below is an example of powering an Arduino UNO with an AC supply:
// Example Arduino code to blink an LED
// This assumes the Arduino is powered via an AC-DC adapter.
const int ledPin = 13; // Built-in LED pin on most Arduino boards
void setup() {
pinMode(ledPin, OUTPUT); // Set the LED pin as an output
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
Device Not Powering On:
Frequent Tripping of Circuit Breaker:
Electric Shock When Touching the Device:
Noise or Flickering in Connected Devices:
By following these guidelines and best practices, you can safely and effectively use an AC supply in your projects and applications.