Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Driver for ADXL345 (loveelectronics.co.uk is gone)

adxl345 driver

  • Please log in to reply
9 replies to this topic

#1 Esben

Esben

    Member

  • Members
  • PipPip
  • 13 posts

Posted 08 May 2014 - 09:31 AM

Hi,

 

I'm trying to get my ADXL345 accelerometer working with my N+2.

 

I see a lot of people referencing a tutorial found here: https://www.loveelec...how-to-use-them

The driver should be downloaded from here: https://www.loveelec...mFyeS1WMS56aXA=

 

But the site is down :(, and I was hoping someone could provide me with the/a driver?



#2 Dr Who

Dr Who

    Advanced Member

  • Members
  • PipPipPip
  • 261 posts
  • LocationNYC

Posted 20 May 2014 - 09:55 PM

Attached File  Netduino_Accelerometer.zip   9.93KB   11 downloads

Hi,

 

I'm trying to get my ADXL345 accelerometer working with my N+2.

 

I see a lot of people referencing a tutorial found here: https://www.loveelec...how-to-use-them

The driver should be downloaded from here: https://www.loveelec...mFyeS1WMS56aXA=

 

But the site is down :(, and I was hoping someone could provide me with the/a driver?

 

Hello!

Here is what presupposes to be the driver or atleast the program and other materials behind the original site. I don't know what happened to it. Did you check to see if either the Internet Archive remembers it? Or the Google Cache? 

 

Please see if the file covers your needs. Remember that was written before the N2 or the N+2 and you may need to tweak the expressions to work for you. 



Doctor Who
"This signature does not exist!"

#3 Esben

Esben

    Member

  • Members
  • PipPip
  • 13 posts

Posted 21 May 2014 - 12:51 PM

Hi Dr Who,

 

Your attachment does not seem to include what I'm looking for. I don't see any I2C setup and it is for the ADXL335, not ADXL345.

But thank you for helping.

 

I did find the original article here:

https://web.archive....how-to-use-them

 

But the download link is still broken, clicking "Download Now" does nothing:

https://web.archive....FyeS1WMS56aXA=#

 

 

So my question remains, does anyone have a copy of the "Love Electronics Accelerometer Library V1"?

They refer to it as "LoveElectronics.Sensors.Accelerometers.csproj" in the article.



#4 Dr Who

Dr Who

    Advanced Member

  • Members
  • PipPipPip
  • 261 posts
  • LocationNYC

Posted 22 May 2014 - 04:33 AM

Hi Dr Who,

 

Your attachment does not seem to include what I'm looking for. I don't see any I2C setup and it is for the ADXL335, not ADXL345.

But thank you for helping.

 

I did find the original article here:

https://web.archive....how-to-use-them

 

But the download link is still broken, clicking "Download Now" does nothing:

https://web.archive....FyeS1WMS56aXA=#

 

 

So my question remains, does anyone have a copy of the "Love Electronics Accelerometer Library V1"?

They refer to it as "LoveElectronics.Sensors.Accelerometers.csproj" in the article.

 

 

Hello!

As I recall the site concerned itself with the ADXL335, not the ADXL345. Are you quite sure that the original site did concern itself with the ADXL345?



Doctor Who
"This signature does not exist!"

#5 Esben

Esben

    Member

  • Members
  • PipPip
  • 13 posts

Posted 22 May 2014 - 10:11 AM

Hello!

As I recall the site concerned itself with the ADXL335, not the ADXL345. Are you quite sure that the original site did concern itself with the ADXL345?

 

The title of the article is "Accelerometers: ADXL345 Library and Netduino Tutorial" (https://web.archive....how-to-use-them).

And the article refers to the "LoveElectronics.Sensors.Accelerometers.csproj" project not "Netduino_Accelerometer" like the zip-file you posted.



#6 Dr Who

Dr Who

    Advanced Member

  • Members
  • PipPipPip
  • 261 posts
  • LocationNYC

Posted 22 May 2014 - 11:32 PM

The title of the article is "Accelerometers: ADXL345 Library and Netduino Tutorial" (https://web.archive....how-to-use-them).

And the article refers to the "LoveElectronics.Sensors.Accelerometers.csproj" project not "Netduino_Accelerometer" like the zip-file you posted.

You were looking for information on how make the Analog Devices family of accelerometers work with your Netduino, fine. I tried to help out. Even better.

 

Now if you look at the site again you'll see that the original code is also shown. You can copy and paste the code into your Visual Studio project. The missing one will be generated for you. And typically the code also contains indicators as to how the hardware is driven.



Doctor Who
"This signature does not exist!"

#7 Esben

Esben

    Member

  • Members
  • PipPip
  • 13 posts

Posted 23 May 2014 - 09:15 AM

Now if you look at the site again you'll see that the original code is also shown. You can copy and paste the code into your Visual Studio project. The missing one will be generated for you. And typically the code also contains indicators as to how the hardware is driven.

Hi Dr Who,

 

The code shown in the article says this:

Add this line of code to the top of this file:





using LoveElectronics.Sensors.Accelerometers;

In the Main() method, remove the code we wrote before, and replace it with this:



ADXL345 accel = new ADXL345();
if (accel.EnsureConnected())
{
Debug.Print("ADXL345 was found!");
}

 

This still leaves me missing the ADXL 345 Library shown here:

 b25cfc38fb21d4037af3755c25f0046ca7ed81f7

 

Thank you for trying to help me, but I'm still stuck until I find someone who has a copy of the library/solution for the ADXL 345 accelerometer.



#8 Frode

Frode

    Advanced Member

  • Members
  • PipPipPip
  • 202 posts
  • LocationNorway

Posted 23 May 2014 - 01:52 PM

Hi Esben, I did a Google search for "filetype:cs ADXL345", and found this: https://github.com/l...ster/ADXL345.cs



#9 Esben

Esben

    Member

  • Members
  • PipPip
  • 13 posts

Posted 23 May 2014 - 02:00 PM

Hi Frode,

I just got the "real" one from @Ferocildo, he was nice enough to send it to me.

Attached to this post is the article and the driver.
(Chris can you make this the answer of the thread?)

#10 Frode

Frode

    Advanced Member

  • Members
  • PipPipPip
  • 202 posts
  • LocationNorway

Posted 18 June 2014 - 09:14 PM

Here is another ADXL345 managed driver: https://www.ghielect...deshare/entry/7





Also tagged with one or more of these keywords: adxl345, driver

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.