You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a strange issue when using two ADS1220 modules controlled by an Arduino UNO R4 Minima or WiFi. The two devices are attached correctly to the Arduino.
The sketch should display correct voltages (0 - 2.048 V) attached to AIN0/AIN1 for the ADS1220 #1. But the result is wrong. The same sketch works well with the Arduino UNO R3. If you comment out just that one line, you will get a correct result:
If you uncomment all relevant lines for ADS1220 #2 and run the sketch on an Arduino UNO R3, you will get correct results for both the ADS1220 #1 and #2. That makes me confident that there is no issue with the wiring which was exactly the same for the trials with the Arduino UNO R4.
To be be honest I did not find the issue myself. I have an own library for the ADS1220 and a user found exactly the same problem with my one: https://github.com/wollewald/ADS1220_WE / wollewald/ADS1220_WE#5
I have spent lots of hours trying to find the root cause but failed.
It is basically possible to communicate with the two ADS1220 devices when using an Arduino UNO R4. For this, I have tried to write data in config 0 register of the two devices an then read it back. This works fine:
Hi,
there is a strange issue when using two ADS1220 modules controlled by an Arduino UNO R4 Minima or WiFi. The two devices are attached correctly to the Arduino.
I have a applied the following sketch:
The sketch should display correct voltages (0 - 2.048 V) attached to AIN0/AIN1 for the ADS1220 #1. But the result is wrong. The same sketch works well with the Arduino UNO R3. If you comment out just that one line, you will get a correct result:
If you uncomment all relevant lines for ADS1220 #2 and run the sketch on an Arduino UNO R3, you will get correct results for both the ADS1220 #1 and #2. That makes me confident that there is no issue with the wiring which was exactly the same for the trials with the Arduino UNO R4.
To be be honest I did not find the issue myself. I have an own library for the ADS1220 and a user found exactly the same problem with my one:
https://github.com/wollewald/ADS1220_WE / wollewald/ADS1220_WE#5
I have spent lots of hours trying to find the root cause but failed.
It is basically possible to communicate with the two ADS1220 devices when using an Arduino UNO R4. For this, I have tried to write data in config 0 register of the two devices an then read it back. This works fine:
This works correctly on the UNO R3 and R4.
Do you have any idea?
The text was updated successfully, but these errors were encountered: