hi , i have a infrared sensor , dc motor and raspberry pi . i want if i push on the remote control , the infrared sensor send signal to raspberry pi mthen the dc motor runs.
any one can can help me to exlain the ciruit and also a program i have to write.?
thank you