Help! I'm trying to use a PIR sensor with the arduino UNO to turn a mini-cassette recorder on and off (the play button)
Thank you for your help and suggestions.
3
answers
|
Answer it!
|
Keep in mind the pins on the Arduino are either tied to ground or have 5V running through them. So when the player is connected to the Arduino the power from the Arduino is running the player. The Ardunio can only turn on or off power to the pins. It can't treat the pins like an isolated switch.
I'm guess that is your problem having the play button's leads running directly to the Arduino. What you need to do is wire those leads to a relay. So that the Arduino is activating the /relay thus closing the circuit on the player so that the player's power is running the unit not power from the Arduino.
![]() |































