LPC1769 with ADXL345 using i2c

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1769 with ADXL345 using i2c

601 Views
nus
Contributor I

Hi, everyone.

I am new to coding and am currently learning how to do so on micro-controllers using a LPC1769.

I am trying to connect an ADXL345 (CJMCU version) to the LPC1769 through i2c and test it out. However I can't seem to be able to find any examples on it.

The few discussion posts have lead to only dead links and I have tried to google for it using terms such as "adxl345 arm code, adxl345 lpc1769" and so on but to no avail.

Is there anyone who can point me in the right direction or are there samples around that I can review? I would like to eventually extend this to a falling detection device for the elderly if this helps.

Thank you very much and I apologise if this question has been answered before.

0 Kudos
Reply
1 Reply

515 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi nus,

You could use the i2c example that comes with the LPCOpen package as starting point for your application, you can download it from here:

LPCOpen Libraries and Examples|NXP 

And maybe the following post might be helpful for you:

Lpc1769 i2c adxl345 | www.LPCware.com 


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos
Reply