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
Arduino
  • Products
  • More
Arduino
Arduino Forum Arduino soundpad suggestions for assignment
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 8 replies
  • Answers 4 answers
  • Subscribers 389 subscribers
  • Views 970 views
  • Users 0 members are here
Related

Arduino soundpad suggestions for assignment

fbirch
fbirch over 5 years ago

Hello everyone,

 

I'm hoping to use an arduino and some basic code in a group assignment and have zero experience with arduinos and very little coding knowledge.

 

I'd like to create an 8x8 grid of buttons that contain RGB lightning, and are attached to a speaker of some description to play a tone. The intention is to create a soundpad-esque (like a launchpad) tactile device that enables me to play a tone or series of tones when one of the buttons in the 8x8 grid are pressed. I'd also like to be able to have a colour displayed on the RGB lighting attached to the associated button.

 

I shall be using python to play a data value as a MIDI tone or series of tones, along with using a different data value to select a colour.

 

I am looking for hardware advice, as I have very little experience with Ardunio or circuitry in general. I will have access to a vast array of tools and five weeks to become competent enough to create such a project, along with a team of 5-8 people to assist. We are all in a similar boat with experience, however are eager to learn. I have already looked into multiple tutorials and other resources but it appears the options are near endless, so any assistance with recommendations or advice on this build specifically would be greatly appreciated.

 

Thank you for your time!

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 5 years ago +5 suggested
    Hi Finn, This is quite general, I'm not sure what part you specifically need help with and I can't advise on your entire project. If you mean how to detect presses, then as you mention, buttons ( switches…
  • fmilburn
    fmilburn over 5 years ago +5 suggested
    Hi Finn, Expanding a bit on what Shabaz has outlined... Adafruit has a project which seems similar to what you have described: https://www.adafruit.com/product/1929 It is open source and there are links…
  • fmilburn
    fmilburn over 5 years ago in reply to fbirch +2 verified
    There is a fair amount of difference between Python and C / C++ as far as languages go, but Arduino is set up for beginners and isn't hard to learn. In my opinion C with some C++ is better suited to microcontrollers…
Parents
  • fbirch
    0 fbirch over 5 years ago

    Hi Shabaz and Frank, thank you for your replies!

     

    In response to Shabaz: The buttons only need to activate the sound/colour of the data points on or off rather than an analog type switch.

    We we're planning on using python because some of our group memebers already had limited experience with that language but we're happy to use a C language - is there a massive difference between python and C languages?.

    The MIDI tutorial also seems very helpful so we'll be using that for sure!

    The next step for us at the moment is converting our data values into a MIDI tone that plays a note that scales according to an increasing or decreasing relative value. Any suggestions on how this can be done would be great

     

    In response to Frank: The adafruit kit seems pretty spot on for what we need, do you know what we need to run it or is it pretty much plug in and play(after building it of course)? Also, are speakers included or is that something else that needs to be added?

    As the kit is out of stock at the moment, would the button grid setup something that can be attached to another board? such as an arduino uno?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • fmilburn
    0 fmilburn over 5 years ago in reply to fbirch

    There is a fair amount of difference between Python and C / C++ as far as languages go, but Arduino is set up for beginners and isn't hard to learn.  In my opinion C with some C++ is better suited to microcontrollers - it is smaller, faster, and with the Arduino IDE and libraries it isn't hard to learn.

     

    I haven't used the Adafruit kit but what they sell is known for being well documented and working.  I have not read through their documents so you will need to do that - I think that kit just outputs the MIDI when a button is pressed as configured but I could be wrong.  Looking at the picture I don't see an amplifier or speaker.  While the kit is not in stock, it looks like they have all the parts listed in the Bill of Materials except for the M4 Feather.  The button grid connects over I2C so it shouldn't be a problem connecting it to other boards and according to this link they have Arduino and CircuitPython libraries for it.  If I were buying a new board I would probably get one of the newer ATSAM M4 boards for this application and the larger the memory and speed the better if you want to use CircuitPython.

     

    If you get on their forum and ask some of these questions I suspect they will get back to you as long as your questions are about their products.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • fbirch
    0 fbirch over 5 years ago in reply to fmilburn

    Thank you very much for you help Frank!

     

    I think we have a good place to properly start now

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • fmilburn
    0 fmilburn over 5 years ago in reply to fbirch

    You are welcome.  Make a post if you can and let us know how it goes and if you have a specific question don't hesitate to start a new thread.  There are a lot of helpful people here.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • fmilburn
    0 fmilburn over 5 years ago in reply to fbirch

    You are welcome.  Make a post if you can and let us know how it goes and if you have a specific question don't hesitate to start a new thread.  There are a lot of helpful people here.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • fbirch
    0 fbirch over 5 years ago in reply to fmilburn

    Hi again Frank!

     

    With some more digging from your suggestions, we've come up with a item list for what we need and we're hoping to just run it by you to double check it's what were after and there are no glaring compatability issues etc:

    This board seems to contain everything we need, in terms of processing both RGB and sound with an audio output. We will expand the rgb/button area to 8x8 with 2 of these RGB drivers. Then 4 of these buttons as the inputs.

    At this stage we don't need an enclosure and we will be plugging in a speaker/headphones into the audio jack on the board.

     

    We can't thank you enough for you suggestions!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • fmilburn
    0 fmilburn over 5 years ago in reply to fbirch

    Hi,

    The board does look like it does everything and I have used that microcontroller and it is getting good support.  I can’t confirm it absolutely because I haven’t used that exact hardware but looks good.  Be sure and order the cables for connecting the keypads if you don’t want to solder. It looks like a fun project and good luck...

    Frank

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
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