waveshare / high-pricision_ad_hat Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi, do you have any instructions and C/C++ code for using this board with Arduino or Esp32?
Hey guys, i need your knowledge please.
I got a selfpowering solar meter (calibrated monochristallin cell)
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?
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
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
Hii all, I was trying to use the ADC with Rpi zero, I am expecting a single end voltage in 1-2 mV , But when I am connecting the sensor in ANI0 and COM, I am getting the voltage around 1.67 V which is too high. I check the AVSS and AVDD its around 5.08 which I took as REF.
i changed the Drate and also the Differnatial mode, But not getting the expected voltage, normal multimeter is showing the voltage of around 1-2 mV, I don't know how to resolve the issue.
Just simply I am using Python code in main.py
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.
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:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.