toggle quoted messageShow quoted text
That’s very interesting! Here is what the new board I just received is reporting:
I see “in5: +2.50V” not “+5V: +5.06V” on that top line. Maybe I need to run an update of code here?
Jack – KD4IZ
firstname.lastname@example.org <email@example.com> On Behalf Of
Tuesday, July 21, 2020 13:11To:
Re: [draws and udrc] Update for ADC Config File #sensors #ADC
I just ran DRAWS Manager with the updated config and it works fine.
On Jul 17, 2020, at 12:45 PM, Jack Spitznagel <kd4iz@...> wrote:
I missed that he was building. Best success to him!
John will add it to a future release, after he finishes his new home in Kingston WA
On Jul 17, 2020, at 12:01 PM, Jack Spitznagel <kd4iz@...> wrote:
Quick Question on that: Has John implemented this in the DRAWS Manager? Does not appear to be the case. At the bottom of current version, the status bar says:
Digital Radio Amateur Work Station | Adapter: bcm2835 I2C adapter • +12V: +13.68 V • in5: +2.50 V • User ADC 1: +0.01 V • User ADC 2: +0.00 V
Raspberry Pi 4 Model B Rev 1.2 | CPU Temp: 108.24° F (42.36° C) • Uptime: 21 hrs 49 mins • Load AVG: 1m:1.07 5m:1.19 15m:1.17
Not in a hurry to do this, but the replacement board is working well… Many thanks.
The USCGC W-37 Amateur Radio Group
DRAWS Has an on-board ADC to monitor the 12V supply. Sometime after the first run, 5V monitoring was added, but the config file wasn't updated so the sensors command doesn't work correctly.
the fix is to change /etc/sensors.d/draws as follows:
#DRAWS uses the TL024 Which is SW Compatible with thw ADS1015
#It's an 8 Channel ADC, but only 4 Channels are pinned out
compute in4 ((48.7/10)+1)*@, @/((48.7/10)+1)
compute in5 ((10/10)+1)*@, @/((10/10)+1)
Adapter: bcm2835 I2C adapter
To learn more about this, check out the man page for lm-sensors