Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

3D Hall (Magnetic sensor) Forum Discussions

User15938
Level 1
Level 1
First question asked
I want to try TLV over I2C with RaspberryPi. I have got the following guide which mentions how to start communication.
Just a question that weather smbus or smbus2 supports all the operations needed for data transfer in the form of bits or bytes?

Any other suggestions?
0 Likes
1 Solution
PalY
Moderator
Moderator
Moderator
100 replies posted 25 solutions authored 10 likes received

Hi @User15938 ,

Yes you need to install smbus for communicating to the TLV493D using RaspberryPi via I2C
You need to enable I2C, in Interface Options by using sudo raspi-config on your terminal window.
Then install smbus using following commands:

pip install smbus
sudo apt-get install -y python-smbus i2c-tools

Thanks and regards,
Yashraj

View solution in original post

0 Likes
1 Reply
PalY
Moderator
Moderator
Moderator
100 replies posted 25 solutions authored 10 likes received

Hi @User15938 ,

Yes you need to install smbus for communicating to the TLV493D using RaspberryPi via I2C
You need to enable I2C, in Interface Options by using sudo raspi-config on your terminal window.
Then install smbus using following commands:

pip install smbus
sudo apt-get install -y python-smbus i2c-tools

Thanks and regards,
Yashraj

0 Likes