Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Microcontroller Programming

Status
Not open for further replies.

dann11

Full Member level 3
Joined
Oct 22, 2015
Messages
166
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,742
Hi, i want to learn embedded programming but ut is truly so hard for me to understand how to start coding and what important details are needed. Do you have any suggestion on where(websites, online tutorial e-book) a newbie can easily understand c program coding.
 

Start with a *VERY* simple project in mind, look for tutorial examples that cover that type of project, look at the microcontroller used in the tutorial and get a development kit based on the same type of microcontroller.
Then begin with a 'flash a LED' style of program - you will be amazed at how much you need to do to get that going BUT, once you do, you will have the basics of developing, programming and running an embedded app sorted and you can build up on that.
The tutorial may not necessarily use the exact same device as the development board but as long as it is the same type (manufacturer, family etc.) then you should be able to follow the tutorial.
After that, choose a slightly bigger project and go from there.
Susan
 
  • Like
Reactions: dann11

    dann11

    Points: 2
    Helpful Answer Positive Rating
Hello!
Agree with Susan. And I would add that, rather than using a book, using a development board
would be even better. I have made a few tutorials that can be seen from here:
**broken link removed**
As you can see, it starts with the LED blinker. I tried to explain very accurately what I did, but
I'm aware there are always things you don't explain when you're used to embedded development.
I will enhance the whole tutorial one of these days, but I have some other work at the time, and
this work brings food, not the tutorial...

You may consider to use one of the TI launchpads which are extremely cheap (maybe less than a book)
and don't need any external hardware (the emulation tool is on board). The development environment
is free up to a certain size (16k??) when using TI compiler, and completely free when using GCC.

Dora.
 
  • Like
Reactions: dann11

    dann11

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top