adienakhmad / ads1256 Goto Github PK
View Code? Open in Web Editor NEWArduino Library for Texas Instrument ADS1256
License: MIT License
Arduino Library for Texas Instrument ADS1256
License: MIT License
I have explained some issues in the comments, a summary is below:
Hi, I can't use the library with Arduino Uno, I can compile the code only for Arduino Mega. Can pins for Arduino Uno be remapped? Thank you.
I have try to use digitalwrite to made this library work on my arm's arduino,but I failed.And I am nowbie in coding,plz add arm's edition.
If there is possibility it would be awesome to see a port of this library for ESP32.
Hi, I am writing for a problem encountered in using this library for my ADS1256 with Arduino Uno. The setting for the SPS does not work correctly, I don't know if it is my mistake or a bug, but I have already redone the connections 3 times, and confirmed the operation with other libraries.
Even writing the value in the register does not respond correctly to the settings (adc.writeRegister (DRATE, ADS1256_DRATE_10SPS);
). The values obtained either remain fixed at 50SPS, or oscillate between 2000 and 3000, or are lower than the set value over 50%.
Below is the code I use to measure SPS over a period of time, working with other ADCs. Furthermore, the gain only seems to divide the result by it's value.
int count = 0; double sum = 0; unsigned long t0 = millis();
while (millis() - t0 < 1000) {
adc.setChannel(0, -1);
float y = adc.readCurrentChannel();
sum += y;
count++;
}
Serial.print(sum / count, 4);
Serial.print(" , SPS = ");
Serial.println(count);`
Arduino UNO,ADS1256 on breadboard,Visual Studio 2019
Thanks.
I apologize for the translator, I don't have much experience with English.
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.