The Shay Current Sensor (Part ID: 1234543235436545654) is a device designed to measure the flow of electric current in a circuit. It provides output in the form of voltage or digital signals, enabling accurate monitoring and control of electrical systems. This sensor is widely used in applications such as power management, motor control, battery monitoring, and energy metering.
The Shay Current Sensor is designed for precision and reliability. Below are its key technical details:
Parameter | Value |
---|---|
Manufacturer | Shay |
Part ID | 1234543235436545654 |
Measurement Range | ±30 A |
Output Signal | Analog Voltage (0-5 V) |
Supply Voltage | 5 V DC |
Accuracy | ±1% |
Response Time | < 5 µs |
Operating Temperature | -40°C to +85°C |
Isolation Voltage | 2.5 kV |
The Shay Current Sensor has a 5-pin interface. The pinout is as follows:
Pin Number | Name | Description |
---|---|---|
1 | VCC | Power supply input (5 V DC) |
2 | GND | Ground connection |
3 | OUT | Analog voltage output proportional to current |
4 | NC | Not connected (leave unconnected) |
5 | REF | Reference voltage input (optional, 2.5 V) |
VCC
pin to a 5 V DC power supply and the GND
pin to the ground of your circuit.OUT
pin to an analog input pin of a microcontroller or an ADC (Analog-to-Digital Converter) to measure the voltage output.REF
pin for offset adjustment.VCC
and GND
to reduce noise.Below is an example of how to use the Shay Current Sensor with an Arduino UNO to measure current:
// Shay Current Sensor Example Code
// Part ID: 1234543235436545654
// This code reads the analog output of the current sensor and calculates the current.
const int sensorPin = A0; // Analog pin connected to the sensor's OUT pin
const float sensitivity = 0.066; // Sensitivity in V/A (e.g., 66 mV/A for ±30 A range)
const float offsetVoltage = 2.5; // Reference voltage (2.5 V for zero current)
void setup() {
Serial.begin(9600); // Initialize serial communication
pinMode(sensorPin, INPUT); // Set the sensor pin as input
}
void loop() {
int sensorValue = analogRead(sensorPin); // Read the analog value (0-1023)
float voltage = (sensorValue / 1023.0) * 5.0; // Convert to voltage (0-5 V)
float current = (voltage - offsetVoltage) / sensitivity; // Calculate current
// Print the current value to the Serial Monitor
Serial.print("Current: ");
Serial.print(current, 2); // Print current with 2 decimal places
Serial.println(" A");
delay(500); // Wait for 500 ms before the next reading
}
No Output Signal
VCC
is connected to 5 V, and GND
is properly grounded.Inaccurate Readings
VCC
and GND
. Ensure the REF
pin is set to 2.5 V if used.Output Voltage Stuck at 2.5 V
Sensor Overheating
Q: Can this sensor measure both AC and DC currents?
A: Yes, the Shay Current Sensor can measure both AC and DC currents within its specified range.
Q: What happens if the current exceeds ±30 A?
A: The sensor may become damaged or provide inaccurate readings. Always ensure the current stays within the specified range.
Q: Can I use this sensor with a 3.3 V microcontroller?
A: Yes, but you will need to ensure the sensor's output voltage (0-5 V) is scaled down to match the microcontroller's ADC input range.
Q: Is the sensor affected by external magnetic fields?
A: The sensor is designed to minimize interference, but strong external magnetic fields may affect accuracy. Keep the sensor away from such sources.
This concludes the documentation for the Shay Current Sensor (Part ID: 1234543235436545654).