Information about microcontroller programming

Status
Not open for further replies.

mohrsh

Member level 1
Joined
Oct 19, 2003
Messages
36
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
80
can someone explain about programming microcontrollers ?
software needed and .....?
 

vmlab motorola

Do you wish to learn assembly programming or high level programming using C, Basic, etc?
 

unlock holtek microcontroller

what u wna t to know exactly in microcontroller..do you want to know how it is programmed or do you want to program a micro controller or just working..
 

micro controller tty interface

Microcontrollers come in different models from several manufacturers. The main manufacturers are: Freescale/Motorola, National, Intel, Atmel, Microchip, Philips, ST, Holtek, Texas, Zilog, Scenix, and other. Each one has its site with datasheets, specifications, prices, development tools and softwares.

Microcontrollers can have program memories as ROM, PROM (one time programmable), EPROM, EEPROM, Flash (recommended) internal and some RAM space and you need to have an development environment. i.e. the assembler, debugger, emulator, compilers to program them.

You can program in assembly language (machine language) or in a high level language (as C, Pascal, Basic, other) using compilers. After that, you should write (burn) the program (hexadecimal codes) into the uCs memory using a programmer circuit (and an associated software), usually installed and conected to a PC.

You can choose between RISC (reduced instruction set) or CISC (complex instruction set) microcontrollers. It can be overpassed if you use a compiler (that converts high levels commands into assembly language).

Good start point is the site:

https://www.epanorama.net search for microcontrollers
 

vmlab led

if u like to start learning micro controllers then it is better to start with 8051.
"the 8051 microcontroller and embedded systems"- mazidi
 

unlock atmel at89

If u want to learn about microcontroller first start by learning the differences between microcontroller and microprocessor.

Then, start of by learning the different blocks of a microcontroller. i.e RAM, ROM, CPU, PIO and stuff.

after that move on to the architecture, how are the blocks are linked?

Once u have this knowledge, It will be easy when u move to assembly language to write program for a microcontroller..

And of course finally after u get the hang of assembly move on to C.

This should be direction you should take...
 

Re: microcontroller

If you have been working with any aspects of electronics before and just want to explore micro controllers now then just go to any micro controller manual. to start with use either PIC or ATmel's micro controllers. I have used ATMEL AT89C2051 for small scale projects. it has a very good user manual on ATMEL webiste and it guides you through all the required procedures to program it and links to required software as well.
 

microcontroller

Daan De Beer has desinged an exceptional and very easy to use PIC micro controller. See yebo electronics web site. You wont regret it.
 

Re: microcontroller

thare is a lot of kind of microcontroller

I think a good compiler for 8051 family is KEIL

I think a good compiler for PIC family is MPLAB and PICBASIC pro

I think a good compiler for AVR family is codevision

NTFS
 

Re: microcontroller

Microcontrollers are easy enough to begin with. It becomes really interesting if u can get ur hands :wink: on an emulator circuit so u can test ur programs. do some google for tutorials on M/c. Microvision KEIL is a good software for programmig a M/c. U can use assembly and C to develop programs in KEIL and it has got something of a virtual emulator (DEBUGGER) using which u can check the values of ports and SFR's. I would recommend starting with assembly language as its very powerful and helps in understanding the working and memory architecture of M/c
the book by Mazidi is good for beginners. Also there's a popular book by scott mckenzy which is quite good. i think its available on edaboard. :wink:
 

microcontroller

also try this one **broken link removed**
 

Re: microcontroller

mohrsh said:
can someone explain about programming microcontrollers ?
software needed and .....?

The famous uC from Atmel that I've know is AT89Cxxxx.
You should take a look at this family by accessing the atmel homepage:
www.atmel.com

What you should start with uC?

Firstly, As many people talk above, you need to equip yourself with basic definitions of uC world:
- What is RISC, CISC?
- What is ROM/PROM/EPROM/EEPROM/Flash?
- What is different between uC and uP?

Then, it's time to choose which family suit you?
There's a number of uC manufacturers, which is chosen to begin?
- PIC 16F/18F/dsPIC/... from MicroChip
- AT89/AT90/ATMega/... from ATMEL
- MSC12 from T.I.
etc.

But I advise you to start with AT89C51 (then, you can spend your time on AT89S51 or further AVR)

- Start your first project with AT89C5x Programmer. Where to reference? Here, it's the richest resource of uC AT89C51 I've ever seen:

**broken link removed**
 

microcontroller

I'm a bit late to the game, but if you want to get your feet wet in micro controllers download a program called VMLAB. It has a demo version that is free, I spoke with the author about obtaining a license and he said that the software was going to be switched over freeware software very soon and in the same post attached a file to unlock the program (completly legal though I won't post the file here) The demo version currently available from their site **broken link removed** is more than enough to get your feet wet in micro controllers. It supports a lot of AVR platforms, and a chipset called ST62 (Which I am unfamiliar with.)

The reason I recommend it is many fold. First of all it has a virtual scope which shows you down to the nano second the signal from any I/O pin or node. It has a virtual TTY interface which can be plugged into any available node. It has an LED simulator, two line LCD simulator, Three sliders that can be interfaced to variable voltage sources or used to control other data sources. Pattern generators to generate any digital signal you could ever want, sine wave generators, standard keypad interface, standard logic gates, A/D and D/A converters and a handfull of other complex parts like an opamp a comparator, and an I2C monitor. It really has everything but the kitchen sink. The electrical layout has a spice friendly syntax though it is more limited than spice, there are some big restrictions that prevent it from being used as a general Spice simulator. Look em up.
 

microcontroller

hi scaedwian,
thank you
but is this software better than proteus?
i think proteus is the best.
regards
 

Re: microcontroller

For getting your feet wet VMLAB would be about 295 times better =) for the simple reason that it's free. Proteus Complete for the AVR costs 295. That's a bit much to spend on a simple starting up learning tool.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…