element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Is it just me, or do you end up installing raspbian over and over again on a complex project?
  • 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 19 replies
  • Subscribers 669 subscribers
  • Views 2193 views
  • Users 0 members are here
  • raspberry_pi
Related

Is it just me, or do you end up installing raspbian over and over again on a complex project?

easyejl
easyejl over 5 years ago

I don't even think this project is all that complex. A raspberry pi 3b+ with a Waveshare WM8960 sound card, a generic 16 channel servo card, running google assistant with hotword recognition, running servos to move a puppet (and have the mouth move more or less in time with the speech).

 

I keep running into audio issues, where installing one thing or another ends up messing up the asound or pulseaudio config and then I lose output to the speakers. I got that card to simplify things as it has a tiny onboard amp and speakers, as well as built in microphone. But i'm now up to having reinstalled raspbian at least 8 or 10 times trying to get all the components to work together. I know I could scrap that card for this, add a usb microphone, and powered speakers but I don't have a usb mic handy, and I wanted this to all fit inside a moose head puppet. If I need another power supply on top of the pi + servo board (to drive the speakers) it seems like its gone a little too far image

  • Sign in to reply
  • Cancel
Parents
  • Sean_Miller
    Sean_Miller over 5 years ago

    In the past two months, I've found that GitHub is my biggest buddy to fight off development woes.  For those who haven't embarked on GitHub, yet - the power of it comes with its use at the very start of a project.

     

    In the past, I'd just throw my finished project in there which could benefit others - but, I didn't realize how I was missing the boat for it helping me out in the development phase.  It provides easy backup and retrieval to readily recover your project to a known good state.  In addition, it has you log a quick summary of any changes between syncs between your local project and the cloud.  I've found these features invaluable as a Maker.

     

    Here's my M.O.:

    1. At the start of the project, create a GitHub Repository.  Edit the README.md file to lay out the project summary.
    2. On your Pi, do a 'git clone repository_address'.  You will now be in sync between a Pi directory and your cloud repository.
    3. As you make 3D Printable files or collect sounds and images, use the web interface to organize them in your repository.  Then do a 'git pull' on the Pi to sync it.
    4. As you discover required packages and learn tricks for setting up the Pi, update that README.md file accordingly.
    5. As you update code on your Pi, do a "git add ., git comit, git push" to sync back to the cloud repository.
    6. You can make a bash script that will allow for "install" of your project on a clean pi as well and house it in the repository.  Or simply update the README.md with instructions.

     

    Now, within seconds, you can deploy your project to an infinite number of PIs.  You never lose track of where you left off or the magic .asoundrc file that was working for you.

     

    Here's an example project I have brewing:  Ghost-Catcher-Cam.  The README.md at this state isn't written for others - it's to keep me straight on all the complexities of the build from audio, to display, to OpenCV, mouse pointer hiding, taskbar hiding, etc.

     

    In the end, you'll have a perfect repository allowing you to share or remake your project from scratch without having to remember a thing.  You'll also be able to quickly leverage an old project into a new.

     

    Happy New Year!

    Sean

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Sean_Miller
    Sean_Miller over 5 years ago

    In the past two months, I've found that GitHub is my biggest buddy to fight off development woes.  For those who haven't embarked on GitHub, yet - the power of it comes with its use at the very start of a project.

     

    In the past, I'd just throw my finished project in there which could benefit others - but, I didn't realize how I was missing the boat for it helping me out in the development phase.  It provides easy backup and retrieval to readily recover your project to a known good state.  In addition, it has you log a quick summary of any changes between syncs between your local project and the cloud.  I've found these features invaluable as a Maker.

     

    Here's my M.O.:

    1. At the start of the project, create a GitHub Repository.  Edit the README.md file to lay out the project summary.
    2. On your Pi, do a 'git clone repository_address'.  You will now be in sync between a Pi directory and your cloud repository.
    3. As you make 3D Printable files or collect sounds and images, use the web interface to organize them in your repository.  Then do a 'git pull' on the Pi to sync it.
    4. As you discover required packages and learn tricks for setting up the Pi, update that README.md file accordingly.
    5. As you update code on your Pi, do a "git add ., git comit, git push" to sync back to the cloud repository.
    6. You can make a bash script that will allow for "install" of your project on a clean pi as well and house it in the repository.  Or simply update the README.md with instructions.

     

    Now, within seconds, you can deploy your project to an infinite number of PIs.  You never lose track of where you left off or the magic .asoundrc file that was working for you.

     

    Here's an example project I have brewing:  Ghost-Catcher-Cam.  The README.md at this state isn't written for others - it's to keep me straight on all the complexities of the build from audio, to display, to OpenCV, mouse pointer hiding, taskbar hiding, etc.

     

    In the end, you'll have a perfect repository allowing you to share or remake your project from scratch without having to remember a thing.  You'll also be able to quickly leverage an old project into a new.

     

    Happy New Year!

    Sean

    • Cancel
    • Vote Up +3 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 © 2025 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