Giter Site home page Giter Site logo

high-pricision_ad_hat's Introduction

High-Precision AD HAT

waveshare electronics

waveshare_logo.png http://www.waveshare.net
https://www.waveshare.com

中文

https://www.waveshare.net/shop/High-Precision-AD-HAT.htm 我是块Raspberry Pi扩展板,具备10通道32位高精度ADC和24位辅助ADC。 Raspberry Pi GPIO接口没有AD功能,如果你要用到高精度的ADC,那我将是不错的选择!

English

https://www.waveshare.com/18983.htm I am a Raspberry Pi expansion board with an 10-channel 32-bit high-precision ADC and a 24-bit auxiliary ADC. The Raspberry Pi GPIO interface does not have AD functionality. If you want to use high precision AD, then I will be a good choice!

High-Precision-AD-HAT.jpg

high-pricision_ad_hat's People

Contributors

hnwangkg-ezio avatar moanan avatar ssyyl avatar waveshare avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

high-pricision_ad_hat's Issues

Sensor Bias Magnitude set to : 50-µA, why ?

Hello,

First of all thanks, for your library.

I've been using your module with this library on a RPI 3 and I achieved to use the ADC with a 3V3 reference. For that, I had first to change the reference value from 5.08V to 3.3V in the library and set in the Makefile Wiringpi instead of bcm3835 which was gaving me a segfault. Then, I had to remove the 0 Ohm resistor below the PCB which was connecting AVDD to 5V and connect 3V3 to the AVDD Input slot. But still, when reading values from a ADXL335 the average was around 3.2 V and the reason is that in the library, in function ADS1263_ConfigADC1 of file ADS1263.c the REG_MODE1 is set to 0x84 which modifies the filter selected but is ALSO modifies the sensor bias magnitude and this without specifying why.

I set it to 0 again and now I have great values but why is it set to 50-µA at first place ? If it's something necessary for the diff reading then set it only when needed and not by default.

Best regards

id read failed

Whenever we run the ADC driver code (C or python) on our Jetson Nano terminal, we get the same error 'id read failed' .
We tried checking the wiki but could not find documentation on this problem.

What should we do to fix this problem?
Are there versions of Python or other software that is incompatible with the code?

Other notes:

  1. When the ADC is attached to the Jetson, we cannot turn the Jetson on (ADC must be removed first)
  2. The ADC used to work with Python, but stopped working when we tried to run the C driver code.

Esp32 or Arduino..

Hi, do you have any instructions and C/C++ code for using this board with Arduino or Esp32?

higher sample rate

Hello,
i was wondering how i can get a higher sample rate when reading a sensor. I use a Raspberry Pi with 8 gig RAM. CPU is set at 1200 Mhz. I am using the ADC-device to capture sound, so i need at least 20.000 samples per second.
When i run the by waveshare provided Main.py - TEST_ADC1_RATE at 38400SPS, the output is:

    - ID Read success 
    - REG_MODE2 success
    - REG_REFMUX success
    - REG_MODE0 success
    - REG_MODE1 success
    - SPS-setting: ADS1263_38400SPS
    - ...start and endtime= 1690130018.1033027 1690130018.8256269
    - ...elapsed time for 5000 samples= 0.7223241329193115
    - SPS-result singlechannelfrequency =  6922.100165464822

As you can see, i want 38400 samples per second and i get approx. 7000 samples per second.

Attached, also a plot of 10 seconds of audiosignal-recording. 10 seconds * 38400 SPS should be 384.000 points of data. The horizontal axis shows only 80.000 points.

What am i doing wrong?

Thanks for any advice.

Kris
Figure_1

Question: Is it possible to read multiple ADC channel values in parallel?

Hello, I have recently started using your High-Pricision_AD_HAT for a university project.

I have successfully used it to read and log sensor values using a raspberry Pi and custom python script (which uses code from the included software). However, I noticed that ADS1263_GetAll function reads the channel values sequentially, therefore each reading is taken at a slightly different time. This is an issue as we are hoping to sample at high frequencies (200-500 Hz).

I was wondering if it is possible to read these values in parallel, i.e. all readings are taken at exactly the same time.

Thank you for your help,
Fin

Request ADC HAT

Hey guys, i need your knowledge please.

I got a selfpowering solar meter (calibrated monochristallin cell)

letsgo

I would like to measure the potential difference with the raspberry pi and the waveshar ad hat.
Moreover I would like to use the screw terminal. How should I wire the setup? And how do I read the data?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.