Low cost 8031 microcontroller development board PART-1

 8031 DEVELOPMENT BOARD

 

 A. INTRODUCTION

        There are so many microcontrollers in the market right now. Beside the maker, also the varian too. 

        Here I will introduce one of the microcontroller which is familiar and also easy to be found in the market. This microcontroller in intel MCS51 family. The oportunity to learn this microcontroller ie: besides there are plenty of books cover about it also the university curiculum refer to this type of microcontroller for their study. Many industrial applications, devices and home appliances use this type. So there is not a pity if we learn and practice it. Besides that we can do some experiment for our own purpose. The price is not so much for the smaller type. 

        Infact there is one more microcontroller which very simple in use ie: PIC microcontroller, but in the time when I learn this type, I already make the intel 8051 board, so maybe I will discuss it in another time.

B. MCS51 FAMILY

There are a few type of intel MSC51 family ie:
  1. 8031/8032 - don't have EPROM and internal memory RAM 128/256 Bytes 

  2. 8051/8052 - have ROM (once time programmable) 4k/8k and internal memory RAM 128/256 Bytes

  3. 8751/8752 - have EPROM 4k/8k and internal memory RAM 128/256 Bytes

  4. 8951/8952 - have EEPROM 4k/8k and internal memory RAM 128/256 Bytes
        8031/8032 types don't have internal ROM, so the program loader must store in external chip like EPROM or EEPROM chip. 8051/8052 type only for mass production, because its only can be programmed for one time, if the program is wrong then the chip will throw away, not for amateur and hobbyist used. 8751/8752 and 8951/8952 has higher price because it has internal ROM inside.and can be programmed many times. This types have the wide range use in the market. But you must remember that to store the program in the IC, it takes a programmer for that chip too (many commercial programmer can do program this chip). 8031/8032 type don't have internal ROM, so it must used an external EPROM or EEPROM.

C. SCHEMATIC

        My board design for 8031/8032 type and use 8kB or 16kB of EPROM. But the board can also be used for another types, consider to the same architecture layout for these IC. My motivations to build this board are : for I/O experiments, robotics, and want to make something complexity circuit and its PCB.

        Beside it use an EPROM, it also has to use RAM memory to store the user program. Here I use 32kB RAM type, that I think it is big enough to stores program that we will create later. Besides that it is connected to the familiar I/O chip - PPI-8255, that extend the I/O numbers to accomodate our hardware design.

        To communicate with PC, it use RS-232 interface ie: IC MAX232/ICL232, so we can connect our development board to the PC computer for transfering our program.
        There are 2 part of the program body : 
  • Monitor program - this is a program loader that must be stored only one time to ROM/EPROM/EEPROM using the programmer and permanently stored, it used to run the user program in the first time start; also called firmware.

  • User program - this is a program that stored to RAM and not permanently stored. Every time, this user program can be changed with another one as our purpose. User program stored to RAM using a program terminal from PC computer with RS-232 interface. User program is an application software program for what purpose the board used.
         This development board use 8031 type IC (it is the cheaper one) and an 8kB-2764 type EPROM to store monitor program. It use 32 kB-62256 type RAM. The language used to make the user program is assembly and for the next expansion later will used BASIC. There are many free compilers on the net, and to make this monitor program I used MASM51 compiler from MetaLink Corp. Besides that it can also use another compilers like :
  1. Assembler51 from Rigel Corp. 

  2. Assembler31 from Ken Stauffer 

  3. Assembler51 PseudoSam from Pseudo Corp. 

  4. Assembler51 from W.W. Heinz
        8031 chip have I/O as much as 3 x 8-bit. But for practical using, many are use for internal control, like for communication lines, for clock oscillators, for addressing and data lines which multiplexed, and for true I/O lines. So for our purpose, maybe only left about 8-bit I/O only or more. So we use PPI 8255 chip to add this I/O up to 3 x 8-bit more. With these I/O quantity, hopefully it's enough to accomodate any hardware which connect to this microcontroller. This PPI addressing follow memory addressing mode (memory mapped) and not I/O addressing. So one memory block will lose for this allocation addressing (to simplified the schematic, because I use decoder chip 3 to 8, where the full 64 kB memory will divide to be 8 block). The rest addressing reserved for the next expansion. To be clearly, this is the memory map for this board :
  • Address 0000 Hex ~ 1FFF Hex = 8 kB ROM (firmware, monitor program) 

  • Address 2000 Hex ~ 9FFF Hex = RAM 32 kB (user program) 

  • Address A000 Hex ~ BFFF Hex = PPI 8255 (infact only 4 locations needed) 

  • Address C000 Hex ~ DFFF Hex = Reserved

  • Address E000 Hex ~ FFFF Hex = Reserved

D. PCB LAYOUT

        I already design the PCB for this board so it can load all with the very small size possibly doing by hand (for hobbyist, homemade only). The PCB must 2 layers of course. I need  new technique to make this using transparent blue print film (Press N Peel). Here how I made it. With this technique we can make the board size about 8cm x 15 cm. Small enough to use it as robot brain! But be careful when doing this, you need more attention to make the both layer fit each other.

Here are the PCB design and the PCB layout (mcup8031.pdf), also the mirror layout.

E. PART LISTS

        Part list for this development board are :
   1. Resistors :
      R1 = 10 kOhm ...........................................1 pcs
      R2 = 1 kOhm ............................................ 1 pcs
   2. Capasitors :
      C1, C4..C7 = 10 uF/25 V ................................. 5 pcs
      C2..C3 = 33 pF .......................................... 2 pcs
      C8 = 220 uF/25 V ......................................... 1 pcs
      C9 = 100 uF/16 V ..........................................1 pcs
      C10..C16 = 100 nF ..........................................7 pcs
   3. Semiconductors :
      IC1 = 8031AH (Microcontroller) .............................1 pcs
      IC1 = 8051AH (Optional microcontroller + ROM) .............. 1 pcs
      IC1 = AT89C52 (Optional microcontroller + PEROM) ............1 pcs
      IC2 = 74LS373 (Octal latch) ................................. 1 pcs
      IC3 = 2764 (8 kByte EPROM) ...................................1 pcs
      IC3 = AT28C64 (Optional 8 kByte EEROM) .....................  1 pcs
      IC3 = 6264 (Optional 8 kByte RAM) ............................1 pcs
      IC4 = 62256 (32 kByte RAM) ...................................1 pcs
      IC5 = 8255 (PPI) ..............................................1 pcs
      IC6 = 74LS138 (3 to 8 channel decoder) ........................ 1 pcs
      IC7 = ICL232 or MAX232 (Serial COM) ............................1 pcs
      IC8 = 74LS08 (Quad And gate) .................................. 1 pcs
      IC9 = 7805 (Variabel Regulator) ............................... 1 pcs
      D1 = 1N4148 (silicon diode) ................................... 1 pcs
      D2 ~ D5 = 1N4007 (silicon diode) ...............................4 pcs
      LED1 = Red 3mm ................................................. 1 pcs
   4. Others :
      Optional IC socket for 40-pins .................................. 2 pcs
      Optional IC socket for 28-pins .................................. 2 pcs
      Optional IC socket for 20-pins ................................... 1 pcs
      Optional IC socket for 16-pins .................................... 2 pcs
      Optional IC socket for 14-pins .....................................1 pcs
      IDC connector, 10-pins ............................................ 8 pcs
      Miniature push button switch (reset) .................................... 1 pcs
      X'tal = 11.0592 MHz ..................................................... 1 pcs
      SIP connector, 2-pins (power supply) .................................... 1 pcs
      SIP connector, 3-pins (serial com) ...................................... 1 pcs
      Optional jumper, 2-pin .................................................. 2 pcs
      Double layer PCB, size about 10cm x 15cm ................................ 1 pcs
      Transformer P=220V, S=9~12V/0.5A (Adaptor) .............................. 1 pcs
 
 
 
 

No comments:

Post a Comment

Labels

PROJECTS 8086 PIN CONFIGURATION 80X86 PROCESSORS TRANSDUCERS 8086 – ARCHITECTURE Hall-Effect Transducers INTEL 8085 OPTICAL MATERIALS BIPOLAR TRANSISTORS INTEL 8255 Optoelectronic Devices Thermistors thevenin's theorem MAXIMUM MODE CONFIGURATION OF 8086 SYSTEM ASSEMBLY LANGUAGE PROGRAMME OF 80X86 PROCESSORS POWER PLANT ENGINEERING PRIME MOVERS 8279 with 8085 MINIMUM MODE CONFIGURATION OF 8086 SYSTEM MISCELLANEOUS DEVICES MODERN ENGINEERING MATERIALS 8085 Processor- Q and A-1 BASIC CONCEPTS OF FLUID MECHANICS OSCILLATORS 8085 Processor- Q and A-2 Features of 8086 PUMPS AND TURBINES 8031/8051 MICROCONTROLLER Chemfet Transducers DIODES FIRST LAW OF THERMODYNAMICS METHOD OF STATEMENTS 8279 with 8086 HIGH VOLTAGE ENGINEERING OVERVOLATGES AND INSULATION COORDINATION Thermocouples 8251A to 8086 ARCHITECTURE OF 8031/8051 Angle-Beam Transducers DATA TRANSFER INSTRUCTIONS IN 8051/8031 INSTRUCTION SET FOR 8051/8031 INTEL 8279 KEYBOARD AND DISPLAY INTERFACES USING 8279 LOGICAL INSTRUCTIONS FOR 8051/8031 Photonic Transducers TECHNOLOGICAL TIPS THREE POINT STARTER 8257 with 8085 ARITHMETIC INSTRUCTIONS IN 8051/8031 LIGHTNING PHENOMENA Photoelectric Detectors Physical Strain Gage Transducers 8259 PROCESSOR APPLICATIONS OF HALL EFFECT BRANCHING INSTRUCTIONS FOR 8051/8031 CPU OF 8031/8051 Capacitive Transducers DECODER Electromagnetic Transducer Hall voltage INTEL 8051 MICROCONTROLLER INTEL 8251A Insulation Resistance Test PINS AND SIGNALS OF 8031/8051 Physical Transducers Resistive Transducer STARTERS Thermocouple Vacuum Gages USART-INTEL 8251A APPLICATIONs OF 8085 MICROPROCESSOR CAPACITANCE Data Transfer Instructions In 8086 Processors EARTH FAULT RELAY ELECTRIC MOTORS ELECTRICAL AND ELECTRONIC INSTRUMENTS ELECTRICAL BREAKDOWN IN GASES FIELD EFFECT TRANSISTOR (FET) INTEL 8257 IONIZATION AND DECAY PROCESSES Inductive Transducers Microprocessor and Microcontroller OVER CURRENT RELAY OVER CURRENT RELAY TESTING METHODS PhotoConductive Detectors PhotoVoltaic Detectors Registers Of 8051/8031 Microcontroller Testing Methods ADC INTERFACE AMPLIFIERS APPLICATIONS OF 8259 EARTH ELECTRODE RESISTANCE MEASUREMENT TESTING METHODS EARTH FAULT RELAY TESTING METHODS Electricity Ferrodynamic Wattmeter Fiber-Optic Transducers IC TESTER IC TESTER part-2 INTERRUPTS Intravascular imaging transducer LIGHTNING ARRESTERS MEASUREMENT SYSTEM Mechanical imaging transducers Mesh Current-2 Millman's Theorem NEGATIVE FEEDBACK Norton's Polarity Test Potentiometric transducers Ratio Test SERIAL DATA COMMUNICATION SFR OF 8051/8031 SOLIDS AND LIQUIDS Speed Control System 8085 Stepper Motor Control System Winding Resistance Test 20 MVA 6-digits 6-digits 7-segment LEDs 7-segment A-to-D A/D ADC ADVANTAGES OF CORONA ALTERNATOR BY POTIER & ASA METHOD ANALOG TO DIGITAL CONVERTER AUXILIARY TRANSFORMER AUXILIARY TRANSFORMER TESTING AUXILIARY TRANSFORMER TESTING METHODS Analog Devices A–D BERNOULLI’S PRINCIPLE BUS BAR BUS BAR TESTING Basic measuring circuits Bernoulli's Equation Bit Manipulation Instruction Buchholz relay test CORONA POWER LOSS CURRENT TRANSFORMER CURRENT TRANSFORMER TESTING Contact resistance test Current to voltage converter DAC INTERFACE DESCRIBE MULTIPLY-EXCITED Digital Storage Oscilloscope Display Driver Circuit E PROMER ELPLUS NT-111 EPROM AND STATIC RAM EXCITED MAGNETIC FIELD Electrical Machines II- Exp NO.1 Energy Meters FACTORS AFFECTING CORONA FLIP FLOPS Fluid Dynamics and Bernoulli's Equation Fluorescence Chemical Transducers Foil Strain Gages HALL EFFECT HIGH VOLTAGE ENGG HV test HYSTERESIS MOTOR Hall co-efficient Hall voltage and Hall Co-efficient High Voltage Insulator Coating Hot-wire anemometer How to Read a Capacitor? IC TESTER part-1 INSTRUMENT TRANSFORMERS Importance of Hall Effect Insulation resistance check Insulator Coating Knee point Test LEDs LEDs Display Driver LEDs Display Driver Circuit LM35 LOGIC CONTROLLER LPT LPT PORT LPT PORT EXPANDER LPT PORT LPT PORT EXTENDER Life Gone? MAGNETIC FIELD MAGNETIC FIELD SYSTEMS METHOD OF STATEMENT FOR TRANSFORMER STABILITY TEST METHODS OF REDUCING CORONA EFFECT MULTIPLY-EXCITED MULTIPLY-EXCITED MAGNETIC FIELD SYSTEMS Mesh Current Mesh Current-1 Moving Iron Instruments Multiplexing Network Theorems Node Voltage Method On-No Load And On Load Condition PLC PORT EXTENDER POTIER & ASA METHOD POWER TRANSFORMER POWER TRANSFORMER TESTING POWER TRANSFORMER TESTING METHODS PROGRAMMABLE LOGIC PROGRAMMABLE LOGIC CONTROLLER Parallel Port EXPANDER Paschen's law Piezoelectric Wave-Propagation Transducers Potential Transformer RADIO INTERFERENCE RECTIFIERS REGULATION OF ALTERNATOR REGULATION OF THREE PHASE ALTERNATOR Read a Capacitor SINGLY-EXCITED SOLIDS AND LIQUIDS Classical gas laws Secondary effects Semiconductor strain gages Speaker Driver Strain Gages Streamer theory Superposition Superposition theorem Swinburne’s Test TMOD TRANSFORMER TESTING METHODS Tape Recorder Three-Phase Wattmeter Transformer Tap Changer Transformer Testing Vector group test Virus Activity Voltage Insulator Coating Voltage To Frequency Converter Voltage to current converter What is analog-to-digital conversion Windows work for Nokia capacitor labels excitation current test magnetic balance voltage to frequency converter wiki electronic frequency converter testing voltage with a multimeter 50 hz voltages voltmeter

Search More Posts

Followers