Problems with i2c in esp8266 (MPU9250 [GY-91]) #6450
Replies: 1 comment
-
Posted at 2022-01-20 by @MaBecker Please check the nodemcu class to get the correct pin names. http://www.espruino.com/Reference#t_NodeMCU Posted at 2022-01-20 by @MaBecker Check the wires and check the id of the i2c device. Posted at 2022-01-20 by user136941 Espruino have some function for scan all i2c devices connected? Posted at 2022-01-20 by @MaBecker Try this one http://forum.espruino.com/conversations/278556/#12663043 Posted at 2022-01-21 by user136941 I tested it, detects two devices in Here a full log of the error:
Posted at 2022-01-21 by @MaBecker Check the module and try some simple calls. Posted at 2022-01-21 by user136941 I'm trying to call
But still got the same error:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2022-01-18 by user136941
Hello,
I'm trying to read a gyroscope (GY-91), that have an MPU-9250 inside with an BMP-280. I'm using this library But I have some problems.
When I'm run the code throw the next error:
I'm trying with a LCD i2c, in case that if is the module that is wrong, but got the same error. Also, doesn't work with
D
pins (D0
,D1
,D2
...) only with numbersAfter change the numbers the LCD works, but the MPU still don't.
Edit: A full log of the error:
Beta Was this translation helpful? Give feedback.
All reactions