Previous in Forum: Need Information for Dell PC   Next in Forum: How to Upload Data from Module?
Close
Close
Close
15 comments
Rate Comments: Nested
Associate

Join Date: Dec 2008
Posts: 41

Microcontroller

08/08/2012 11:11 AM

Dear Friends,

I want to programme a microcontroller. So pls tell me the procedure and what type programming languadge i can use to programe microcontroller.

Register to Reply
Pathfinder Tags: microcontroller
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#1

Re: microcontroller

08/08/2012 11:16 AM

Which one?

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Associate

Join Date: Dec 2008
Posts: 41
#4
In reply to #1

Re: microcontroller

08/08/2012 11:35 AM

it may be 8051 and other

Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#5
In reply to #4

Re: microcontroller

08/08/2012 2:22 PM
__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply Score 1 for Good Answer
2
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#2

Re: microcontroller

08/08/2012 11:21 AM

You need the full set of data books for the micro controller in question, and if you are new to this subject you will probably need some tuition.
Programming is not straight forward as Microcontrollers need to be configured to suit the hardware circuit, that is to say you have to write data to certain locations to set up the ports as inputs or outputs.The inputs will probably have different modes (analogue, digital, latching...). The outputs will also have different modes too.
Some devices will be better supported than others with demo/evaluation boards cheaply available and software examples to help you get up and running.

IMO it is simplest to program in the assembler language for the micro.
High level languages e.g 'C' are available but they often complicate matters and require more expensive hardware/software.
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply Good Answer (Score 2)
Power-User

Join Date: Jun 2007
Location: ether
Posts: 371
Good Answers: 1
#9
In reply to #2

Re: microcontroller

08/09/2012 1:05 PM

Likely I will shoot my own feet with this reply, but still I would like to say a bit about this...

for a good programmer of assembly it would be much more likely to choose such "way"... It´s still the more universal.

but, looking into the other side, you see that to program a microcontroller, you need the computer, the link´s, the software and the machine it self, so there I do not see any m0ore complication...(I mean for those that use assembly and for those that choose to use a microcontroller with a 'C' compiler).

is it ?

__________________
“For no man can forbid the spark nor tell whence it may come.” ? Francis Bacon
Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#10
In reply to #9

Re: microcontroller

08/09/2012 1:17 PM

I'm not sure I understand you, but the big problem with 'C' is that you still have to write all the actual I/Ostuff in assembler for your specific hardware, unless you are using existing hardware with drivers already written.
I personally find C horrible for low level applications
error ; expected ... WALOOB!
Doubtless it's fine if you have the fancy hardware and software to debug it, but try doing it without an emulator!
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Power-User

Join Date: Jun 2007
Location: ether
Posts: 371
Good Answers: 1
#11
In reply to #10

Re: microcontroller

08/10/2012 6:04 AM

I never program with assembler, that´s why I ask... gotta try dough!

__________________
“For no man can forbid the spark nor tell whence it may come.” ? Francis Bacon
Register to Reply Off Topic (Score 5)
Power-User

Join Date: Jun 2007
Location: ether
Posts: 371
Good Answers: 1
#12
In reply to #2

Re: microcontroller

08/16/2012 5:57 AM

But I still dint understand why you say that the peripheral electronic´s had to be more complex. I programmed with microcontroller´s with C built in compiler´s and must say that the rest can be as much as a resistor to connect... it all depend´s on the app. and the designer.!

__________________
“For no man can forbid the spark nor tell whence it may come.” ? Francis Bacon
Register to Reply Off Topic (Score 5)
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#13
In reply to #12

Re: microcontroller

08/16/2012 7:35 AM

There may have been a misunderstanding, the OP has mentioned an 8051 if I remember correctly and Del is right, you do need a load of books etc..

Now if the OP went for a PIC, especially one using BASIC, that would fit better with what you said......

I personally would not touch and 8051, or Z80 or similar ever again as the amount of hardware needed to get a working system can make it a real business.... the modern PICs have it for me, especially with their low, low price, also because there are some fantastic forums around to support users, especially new ones....

So BASICally you are both right to my mind.......shame you marked yourself off topic rather heavily.....

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Power-User

Join Date: Jun 2007
Location: ether
Posts: 371
Good Answers: 1
#14
In reply to #13

Re: microcontroller

08/17/2012 6:17 AM

Yes, that was PIC that I was refering to... Since I never worked with other similar devices I do not know the hardware configuration needed to make them pump the bytes , so I asked... being the comment of the topic (snif, snif) was just a distraction... but I´ll ask the moderator´s to change it, if you want to!

have a nice day!

__________________
“For no man can forbid the spark nor tell whence it may come.” ? Francis Bacon
Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#15
In reply to #14

Re: microcontroller

08/19/2012 8:12 AM

You certainly did not need to mark yourself off topic, you must remember to un-tick that box when posting.

Whether or not the moderator will change that I don't know, you can ask if you feel its important. We have all done it at some point.....No big deal.....

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Guru

Join Date: Oct 2008
Posts: 42355
Good Answers: 1693
#3

Re: microcontroller

08/08/2012 11:27 AM
Register to Reply Score 1 for Good Answer
Associate

Join Date: Dec 2011
Location: I am that kind of guy that no one seam to know were he is... sometimes not even I know were am I :!
Posts: 48
#6
In reply to #3

Re: microcontroller

08/09/2012 4:36 AM

this paper is gooood!

Register to Reply Off Topic (Score 5)
Guru

Join Date: Nov 2010
Posts: 507
Good Answers: 3
#7

Re: Microcontroller

08/09/2012 10:04 AM

We use a great deal of Arduino boards here. The language is an offshoot of "C".

__________________
I went to Texas A&M, I am proud to be an Aggee. Proud to be an Aggey, Proud to be an Agie.............Proud to have gone to Texas A&M.
Register to Reply
Active Contributor

Join Date: Aug 2011
Posts: 15
#8

Re: Microcontroller

08/09/2012 10:45 AM

Try this site:

http://www.plcs.net

Register to Reply
Register to Reply 15 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Andy Germany (2); bone_z (1); dharam_ver9 (1); electronick (4); lyn (1); PWSlack (1); Randall (1); ronclarke (1); Rossm (1); user-deleted-1105 (2)

Previous in Forum: Need Information for Dell PC   Next in Forum: How to Upload Data from Module?

Advertisement