You are here

external IMU vesc wiring

7 posts / 0 new
Last post
surfer
Offline
Last seen: 2 weeks 1 day ago
VESC Free
Joined: 2017-09-05 11:01
Posts: 1
external IMU vesc wiring

Hi there, 

i would like if i can get some input from you guys, i'm trying to connect a mpu 9250 as external gyro to the vesc using vesc tool 1.17, how it is quite new release there is not much info about it.

i have connected the mpu as follows:

vcc= to vcc on the vesc

gnd= gnd 

sda= sda

scl= scl

 Settings in vesc, use external mpu 9x50 but not success. not data shows in vesc tool.

Any help will be very appreciate, thanks you all.

P.S maybe sda and scl are crossed like tx rx ?

Solved with the help from https://www.customwheel.shop

 

 

benjamin
Offline
Last seen: 6 days 17 hours ago
VESC FreeVESC OriginalVESC Platinum
Joined: 2016-12-26 15:20
Posts: 490

I had a look, and the latest update has a bug in the MPU9x50 driver. It is fixed now, and I will push a new version tomorrow. Otherwise your connection should be correct - just make sure that no other app that uses the same pins, such as UART is active. Also make sure that you have a pull up on SDA and SCL.

benjamin
Offline
Last seen: 6 days 17 hours ago
VESC FreeVESC OriginalVESC Platinum
Joined: 2016-12-26 15:20
Posts: 490

It is fixed now in FW 3.60 and VESC Tool 1.18

zmei116
Offline
Last seen: 2 years 3 months ago
VESC Original
Joined: 2020-01-25 00:47
Posts: 24

Hi! How to wire simultaneously bluetooth module and 9dof sensor? My bluetooth now connected to TX RX, but it is the same pins for SCL SDA which are necessary for 9dof sensor. Thanks. 

zmei116
Offline
Last seen: 2 years 3 months ago
VESC Original
Joined: 2020-01-25 00:47
Posts: 24

?  Can anyone help me?

airdrone
Offline
Last seen: 4 years 1 month ago
Joined: 2019-08-05 15:57
Posts: 1

Hello 

I try to connect a IMU MPU9250 to a FSESC 6.6 for flipsky but impossible to have connection with the gyro 

Do you think I have to add some Pull up resistance the IMU ? 

Thanks

 

TechAUmNu
Offline
Last seen: 3 months 4 days ago
Joined: 2017-09-22 01:27
Posts: 575

Yes you need pull ups on the SCL and SDA lines for it to work. Vesc 6 uses 1k pull ups for internal MPU9250