Advertisement
AT89S52 Minimum Development Board Schematic

AT89S52 Minimum Development Board – 8051 Tutorial #2

Dirt cheap hardware is available for developing 8051 microcontroller applications. Such is well suited for students and budget-limited experimenters alike. This minimum system development board kit is available on eBay at a cost of only $3.25 including shipping (from China) –this is a GOOD DEAL! Also a good deal are the AT89S52-24 microcontrollers themselves at $2.99 per pair, free shipping (also from China). One good thing about China is that they ship virtually anywhere. This is a must for the serious experimenter. There are yet more pieces (also inexpensive) required for working with this microcontroller –this subject will be covered in future discussions.

AT89S52 Minimum Development Board Schematic

AT89S52 Minimum Development Board Schematic

AT89S52 Flash Memory Serial Downloading

AT89S52 Flash Memory Serial Downloading

8051 Development Board

8051 Development Board

AT89S52 Microcontroller

AT89S52 Microcontroller

No documentation

No documentation –is what a minimum development system consists of? This seems typical for this item and I could find no schematic on the web. As a result, I traced out the circuit and drew the schematic.

Assembly

Thru-hole boards are very easy to assemble –this took about 30min. The only issues were the orientation of the LED and resistor pack. The cathode of the LED is identified by the flat spot. The common pin of the resistor pack is identified by a diamond symbol on one end.

The switch

The switch (push On, push Off) is a convenient means of controlling the power and also resetting the microcontroller.

10 position connector

The 10 position ribbon cable connector is the standard Atmel ISP (In-System-Programming) connector. This same connector is also used with the higher level AVR device. Sometimes an alternate 6 position ISP connector is used, but this will not be covered in this discussion.

Deficiencies

Omitted is any semblance of a 5V bypass capacitor. While it may work OK without, it is definitely poor engineering practice. I installed a 0.1uf chip capacitor (size 1206) between two traces –see photo. Also, R3 should be 10K rather than the supplied 1.5K –this is easy to fix.

Added capacitor

added capacitor

Getting it up and running

This was not trouble-free, but the problem was with the programmer and power source rather than the development board –will discuss this issue in the next discussion.

Microcontrollers wrapped in plastic film –not recommended

Plastic film is not anti-static –if you do not believe it, try unrolling some quickly in a dark closet and watch the sparks fly. To prevent static discharge, I unwrapped the film in a moist environment (over a hot tea pot). Note that most types of pressure sensitive tape also generate sparks.

microntrollers as received

microntrollers as received

Minimum development board for the AT89S2051

No product is available for this item. It is yet simpler than the AT89S52 board –smaller with a 20pin IC socket and no resistor pack required. Since there appears to be a market for this item, I may design one myself for eBay sales…at least until the Chinese pick up on it –there is NO WAY I can compete with their low prices with the circuit board costing more than their entire kit.

Photos

For the future (partial list)

  • LED Chaser (basic AT89S52 schematic driving many LEDs)
  • AT89 Features
  • Assembly code
  • Programming tools
  • ASM51 assembler software

5 Comments

Join the conversation!

Error! Please fill all fields.
  • jon rus

    This modification might be useful. I eliminated the power switch and replaced it with a Hall switch (Y3144) as shown in my photos. Then use a jumper wire to connect the output pin of the Hall switch to one of the external interrupt or timer/counter pins, giving you clean bounce-free signals. I also cut the tiny trace from the LED resistor (I changed to 5.1k) to ground, now the LED shows that the output of the Hall switch is low.
    I missed the misapplication of a 1.5k for R3, but the processor seems to boot ok. The small resistor gives the oscillator less time to stabilize, right?

  • Bringsjord

    Any chance of reviving Intel’s PL/M51? I think I heard it is in public domain. I used it a lot back in the ’80s. Simple language with no runtime necessary.

  • Abdulwase

    I need a programmer circuit for 8051, and complete guide how to program with software steps.
    I am new in electronic world.
    U can even mail,eagerly waiting. Thanks

  • Stuartyh

    I fund the article very interesting and informative
    I have just placed an order for two units complete with ICs and would inform on the findings

  • Jim Keith

    Woops, it is R3 that must change to 10K –not R26. R3 is in the charge path for reset capacitor C2.