Mar 10, 2021
03:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 10, 2021
03:19 PM
Hi, I just connected a "3D Hall 2 Click" module to a 3.3v arduino pro and appear to have i2c communication but all I receive is the value "0".
"X = 0.00 mT; Y = 0.00 mT; Z = 0.00 mT; Amount = 0.00 mT; Azimuth = 0.00 mT; Polar = 0.00 mT; Temp = -346.50 mT"
I'm using the Tlv493d-a1b6 library. version 1.0.3
and the "cartesian" example sketch.
Can anyone point out where I'm going wrong?
Thanks.
"X = 0.00 mT; Y = 0.00 mT; Z = 0.00 mT; Amount = 0.00 mT; Azimuth = 0.00 mT; Polar = 0.00 mT; Temp = -346.50 mT"
I'm using the Tlv493d-a1b6 library. version 1.0.3
and the "cartesian" example sketch.
Can anyone point out where I'm going wrong?
Thanks.
- Tags:
- IFX
1 Reply
Mar 15, 2021
03:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 15, 2021
03:26 PM
OK, so the module runs on 3.3v so i thought,
arduino pro mini atmega 168 (3.3v 8MHz).
No good, the zero zero zero result is the same as not even having the hall module plugged in by the way.
So i got an Adafruit TLV493 Triple-Axis Magnetometer module which looks very similar except it has a 3.3v regulator and logic shifting on it.
It didn't work either.
THEN i tried an
arduino pro mini atmega 328p (5v 16Mhz)
and with the adafruit module, IT WORKS!
it also works with the 3D Hall 2 Click, although I'm not repeating that experiment as it involved running the 3.3v module at 5v 😮
Anyway, i can use this chip with a 5v 16Mhz arduino but not with a 3.3v 8Mhz arduino!
It's a hassle to run at 5v though, would be so much more convenient to get it going on the 3.3v.
Anyone know what the problem may be? The clock speed?
Thanks.
arduino pro mini atmega 168 (3.3v 8MHz).
No good, the zero zero zero result is the same as not even having the hall module plugged in by the way.
So i got an Adafruit TLV493 Triple-Axis Magnetometer module which looks very similar except it has a 3.3v regulator and logic shifting on it.
It didn't work either.
THEN i tried an
arduino pro mini atmega 328p (5v 16Mhz)
and with the adafruit module, IT WORKS!
it also works with the 3D Hall 2 Click, although I'm not repeating that experiment as it involved running the 3.3v module at 5v 😮
Anyway, i can use this chip with a 5v 16Mhz arduino but not with a 3.3v 8Mhz arduino!
It's a hassle to run at 5v though, would be so much more convenient to get it going on the 3.3v.
Anyone know what the problem may be? The clock speed?
Thanks.