psas / stm32

PSAS STM32F4xx firmware development.
30 stars 20 forks source link

RNH port current measurements via ADC (MAX4734) #21

Closed ThirteenFish closed 10 years ago

ThirteenFish commented 10 years ago

The MAX4734s on the RNH measure current on each of the ports and provides this information as a voltage on the NODEx_y_IMON wires to an ADC on the RNH STM32. They only provide the current from one port at a time so we'll have to cycle through selecting the ports using the IMON_Az pins. We'd like to be able to read all of the ports at about 1kHz. The RNH will then send this information out over the RocketNet to the FC.

They should ideally have a driver-ish interface in common/devices or possibly just in flight-rnh.

ThirteenFish commented 10 years ago

Implemented in c3c10cd