[simpits-tech] Arduino victory!

Cris Harrison phoenixcomm at gmail.com
Wed Aug 8 16:18:40 PDT 2012


On 8/5/2012 7:21 PM, dabigboy at cox.net wrote:
> Well, this non C coding, Python welding cockpit builder has just achieved another little victory: I am driving a real Cessna OAT (outside air temp) gauge with an Arduino, from within Python on my laptop. I had to use a resistor to pull voltage down, otherwise even low PWM duty cycles overwhelmed the little temp gauge, resulting in a very poor resolution (basically the gauge would max out at a cycle of 24 out of 255 pulses). Calibration is not exactly perfect, but it's close enough for now. I think the serial comms was the hardest part! Working great now...more importantly, I am sending two pieces of data (temp and flap setting) and am able to keep them straight in the Arduino...yay!
>
> Video to come soon.
>
> Matt
> _______________________________________________
> Simpits-tech mailing list
> Simpits-tech at simpits.org
> http://www.simpits.org/mailman/listinfo/simpits-tech
> To unsubscribe, please see the instructions at the bottom of the above page.  Thanks!
>
Ok congrats so where is du video???

and btw
all you need is a function that has a look up table in it..
pwm oat( value ){
pwm{ min,,,,,,,,,,,,,,,max};
return pwm[value];
}


More information about the Simpits-tech mailing list