Смотреть видео: transistors - Correct way to control 12V relay from a Raspberry Pi - Electrical Подключение бистабильного реле