Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Newbiest question of all I suppose

Status
Not open for further replies.

duffman

Member
I guess this is about as new as it gets because I am really new to microcontrollers. but I am recently working on a schematic and am hoping to learn more before I get into them. What are micro controllers? How do you program them? Do you need expensive equipment? I alway see this lines of hexcode being given with microcontrollers and I wonder how you get the information into the chip?
 
duffman said:
I guess this is about as new as it gets because I am really new to microcontrollers. but I am recently working on a schematic and am hoping to learn more before I get into them. What are micro controllers? How do you program them? Do you need expensive equipment? I alway see this lines of hexcode being given with microcontrollers and I wonder how you get the information into the chip?

Have a look at my website below, it gives details of PIC programmers and tutorials.
 
duffman said:
I guess this is about as new as it gets because I am really new to microcontrollers. but I am recently working on a schematic and am hoping to learn more before I get into them. What are micro controllers? How do you program them? Do you need expensive equipment? I alway see this lines of hexcode being given with microcontrollers and I wonder how you get the information into the chip?

The answers for your questions can be found down here

**broken link removed**

https://www.microchip.com



take a look to Nigel's tutorial, the link is in his signature

There are many way to program for a microcontroller. However, the first thing you have to get is the programmer. See Nigel tutorial and build your own programmer. It's free. You will know if playing with microcontroller is cheap or expensive.

You may also make PG2C programmer as I post out there, but it's NOT good as Nigel's.

You have to do it firstly, then learn how to program for a PIC

there are many microcontroller you can search for such as:

AT89C51/52 of Atmel or Philips, 68HC11 of Motorola, AVR of Atmel, ARM, SHARC.... go on, welcome you to microcontroller playground.

A tutorial here, somewhere online, I dont remember

Microcontrollers
A Brief History of Microprocessors

--------------------------------------------------------------------------------


The first microprocessor was developed by what was then a small company called Intel (short for Integrated Electronics) in the early 1970s. The client, a Japanese company called Busicon, declined to buy the chipset and Intel, faced with a development cost and no customer, decided to market the chipset as a "general purpose" microprocessing system for use in applications where digital logic chips would have been used. The chipset was a success and within a short while Intel developed a general purpose 4 bit microprocessor called the 4004.
In 1974 the more powerful second generation microprocessor (the 8008) was announced fabricated as a single chip. This was quickly followed by the Intel 8080. Both the 8008 and the 8080 operated from a single +5v power supply (using NMOS technology).

At about the same time Motorola released its first microprocessor, the 6800, which was also an 8 bit processor with about the same processing power as that of the intel 8080.


--------------------------------------------------------------------------------

The architectures used in the Intel 8080 and the Motorola 6800 were very different.
The Intel 8080 used a register based architecture with registers AX, BX, CX, DX, and HL, all 16 bit but capable of being used as 8 bit register pairs so that the AX register could be used as two separate registers AH and AL. AH was really just the higher byte of register AX; and AL the lower byte. In this way, the AX, BX, CX, DX, and HL registers could be used as AH, AL, BH, BL, CH, CL, DH, DL, H, and L 8 bit registers.

Another thing about the 8080 was its separate I/O map. This meant that to perform byte-wide input/output to hardware, special instructions were used: IN to input from byte-wide input ports, OUT to output to byte-wide output ports. Access to memory involved access to a different memory map using typically the MOV instruction.

The Motorola 6800 microprocessor used what is called "Memory Mapped I/O" which means that both memory and byte-wide input/output share the same memory map.

The register set was much smaller, consisting of two 8 bit accumulators (A and B) and a 16 bit index register called X. These registers could however support a range of addressing modes which, in effect, made up for the fewer registers (and also made for simpler programming). Both microprocessors had other registers but we will ignore these since we have not yet formally looked at the microprocessor in detail.

To input data from memory or from I/O requires the use of the LDAA instruction, to write data to memory or I/O requires the use of the STAA instruction. Access to the X register was via its own set of instructions, ie. LDX and STX.


--------------------------------------------------------------------------------

Intel and Motorola have maintained the fundamental differences in architecture during the development of later microprocessors.
In the case of the Intel range of microprocessors, the 8080 evolved into the 8085 (also 8 bit like the 8080), then the third generation 16 bit 8086 microprocessor which, in its 8088 pseudo 16 bit form, was used in the first IBM PCs. The 8088 was an 8086 but with only an 8 bit data bus. This made it easier to interface to the common 8 bit peripheral devices available at the time. In time this was followed by the 80186, the 80286, the 800386 ( a 32 bit processor), and 80486, leading to the Pentium range of microprocessors (64 bit processors) available today. The 80x86 and Pentium processors have all been designed for use in personal computer type applications and have large memory maps.

The Motorola range of microprocessors followed a similar path with the 6800 replaced by the 6809 (8 bit), then the 68000 (16 bit), the 68010, 68020, and 68030 used in many workstations and of course the Apple MAC range of personal computers.

In due course the Intel 8080 core processor was used for a range of microcontrollers (8048 and 8051 to name but two). The 8051 microcontroller survives today but is now manufactured by Philips. Intel have gone on to develop a range of other microcontrollers that are more complex than the basic original devices (see https://developer.intel.com/ for more details).


--------------------------------------------------------------------------------

Motorola followed in a similar vein with a range of microcontrollers based on the 6800 (6805, 6808, 6811 which survive to this day).
So, many of today's popular microcontrollers are based around two core architectures - that of the 8080 and that of the 6800 microprocessors.

Other manufacturers such as Rockwell produced microprocessors based on the 6800 architecture (6502), whilst Zilog developed the Z80 (based on the 8080 architecture).

The development of more recent microprocessor architectures such as the Harvard architecture and the use of Reduced Instruction Set Computers (RISC) have led to the development of microcontrollers such as the Microchip PIC.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top