waterloo-rocketry / cansw_processor_stm

1 stars 0 forks source link

Health otits #27

Closed celery6 closed 1 week ago

celery6 commented 2 weeks ago

Is there a better range of values we can test for adc? Or smth else that confirms it's acutally functional. Currently just tests the maximum possible adc reading... it should have some minimum that we know it won't go under normally.

(For reference this test "passes" on my devkit despite the adc literally reading noise)

Joe-Joe-Joe-Joe commented 2 weeks ago

the nominal current draw is somewhere between 100 mA and idk like 500 mA, you can probably reverse engineer the macros to find out what that is in adc counts (or just call the macros and compare lol)

celery6 commented 2 weeks ago

the nominal current draw is somewhere between 100 mA and idk like 500 mA, you can probably reverse engineer the macros to find out what that is in adc counts (or just call the macros and compare lol)

is the voltage more consistent? cuz the current macro is calculated by calculating voltage first how to ece

celery6 commented 1 week ago

image

we are so passing LGTM??