

The MX-5 NA Window Switch, manufactured by Mazda, is a control switch designed specifically for the Mazda MX-5 NA model. This component allows the driver and passengers to conveniently operate the electric windows, enabling them to raise or lower the windows with ease. It is a durable and reliable part, engineered to integrate seamlessly with the vehicle's electrical system.








The MX-5 NA Window Switch is a simple yet robust component. Below are its key technical details:
The MX-5 NA Window Switch features a 6-pin connector. The pinout is as follows:
| Pin Number | Description | Function |
|---|---|---|
| 1 | Power Input (+12V) | Supplies power to the switch. |
| 2 | Ground (-) | Provides ground connection. |
| 3 | Left Window Motor (Up) | Controls upward movement of the left window. |
| 4 | Left Window Motor (Down) | Controls downward movement of the left window. |
| 5 | Right Window Motor (Up) | Controls upward movement of the right window. |
| 6 | Right Window Motor (Down) | Controls downward movement of the right window. |
While the MX-5 NA Window Switch is primarily designed for automotive use, it can be integrated into custom projects using an Arduino. Below is an example of how to read the switch state using an Arduino UNO:
// Define pin assignments for the switch
const int leftUpPin = 2; // Pin connected to Left Window Up
const int leftDownPin = 3; // Pin connected to Left Window Down
const int rightUpPin = 4; // Pin connected to Right Window Up
const int rightDownPin = 5; // Pin connected to Right Window Down
void setup() {
// Set switch pins as inputs
pinMode(leftUpPin, INPUT);
pinMode(leftDownPin, INPUT);
pinMode(rightUpPin, INPUT);
pinMode(rightDownPin, INPUT);
// Initialize serial communication for debugging
Serial.begin(9600);
}
void loop() {
// Read the state of each switch pin
int leftUpState = digitalRead(leftUpPin);
int leftDownState = digitalRead(leftDownPin);
int rightUpState = digitalRead(rightUpPin);
int rightDownState = digitalRead(rightDownPin);
// Print the switch states to the Serial Monitor
Serial.print("Left Up: ");
Serial.print(leftUpState);
Serial.print(" | Left Down: ");
Serial.print(leftDownState);
Serial.print(" | Right Up: ");
Serial.print(rightUpState);
Serial.print(" | Right Down: ");
Serial.println(rightDownState);
// Add a small delay to avoid flooding the Serial Monitor
delay(500);
}
Switch Does Not Respond:
Windows Move in the Wrong Direction:
Intermittent Operation:
No Power to the Switch:
By following this documentation, users can effectively install, use, and troubleshoot the MX-5 NA Window Switch in their Mazda MX-5 NA or custom projects.