Uncategorized

ADS1115 single shot power down problem

Asked 
Viewed 20 times
0

I have a raspberry Pi 3B+ board connected to an ADS1115 analog-to-digital converter. 2 load cells are attched to the same ADS1115(pins 0-1 and 2-3). I can individually calibrate/read weights from both load cells (scale 1 & 2) using Adafruit_CircuitPython_ADS1x15 python library (https://github.com/adafruit/Adafruit_CircuitPython_ADS1x15). But, when I try to read two scales simultaneously, both scales display the weight in scale 2. I can neither calibrate nor read weight from scale 1. I tried SINGLE mode and CONTIONOUS mode. I got measurements after a delay, still no luck.

Any ideas, what may cause the issue?

Thanks.

 New contributor
  • No. Photos, software listing, software outputs? – joan 12 hours ago
  • Hi @Ozcan KOC, Welcome and nice to meet you. (1) Ah, let me see. What do you mean by reading two (load cell) scales (channels) “simultaneously”? Unless you are using python mult-threading/multi-processing, you should only read two channels “sequentially”. (2) Now suppose you read two channels sequentially, one after another, in single shot mode. One possibility is the following: after first shot, POWER is down automatically (See Section 3 of datasheet) . / to continue, … – tlfong01 4 mins ago    Edit   
  • The problem is that even when power down, it is only the background analog to digital conversion guy goes to sleep, but the front desk guy still entertains your read request, only GIVING YOU THE OLD READING! 🙂 Ref: (1) ADS1115 16bit ADC – TI ti.com/lit/ds/symlink/ads1115.pdf (2) AliExpress I2C ADS1115 Module fr.aliexpress.com/item/32590193920.html – tlfong01 1 min ago   Edit   

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: