• 0
JuanPaul

Interfacing Arduino mega (master) with Pmod Acl (slave)

Question

Hi, I've been struggling for a while now trying to figure out how to get data from the Pmod Acl 3-axis accelerometer with my Arduino Mega board. Is this even possible? if so would you please guide me, as I am fairly new to communication protocols.

Regards Juan

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @JuanPaul,

The DSPI library is hard to get working with arduino boards so I updated the library to use the SPI library here. I do not have an arduino mega to test my altered ACL library but I was able to get it to compile in the Adruino IDE without issue. Also look at the link i post to see which pins to connect the cs, mosi, miso and clk. 

cheers,

Jon

ACL.zip

Share this post


Link to post
Share on other sites
  • 0

Hi @JuanPaul,

Please be aware that the I/O pins for the Mega operate at 5v which is outside of the logic level spec for the ACL. So this may be be a no go for the Adruino Mega unless you have a voltage level shifter.  Something like our Pmod LVLSHFT here

cheers,

Jon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now