element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Hardware hacking project idea + questions
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 685 subscribers
  • Views 681 views
  • Users 0 members are here
  • raspberry
  • help
  • raspi
  • pi
  • gpio
  • raspberry_pi
  • learning
  • raspberrypi
  • rpi
  • electronics
  • newbie
  • advice
Related

Hardware hacking project idea + questions

geeksunny
geeksunny over 12 years ago

Hey guys! I've been plotting out a Raspberry Pi project recently and wanted to describe it here along with a few questions before I move forward with it.

 

First, a little background on myself. I am a software developer by trade. Most of my experience lies in the web & with Python. I have a little experience with some basic electronics work. I know how to solder, completing a circuit, etc. I will be doing reading and trying to teach myself more along the way!

 

As for my project idea, I feel like this should be a fairly simple concept... Hopefully I can explain it properly. I have a Griffin Amplifi 2.1 iPod Speaker Box that I would like to turn into a network connected music player. The box...

http://ipods.techfresh.net/wp-content/uploads/2007/01/griffin-amplifi-ipod-speaker-dock.jpg

 

The (important) details about this box:

  • The front knob has a digital volume control by turning it to the left and right.
  • Pressing in on the knob toggles the power to the box.
  • Its powered by an external power brick. (The exact voltage/amperage, I do not know off the top of my head.)
  • There is a 3.5mm audio-input jack on the back-side.
  • When there is nothing plugged in to this jack, it falls back to the iPod dock on the top. (30-pin Apple connector.)

 

What I envision going on in this project:

  • The Raspberry Pi board will ideally be powered by box's power supply.
  • The audio jack on the Pi would be hooked in to the audio-input signal for the speaker box. This will be accomplished by either soldering directly to the box's circuit board, or a 3.5mm cable ran out the back and plugged in... soldered to the board would be preffered.
  • Wires connected from the Pi to the box's volume control, allowing my software to adjust the volume. I dont know exactly how this would be done. I assume it would connect to the Pi's GPIO pin header? (This will be a major point of my research during the project.)
  • Lastly, I'd like some wires from the Pi to be able to toggle the power on the box, replicating what would happen if you push in on the knob. (Again, I assume this is done through the Pi's pin header.)

 

That all covers the hardware side of this project. As for the software, a fairly basic Linux distribution will be used. (I haven't decided which one, yet.) A combination of a few software packages will be installed for handling the audio sources (AirPlay, local network MP3s, Pandora, etc.) And I will be writing my own client/server software for controlling the box, including control over the audio-source, the speaker's volume control, and power state.

 

Well, thats about it... Does this all sound reasonable / possible? Are there any tips that anyone out there could share? And any resources for helping me along the way? I would be very greatful!

 

Thanks for reading!

  • Sign in to reply
  • Cancel
Parents
  • geeksunny
    geeksunny over 12 years ago

    John & Tim, thank you guys for your tips! I will keep these in mind when things start to kick off. image

     

    Michael, thanks for letting me know. I hadn't read this anywhere before. I did a little searching for a Pi/DAC solution, and this little tutorial showed up featuring an Adafruit MCP4725 12-Bit DAC. Would this be enough for some decent quality output? I see a lot of people talking up expensive USB-based DAC boxes, which seems like an odd choice since USB can be so CPU intensive.

     

    If USB would be the way to go, would a "USB Sound Card" be a viable alternative? I have an old Soundblaster X-Fi USB that I can rip apart if needed.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • geeksunny
    geeksunny over 12 years ago

    John & Tim, thank you guys for your tips! I will keep these in mind when things start to kick off. image

     

    Michael, thanks for letting me know. I hadn't read this anywhere before. I did a little searching for a Pi/DAC solution, and this little tutorial showed up featuring an Adafruit MCP4725 12-Bit DAC. Would this be enough for some decent quality output? I see a lot of people talking up expensive USB-based DAC boxes, which seems like an odd choice since USB can be so CPU intensive.

     

    If USB would be the way to go, would a "USB Sound Card" be a viable alternative? I have an old Soundblaster X-Fi USB that I can rip apart if needed.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

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 © 2026 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

  • X
  • Facebook
  • linkedin
  • YouTube