N
N
Nikita Nikita2018-05-03 21:58:09
Arduino
Nikita Nikita, 2018-05-03 21:58:09

Connecting a sensor to an arduino?

There is an A3144 hall sensor and an Arduino pro micro, the question arose of how to connect this sensor correctly, to which input I looked at the video, I didn’t really understand, I need an explanation, it’s the first time I work with Arduino

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Ocelot, 2018-05-04
@Nikita425

VCC - to + 5V
GND - respectively, to ground
OUTPUT - to any Arduino input, and pull it up to 5V through a 10k resistor
. This type of output is called "open collector". When the sensor is triggered, the transistor opens in it and closes the output to ground, there will be log.0 on the controller leg. The rest of the time, the supply voltage is supplied through the pull-up, and there will be a log.1.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question