Hi, I'm relatively new to this, and hit a snag of confusion.
For the Adafruit Powerboost 1000C, I'd like to switch the 5V power on and off using a hall sensor (US5881LUA).
I believe I can use this in some manner with the VS, EN and G pins, and a resistor.
What orientation do these pins need to be?
Would it be possible to make it such that when a magnet is nearby, the power is on?
Powerboost 1000C switch/sensor
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Powerboost 1000C switch/sensor
Yep.. power the Hall effect sensor between Vs and GND, and connect the PowerBoost's En pin to the Hall sensor's output pin.
When the sensor detects a magnet, it will turn on its internal mosfet, pulling En to GND and disabling the PowerBoost's 5V output.
When the sensor detects a magnet, it will turn on its internal mosfet, pulling En to GND and disabling the PowerBoost's 5V output.
- Fireshark
- Posts: 8
- Joined: Sat Jul 28, 2018 12:57 am
Re: Powerboost 1000C switch/sensor
Hi Mike!adafruit_support_mike wrote:Yep.. power the Hall effect sensor between Vs and GND, and connect the PowerBoost's En pin to the Hall sensor's output pin.
When the sensor detects a magnet, it will turn on its internal mosfet, pulling En to GND and disabling the PowerBoost's 5V output.
So the leftmost pin is VS, middle is GND, and the right 'listen' pin is to EN?
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Powerboost 1000C switch/sensor
It depends on the orientation of the part.
The datasheet has a drawing and pinout table on page 3:
https://cdn-shop.adafruit.com/datasheet ... rev007.pdf
The datasheet has a drawing and pinout table on page 3:
https://cdn-shop.adafruit.com/datasheet ... rev007.pdf
- Fireshark
- Posts: 8
- Joined: Sat Jul 28, 2018 12:57 am
Re: Powerboost 1000C switch/sensor
Okay, I see it. It looks to be what I described, then with the UA part!adafruit_support_mike wrote:It depends on the orientation of the part.
The datasheet has a drawing and pinout table on page 3:
https://cdn-shop.adafruit.com/datasheet ... rev007.pdf
The hall sensor will only turn OFF the connection, right? It can't be used to do the opposite (when a magnet is near to turn things on).
Thank you for your advice.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Powerboost 1000C switch/sensor
That sensor will only pull EN low when a magnet is close.
There are other sensors which have the kind of output you want though. This one has complementary output, so one pin stays low until a magnet is nearby:
https://www.mouser.com/ProductDetail/Di ... GW1Q%3d%3d
There are other sensors which have the kind of output you want though. This one has complementary output, so one pin stays low until a magnet is nearby:
https://www.mouser.com/ProductDetail/Di ... GW1Q%3d%3d
-
- Posts: 69
- Joined: Mon Apr 08, 2013 3:24 pm
Re: Powerboost 1000C switch/sensor
In using a AH277AZ4-CG1 normally closed Hall effect sensor with the powerboost, would one also connect a 10k resistor between one of the output pins and VDD?
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Powerboost 1000C switch/sensor
Yes. The outputs on that one are open-drain, and require a pull-up resistor.
- The_Feral_Child
- Posts: 2
- Joined: Wed Jul 12, 2017 12:56 pm
Re: Powerboost 1000C switch/sensor
Hi,
I would like to use the US1881 latching hall sensor to switch the PowerBoost 1000c on/off. I have drawn the attached diagram based on the previous posts in this thread and the information the manufacturer provided for a three-wire circuit for harsh environments because the device I am powering will be going underwater. Would this work?
Thanks,
Farrell
I would like to use the US1881 latching hall sensor to switch the PowerBoost 1000c on/off. I have drawn the attached diagram based on the previous posts in this thread and the information the manufacturer provided for a three-wire circuit for harsh environments because the device I am powering will be going underwater. Would this work?
Thanks,
Farrell
- Attachments
-
- US1881 Hall Sensor Switch for PowerBoost 1000C.png (10.59 KiB) Viewed 172 times
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Powerboost 1000C switch/sensor
D1, Z1, and R1 prevent voltage spikes large enough to damage the sensor, and probably won’t be necessary if you power the sensor from the LiPo. Other than that, the circuit looks okay.
For the sake of clarity, Rpu and C2 need to connect to the sensor’s output.
For the sake of clarity, Rpu and C2 need to connect to the sensor’s output.
- The_Feral_Child
- Posts: 2
- Joined: Wed Jul 12, 2017 12:56 pm
Re: Powerboost 1000C switch/sensor
Mike,
Thank you for your reply, it is good to know that I do not need the extra components (D1,R1, and Z1).
Farrell
Thank you for your reply, it is good to know that I do not need the extra components (D1,R1, and Z1).
Farrell
Please be positive and constructive with your questions and comments.