Description
SS49E Linear Hall-Effect Magnetic Sensor
Linear Hall-effect sensor that produces an analog output related to the magnetic field. It can be used in magnetic-field sensing and position-related prototypes.
Specifications stated in the listing
- Operating voltage: 4.5–10V DC (seller-listed; verify against the exact device datasheet)
- Output: analog and described as ratiometric
- Typical current: 6mA at 5V
- Operating temperature: −40°C to +100°C
- Listed magnetic range: −1000 to +1000 gauss
- Typical listed sensitivity: 1.4mV/G
- Package: flat TO-92
The listing claims reverse-polarity protection. Verify the exact part and pinout using the linked datasheet before powering it. The source’s Arduino examples assume 5V reference and a 10-bit ADC; adjust the conversion for your board. The example code is reproduced unchanged.
Basic Arduino example
const int sensorPin = A0; // Broche où le capteur est connecté
int sensorValue = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(sensorPin);
float voltage = sensorValue * (5.0 / 1023.0); // Conversion en volts
Serial.print("Tension mesurée: ");
Serial.println(voltage, 2);
delay(1000);
}
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
const int sensorPin = A0;
int sensorValue = 0;
void setup() {
lcd.begin();
lcd.backlight();
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(sensorPin);
float voltage = sensorValue * (5.0 / 1023.0); // Conversion en volts
lcd.setCursor(0, 0);
lcd.print("Tension: ");
lcd.print(voltage, 2);
lcd.print("V");
delay(1000);
}
Arduino example with I²C LCD
The second source example displays the measured voltage on a 16×2 I²C LCD. Confirm the display address and library API for your module.
const int sensorPin = A0; // Broche où le capteur est connecté
int sensorValue = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(sensorPin);
float voltage = sensorValue * (5.0 / 1023.0); // Conversion en volts
Serial.print("Tension mesurée: ");
Serial.println(voltage, 2);
delay(1000);
}
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
const int sensorPin = A0;
int sensorValue = 0;
void setup() {
lcd.begin();
lcd.backlight();
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(sensorPin);
float voltage = sensorValue * (5.0 / 1023.0); // Conversion en volts
lcd.setCursor(0, 0);
lcd.print("Tension: ");
lcd.print(voltage, 2);
lcd.print("V");
delay(1000);
}
Suggested Arduino Uno wiring from the listing
- VCC: 5V
- GND: GND
- Analog output: A0
- LCD example: SDA to A4 and SCL to A5
Identify the sensor pins from the exact package datasheet; do not infer pin order from the flat side alone.
LCD library
The LCD example uses LiquidCrystal_I2C. Install a compatible library in the Arduino IDE and check its initialization methods.









