Learn 8051 Microcontroller: Find Examples & Applications

In summary, the conversation is about resources and recommendations for learning about 8051 microcontrollers. The participants suggest websites, books, and hardware options for learning and working with the 8051 MCU. They also discuss the differences between PIC controllers and 8051 microcontrollers. One participant shares their experience using a P89V51RD2 and SDCC Gnu free C compiler. Another participant shares their website with free source code for 8051 projects.
  • #1
niko2000
51
0
Hi,
I have just started with learning about 8051 microcontrollers. Does anyone know some website where I could find examples of written applications?
Regards,
Niko
 
Engineering news on Phys.org
  • #2
That 8051 is a beautiful machine!

For applications you should be able to just type something into Google, like "8051 Code Examples", or "8051 Applications", etc. There are tons of sites out there with code for the 8051 MCU. It's a very popular microcontroller.

Just for the record New Micros sells a really nice single board 8051 complete with 32k RAM and a ROM monitor for only $39.00. It's called the NMIY-0031. It is expandable to 128K of ram by just plugging in chips. The sockets come already on the original board. Even the ROM monitor is socketed in case you want to replace it with your own PROM.

I have three of these boards. :approve:

I would also recommend the green book, "The 8051 Microcontroller, Architecture, Programming, & Applications." It's kind of expensive at $65 at Amazon.com, but you might be able to pick up a cheaper copy at a used book store. I think I paid about $3 for mine. :wink: There are also a ton of other books on the 8051.

By the way, that New Micros board comes with four different languages on disk, C, Basic, Forth, and Assembly. Athough I personally only work in assembly code. It also connects to the serial port of a PC real easy.

May I ask what you are planing on using the microcontroller for? I'm using mine for robotics designs. Although I haven't been working on them all summer because of other projects. :yuck:
 
  • #3
We learn it at processor systems in telecommunications. It seems interesting so I would like to get some more resources to learn.
 
  • #4
Learning how to program a microprocessor at the instruction level (i.e. In assembly language) is an extremely good experience for anyone. It really brings home the concepts of digital logic and binary arithmetic. Not to mention the fact that it teaches the fundamentals that all computers runs on.

I highly recommend that New Micros board because of the price and the fact that it's basically ready to go. The very best way to learn these things is to actually work with them. You'll need a 5 volt power supply to run it. An old computer powersupply works perfect. You can pick them up for free if you look around a bit. The only other thing you need is a serial cable to connect to your PC. It only requires two wires so I built my own cable using old connectors from junk computers.

The other really popular MCU is the Motorolla 68HC series. Typically they cost quite a bit more to get started with unless you are into building your own board. The 8051 is actually more user friendly to get started with and they both have their pluses and minuses.

There are also a lot of simulators that you can run on a PC that will simulate the operation of the 8051. They're not quite as fun as working with the real hardware though. :smile:

You can find simulators by the dozen by just typing "8051 Simulator" into Google.

Here's just one of many,...

http://www.computersciencelab.com/8051.htm
 
  • #5
How do PIC controllers compare with these? For ease and price?
 
  • #6
PIC controllers are much simpler (and cheaper) than a device like an 8051, but PICs are also much more limited in what they can do.
 
  • #7
niko2000

I also just start to learn C Programming with 8051.
I use P89V51RD2 from Philips.
And I program with SDCC Gnu free C Compiler.
If you are interested in, please visit my homepage:

http://freewebs.com/80x51

I have free source code for download
 
Last edited by a moderator:
  • #8
hi 2 ALL...this is satya from Jaipur, India. I am working with a well known IT company in Jaipur. I have 1 year of experience and I am here to explore something and increase our experience.


Thanks
http://www.engineersgarage.com/microcontroller/8051projects"
 
Last edited by a moderator:

1. What is a microcontroller?

A microcontroller is a small computer on a single integrated circuit chip that contains a processor, memory, and input/output pins. It is designed to be embedded into electronic devices and can be programmed to perform specific tasks.

2. What is the 8051 microcontroller?

The 8051 microcontroller is a popular 8-bit microcontroller that was first introduced in 1980 by Intel. It is widely used in embedded systems due to its low cost, ease of use, and wide availability of development tools.

3. What are some common applications of the 8051 microcontroller?

The 8051 microcontroller is commonly used in a variety of electronic devices such as home appliances, industrial control systems, medical equipment, and automotive systems. It is also used in robotics, security systems, and consumer electronics.

4. How can I learn to program the 8051 microcontroller?

There are many resources available for learning how to program the 8051 microcontroller, including online tutorials, books, and courses. The best way to learn is to start with the basics of microcontroller architecture and then practice writing code for different applications.

5. Can you provide some examples of projects that use the 8051 microcontroller?

Some common projects that use the 8051 microcontroller include a digital thermometer, a traffic light controller, a home automation system, and a digital clock. It can also be used in more advanced projects such as a robot arm or a smart irrigation system.

Similar threads

  • Electrical Engineering
Replies
10
Views
2K
Replies
2
Views
1K
  • Programming and Computer Science
Replies
6
Views
3K
Replies
9
Views
1K
  • Electrical Engineering
Replies
3
Views
2K
  • Computing and Technology
Replies
13
Views
337
  • Electrical Engineering
Replies
2
Views
1K
Replies
7
Views
3K
  • Electrical Engineering
Replies
7
Views
2K
  • Programming and Computer Science
4
Replies
107
Views
5K
Back
Top