CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 4 matches
CCS Forum Index
Author Message
  Topic: how to connect to mpu6050 gyro sensor-i2c?
ROBO12

Replies: 49
Views: 115235

PostForum: General CCS C Discussion   Posted: Sun Sep 02, 2012 4:20 am   Subject: how to connect to mpu6050 gyro sensor-i2c?
You have to send the device address again after a restart.

Sequence is:

start
device address with direction bit set to write
register address
data to go to register (optional - remember regis ...
  Topic: how to connect to mpu6050 gyro sensor-i2c?
ROBO12

Replies: 49
Views: 115235

PostForum: General CCS C Discussion   Posted: Sat Sep 01, 2012 2:55 am   Subject: how to connect to mpu6050 gyro sensor-i2c?
then post your code that shows how you display it on the LCD.

Mr. pcm does not work your method.

this is my code :

#include <16F877a.h>
#use delay(clock=4000000)
#define use ...
  Topic: how to connect to mpu6050 gyro sensor-i2c?
ROBO12

Replies: 49
Views: 115235

PostForum: General CCS C Discussion   Posted: Wed Aug 29, 2012 5:10 am   Subject: how to connect to mpu6050 gyro sensor-i2c?
the data is not clear and altered.

What does this mean ? Give an example.

According to datasheet for each axis there are 2 contain.accel_XOUT_HL
The axis is a 16-bit output.H contain 8 bit a ...
  Topic: how to connect to mpu6050 gyro sensor-i2c?
ROBO12

Replies: 49
Views: 115235

PostForum: General CCS C Discussion   Posted: Tue Aug 28, 2012 9:40 am   Subject: how to connect to mpu6050 gyro sensor-i2c?
Hi. I bought an mpu6050 sensor and I was able to set it up but there is a problem. There are 2 parameters for each axis. For example in x accel axis there are 2 contain, Xout_H and Xout_L. In accel_XO ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group