Skip to content

AH49E LINEAR HALL EFFECT SENSOR

Thomas E. Horner edited this page Mar 12, 2019 · 5 revisions

Specification

What Comments
Identifier AH49E
Interface ADC
Provides magnetic field gauss
Properties none
Datasheet

Code

-- Attach an A49E sensor to an external ADC (ADS1115) on channel 0
s = sensor.attach("A49E", adc.ADS1115, 0)

while true do
  print("magnetic field: "..s:read("magnetic field").." gauss")
  tmr.delayms(500)
end

Back to sensor list

Clone this wiki locally