Login | Register
The Engineer's Place for News and Discussion®

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

Comments Format:






Close

Subscribe to Discussion:

CR4 allows you to "subscribe" to a discussion
so that you can be notified of new comments to
the discussion via email.

Close

Rating Vote:







15 comments
Associate

Join Date: Dec 2008
Posts: 30

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.

Comments rated to be Good Answers:

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

Comments rated to be "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, rate 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. Kettle's on.
Posts: 19856
Good Answers: 481
#1

Re: microcontroller

08/08/2012 11:16 AM

Which one?

__________________
There was a time, not long ago, when people were smarter than their phones... (tips hat to CR4 user Harley.)
Register to Reply
Associate

Join Date: Dec 2008
Posts: 30
#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: 3129
Good Answers: 144
#5
In reply to #4

Re: microcontroller

08/08/2012 2:22 PM
__________________
We are alone in the universe, or, we are not. Either way it's incredible... Adapted from R. Buckminster Fuller/Arthur C. Clarke
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: 15257
Good Answers: 498
#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: 281
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 ?

__________________
"Greetings Earthlins"
Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 15257
Good Answers: 498
#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: 281
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!

__________________
"Greetings Earthlins"
Register to Reply Off Topic (Score 5)
Power-User

Join Date: Jun 2007
Location: ether
Posts: 281
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.!

__________________
"Greetings Earthlins"
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: 13125
Good Answers: 128
#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.....

__________________
A man who can make a fool of himself in three languages strikes me as a three-time-bigger fool than a man who is confined to one! John le Carré/David John Moore Cornwell - The Tailor of Panama.
Register to Reply
Power-User

Join Date: Jun 2007
Location: ether
Posts: 281
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!

__________________
"Greetings Earthlins"
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: 13125
Good Answers: 128
#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.....

__________________
A man who can make a fool of himself in three languages strikes me as a three-time-bigger fool than a man who is confined to one! John le Carré/David John Moore Cornwell - The Tailor of Panama.
Register to Reply
Guru
Hobbies - Automotive Performance - New Member Popular Science - Weaponology - New Member

Join Date: Oct 2008
Location: 34° 34' 21.60" N, 92° 55' 42.28" W
Posts: 21314
Good Answers: 797
#3

Re: microcontroller

08/08/2012 11:27 AM
__________________
Luck comes and goes. Skill is forever. Intelligence either is, or it ain't. lyn
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: 46
#6
In reply to #3

Re: microcontroller

08/09/2012 4:36 AM

this paper is gooood!

Register to Reply Off Topic (Score 5)
Power-User

Join Date: Nov 2010
Posts: 397
#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: 13
#8

Re: Microcontroller

08/09/2012 10:45 AM

Try this site:

http://www.plcs.net

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

Comments rated to be Good Answers:

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

Comments rated to be "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, rate them!
Copy to Clipboard

Users who posted comments:

Andy Germany (2); bone_z (1); Del the cat (2); dharam_ver9 (1); electronick (4); lyn (1); PWSlack (1); Randall (1); ronclarke (1); Rossm (1)

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