Thanks, it will need some adjustments to fit with the API of `machine.I2C` avaible for the esp8266.Turbinenreiter wrote:This should work with the MPU6050. The base class in imu.py is pretty much the driver for the MPU6050.
Search found 4 matches
- Mon Oct 24, 2016 6:08 pm
- Forum: ESP8266 boards
- Topic: MPU-6050 on Wemos D1 mini (I2C)
- Replies: 16
- Views: 19140
Re: MPU-6050 on Wemos D1 mini (I2C)
- Mon Oct 24, 2016 5:24 pm
- Forum: ESP8266 boards
- Topic: MPU-6050 on Wemos D1 mini (I2C)
- Replies: 16
- Views: 19140
Re: MPU-6050 on Wemos D1 mini (I2C)
It works!
I added one 10k pullup resistor on each line and now `i2c.scan()` finds the device.
Thanks all.
I will continue to experiment and post some code if I find usefull things.
I added one 10k pullup resistor on each line and now `i2c.scan()` finds the device.
Thanks all.
I will continue to experiment and post some code if I find usefull things.
- Mon Oct 24, 2016 8:29 am
- Forum: ESP8266 boards
- Topic: MPU-6050 on Wemos D1 mini (I2C)
- Replies: 16
- Views: 19140
Re: MPU-6050 on Wemos D1 mini (I2C)
Thanks for all the replies. I must say i'm new to hardware considerations (i do better at coding). From what you write, i see that i should be carefull with my pins and consider using (and learning about) pullup resistors. Some questions: - What should be the value of the pullup resistors ? - How do...
- Sun Oct 23, 2016 12:59 pm
- Forum: ESP8266 boards
- Topic: MPU-6050 on Wemos D1 mini (I2C)
- Replies: 16
- Views: 19140
MPU-6050 on Wemos D1 mini (I2C)
Hello all I have a Wemos D1 mini. I'm trying to connect it to an accelerometer (MPU-6050 on a GY-521 breakout board) throught I2C. But nothing seems to work. The GY-521 is powered with 5V, common ground, D1(GPIO5) is connected to SCL and D2(GPIO4) to SDA. I read the MPU-6050 address can be 0x68 or 0...