[Solved] Problem with AH3503 hall sensor
hi
i have ah3503 hall sensor uno in analog0 , doing simple read.
when doing nothing have reading around 635-638, sounds ok. when place metal in front of or magnet, goes 2-3, highest have seen 641.
i have connected this
and code
can't more simple think. doing wrong , shouldn't higher reading no matter put in front of it?
i have ah3503 hall sensor uno in analog0 , doing simple read.
when doing nothing have reading around 635-638, sounds ok. when place metal in front of or magnet, goes 2-3, highest have seen 641.
i have connected this
and code
code: [select]
void setup()
{
serial.begin(9600);
}
void measurement()
{
int raw = analogread(0); // range : 0..1024
serial.print("output: ");
serial.println(raw);
}
void loop()
{
delay(1000);
measurement();
}
can't more simple think. doing wrong , shouldn't higher reading no matter put in front of it?
can post link datasheet of sensor?
635 seems around 3v
if remove 10k resistor do?
635 seems around 3v
if remove 10k resistor do?
Arduino Forum > Using Arduino > Sensors > [Solved] Problem with AH3503 hall sensor
arduino
Comments
Post a Comment