Microprocessor

Wednesday, July 27, 2016

AT89C2051 Integrated Circuit (IC)

AT89C2051 Features:

  • 2K bytes of Reprogrammable Flash Memory (PEROM) - Endurance: 1,000 Write/Erase Cycles
  • 2.7V to 6V operating range
  • 128 x 8 bytes of RAM
  • 15 Programmable I/O lines (Ports 1.0-1.7 & Ports 3.0-3.5 & 3.7)

Pin Configuration:

  • VCC (Pin 20) – Supply Voltage
  • GND (Pin 10) – GroundPort 1 (Pins 12 – 19) – 8 Bit bi-directional I/O port
  • Port 3 (Pins 2-3,6-9, 11) - Seven bi-directional I/O pins with internal pull-ups
  • RST (Pin 1) - Reset input  
  • XTAL1 (Pin 5) - Input to the inverting oscillator amplifier and input to the internal clock operating circuit. 
  • XTAL2 (Pin 4) - Output from the inverting oscillator amplifier. 
  • Port pins P1.2 to P1.7 provide internal pull-ups 
  • P1.0 and P1.1 require external pull-ups
  • P1.0 and P1.1 also serve as the positive input (AIN0) and the negative input (AIN1)
  • P3.6 is hard-wired as an input to the output of the on-chip comparator and is not accessible as a general-purpose I/O pin. 

Block Diagram:

Oscillator Characteristics:

    The XTAL1 and XTAL2 are the input and output, respectively, of an inverting amplifier which can be configured for use as an on-chip oscillator



Note: C1, C2 = 10-30 pF ± 10 pF for Crystals
Share:

28 comments:

  1. In PICcontroller it is impossible to make a sound more easier, how about this AT89C2051, is it impossible to make a music more easier? how? is the computation of the frequency of notes is the same as the computation in the PICcontroller?

    ReplyDelete
    Replies
    1. I think your question is somewhat not related with the blog I posted but answering your question in a practical thinking, it is highly dependent on a programmer which MCU is easier to use in creating a program of different tones forming a song but when we look into the features of the 2 MCU, Arduino has a library that reads frequency in hertz. This library generates a square wave of the specified frequency that the buzzer or speaker to generate sounds which is easier to operate than the Atmel AT89C2051.

      I just want to ask you if where did you get the idea of PIC Controller is impossible to make a sound easier?

      For your last question, the computation of the note's frequency between PICCO and Atmel is both the same.

      Delete
    2. follow up question, how did you say that the computation of the notes frequency between PICCO and atmel is both the same?

      Delete
    3. Because the frequency of the notes is based on a standard computation. It doesn't affect the codes of the program. It will vary only on how it is presented in PICCO and Atmel.

      Delete
  2. Sir Marvin,if we buy AT80C2051, how can we know if the IC is working and what are the indications if the IC is broken?

    ReplyDelete
    Replies
    1. You can use multimeter to test the IC dc supply voltage and use the ohm range to find out if the IC is shorted to ground or not. Generally using an oscilloscope to test an IC is much more accurate because one could see the input and the output signal assuming if the IC did not develop any short circuit and has the right DC SUPPLY input (VCC).

      The indications if the IC is broken when there is no reading on your multimeter or oscilloscope.

      Delete
    2. If you have the schematic for the circuit, and you can see what voltages are supposed to be coming from what legs of the IC, turn the circuit on, and use your multimeter to measure the voltage on each leg. See what is not there. Be careful not to short across two legs of the IC with your probe.

      Delete
  3. Sir Marvin, what will happen if I use higher value of capacitor for my crystal? I only have 50 pf of capacitor, is it okay?

    ReplyDelete
    Replies
    1. The external capacitors are used to tune the desired value of load capacitance (CL) to reach the value specified by the crystal manufacturer. You really have to much the capacitor to the specific crystal you chose. If not, there's a probability of getting inaccurate and unstable results out of your crystals.

      Delete
    2. haha nabasa ko lang po :)
      There’s an obvious tradeoff between choosing a standard capacitor value, and having a good idea of what your Cstray is, but the above formula should at least explain HOW to determine what value those capacitors should be relative to your crystal. Even using a ballpark Cstray plud good layout should give you far more accurate results than just copying and pasting a value you saw on another schematic unless you’re using the exact same crystal model (which is unlikely since they are rarely even listed in the schematic).

      A better rule of thumb is: C1, C2 = 2*CL – 2*Cstray

      Delete
  4. sir, as you said Arduino, Programable IC or PIC and At89C2051 are just both MCU. now, can you give me some of the advantages of AT89C2051 micro-controller from my Arduino UNO?

    ReplyDelete
    Replies
    1. Some of the advantages of AT89C2051 to your Arduino UNO is that this micro-controller act as the brain of your board.

      Delete
    2. i dont get your point sir, arduino module also acts as a brain of the circuit

      Delete
    3. Why don't you read this blog? http://theycalledmemela.blogspot.com/

      Delete
    4. I think the features are example of advantages of this ic's

      Compatible with MCS-51 Products
      2K Bytes of Reprogrammable Flash Memory
      2.7 to 6V Operating Range
      Fully Static Operation: 0 Hz to 24 MHz
      Two-level Program Memory Lock
      64 x 8-bit Internal RAM
      15 Programmable I/O Lines
      Two 16-bit Timer/Counters
      Six Interrupt Sources
      Programmable Serial UART Channel
      Direct LED Drive Outputs
      On-chip Analog Comparator
      Low-power Idle and Power-down Modes
      20-pin DIP

      Delete
  5. Sir where can we buy AT89C2051 IC?

    ReplyDelete
  6. Sir.. SiO2 layer in an IC acts as?

    ReplyDelete
    Replies
    1. Hi kevin, I think your question is, at some point, not related to the blog I posted but since you are seeking for an answer about it, this is my idea. It is one of the layer on a chip that has a multipurpose function. Some of the functions of it is the protection of the junction from moisture and other atmospheric contaminants, insulator on the water surface, and etc... You can go and read all over this site for more information.

      Site: www.circuitstoday.com/oxidation-procees-in-ic-fabrication

      Delete
  7. What is the big difference when I use a AT89C2051 than AT89C4051?

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. AT89C2051 2K Bytes of Reprogrammable Flash Memory while in AT89C4051 4K Bytes of Reprogrammable Flash Memory...

      Delete
    3. "AT89C2051 2K Bytes of Reprogrammable Flash Memory while in AT89C4051 4K Bytes of Reprogrammable Flash Memory..."

      - Yes, exactly Kevin Geneveo.

      Delete
    4. I think your question Ma'am Karen was already answered by Kevin. Thanks for the help Kevin :)

      Delete
  8. hi sir, why does port 3.6 doesn't exist on the bits of the IC AT89C2051? thank you in advance sir.

    ReplyDelete
    Replies
    1. Sasagot ako ha. :)
      Kasi raw nasa loob na ng IC yung P3.6 at di na sya available gamitin. (right?)

      Delete
  9. where can i get instructions hex code ?

    ReplyDelete

Powered by Blogger.

Recent