I am generating a 50% duty PWM signal from port 11 (pin 23) on a Raspberry Pi 3.
import RPi.GPIO as GPIO
from time import sleep
GPIO.setmode(GPIO.BCM)
GPIO.setup(11,GPIO.OUT)
p=GPIO.PWM(11,600)
p.start(50.0)
I have a spare dashboard of a VW Golf 4 car. The dashboard is connected to 12V.
Pin 11 on the car dashboard is the input pin for the tachometer. It is supposed to work at 5V.
I expected that by connecting the pin GPIO11 from Pi to the pin 11 on the dashboard should do the trick, but it doesn't.
I also tried with pin GPIO7 and it still didn't work.
I am sure I'm missing something in the circuit. Do you have any ideas?