dgatf / msrc

Multi Sensor for RC with RP2040 - FrSky D, SmartPort, XBUS, SRXL, IBUS, SBUS, Multiplex Sensor Bus, Jeti Ex Bus, Hitec
GNU General Public License v3.0
168 stars 41 forks source link

How I can add a third Voltage Sensor #69

Closed roscor61 closed 2 years ago

roscor61 commented 2 years ago

Hi, I want use 3 voltage sensor. May I add a new sensor (how) on A4 or A5 or A6 input on Arduino Pro Mini with a resistive partitor?

if it is not possible in the current configuration, is it possible to replace it in place of T2?

I hope this is the right place to ask the question

Thank for your attention Rosario

dgatf commented 2 years ago

You can use A6 with a voltage divisor, same as you were using analog voltage1 and voltage2 on pins A2 and A3. And you can use CURRENT_MULTIPLIER to adjust ratio. And ignore the consumption sensor.