Segway project

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

cross mob
Anonymous
Not applicable

Hello, I’m using MPU 6050 for my project, my project is a Segway and I want to control the motor speed and direction using the Mpu6050, I’m struggling with the main c coding, could anyone help write the main c codes.

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

You can learn about how to interface I2C by going through some of the code examples given below:

http://www.cypress.com/documentation/code-examples/psoc-345-code-examples

Please find the component datasheet of I2C here: http://www.cypress.com/documentation/component-datasheets/i2c-mastermulti-masterslave

I'm assuming you have knowledge of MPU6050 and that you only need to know how to interface it with PSoC 4 via I2C.

Let me know how it goes.

Regards,

Dheeraj

View solution in original post

0 Likes
1 Reply
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

You can learn about how to interface I2C by going through some of the code examples given below:

http://www.cypress.com/documentation/code-examples/psoc-345-code-examples

Please find the component datasheet of I2C here: http://www.cypress.com/documentation/component-datasheets/i2c-mastermulti-masterslave

I'm assuming you have knowledge of MPU6050 and that you only need to know how to interface it with PSoC 4 via I2C.

Let me know how it goes.

Regards,

Dheeraj

0 Likes