Skip to content

Here i upload my code and library i made for 8051 microcontroller in Embedded C and use Kiel and more tool i learn in future

Notifications You must be signed in to change notification settings

iot-Noob/8051-Embedded-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

8051 Embedded C

My own projects and Library for 8051 microc controller

N|Solid

Dillinger is a cloud-enabled, mobile-ready, offline-storage compatible, AngularJS-powered HTML5 Markdown editor.

  • 8 Bit Microcontroller
  • 40 Pins with IO pins from P0-P4
  • 4kb rom
  • 128 Bytes of ram
  • 2 16 bit Timmer
  • On board interrupts

About 8051

8051 microcontroller is designed by Intel in 1981. It is an 8-bit microcontroller. It is built with 40 pins DIP (dual inline package), 4kb of ROM storage and 128 bytes of RAM storage, 2 16-bit timers. It consists of are four parallel 8-bit ports, which are programmable as well as addressable as per the requirement. An on-chip crystal oscillator is integrated in the microcontroller having crystal frequency of 12 MHz.

Let us now discuss the architecture of 8051 Microcontroller.

In the following diagram, the system bus connects all the support devices to the CPU. The system bus consists of an 8-bit data bus, a 16-bit address bus and bus control signals. All other devices like program memory, ports, data memory, serial interface, interrupt control, timers, and the CPU are all interfaced together through the system bus.

Pinout For 8051

N|Solid

Pin 1 to 8 are 1st 8 bit pins for this microcontroller that is 8 bit for port 1 range from 1.0-1.7 Pin 10 to 17 are 1st 8 bit pins for this microcontroller that is 8 bit for port 3 ranege etween 3.0-3.7 Pin 39 to 32 are 8 bit for port 0 pin 28-21 are 8 bit pins for port 2 lie bwtween 2.0-2.7

Datasheet for 8051

Here is require datasheet for this microcontroler Datasheet for 8051 microcontroller

Program it through Arduino

N|Solid

Pin 10 of Arduino goes to Pin 9 RST pin of 8051 Pin 11 of Arduino goes to Pin 6 pin of 8051 Pin 12 of Arduino goes to Pin 7 pin of 8051 Pin 13 of Arduino goes to Pin 8 pin of 8051

About

Here i upload my code and library i made for 8051 microcontroller in Embedded C and use Kiel and more tool i learn in future

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published