Analog output voltage low

Discussion on the RaceCapture App - Windows, Android, OSX and Linux.

Moderators: JeffC, stieg

Post Reply
mattlqx
Posts: 13
Joined: Mon Jun 17, 2013 12:55 am

Analog output voltage low

Post by mattlqx »

I worked past the script writing difficulties described at http://www.autosportlabs.org/viewtopic. ... 9396#19396 to get to this point.

I have a switch wired from the +5v reference to an analog input. I get that input just fine. Value is 0 with switch off and 1023 with switch on. I wrote some Lua in the onTick to setAnalogOut(0, 5) if the switch is on. Using a volt meter, I read near nil with the switch off (as I'd expect) but unfortunately only reads 2.7v with the switch on. I'm trying to trigger a relay via this voltage.

Am I missing something either in the RC or basic electronics?

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Hi,

are you trying to drive a relay at the time you're reading it? what does the output look like on the scope, if you have one? note the analog/pulse outputs are current limited to about 50mA (they are polyfuse protected).

Note the outputs are dip-switch settable to be in either PWM or analog output mode. These dip-switches are on-board the unit.

If you're wanting to simply activate an output you can configure one of the GPIO's to be in output mode. This has to be set in firmware settings as well as moving the jumper on-board. When configured as output the port can drive up to 1A via a self-protected mosfet.

See the installation guide for more info on the jumper and DIP switch settings.
http://www.autosportlabs.net/RaceCaptur ... tion_guide

Let us know what you find out!
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply