开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

live reading of incoming voltage #sBitx


 

Hi Group,

I want to add an ADC chip to measure incoming voltage, could easily do this over I2C or SPI.?

Is there a document showing what pins on the RPI are being used and for what??

We should even be able to measure individual cells if your battery has a balance plug.? My plan is to run a service in the background that reads and smooths the ADC then pushes the info to desktop top bar "panel plugin"


 

Maybe INA260 could be useful?
It can measure both current and voltage using I2C.


 


 

search for the SCHEMATIC and that should help you understand what pins are used.
the SOFTWARE is basically sBitx software so you can see there what is being done.
?
Gordon KX4Z
?
?


 

Thanks guys,? took me a while to find the right resources, all good now.? Ill post if it works out


 

开云体育

I think that IC would do what you want it to do.? There will be some challenge with integrating into the radio.? Shouldn't be hard to get to the 12v input and the 5v bus.? I need to check out the schematic again to see if there's an open I2C bus.? Libraries already exist for that IC, so don't think it would be too difficult on the software side, but also, I'm not a software guy... I might buy a chip and see if we can't come up with a clean and easy install method.

-Jeff - KF7YDU


From: [email protected] <[email protected]> on behalf of w9blw via groups.io <brandon.wiewel@...>
Sent: Friday, January 10, 2025 10:52 AM
To: [email protected] <[email protected]>
Subject: Re: [BITX20] live reading of incoming voltage #sBitx
?
Thanks guys,? took me a while to find the right resources, all good now.? Ill post if it works out


 

On Fri, Jan 10, 2025 at 01:20 PM, Jeff Duce wrote:
I think that IC would do what you want it to do.? There will be some challenge with integrating into the radio.? Shouldn't be hard to get to the 12v input and the 5v bus.? I need to check out the schematic again to see if there's an open I2C bus.? Libraries already exist for that IC, so don't think it would be too difficult on the software side, but also, I'm not a software guy... I might buy a chip and see if we can't come up with a clean and easy install method.
?
-Jeff - KF7YDU
?

?
Good thing the 64 bit dev team can code it and make a display :)


 

Just a small remark, which is good to know about in the case of sbitx DE and v2, v3:
the hardware reacts to an input voltage below 10 V so that there is no sound from the speaker.
Operation can still be heard from the headphones.
--
Gyula HA3HZ


 

Gyula,
?
oh this is good to know, so many clever ideas built into this unit.? Also i finally updated to the up-to-date software version and W O W...? like getting a whole new radio all over again, just incredible value for the money.??

Just as a side comment my main desire around the incoming voltage is to monitor my battery health.? some of the batteries i use (LiPos in particular) don't like being drawn down too far.? yes, yes,? i know,? they sell things for this. I use to race RC and flew 3D helis so i know all about the options to do this.? . just think it would be cool and helpful, to me at least, to have on the RPi desktop.? ?

I did start to work on it yesterday and getting a Panel Applet to show up is proving to be a little harder than i anticipated. something over writes the LXPanel file, will take a little more work to get through it. I did have an idea to just add the text after the clock output.. maybe an easy work around.? there are other options like conky but then you have to move the windows to see it.??


 

开云体育

Just a quick follow-up.? Myself, Jon and JJ bought the INA260 boards.? Jon came up with a really elegant solution to integrate the board into the radio and has written code to talk to it.? We are still testing, but it seems to work great for me!? Stay tuned for future releases!?


From:[email protected] <[email protected]> on behalf of w9blw via groups.io <brandon.wiewel@...>
Sent:?Sunday, January 12, 2025 12:55 PM
To:[email protected] <[email protected]>
Subject:?Re: [BITX20] live reading of incoming voltage #sBitx
?
Gyula,
?
oh this is good to know, so many clever ideas built into this unit.? Also i finally updated to the up-to-date software version and W O W...? like getting a whole new radio all over again, just incredible value for the money.??

Just as a side comment my main desire around the incoming voltage is to monitor my battery health.? some of the batteries i use (LiPos in particular) don't like being drawn down too far.? yes, yes,? i know,? they sell things for this. I use to race RC and flew 3D helis so i know all about the options to do this.? . just think it would be cool and helpful, to me at least, to have on the RPi desktop.? ?

I did start to work on it yesterday and getting a Panel Applet to show up is proving to be a little harder than i anticipated. something over writes the LXPanel file, will take a little more work to get through it. I did have an idea to just add the text after the clock output.. maybe an easy work around.? there are other options like conky but then you have to move the windows to see it.??


 

? A little something like this…
?


 

?Great idea! Easy addition to the rig.?


 

i have the board in hand, :)? let us know when you have the release and notes.?


 

perfect!