JuanPaul Posted September 7, 2017 Share Posted September 7, 2017 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 Link to comment Share on other sites More sharing options...
jpeyron Posted September 7, 2017 Share Posted September 7, 2017 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 Link to comment Share on other sites More sharing options...
jpeyron Posted September 8, 2017 Share Posted September 8, 2017 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 Link to comment Share on other sites More sharing options...
Question
JuanPaul
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
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.