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
Pi-Fest
  • Challenges & Projects
  • Design Challenges
  • Pi-Fest
  • More
  • Cancel
Pi-Fest
Blog BLOG# 1 - My Idea - Pi Fest - Music/Audio Project
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Leaderboard
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: skruglewicz
  • Date Created: 21 Jul 2022 9:06 PM Date Created
  • Views 515 views
  • Likes 4 likes
  • Comments 0 comments
  • pi-pico
  • pifest
  • pi-fest
Related
Recommended

BLOG# 1 - My Idea - Pi Fest - Music/Audio Project

skruglewicz
skruglewicz
21 Jul 2022

imageBLOG# 1  - My Idea  -- Pi Fest - Music/Audio Projectimage

This blog is part of a blog series for the Pi-Fest Design Challenge.image

 As a challenger, I along with 49 other element14 members, have received a Raspberry Pi Pico. to use to build and blog their project. the goal for the Challengers, is to use the Raspberry Pi Pico and any other Raspberry Pi products of our choice, to create a music or audio project..

This blog will describe the idea I have for designing and implementing a project, using the Pi Pico supplied to me for this challenge. I will describe my Idea, state my goals for the project, describe some important capabilities of the Pi Pico, listing my blogs in the series , doing some Research on the software environment of the Pi Pico and finally some References to some links that I found helpful. 

BLOG Series INDEX

  •  Blog# 1 My Idea (This Blog)
    •  contains an introduction to my Idea.
  • Blog#2 Design
    • This blog will include the Design of my Idea.
  • Blog#3 Testing
    • This blog will describe the testing I did on connecting each individual component to the PICO. The blog will describe the code used to test each individual component 
  • Blog#4 Implementation
    • This blog will include the implementation of my design. It will demonstrate my metronome in action. All the individual components willl be connected.
  • Blot #5 Completion - Running the finished Project.
    • This is the final blog in the series. I give some conclusions as to what I have gained from this Design Challenge and list some possible enhancements that can be added to make the system more useful.

My Idea 

imageMy idea for this Design Challenge will be to Research, Design and implement a Metronome. A metronome is used to help musicians play songs with the proper time signature and the right pace Traditionally, a metronome is a small device that is designed to keep a beat at a certain timing (Beats Per Minute ) indefinitely. Originally created in the 19th century, for decades implemented  a pendulum that swings back and forth to click the beats. My metronome will be electronic, and will resemble a modern day metronome. I've been using metronome apps on my devices for my timing during music rehearsals and practices. This gave me the idea  to design one using the Pico.

imageYou can  buy an electronic metronome like the Korg MA-2 or the  BOSS DB-90 Dr. from a music store or on amazon.com. the prices range from $15 to $150 These device have a lot of feature that allow you to select more than the BPM's, like pitch of the click, drum patterns, accents, timers and the ability to change the fraction of the beat (quarter, eight or sixteenth notes.). used. I will model my design on a much simpler feature set.

My idea will calculate the BPM's in firmware on the Pico. The firmware will take a BPM value as input and calculate the Beats Per Minute. An auditable click will be used to designate the Beats. An LED will also be used to flash the beats. . A Potentiometer will be used to set the BPM value. An OLED display will be used to display the  BPM' value that has been set. That's it for a beginning. Simple, but  I wanted to keep it easy for me to implement my idea. Once I get the basics implemented, I can always add features later on.

image

The Picture above, is a basic diagram describing the components attached to the PICO.  I will be building the circuit and describing the Firmware design in the next blog on design.

My Goals for this Design Challenge 

My main goal for this challenge will be to be able to implement my design idea, but in order to accomplish this task, I plan to also attain the following goals

  • I'll have to get to know the capabilities of the Pico in order for me to design something that will be simple for me to implement. 
    • Pin Layout
    • GPIO capabilities.
  • I'll need to experiment with the Development environment in order to understand implement the Firmware to the Pico. 
    • Micro-Python,
    • SDK's
    • Tools
    • Thonny

The Challenge Kit

the package came on May 31, 2022 via UPS

The contents of the Package contained a bare-bones (No PIN Headers) Raspberry Pi Pico

Other Products used in my project.

  • I2C OLED Display
    • SSD1306 I2C OLED Display  128x64 Yellow Blue

    • BUY on Amazon

    • image

       
    • Grove Buzzer
    • image
  • Grove LED
    • image
  • Grove Potentiometer
    • image

Research

Since the Raspberry Pi Pico is new to me, I will need to do some initial upfront research on how to get my development environment up and running. This section will list the steps I took to get to a point where I was able to get setup and able to understand the full capabilities of the Pi Pico

  • To get started, I referred to a page on raspberrypi.org to get an understanding of the PI Pico 
  • The Page, Projects | Computer coding for kids and teens | Raspberry Pi, is a good introduction to getting the Pico development environment setup.
    • You will Install the editor used  to code, Thorny
    • Add the MicroPython firmware
    • Code and run a version of Blinky and several other examples using digital Input & outputs,  Using PWM, Control an LED with analogue input,
  • I did not want to solder headers onto the board, so I came up with a breadboard solution. It involved using some header rails that I had in my lab and attaching the Pico to the breadboard as follows. I'll use jumper wires to compete the circuits.
    • image    image   image   image 
  • Some of the examples from the above mention tutorial did not work. That being the example with a button and a potentiometer.
    • I decided .to order a PICO with Headers from Amazon. I purchased the . Bicool Raspberry Pi Pico with Pre-Soldered Colorful Pin Header Microcontroller Mini Development Board
    • I received my PICO and will be using it instead of the headless one supplied with the challenge.
    • image
  • The page at Introduction to the Raspberry Pi Pico helped me learn how to connect and control LEDs, buttons, switches, buzzers and potentiometers

References

This section includes some links that I found helpful.

Music 101: What Is a Metronome in Music?

Grove Starter Kit v3

  • Sign in to reply
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