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 oscillatorNote: C1, C2 = 10-30 pF ± 10 pF for Crystals









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?
ReplyDeleteI 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.
DeleteI 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.
follow up question, how did you say that the computation of the notes frequency between PICCO and atmel is both the same?
DeleteBecause 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.
DeleteSir Marvin,if we buy AT80C2051, how can we know if the IC is working and what are the indications if the IC is broken?
ReplyDeleteYou 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).
DeleteThe indications if the IC is broken when there is no reading on your multimeter or oscilloscope.
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.
DeleteSir Marvin, what will happen if I use higher value of capacitor for my crystal? I only have 50 pf of capacitor, is it okay?
ReplyDeleteThe 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.
Deletehaha nabasa ko lang po :)
DeleteThere’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
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?
ReplyDeleteSome of the advantages of AT89C2051 to your Arduino UNO is that this micro-controller act as the brain of your board.
Deletei dont get your point sir, arduino module also acts as a brain of the circuit
DeleteWhy don't you read this blog? http://theycalledmemela.blogspot.com/
Deleteok sir thank you
DeleteI think the features are example of advantages of this ic's
DeleteCompatible 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
Sir where can we buy AT89C2051 IC?
ReplyDeleteSa Raon po. Malapit sa Quiapo, Manila po.
DeleteSir.. SiO2 layer in an IC acts as?
ReplyDeleteHi 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.
DeleteSite: www.circuitstoday.com/oxidation-procees-in-ic-fabrication
What is the big difference when I use a AT89C2051 than AT89C4051?
ReplyDeleteThis comment has been removed by the author.
DeleteAT89C2051 2K Bytes of Reprogrammable Flash Memory while in AT89C4051 4K Bytes of Reprogrammable Flash Memory...
Delete"AT89C2051 2K Bytes of Reprogrammable Flash Memory while in AT89C4051 4K Bytes of Reprogrammable Flash Memory..."
Delete- Yes, exactly Kevin Geneveo.
I think your question Ma'am Karen was already answered by Kevin. Thanks for the help Kevin :)
Deletehi sir, why does port 3.6 doesn't exist on the bits of the IC AT89C2051? thank you in advance sir.
ReplyDeleteSasagot ako ha. :)
DeleteKasi raw nasa loob na ng IC yung P3.6 at di na sya available gamitin. (right?)
where can i get instructions hex code ?
ReplyDelete