help choosing microcontroller

Discussion in 'The Projects Forum' started by Mo009, Feb 25, 2014.

  1. Mo009

    Thread Starter New Member

    Feb 25, 2014
    5
    0
    can someone help me choose a microcontroller that would:
    -plays sound/music
    -hook up a motion sense
    - hook up LED lights
     
  2. twenglish1

    Member

    Feb 25, 2014
    38
    3
    Any of the atmel atmega microcontrollers should suit your needs, depending on how many port pins you need, programmers are simple and cheap, programming software is free, and the languages are very easy to learn
     
    Mo009 likes this.
  3. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    Any of the microcontroller can do this, the question is what are the specifications?
     
    Mo009 likes this.
  4. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,395
    1,607
    #2 and #3 are simple tasks anything can do.

    #1 requires questions: how good fidelity? how long? what media?
     
    Mo009 likes this.
  5. mcgyvr

    AAC Fanatic!

    Oct 15, 2009
    4,771
    971
    arduino....
     
    Mo009 likes this.
  6. elec_mech

    Senior Member

    Nov 12, 2008
    1,513
    193
    As others have stated, any microcontroller can do these things, although music could be challenging depending on how you want to do this. The questions to me are:

    1. What is your experience with electronics?
    2. What is your experience with microcontrollers/programming?
    3. What programming language are you familiar with, if any?
    4. Is this simply for a hobby project or do you see yourself getting into the field of embedded electronics (microcontrollers) professionally?

    The answers to these will help us better understand your background and allow us to make a better suggestion.
     
    Mo009 likes this.
  7. Mo009

    Thread Starter New Member

    Feb 25, 2014
    5
    0
    I have some experience with electronic but I have never used a microcontroller before. I know little about C++ programming but that is it. I am very new to this!
     
  8. Mo009

    Thread Starter New Member

    Feb 25, 2014
    5
    0
    And it just for a hobby project that I been thinking about doing
     
  9. CVMichael

    Senior Member

    Aug 3, 2007
    416
    17
    In that case, probably arduino is best for you because you can find tons of examples on the internet.
     
    Mo009 likes this.
  10. mcgyvr

    AAC Fanatic!

    Oct 15, 2009
    4,771
    971
  11. Mo009

    Thread Starter New Member

    Feb 25, 2014
    5
    0
    any model will work or is there a specific model you would recommend?
     
  12. mcgyvr

    AAC Fanatic!

    Oct 15, 2009
    4,771
    971
    I'm an arduino MEGA man myself :)..
     
  13. donpetru

    Active Member

    Nov 14, 2008
    186
    25
    A STM32 ARM is one of the best solutions in your case.
     
    Mo009 likes this.
  14. dreamtale

    New Member

    Oct 30, 2014
    24
    1
    Select a chip, there are many factors to consider. First, there were many resources, what is architecture. How many people use it, if more, the more resources for learning.
     
  15. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,815
    834
    Depends in part on the number pins required. Looks like the Arduino SmartWAV player requires three pins. Your motion sensor would require another. Now how many LEDs do you plan on? If not too many, the Arduino UNO would work.

    Note there are other shields which play music. If you don't need the flexibility of wav or mp3 files, you may be able to code a short melody directly.
     
  16. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,398
    497
    I am with the few others who pointed out that sound/music is most likely the most challenging part of your project. If we are talking something like 8-bit atari/"nintendo" sound, that I think most anything can do it. If we are talking higher quality, then things get complicated.

    Since you know some C++, you should be able to do C with very little trouble if any. Availability of tutorials and examples like the Arduino websites is a big plus, of course.
     
Loading...