Raspberry PI Pico and A3144 Hall Effect Sensor
ฝัง
- เผยแพร่เมื่อ 5 ก.พ. 2023
- Visit PCBWay, the sponsor of this Video: www.pcbway.com/
Hall Effect sensor detects magnetic fields. In this video, I show how to connect the A3144 digital output Hall sensor to the Pico or RP2040. How to use it to trigger an LED to light on the detection of a magnet.
GitHub Repo for all of the examples in the video: github.com/jondurrant/RPIRP20...
To clone use the command:
$ github clone github.com/jondurrant/RPIRP20...
More information:
If you want to learn more about the techniques, I use in the video take a look at my courses
-- Introduction to Development Environment for Pico: www.udemy.com/course/introduc...
-- Raspberry PI Pico Micro Projects (C++): www.udemy.com/course/rpi-pico...
Sponsor: PCBWay: www.pcbway.com/
PCB prototyping, assembly, 3D printing, CNC, sheet metal fabrication and injection moulding. - วิทยาศาสตร์และเทคโนโลยี
I think we could use the internal pull-up resistor on an RP2040 GPIO pin rather than an external pull up to 3.3v; does that sound correct?
That is a good idea. I think you are quite right.
Thank you very much! Very interesting sensor indeed. Just one question, why not use VSYS which is VBUS less the Schotty diode drop ? Is the tolerance on the A3144 too tight?
I could have done that and would have gained some protection from diode.
What would happen if you powered the device with 3.3V instead of 5V?
Well it might work but it would be outside of spec and so no guarantees. Even if it did work doesn't mean the next one you pick up would.
@@DrJonD got it. Would it be correct to assume that powering the chip with 3.3v would not hurt the chip or gpio? It just might not work as expected?
Yes you would do no harm.