Maestro to input/output Voltage

I hope this is understandable. I am working on a project with a RC inline twin cylinder gas engine. I need to read the temperature on both cylinders. The RC rx/tx (spektrum iX20) only reads one temp sensor. I was looking to put 2 temp sensors that are read separately by a switch on the Tx or a timer. Using the Maestro 18ch I have figured out how to run the switch and script it to change between the 2 channels. The last stage of testing shows that the readings from the temp sensors are showing in voltage (thermistors).

Is it possible to setup the maestro channels to input and then output voltage readings to the Rx or is this something that will require a higher controller (ex A-Star 32U4 Micro)

Settings input on 2 wires from the sensors to the Maestro Ch 0 and 5
Settings output on 2 wires from the Maestro Ch 4 to the Rx (not written is script yet)
Digital switch on Ch 17 from Rx to Maestro to switch from Ch 0 to Ch 5

Script example so far:

begin
  17 get_position   # get the value of input 17 (switch) as a number from 0 to 1023
  1023 less_than   # test whether input 17/switch value is less than 1023
                           #sets [if statement] variable to 1 if true,n 0 if false
  if   #True #this part is run when input 17 is less than 1023
    3965 0 servo #Switch 0 On - Front Cylinder #Demo of action to be taken
    Led_on #verification of switch position
    8000 5 servo #Switch 5 off - Back Cylinder #Demo of action to be taken
  else   #False #this part is run when input 17 is greater than or equal to 1023
    8000 0 servo #Switch 0 off - Front Cylinder #Demo of action to be taken
    Led_off #verification of switch position
    3965 5 servo #Switch 5 on - Back Cylinder #Demo of action to be taken
  Endif
repeat

Rudimentary Diagram (Noob) (Ch 6 is drawn on the wrong side)

Hello.

It sounds like you want to relay the voltage readings back to your RC receiver, but it is not clear to me what kind of signal that requires. The Maestro cannot output analog voltages, but if your receiver can accept RC pulses or if it has a TTL serial interface, you might be able to get it to work with just the Maestro.

Brandon

1 Like