waterloo-rocketry / cansw_processor_airbrakes

Processor board was developed for the 2023-2024 design cycle to perform state estimation and control tasks for Borealis's airbrakes system
2 stars 0 forks source link

Health otits #27

Closed celery6 closed 3 months ago

celery6 commented 3 months 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 3 months 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 3 months 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 3 months ago

image

we are so passing LGTM??