ADXL335 | A library to read the ADXL335 acceleration sensor

 by   infomaniac50 C++ Version: Current License: No License

kandi X-RAY | ADXL335 Summary

kandi X-RAY | ADXL335 Summary

ADXL335 is a C++ library typically used in Automation applications. ADXL335 has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

ADXL335 Interface Library Derek Chafin September 14, 2011 Public Domain Code. An arduino library to read the ADXL335 acceleration sensor from Adafruit.com. The library takes the raw input from the sensor and outputs all three axis in earth gravities. The library is able to detect freefall as well as calculate the hypotenuse of the vector and all three angles; rho, phi, and theta.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ADXL335 has a low active ecosystem.
              It has 7 star(s) with 10 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              ADXL335 has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of ADXL335 is current.

            kandi-Quality Quality

              ADXL335 has 0 bugs and 0 code smells.

            kandi-Security Security

              ADXL335 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ADXL335 code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ADXL335 does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              ADXL335 releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ADXL335
            Get all kandi verified functions for this library.

            ADXL335 Key Features

            No Key Features are available at this moment for ADXL335.

            ADXL335 Examples and Code Snippets

            No Code Snippets are available at this moment for ADXL335.

            Community Discussions

            QUESTION

            Spikes in ADXL335 voltage read from Arduino Uno
            Asked 2022-Mar-22 at 21:24

            Background : I've connected an ADXL335 accelerometer to pins A0,A1,A2 on the Arduino Uno. During the measurement, the Arduino is connected to the laptop via usb, and accelerometer is powered directly by the 3.3V pin on the Arduino. The intention is to read voltage from the accel and plot the corresponding time and frequency spectrum using Python. The overall process is quite straightforward and I'm actually able to achieve this. A snapshot of a signal I recorded is shown below. Arduino code to read/write from the accelerometer and Python code to read from Arduino and construct the plots are provided at the bottom for reference.

            The issue I'm facing is with the actual values read by the Arduino (I think).

            Problem: There seems to be some noise picked up by the Arduino during the read/write process. To demonstrate this, I ran two separate data acquisitions with the sensor at rest. Snapshots are provided below. I had used a similar system in 7yrs ago in grad school, using National Instruments DAC and LabView. I did experience some noise back then but that was akin to electrical noise ~60 Hz. This one is quite peculiar and I don't know how to deal with it.

            Closing: Could someone please help me understand what noise it is, that I'm seeing? Perhaps knowing what this is called will help me research about it in detail and try to tackle it. Any pointers/references would help as well.

            Future Scope: I believe that a stable at-rest signal as the first step will greatly help mitigate the offset in Voltage (DC-component in freq-spectrum) even with a simple average. Also, I need to learn how to increase the sampling rate from the uno.

            Programs used:

            Arduino code to read/write from the accelerometer

            ...

            ANSWER

            Answered 2022-Mar-22 at 21:24

            This is spike noise. You should use a median filter to clean your signal. It is a digital non linear filter which you can implement in your software.

            Just a note: I don't know which sample frequency are you using but the higher is the sample frequency, the more is the collected noise. So, limit the sample frequency to 2 x signal bandwidth (Shannon theorem)

            Source https://stackoverflow.com/questions/71578317

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ADXL335

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/infomaniac50/ADXL335.git

          • CLI

            gh repo clone infomaniac50/ADXL335

          • sshUrl

            git@github.com:infomaniac50/ADXL335.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular C++ Libraries

            tensorflow

            by tensorflow

            electron

            by electron

            terminal

            by microsoft

            bitcoin

            by bitcoin

            opencv

            by opencv

            Try Top Libraries by infomaniac50

            SimpleTimer

            by infomaniac50C++

            Arduino_Seg7_Shift

            by infomaniac50C++

            TMP36

            by infomaniac50Java

            Arduino-Si4707-Library

            by infomaniac50C++

            Random

            by infomaniac50C++