Hall effet sensor on PI

Talk about Adafruit Raspberry Pi® accessories!

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Hall effet sensor on PI

Postby MCHobby » Sun Nov 04, 2012 6:49 pm

Hi,
On one hand, the US5881 Hall Effect sensor (sold on AdaFruit WebShop) does not appears to work with 3.3 volts as power supply (cfr tech sheet).
On the other hand, Raspeberry GPIO are not 5v Friendly.

The US5881 usually use a pull-up resistor of 10K to +5v, the US5881 will pull-down the voltage to GND when activated.
See http://mchobby.be/wiki/images/thumb/a/a ... ontage.jpg for schematic.

For Raspberry PI, I would propose to build a resistor bridge with an additional 20K resistor between the Output Pin of US5881 and GND.
By acting like that, Output voltage should be 3.3v (when sensor not activated) or 0v (when the activated sensor pulls down the voltage to GND).

Am I right?
Regards,
Dominique
MCHobby
 
Posts: 15
Joined: Tue Jan 24, 2012 2:14 pm

Re: Hall effet sensor on PI

Postby adafruit » Tue Nov 06, 2012 10:06 am

connect the pullup to 3.3V
User avatar
adafruit
 
Posts: 10485
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc


Return to Adafruit Raspberry Pi® accessories

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [100]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]