element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Episode 435: Raspberry Pi 4 Music Player w/ Analog Controls
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Project Videos requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Engagement
Author: kellyhensen
Date Created: 19 Feb 2020 5:59 PM
Last Updated: 8 Mar 2022 7:41 PM
Views: 926
Likes: 8
Comments: 15
Related
Recommended

Episode 435: Raspberry Pi 4 Music Player w/ Analog Controls

You don't have permission to edit metadata of this video.
Edit media
x
Upload Preview
 

I love the Volumio music player software for the Raspberry PI, but I am tired of digging through my pockets for my phone to change the volume or pause a song. In this episode, we are going to fix that by adding a bunch of buttons and knobs in addition to a touchscreen display to control Volumio 100% from hardware and without the need for a web browser or app!

 

Click Here for access to all the supporting files you will need to replicate this build! 

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
TRANSCEND 16GB MicroSD Card, Preloaded with NOOBS (V2) OS Installer for Raspberry Pi TRANSCEND 1 Buy Now
RASPBERRY-PI Single Board Computer, Raspberry Pi 4 Model B, BCM2711 SoC, 4GB DDR4 RAM, USB 3.0, PoE Enabled RASPBERRY-PI 1 Buy Now
RASPBERRY-PI Raspberry Pi 7" Touch Screen Display with 10 Finger Capacitive Touch RASPBERRY-PI 1 Buy Now
STONTRONICS AC/DC Power Supply, 1 Output, 15.3 W, 5.1 V, 3 A STONTRONICS 1 Buy Now
ITW SWITCHES Pushbutton Switch, Industrial, 59 Series, 13.6 mm, SPST-NO-DB, Momentary, Square ITW SWITCHES 2 Buy Now
ITW SWITCHES Pushbutton Switch, Industrial, 59 Series, 13.6 mm, SPST-NO-DB, Momentary, Square ITW SWITCHES 1 Buy Now
ITW SWITCHES Pushbutton Switch, Industrial, 59 Series, 13.6 mm, SPST-NO-DB, Momentary, Round ITW SWITCHES 1 Buy Now
ITW SWITCHES Pushbutton Switch, Industrial, 59 Series, 13.6 mm, SPST-NO-DB, Momentary, Round ITW SWITCHES 1 Buy Now
TE CONNECTIVITY IC & Component Socket, 16 Contacts, DIP Socket, 2.54 mm, 7.62 mm, Phosphor Bronze TE CONNECTIVITY 1 Buy Now
MICROCHIP Analog to Digital Converter, 10 bit, 200 kSPS, Pseudo Differential, Single Ended, Serial, SPI MICROCHIP 1 Buy Now

 

Additional Parts:

 

Product Name

Adafruit CAP1188

SPDT Toggle Switch

10k Linear Taper Potentiometer

Protoboard

Slide Pot - Motorized (10k Linear Taper)

Attachments:
Resources_Pi4MusicPlayer.zip
Raspberry Pi 4 Music Player w/ Analog Controls

element14 presents  |  About Kaleb |  Project Videos

  • mcp3008
  • kaleb
  • e14presents_kalebclark
  • python
  • microchip
  • itw
  • cap1188
  • 3D Printing
  • programming
  • raspberry pi touch screen
  • volumio
  • raspberry pi 4
  • raspberry pi
  • element14 presents
  • analog to digital converter
  • stontronics
  • friday_release
  • Share
  • History
  • More
  • Cancel
Anonymous

Top Comments

  • DAB
    DAB over 2 years ago +1

    Nice project.

     

    DAB

  • airbornesurfer
    airbornesurfer over 2 years ago +1

    Super rad! Though I kinda want to hear more of this band you were in now.

  • kalebclark
    kalebclark over 2 years ago in reply to andrewcrice +1

    Andrew, that blew my mind. I am an audio engineer and own a few control surfaces with motorized faders that DO have conductive handles on them. But it *never* crossed my mind to just use one of those.…

  • kalebclark
    kalebclark over 1 year ago in reply to Former Member

    Thank you!

     

    Below is the best I have for a schematic. Unfortunately, it does not include the CAP1188 Capacitance sensor for the fader, but if I recall correctly I used SPI for that to connect to the Raspberry PI. Adafruit has great documentation for that device.

     

    For the parts, if you look in the "Additional Parts" section above it describes the fader, and which type of pot I used for the volume. Those faders are sometimes difficult to find, but if you just google the description above you will get some hits. Just make sure you find one that is the right length for your project. They vary in size. The fader has contacts for a potentiometer just like you would expect, connections for the motor, and another lead for capacitance.

     

    I am in the middle of a move, and that device is still packed up. But if you have troubles with that part I can try to find it and trace out the fader portion.

     

    Here is the schematic that I was able to dig up.

     

    Good Luck with your build!

    -Kaleb Clark

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • Former Member
    Former Member over 1 year ago

    Kaleb,

     

    great project. I will build it for my 5year old daughter with a horse riding on the slider in front of a princess castle being the player. I am searching for a good idea for weeks now and yours is second to none.

     

    I shall try to use a waveshare 7display and I further plan to use a simpler web ui rather than the official volumio.

     

    Recourses zip seem to only have stl files in it. I cannot find wiring diagrams and a bit of explanation around the hardware, in particular what motor specs for the slider and why and what kind of volume poti rather than a rotary encoder?. Any chance to post wiring and some more info, as this would make a built much less try and error.

     

    Cheers Andreas

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • nik91
    nik91 over 1 year ago

    Hi,

    Nice project. I am trying to do it but stuck in connections, can you help me with the Schematics.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • mr1980
    mr1980 over 2 years ago in reply to kalebclark

    Oh that’s why I thought It was so great, I’ve had a little time in the studio myself    not a lot, think entourage and trumpet instead of front man or songwriter  

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • jeffpetersen
    jeffpetersen over 2 years ago

    Hi, think the volume would work better with a log pot.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • kalebclark
    kalebclark over 2 years ago in reply to tjb167

    They sure are Travis. Check the zip file on this page. Should all be in there.

     

    -Kaleb

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • tjb167
    tjb167 over 2 years ago

    Are the STL files available for the 3D printing the enclosure?

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • kalebclark
    kalebclark over 2 years ago in reply to andrewcrice

    Andrew, that blew my mind. I am an audio engineer and own a few control surfaces with motorized faders that DO have conductive handles on them. But it *never* crossed my mind to just use one of those. I guess that is just how deep in DIY I was on this project!

    I would still like to make one, but if that does not pan out, Ill probably go that route. Though in the ~week of using the device it really has not been an issue. I can still grab what is there and move it. Mostly aesthetic at this point.

     

    Thanks for the great idea and jolt back into reality! haha

     

    -Kaleb


    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • andrewcrice
    andrewcrice over 2 years ago

    What a fun project - great job. I was determined to rebuild a vintage radio and replace the tuner's linear needle with a similar motorized pot. Based on the research I did, it was the most reliable way to build an inexpensive and compact linear actuator for a short-travel lightweight load (needle) with builtin encoding. I didn't need the conductive feature for my project, but I did learn that such knobs are available for the intended application (audio mixing boards). You can buy these knobs (and sometimes the pots too) pulled from broken mixing boards. If you want to buy a new knob, Selco advertises them available in quantities as low as one. Their website indicates that conductive knobs are available, but does not indicate which part numbers have that feature. https://www.selcoproducts.com/knobs/slider-knobs

    I've also used Volumio in projects and love it. A feature I really longed for, and would like to have time to develop and share as a plugin someday, is integrated control for a I2C FM Tuner module.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • kalebclark
    kalebclark over 2 years ago in reply to mr1980

    Thanks, Thomas, I got the idea for the dim functionality from studio monitor control systems. Very handy when you need to talk to someone but not interrupt playback.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
>
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube