help needed with programming microcontrollers

Discussion in 'Homework Help' started by jimit, Nov 29, 2010.

  1. jimit

    Thread Starter Member

    Oct 28, 2010
    57
    0
    hi every on well i want to learn programming microcontrolers.
    can some one give me some idea on what will be needed where can i get it from and for how much what all is to be known (important points ) etc.
    i tried Googleing around but found nothing :D
     
  2. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    How good are you currently at programming?

    Do you know assembly for any platform? C? Basic?

    How versed are you in electronics?

    The best item for you could be anything from an Arduino to a PIC dev board like the EasyPIC line.
     
  3. PRS

    Well-Known Member

    Aug 24, 2008
    989
    35
    A few months ago I was in the same boat. Do a google of Microchip and check out their Pickit2 and Pickit3 programmers. I bought a Pickit3 for 70 dollars and was then overwhelmed when it came with free MPLAB IDE. assembler and C compiler and documentation about any PIC chip you can buy. I felt like the most ignorant person in the world at first. I mean there was a real mass of information I had to absorb before I could even begin to think correctly about using the micro controller.

    Gradually it became more and more clear as I doggedly pursued the supporting literature provided free at the Microchip website. You can go there, download MP LAB IDE for free and begin at once playing with simulations even though you don't have an actual programmer. I highly recommend it. Microchip is the real McCoy; it's a professional system.
     
  4. TweedleDee

    New Member

    Nov 9, 2010
    5
    0
    I would also recommend a small 8 bit AVR microcontroller. Free compiler tools and really good support and tutorials at www.avrfreaks.net. If you have a little electronics background, you can get a couple of those, a $34 programmer, breadboard, voltage regulator, 9v battery and some LEDs and begin learning.
     
  5. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    There are two things to be mastered in the wonderful world of microocontrollers. These are the software aspect and the hardware aspect of microcontrollers. As a beginner, you need to focus on one thing at a time. Trying to learn hardware and software both at the same time can frustrate you to the point of utter discouragement. With this said, I would recommend that you get yourself an Arduino Uno or Arduino Duemilanove from some place like www.sparkfun.com . This little jewel will permit you to focus your attention on learning software programming highlevel language that is based very strongly on C-language. This software is FREE from www.arduino.cc . You will need to get your hands on a shield board for the Arduino to give you a board to build your interface circuitry on. You will need a USB type A male to USB type B male cable to connect your Arduino to your laptop via a USB port. The arduino is powered by the USB port. It can be powered by an external DC power supply if you prefer but for initial software development the USB serves nicely.

    With the Arduino you can master the software and then once you are bitten by the bug you can go on to familiarizing yourself with the hardware.

    hgmjr
     
  6. PRS

    Well-Known Member

    Aug 24, 2008
    989
    35
    I respect hgmijr, but I , very humbly
    think, Pics are the way to go.
     
  7. PRS

    Well-Known Member

    Aug 24, 2008
    989
    35
    I think MicroChip offers the whole enchilada. And they have so many different packages such that they are tops. And I think Microchip should pay me for this advertising.
     
  8. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718

    They probably won't, but they have an AWESOME "samples for nearly just postage cost" program!!
     
  9. PRS

    Well-Known Member

    Aug 24, 2008
    989
    35
    LOL, no text.
     
  10. jimit

    Thread Starter Member

    Oct 28, 2010
    57
    0
    i don't know any thing about programming microcontrolers.
    i am level 0 in it but i know electronics :D
     
  11. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    Which microcontrollers are available in your market?
     
  12. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    Being so close to Thailand, you should have PICs out the yin-yang. ;)
     
  13. PRS

    Well-Known Member

    Aug 24, 2008
    989
    35
    Now just what is the yin yang? LOL!
     
  14. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    The definition is left to the readers imagination. ;)
     
  15. Georacer

    Moderator

    Nov 25, 2009
    5,142
    1,266
    My experience with microcontrollers started with a LEGO Mindstorms package. It provides an easy, fun and A WHOLE LOTTA MORE EXPENSIVE way to start your way, so I don't really recomend it.

    Then I jumped onto an Arduino Duemillanove for a servo controller and sensor management project. Easy C-like profile, a developped community, free but a little poor and buggy compiler. Good stuff.

    Then came this year with a course in microcontrollers in uni, introducing the 8085 and 8086 chips, PURELY on theoretical and programming level and messed me real bad. Now I don't want to see a microcontroller for the next 5 years.

    Take your pic(k?).
     
Loading...