
This circuit is designed to control a DC motor using a single-pole single-throw (SPST) toggle switch. The 9V battery provides power to the motor, and the toggle switch acts as an on/off control to allow or interrupt the current flow to the motor.

A Single Pole Single Throw (SPST) switch is a fundamental electronic component used to control the flow of current in a circuit. It operates as a simple on/off switch, with two terminals that either connect or disconnect a single circuit. When the switch is closed, it allows current to flow; when open, it interrupts the flow.

This circuit is designed to control a DC motor using a single-pole single-throw (SPST) toggle switch. The 9V battery provides power to the motor, and the toggle switch acts as an on/off control to allow or interrupt the current flow to the motor.

This circuit features a parallel arrangement of SPST rocker switches, each capable of independently controlling the connection of a separate circuit branch to a common line. It is likely designed for simple on/off control of multiple individual loads or signals, with each switch operating a distinct load or signal path.

This circuit consists of a 5V battery powering a 4-channel relay module, which controls four LEDs (red, yellow, green, and blue) through individual resistors. Each relay channel is activated by a corresponding SPST toggle switch, allowing manual control of the LEDs.

This circuit controls a DC motor using a 9V battery and a single-pole single-throw (SPST) rocker switch. The switch allows the user to turn the motor on and off by connecting or disconnecting the power from the battery to the motor.
Below are the key technical details of a typical SPST switch:
| Parameter | Value |
|---|---|
| Type | Single Pole Single Throw (SPST) |
| Number of Terminals | 2 |
| Voltage Rating | Typically 3V to 250V (varies by model) |
| Current Rating | Typically 0.5A to 15A (varies by model) |
| Contact Resistance | < 50 mΩ |
| Insulation Resistance | > 100 MΩ |
| Mechanical Life | 10,000 to 100,000 operations |
The SPST switch has two terminals, as described below:
| Pin | Description |
|---|---|
| Pin 1 | Connects to one side of the circuit (input) |
| Pin 2 | Connects to the other side of the circuit (output) |
Below is an example of how to use an SPST switch as an input to an Arduino UNO:
// Example: Reading the state of an SPST switch with Arduino UNO
const int switchPin = 2; // Pin connected to one terminal of the SPST switch
const int ledPin = 13; // Built-in LED pin on Arduino UNO
void setup() {
pinMode(switchPin, INPUT_PULLUP); // Configure switch pin as input with pull-up resistor
pinMode(ledPin, OUTPUT); // Configure LED pin as output
}
void loop() {
int switchState = digitalRead(switchPin); // Read the state of the switch
if (switchState == LOW) {
// If the switch is closed (connected to ground), turn on the LED
digitalWrite(ledPin, HIGH);
} else {
// If the switch is open, turn off the LED
digitalWrite(ledPin, LOW);
}
}
Notes:
INPUT_PULLUP mode enables the internal pull-up resistor, simplifying the circuit by eliminating the need for an external resistor.Switch Not Working:
Switch Bouncing:
Overheating or Damage:
No Response in Arduino Circuit:
Q: Can I use an SPST switch to control AC devices?
A: Yes, but ensure the switch is rated for the voltage and current of the AC device. Use caution when working with high voltages.
Q: How do I debounce an SPST switch in software?
A: You can use a delay or a state-checking algorithm in your code to filter out rapid toggling caused by mechanical bouncing.
Q: Can I use an SPST switch with a breadboard?
A: Yes, SPST switches are commonly used with breadboards for prototyping. Ensure the switch fits securely into the breadboard holes.
Q: What is the difference between SPST and SPDT switches?
A: An SPST switch controls a single circuit with two terminals, while an SPDT (Single Pole Double Throw) switch has three terminals and can toggle between two circuits.
This concludes the documentation for the SPST switch.