Programming microcontrollers (or build microcontroller from scratch)

Dear all,

I am abosolutely beginner but have experienced with programming. I have dreamed to build a robot for ages and I have keep searching on google but have no luck because the tutorial is not for beginner. So hope you guys can pin point me to any beginner tutorial on how to build our own simple microcontroller or breadboard to just do simple task ex: blinking the led something like that which I can just follow the instruction with clear picture and I will be able to make it myself.

P.S. honestly, I don't know even the differences between microcontroller and breadboard.

I am googling for 4 weeks already tired now!

Thanks,

Best Regards,

Shojiki

First question for you to answer is,

what language/languages are you familiar with?

C# (C++)

birdmun, I am familiar with C# (C++).

First, I’d like to build a simple microscontroll to blink the LED so please help.

 

I would suggest getting an

I would suggest getting an Arduino microcontroller board starter kit

(official distributors: http://arduino.cc/en/Main/Buy,

or here: http://www.amazon.com/Arduino-Uno-Starter-Solderless-Breadboard/dp/B0051QHPJM/ref=pd_cp_pc_1,

or here: http://www.adafruit.com/products/68,

or here: http://www.adafruit.com/products/193,

or here: http://www.trossenrobotics.com/p/Basic-Experimenters-Kit-with-Arduino.aspx,

or here: http://www.pololu.com/catalog/product/1615)

 

Basically any Arduino Starter Kit will do.

Arduino’s are based on the C

Arduino’s are based on the C programming language so you’ll be running in no time :slight_smile: and it has some of the largest user support of any microcontroller in existence to date.

That is cool!

cobltphoenix,

Thank you! Actually, I have experienced with several languages such as Java, PHP, C#, Delphi and C++ but no chance to get into depth in each one but currently I am working with C#,C++, and Delphi and I found C++ interesting. Anyway, C++ and C are not quite different and I’d like to improve my C and C++ programming with robot as well so thank you!

Btw, do you have any recommended book about C programming with Arduino or walk through tutorial sth like that?

Thx,

Shojiki

A quick google search gave

A quick google search gave me this: http://diyroboticslab.wordpress.com/2009/06/04/ledblink-arduino-program/

I think Arduino is C/C++ based actually.

Thank you again cobaltphoenix!

Thank you very much for helping me!

Have a good one!

Shojiki

You don’t need help to blink

You don’t need help to blink a LED. Just buy a board (I prefer Arduino) then connect it with your computer, install the USB driver (should be automatically or download it from arduino.cc

Then Download the Arduino IDE as well, run it, choose your board and COM port (all is well described in the tutorial on arduino.cc) 

Then open examples -> Basics -> Blink. Upload it to your board and see the onboard LED connected to I/O 13 blinking. from there it’s only a small step to a robot :slight_smile:

Shojiki: Please read the

Shojiki: Please read the Rules, understand what you are doing wrong, and edit your post. Or die.

To Lumi

Yes I already bought the Arduino board and it just arrived two days ago.

I am thrilled to work on it soon this weekends.

And thank you I will look at their examples at its official site.

Has ha

:smiley:

Thank you for information I am new here!

firtsl,

Thanks for the link I will update my post soon I wanna be alive lolZz.

Btw, Have a good one to all.

Thank you!

Shojiki

Great links

Thank you Chuck! For Arduino I like your first link very much the lesson is precise and I don’t know how come I did not come across this good link so far with googling for sometimes on Arduino.

Thanks,

Shojiki

Hey, you just need to change

Hey, you just need to change the subject line to something that people can navigate from - howabout “Programming microcontrollers” or something? Please fix the title - I know a webmaster on this site who is very kean on killing because the site is so clean for “Please help me”-posts, and he intends to keep it that way.

now.

In general, since you are

In general, since you are new; E-v-e-r-y-t-h-i-n-g on this site is something we made. we are also you now. This site belongs to you.

You are building it when ever you post.

You are NOT building a good site with a headline that …well…  imagine if everyone did like you have done so far… you see? Then there would be no site, so it is serious, not a joke.

For the love of God, change the friggin’ title, dude.

Change the title of this post!

As a word of advice, you REALLY need to change the title of this post. Basically, you are going to ■■■■-off a bunch of people, then after a while, Frits will get sick of seeing the title and will A) delete this post and B) delete your account. This is not a joke.

“Please Help” is the single worst thing you can do around here. Like, really-really.

Change it NOW, dude.

BTW, “I will change it soon ‘lolz’” does not help your case at all. --Even more so when you didn’t.

Good points I’ll do it now

yes I am new so please don’t mind and.

“imagine if everyone did like you have done so far… you see? Then there would _be no site” 

Yes I got your point.

I will do it now!

Thx,

Shojiki

Dude you mean it! I’ll do it now!

Thanks man for the advice. 

Anyway, I am new here so don’t mind.

I do it right away.

Thanks,

Shojiki