Connected battery voltage to the SoM ADC input

This commit is contained in:
Vlastimil Slinták 2025-07-27 13:16:57 +02:00
parent aaddc26a66
commit cde5906146
4 changed files with 45 additions and 12 deletions

View file

@ -19,13 +19,9 @@
(uuid "9e13e272-260f-41e4-bde6-9d04184eccb9")
)
(no_connect
(at 163.83 78.74)
(at 163.83 74.93)
(uuid "37e20892-c453-478f-94d7-f772c4094133")
)
(no_connect
(at 212.09 78.74)
(uuid "419fb1a9-8923-4c74-813a-3c3fd8cb6535")
)
(no_connect
(at 127 52.07)
(uuid "694ff94e-0d28-4648-ac51-82340dc7e608")
@ -444,6 +440,16 @@
)
(uuid "b2fc58d0-fa76-475a-a952-aa419d8ba842")
)
(wire
(pts
(xy 163.83 78.74) (xy 212.09 78.74)
)
(stroke
(width 0)
(type default)
)
(uuid "b66e3d7b-5528-4c7d-9c98-05ee7c18070d")
)
(wire
(pts
(xy 163.83 97.79) (xy 176.53 97.79)
@ -1306,7 +1312,7 @@
)
)
(pin "STBY" output
(at 163.83 78.74 0)
(at 163.83 74.93 0)
(uuid "ca791a82-77e4-4658-adda-b26a0837cb57")
(effects
(font
@ -1545,6 +1551,16 @@
(justify right)
)
)
(pin "VOL_BATT" input
(at 163.83 78.74 0)
(uuid "4d814c8e-d19c-4016-8376-45e596026aef")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(instances
(project "linht-hw"
(path "/73efc1fc-21f6-4aef-9f73-508fe18fa32e"

View file

@ -10,7 +10,7 @@
| | V_SOM | Pin 6 | 5V | | |
| | ADC_IN3 | Pin 7 | | | |
| | ADC_IN2 | Pin 8 | | | |
| | ADC_IN1 | Pin 9 | | | |
| | ADC_IN1 | Pin 9 | U_BATT_MON | | |
| | ADC_IN0 | Pin 10 | VOL_ADC | | |
| | V_SOM | Pin 11 | 5V | | |
| | TAMPER0 | Pin 12 | | | |

View file

@ -4987,7 +4987,7 @@
(justify left)
)
)
(property "Value" "22k/1%"
(property "Value" "39k/1%"
(at 65.278 111.7021 0)
(effects
(font

View file

@ -3537,10 +3537,6 @@
(at 124.46 171.45)
(uuid "0678ea0a-c96a-4e16-9533-b89ab98031d8")
)
(no_connect
(at 44.45 82.55)
(uuid "07699102-51cc-4ed6-806b-5c00161a2eeb")
)
(no_connect
(at 68.58 171.45)
(uuid "08068d43-da86-4637-89ad-67515fdeb70c")
@ -4040,6 +4036,16 @@
)
(uuid "19b775bb-f19f-44c5-83d4-1a0b114f8e6f")
)
(wire
(pts
(xy 36.83 82.55) (xy 44.45 82.55)
)
(stroke
(width 0)
(type default)
)
(uuid "1c2caba3-ae36-4504-96b1-9fa3515f16bf")
)
(wire
(pts
(xy 41.91 74.93) (xy 41.91 69.85)
@ -5227,6 +5233,17 @@
)
(uuid "5ec4dd6e-d793-423c-9318-cbea1a316498")
)
(hierarchical_label "VOL_BATT"
(shape input)
(at 36.83 82.55 180)
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
(uuid "601adc7b-befb-4560-b3a4-d04ec1f9cfef")
)
(hierarchical_label "LIGHT"
(shape output)
(at 106.68 40.64 90)