The Morse Switch, manufactured by Pio XII, is a manual electromechanical switch that operates using a lever or toggle mechanism. It is designed to allow or interrupt the flow of current in a circuit, providing a simple means of control or input. This switch is commonly used in applications such as telegraph systems, user input for control panels, and educational projects to demonstrate basic principles of electrical circuits.
Pin Number | Description |
---|---|
1 | Common (C) |
2 | Normally Open (NO) |
Note: The Morse Switch is a simple two-pin device with one input (Common) and one output (Normally Open). When the lever is actuated, the circuit between these two pins is completed.
Q: Can the Morse Switch be used with AC voltage? A: It is primarily designed for low-voltage DC applications. Check the manufacturer's specifications for AC ratings.
Q: Is the Morse Switch suitable for high-power applications? A: No, it is intended for low-power applications. Using it beyond its rated current can be hazardous.
Q: How can I prevent contact oxidation over time? A: Use the switch regularly to prevent oxidation and ensure a clean contact surface. Avoid environments with high humidity.
// Define Morse Switch pin
const int morseSwitchPin = 2; // Connect Morse Switch to digital pin 2
void setup() {
pinMode(morseSwitchPin, INPUT_PULLUP); // Set the Morse Switch pin as input with internal pull-up
Serial.begin(9600); // Start serial communication at 9600 baud rate
}
void loop() {
// Read the state of the Morse Switch
int switchState = digitalRead(morseSwitchPin);
// Check if the switch is pressed
if (switchState == LOW) {
// Morse Switch is in the 'on' position
Serial.println("Switch ON");
} else {
// Morse Switch is in the 'off' position
Serial.println("Switch OFF");
}
delay(50); // Debounce delay
}
Note: The above code assumes that the Morse Switch is connected to digital pin 2 of the Arduino UNO. The internal pull-up resistor is used to ensure a high signal when the switch is open. When the switch is closed, the pin is pulled to ground (LOW), and the message "Switch ON" is printed to the serial monitor.