JohnPunnett
Active member
Hi All,
I am currently working on a self balancing Robot Project. I am using a GY-85 (9DOF) to calculate angle of Robot. In order to do this I need to read data from Accelerometer & Gyroscope on GY-85. At the moment I am just interested in getting data from the ADXL345. Thks to help from others I can now do this. If I execute a micros() command immediately before & after the call to do a data read for X,Y & Z axis from accelerometer I get an execution time of 966 microsecs (i.e. approx 1kHz). Does anyone know how to speed this up...? what is maximum read speed? I am using the Wire & Sparkfun ADXL345 libraries..
Many thanks, John
I am currently working on a self balancing Robot Project. I am using a GY-85 (9DOF) to calculate angle of Robot. In order to do this I need to read data from Accelerometer & Gyroscope on GY-85. At the moment I am just interested in getting data from the ADXL345. Thks to help from others I can now do this. If I execute a micros() command immediately before & after the call to do a data read for X,Y & Z axis from accelerometer I get an execution time of 966 microsecs (i.e. approx 1kHz). Does anyone know how to speed this up...? what is maximum read speed? I am using the Wire & Sparkfun ADXL345 libraries..
Many thanks, John