NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Basic Electronics » Programming
January 10, 2011 by dragonshawk |
are there any good tutorials for learning to program the microcontroller? |
---|---|
January 10, 2011 by hevans (NerdKits Staff) |
Hi dragonshawk, What do you mean by learning to program the microcontroller. Are you referring the process you go through to actually flash a new program onto the chip, or a more general tutorial on programing on the Atmega168? For the actual process the USB NerdKit Guide is your best bet. We go over step by step how to program the chips, and if you run into problems, you can go ahead and ask here. If you are talking about a more general tutorial on programming microcontrollers, we always like to to recommend a learn-by-doing approach. There is nothing better than diving in a tackling a few projects to get a good idea of what the chip can do. If you already went through all the projects in the guide, I would recommend you take a look at our video tutorials for some ideas. We try to focus on a different aspect of what the chip can do in each one. As always if you run into problems the forums are a great place to ask questions. Humberto |
January 11, 2011 by dragonshawk |
I was more referring to writing code. I have had very limited experience with programming (none of it in C) and am trying to become more proficient. |
January 14, 2011 by jingham06 |
Have you gone through the nerdkits guide? I found this very good, although I had some knowledge of c before hand. Try the web, or if it seems too complicated try learning something a little nicer to get started like c#. My old lecturer released this for free and updates it every year for anyone to get into c# http://www.robmiles.com/c-yellow-book/Rob%20Miles%20CSharp%20Yellow%20Book%202010.pdf Then once you've done a bit of this you might find c a little easier to understand. |
January 14, 2011 by Ralphxyz |
For a good starting place to learn MCU programming try Smiley's. There is a Quick Start guide on his blog. The "C Programming for Microcontrollers" book comes highly recommended. Ralph |
Please log in to post a reply.
Did you know that a thermometer can be made "faster" by using a bit of math? Learn more...
|