Skip to content

Python script to control an Onkyo receiver from a GPIO button on a Raspberry Pi

Notifications You must be signed in to change notification settings

szaske/onkyo-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onkyo-button is a Python script that controls the sound volume on an Onkyo receiver, via a button connected to the GPIO pins on a Raspberry Pi. I've included the instructions here as a record for myself and to share my code with anyone who might want to build a similiar project.

Requirements

Software Install

To install the software just run

pip install onkyo-button

Hardware Construction

Since the button was down an approximately 100' wire, I needed to construct a simple circuit to protect the GPIO pins and the Raspberry Pi. Here's the circuit design.

Circuit Design

Here's a picture of the Hat layout:

PiHat

License

Copyright 2017 Steve Zaske

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Python script to control an Onkyo receiver from a GPIO button on a Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages