Analogue Inputs Messed Up
Posted: Fri Mar 14, 2014 9:28 am
I finally got round to installing my RCP, and have only a few requirements until the CAN adapter is sorted:
1. Get the RCP to turn on my GoPro when it detects voltage on an input
2. Read a pulsed RPM input from my ECU
So when trying to achieve requirement 1, I wired a simple 12v switched circuit into the car, and connected the switched live to pin 14 on the RCP (Analogue IN 1). Looked in RaceAnalyzer, and no voltage was detected.
I sanity checked all my wiring, and found that I definitely had 12V at the RCP input.
Then I tried GPIO 1. Nothing. Just read 1 on sensor monitor irrespective of the switch position.
So, I decided to try analog2 (Pin 13). All of a sudden, I see voltage on analog 1 (and nothing on analog 2).
I haven't delved any further into this problem as yet to see where the mapping goes awry, but I will do next time I have half hour.
Additionally, I have wired my RPM output from the ECU to pin 20, but am not sure what advanced settings I should set on this input? I currently get no reading on that input whatsoever. Assuming it is a pulsed digital input, what settings should I consider?
I do have a basic scope, but don't totally know what I'm doing with it....
1. Get the RCP to turn on my GoPro when it detects voltage on an input
2. Read a pulsed RPM input from my ECU
So when trying to achieve requirement 1, I wired a simple 12v switched circuit into the car, and connected the switched live to pin 14 on the RCP (Analogue IN 1). Looked in RaceAnalyzer, and no voltage was detected.
I sanity checked all my wiring, and found that I definitely had 12V at the RCP input.
Then I tried GPIO 1. Nothing. Just read 1 on sensor monitor irrespective of the switch position.
So, I decided to try analog2 (Pin 13). All of a sudden, I see voltage on analog 1 (and nothing on analog 2).
I haven't delved any further into this problem as yet to see where the mapping goes awry, but I will do next time I have half hour.
Additionally, I have wired my RPM output from the ECU to pin 20, but am not sure what advanced settings I should set on this input? I currently get no reading on that input whatsoever. Assuming it is a pulsed digital input, what settings should I consider?
I do have a basic scope, but don't totally know what I'm doing with it....