Home

Easy8051A Manual - MikroElektronika

image

Contents

1. Y O vec Figure 17 l Reset switch schematic PUSHBUTTON SWITCHES P 8051Flash On Board USB programmer L908 I3IALLV OSCILLATOR Pushbutton switches Easy805IA MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD i L5 with USB 2 0 PROGRAMMER Easy805IA Users Manual S TOOLS Buttons connections to PORTO PORT1 PORT2 and PORT3 are shown in Fig 19 Jumper J6 determines whether a button press will bring logical zero or logical one to the appropri ate pin When button is not pressed pin state is determined by the pull up or pull down port jumpers In the example shown in Fig 19 J6 is connected to 5V therefore pressing the buttons will bring logical one to the appropriate pins PUSHBUTTON SWITCHES r I I i 1 T Em EH EE EE EN NEED ENS E y m POO I a Poj lt P2071 I Poj y i o o o o i I o gt L 1 7 zu P 1 ED ee 7172 HEEL 3 ps1 1 y OL Jj IT49S qt cT PD or 9 vcc ig gt L L L i P0 21 a P1 21 m 22 m P322 I i l i o o I o o I I o o o o I i ol ol J E I Pos oa at 4 DAC JE SS Er I i I I I i I I I I I l ate POAT q l P14 L a P24 1 I p34 gc y o I o I P o o I o P 2 l lr i od O d 1 1 I cies d i POST EG ms P25 I ml 354 1 i pec ipecd iLec Hes 1t dz eT L
2. vcc vcc o ON BOARD USB PROGRAMMER USB LINK 4 SWITCH 10K AE x 100n Reset Yyse 4Lsos N 5 N vcc o CN8 JawWWweiboi1d gsn pJeog uo N I TO PERIPHERALS ON DEVELOPMENT BOARD USB CONN LG08 ISWLV OSCILLATOR Switch schematic Figure 11 Easy805IA MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD a el with USB 2 0 PROGRAMMER Easy80S5IA Users Manual Io TOOLS OSCILLATOR Easy8051A development board has on board oscillator circuit for generating microcon troller s clock input Within the 051 Flash programmer you can either choose internal RC oscillator or external clock External oscillator is connected to the XTAL1 pin of the micro controller uu P1 0 vcc 0 vec OSCILLATOR n P1 1 PO 0 LEE P0 1 P1 3 P0 2 P1 4 P0 3 P4 5 PO 4 P1 6 PO 5 PO 6 Po 7 EA ALE PSEN P2 7 P2 6 P2 5 L908 1SINLV P3 6 P24 P3 7 P2 3 XTAL2 P2 2 XTAL1 P2 1 GND P2 0 Oscillator schematic OSCILLATOR Note In order to simplify the schematics in this man ual the oscillator circuit 1s represented by this symbol ls e LJ 22 MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD asy8ObIA with USB 2 0 PROGRAMMER LEDs Light Emitting Diodes LEDs are the most commonly used components usua
3. RO DUG E TICODIN Easy80S5SIA Users Manual o a TOOLS SWITCHES The Easy8051A development board features a number of peripherial devices In order to enable these devices before programming you need to check if appropriate jumpers or switches have been properly set Switches are devices that have two positions ON and OFF which have a role to establish or break a connection between two contacts The Easy8051A development board has two groups of switches SWITCHES The first group SW1 is used to enable SPI communication for interfacing with A D Con verter and D A Converter and for connecting ADC CS Chip Select and DAC CS to micro controller pins The upper four switches of SW2 are used to enable LEDs connected to PORTO PORTI PORT2 and PORT3 For example if the switch for PORTI is OFF all PORT1 LEDs will be turned off The lower four switches of SW2 are used to enable the 7 segment displays If you don t need the 7 segment displays in your project these switches should be OFF Group of 8 switches Switch 2 is ON and other switches are OFF L1 T Switch is ON 59559 Switch is OFF O269 5 MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD asy8ObIA with USB 2 0 PROGRAMMER Sevevarnenr Easy8O05IA Users Manual TOOLS JUMPERS Jumpers like switches can break or es
4. ON BOARD DA GCONWIERT vcc O R18 1K REF1 J11 s C a 5 MCP E 1541 E4 10uF 5V voltage 4 096V voltage VIN 1 3 VOUT reference reference O VCC SPI SCK LG08 ISWLV OSCILLATOR D A Converter schematic Easy805IA MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD Tf with USB 2 0 PROGRAMMER ACCESS OLR NEC D DIRECT PORT ACCESS All microcontroller input output pins can be accessed via connectors placed along the right side of the board For each of PORTO PORTI PORT2 and PORTS there is one 10 pin con nector providing VCC GND and eight port pins Direct port access connectors Figure 39 These connectors can be used for system expansion with external boards such as Serial Ethernet Compact Flash MMC SD ADC DAC CAN RTC RS 485 etc Ensure that the on board peripherals are disconnected from microcontroller by setting the appropriate jumpers and switches while external peripherals are using the same pins The connectors can also be used for attaching logic probes or other test equipment hund Example of how to connect exter nal peripheral with flat cable MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD Easy805 e erue Easy8O05IA Users Manual
5. TOOLS OSCILLATOR Zp Cp VCC O t5 Pull down line Pull up line is All lines Gi is connected connected are disconnected Sz i O VCC m Bs i 5 vcc l gt T P26 8 lU x zd i TI e EF I EE 8x10K l i CO 15 Cc ZETILLLLA on TTT ee ay l O EBENE l GND C3 EX X lt PX PX PX PX PORT2 connection PX PX X lt PX vcc HEADER 5x2 Easy805IA MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD 2C with USB 2 0 PROGRAMMER Easy805IA Users Manual rer DEVELOPMENT TOOLS If you are experiencing problems with any of our products or you just want additional information please let us know We are committed to meeting your every need Technical Support support mikroe com uid pn If you have any other question comment or a business proposal please contact us E mail office mikroe com Web www mikroe com Forum www mikroe com forum 230 MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD asy8ObIA with USB 2 0 PROGRAMMER
6. jumper J8 should be set to the upper m labeled as GRAPH uA we C TELE GLCD contrast LCD8 contrast GLCD and LCD8 selected selected contrast not selected CHAR E 3 Hj R11 10 Contrast F ovcc vec Adjustment o 1SO8 ISWLV CE GLCD schematic A SEIT S 5 MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD C LCD 128264 GRAP Easy80S5IA Users Manual o TOOLS LCD 2X16 IN 4 BIT MODE LC B A standard character LCD 1s probably the most widely used data visualization component Usually it can display two lines of 16 alphanumeric characters each made up of 5x8 pix els The character LCD communicates with the microcontroller via a 4 bit or 8 bit data bus each requiring the use of a different connector on Easy8051A For 4 bit data bus use the LCD should be placed in the upper left of the board just above the LEDs The connection to the microcontroller is shown in Fig 28 where there are only four data lines It is impor tant to note that the LCD should be p power is off NEN vcc Q Contrast p2 Adjustment 10K il i f 3G I TI IT LCD 2x16 in 4 bit mode LGD 2X16 IN 4eBUT MODE LCD 2x16 in 4 bit mode schematics LSO8 ISWLV 20 MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD Sr ESTERI T
7. with USB 2 0 PROGRAMMER LCD 2X16 IN 8 BIT MODE When using a character LCD in 8 bit mode the connector that 1s shared with the GLCD should be used Since this connector has 20 pins and the character LCD has only 14 pins special attention 1s required when placing the LCD Otherwise the LCD can be permanent ly damaged shows which pins iia stays disconnected i Pee T View from the back Ld ia The LCD must be placed in the marked position with two free pins to the left and four free pins to the right It is important to note that the LCD should be placed or removed from Easy8051A only when the power is off Before attaching the LCD set jumper J8 to the lower position The LCD s contrast can be adjusted using potentiometer P1 which is locat ed to the right of the GLCD LCD connector NOTE Special attention is required when placing the LCD Otherwise the LCD can be per manently damaged asy805 z MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD WOLD N els LOD 221 Easy805IA Users Manual re TOOLS In order to enable LCD jumper J8 should be set to lt lt the lower position labeled as CHAR LGD 2X16 IN GNE UP MODE J8 GRAPH Vee GLCD contrast LCD8 contrast GLCD and LCD8 selected
8. OR DISTRIBUTORS BE LIABLE FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING DAMAGES FOR LOSS OF PROFITS LOSS OF BUSINESS LOSS OF USE OR DATA INTERRUPTION OF BUSINESS AND THE LIKE EVEN IF MIKROELEKTRONIKA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES ARISING FROM ANY DEFECT OR ERROR IN THIS MANUAL OR PRODUCT SPECIFICATION AND INFORMATION CONTAINED IN THIS MANUAL ARE FURNISHED FOR INTERNATIONAL USE ONLY AND ARE SUBJECT TO CHANGE AT ANY TIME WITH OUT NOTICE AND SHOULD BE CONSTRUED AS A COMMITMENT BY MIKROELEKTRONIKA MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in this manual including the product and software described in it Product and corporate names appearing in this manual may or may not be registered trade marks or copyrights of their respective companies and are used only for identification or explanation and to the owners benefit without intent to infringe Easy805IA MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD 22 with USB 2 0 PROGRAMMER Easy805IA User s Manual i CONTENTS s CONNECTING THE SYSTEM page 4 5 INTRODUCTION page 5 B DESCRIPTION OF THE DEVELOPMENT SYSTEM page 6 Switches and their functions page 6 Jumpers page 7 MCU sockets page 8 Power Supply page 10 On Board USB 2 0 programmer page 11 Oscillator page 12 LEDs page 13 Pushbutton switches page 15 7 segment displays
9. selected contrast not selected Vcc CHAR P1 0 VCC vcc P1 1 P0 0 po vcc P12 E D1 P1 10K P1 3 poo I2 Contrast Vo Leave four free pins yc P14 gt ED Adjustment a to the right side P1 5 po 4 P t P1 6 P0 5 P1 7 lt Po 6 S D7 RST P0 7 L x P3 0 m EA i Ay E P3 1 ALE S P3 2 OO PSEN Leave two free DES Co PE pins to the left side Eo P2 6 P35 QI past P3 6 N P2 4 OSCILLATOR P3 7 P2 3 UAL XTAL2 P2 2 JE poem XTAL1 P2 1 GND P2 0 aXX LCD 8 bit mode schematic 2222 MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD Easy805lA with USB 2 0 PROGRAMMER RS23c RS 232 COMMUNICATION ey UN ENABLED RS 232 communication enables point to point data transfer It is commonly used in data acquisition applications for the transfer of data between the microcontroller and a PC Since the voltage levels of a microcontroller and PC are not directly compatible with each other a level transition buffer such as the MAX232 must be used Figure 31 RS232 connectors In order to provide a more flexible system the microcontroller is connected to the MAX232 through the two jumpers J9 and J10 The jumper J9 is used to connect the Rx line to P3 0 pin The jumper J10 is used to connect the Tx line to P3 1 pin Easy805 MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD OLN ROZDZ COMMUNICA Easy80S
10. 8V and 16V and the jumper J5 should be set in the left hand position In Fig 7 you can see USB and external power supply connectors Power supply select jumper POWER SUWIPPILY USB and power supply connectors J5 in the left hand position system will take power from the external AC DC power adapter J5 in the right hand position system will take power from the USB cable USB connector Ext C use USB Power Supply J External Power Suppl External power id dd supply connector REG1 7805 CN7 8 16V AC DC J5 5V FP1 5V 11 Vin Vout 5 om GND 2 100nF roe T AM N e c i eg e gt mn C4 0 MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD SIE ESTERI T with USB 2 0 PROGRAMMER Sevearnenr Easy8O05IA Users Manual TOOLS USB 20 ON BOARD USB 2 0 PROGRAMMER There is no need for the use of external IN CIRCUIT equipment during programming as the Easy8051A development system has its own on board USB 2 0 programmer All you need to do is connect the system to a PC using the USB cable Then load your program into the microcontroller via the 8051Flash programming software which is supplied with the board hip F i te 3 T 4 ce ni E Lm D f M r 1 GEMA On Board USB programmer Note There is no need for manually reseting MCU after programming The programmer will reset the MCU automatically
11. ED WORLD E asy8OSIA e erue Easy8O05IA Users Manual TOOLS Microcontroller s pins are routed to various peripherals as illustrated in Fig 6 All ports have direct connections to Direct Port Access connectors Such connectors are typically used for connecting external peripherals to the board or for providing useful points for connecting digital logic probe All ports are connected to LEDs push button switches and pull up down resistors which allow easy monitoring and testing of digital pin state Some pins are connected to other peripherials such as the DS1820 temperature sensor RS 232 communication 7 segment displays LCD etc MCU SOCKETS Xo DX Dx Dx Dx DX QI DSCC Easy805IA MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD 9 with USB 2 0 PROGRAMMER Easy80SIA Users Manual o TOOLS POWER SUPPLY As a power supply source users can select either a regulated supply from the USB cable default or an external power supply In case of the USB power supply the system should be connected to a PC using the USB programming cable while the jumper J5 should be set in the right hand position SELECTABLE In the case of an external power supply the Easy8051A board produces 5V using an LM7805 voltage regulator The external power supply can be AC or DC with a voltage between
12. EMBEDDED WORLD Easy805lA with USB 2 0 PROGRAMMER ATMEL INTRODUCTION Ta t 305 The Easy8051A development system is a full featured development board for Atmel 8051 30ARD microcontrollers It has been designed to allow students and engineers to easily exercise and explore the capabilities of 8051 microcontrollers It allows 8051 microcontrollers to be interfaced with external circuits and a broad range of peripheral devices allowing a user to concentrate on software development Figure 1 illustrates the development board Each component is marked on a silkscreen both top and bottom These marks describe connections to the microcontroller operation modes and provide some useful notes The need for additional schematics 1s minimized since all relevant information 1s printed on the board LIUM Easy8051A development board BLGEGPrEE I MD 50 1 52 3 54 5 36 7 Tmp qu ite Pa OSCILLATOR LE 0l 1 EY MIKROELEKTRONIKA E page E asy805 MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD L5 D Lt 23 Fan l p2 22 3 i DEC ra ur NE FO PBAJ i ra PE Pa 5 M p st i 4 I Pull P 23 7 H os Mi ie dag eue T ki d s z j J 2 zt BETTE Te CONTRAST cole IE r a i Ig jane Sasa at 5 1 le F i n J i a ma z 1 3 ves Hr DEVELOPMENT BOARD i n a i LI with USB 2 0 PROGRAMMER
13. IA Users Manual o TOOLS Connection between microcontroller and a PC PC CONNECT MCU TO PC uM CABLE Send PC TO MCU Data Tx CONNECT RS 232 COMMUNICATION LG08 1SINLV RS232 COMM RS232 COMM Zl MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD Easy805lA with USB 2 0 PROGRAMMER Sevewarwene Easy8O05IA Users Manual TOOLS DS1820 DIGITAL THERMOMETER DS1820 digital thermometer is well suited to environ mental temperature measurement having the temper ature range of 55 C to 125 C and the accuracy of 0 5 C It must be placed correctly in the 3 pin socket provided on Easy8051A with its rounded side to the right edge of the board see Fig 33 otherwise the DS1820 could be permanently damaged DS1820 s data pin can be connected to either P2 7 or P3 3 pin which is determined by jumper J7 There is a mark in the form of half circle for ss gt Wy proper orientation of DS1820 sensor DS1820 WIGUT AL THERMOMLE TEL p m LG08 1SINLV OSCILLATOR DS1820 VCC Q VCC i J7 GND vcc ini j DQ iz DQ line is DQ line is DQ line is E connected to P2 7 connected to P3 3 disconnected Figure 34 z DS1820 schematic J B Easy805IA MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS F
14. OR THE EMBEDDED WORLD 25 with USB 2 0 PROGRAMMER Easy80S5IA Users Manual CS TOOLS A D CONVERTER The Easy8051A development system has 4 channel 12 Bit A D Converter Analog to Digital Convert er with SPI serial interface MCP3204 In order to use it the switches 1 2 3 and 4 on SWI must be enabled In order to simulate an analog input poten tiometer P3 should be connected to one of four ana log inputs through jumper group J12 MCP1541 is used as a 4 096V voltage reference for ADC elk AD GOINNWLEIRT vcc O R18 1K REF1 J11 A is bi VCC AREF MCP s 1541 E4 mum 5V voltage 4 096V voltage 10uF VIN 1 3 VOUT reference reference GND 2 o N I I I I o o o o CN14 vec Li O VCC MCP32004 LG08 ISWLV SW1 OSCILLATOR A D Converter schematic 2G MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD Easy805IA with USB 2 0 PROGRAMMER e erue Easy8O05IA Users Manual TOOLS ISTA D A CONVERTER 4 096V The Easy8051A development system has 12 Bit D A Converter Digital to Analog Converter with SPI serial interface MCP4921 In order to use it the switches 1 3 and 5 on SWI must be enabled Analog voltage output from DAC chip is connected to the CN13 connector and it is in range from OV to Vref MCP1541 is used as a 4 096V voltage refer ence for DAC SR
15. SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD MikroElektronika Casu8aObIA Users Manual With useful implemented peripherals plentiful practical code examples and a broad set of additional add on ATMEL boards Serial Ethernet Compact Flash MMC SD 6 ADC DAC CAN RTC RS 485 etc MikroElektronika s m development boards make fast and reliable tools that DEVELOPMEN can satisfy the needs of experienced engineers and IN CIRCUIT 30ARL beginners alike Software and Hardware solutions for Embedded World Sevearnenr Easy8O5IA Users Manual TOOLS First edition November 2006 No part of this manual including the product and software described in it may be repro duced transmitted transcribed stored in a retrieval system or translated into any language in any form or by any means except documentation kept buy the purchaser for backup pur poses without the express written permission of MikroElektronika company Product warranty or service will not be extended if the product is repaired modified or altered unless such repair modification or alteration is authorized in writing by MikroElektronika MIKROELEKTRONIKA PROVIDE THIS MANUAL AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY OR FITNESS FOR A PARTIC ULAR PUROSE IN NO EVENT SHALL MIKROELEKTRONIKA ITS DIRECTORS OFFICERS EMPLOY EES
16. d Posi ssi 1 ra E 4 1 I e E P2 6 HE I P36 o o i 1 o i I o i i o I O1 SU i P0 7 i i p27 1 i J iy os z Pr LE i las F i amr a OSCILLATOR G W L I 7 1 1 LL GE tomm TC E i ui Wl xTAc2 21 EB EH EM EM EE EE ONE EE MO d NN NS ENS S SD D ON ON Jl XTAL1 H GND oL 0V while button 5V while button m vcc is pressed is pressed J6 C LB I3 C Bl Buttons schematic il 5 MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD asy8ObIA with USB 2 0 PROGRAMMER ara Easy8O05IA Users Manual TOOLS On Fig 20 the J1 jumper is set to pull up therefore when the button is not pressed pull up resistor pulls the microcontroller s PA3 pin to 5V pull up A button press causes the port pin to be connected to ground J6 is in the lower position Thus only when the button is pressed the microcon troller will sense a logical lt gt zero otherwise the pin state Figure 20 Button with pull up resistor will always be logical one OV while pressed PUSHBUTTON SWITCHES On Fig 21 the J6 jumper is mem set to pull down therefore J1 when the button is not PORTO pressed pull down resistor pulls the microcontroller s PA3 pin to OV pull down RIRO VCC vcc A button press causes the P4 1 P0 0 port pin to be con
17. lly for dis playing pin s digital state Easy8051A has 32 LEDs that are connected to the microcon troller s PORTO PORT1 PORT2 and PORT3 Figure 14 Light Emitting Diodes Each group of eight LEDs can be enabled or disabled using the switch SW2 Fig 15 illus trates the connection of a LEDs to PORTO of the microcontroller A resistor is used in series with the LED to limit the LED s current In this case the resistor s value is 1K E asy8OSIiA MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD sS Easy80S5IA Users Manual o a TOOLS The LEDs are enabled when the corresponding switch on SW2 is on When enabled LEDs will display the state of the corresponding microcontroller pin otherwise the LEDs will always be off no matter what the port state is as no current can flow through LED PORTO LED PORT1 LED V PORT3 LED M Se i a i aai pa a j ih G a a LEDS LG08 13WLY Al MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD Easy805lA with USB 2 0 PROGRAMMER Sevevarnenr Easy8O05IA Users Manual TOOLS PUSHBUTTON SWITCHES Easy8051A has 32 push buttons which can be used to change states of digital inputs to micro controller s ports There is also one switch that acts as a RESET Reset switch schematic is shown in Figure 17
18. nected to Pi oe 5V J6 is in the higher posi P14 J gt Pos Paleo P0 4 tion P1 6 a P0 5 P0 2 PIET Z P0 6 RST PO 7 Thus only when the button eo T zu vec ie is pressed the microcon in Lr a 5V while pressed troller will sense a logical lt gt one otherwise the pin state will always be logical zero Figure 21 Button with pull down resistor Easy805lA MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD i Jf with USB 2 0 PROGRAMMER Easy80S5IA Users Manual o TOOLS 7 SEGMENT DISPLAYS Easy8051A has four 7 segment displays in multiplex mode Data lines are connected to PORTO while each display is enabled through the lower four bits of PORTI segment displays schematic SEGMENT DISPLAYS LG08 ISWLV MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD Easy8O5IA meam GRAPHIC LCD CONNECTOR A graphic LCD GLCD allows advanced visual messages to be displayed While a charac ter LCD can display only alphanumeric characters a GLCD can be used to display mes sages in the form of drawings and bitmaps The most commonly used graphic LCD has the screen resolution of 128x64 pixels Before a GLCD is connected the user needs to set the jumper J8 Fig 24 to the upper position The GLCD s contrast can be adjusted using the potentiometer P1 which is placed to the right of the GLCD GLCD selection jumper In order to enable GLCD
19. page 18 Graphic LCD page 19 LCD 2x16 in 4 bit mode page 20 LCD 2x16 in 8 bit mode page 21 RS 232 Communication page 23 DS1820 Digital Thermometer page 25 A D Converter page 26 D A Converter page 27 Direct port access page 28 Easy805lA MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD with USB 2 0 PROGRAMMER Easy805IA Users Manual TU TOOLS CONNECTING THE SYSTEM The development system box contains the development system product CD USB cable RS232 cable and this manual Step no 1 The first thing to do 1s to take the system out of the box Unpack the USB cable and connect it to the PC Please use USB ports on the back of the PC with direct connection to the moth erboard Step no 2 Install the 8051Flash programmer and drivers Start the installation from the product CD CD Drive product zip 8051Flash setup exe Step no 3 After the installation connect the USB cable to the Easy8051A board You will be asked for the 8051 Flash drivers Point to them in order to finish the driver installation Step no 4 Run and use 8051Flash as it is explained in the PDF document 6051 Flash programmer CONNECTING Indis SYSTEM After these 4 steps your Easy8051A is installed and ready for use You can try to read a pro gram from the chip or to load an example from the product CD CD_Drive product zip easy805la_examples zip Al MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE
20. tablish a connection between two points Beneath the plastic cover of the jumper is a metal contact which makes a connection when the jumper is placed between two disconnected pins For example the jumpers J9 and J10 are used to connect or disconnect Rx and Tx lines to the P3 0 and P3 1 pins respectively A connection is made when the jumper is placed between two contacts Jumper as a Jumper is ON to19 switch JUMPERS Eu Jumper is OFF CN More often jumpers are used as a selector between two possible connections using a three pin connector As illustrated in Fig 4 the middle connector can be connected to the left or right pin depending on the jumper s position All lines are Left line Right line LTIS disconnected is selected Is selected Jumper as a multiplexer Easy805IA MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD 7 with USB 2 0 PROGRAMMER S MECU SOG MCU SOCKETS v Easy8051A is delivered with a AT89S8253 40 pin microcontroller Users can remove this one and fit a different microcontroller in DIP40 DIP20 DIP16 or DIP14 packages of an adequate pinout Note Since all packages have parallel connections there must not be more than one micro controller on the board at a time MIKROELEKTRONIKA SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDD

Download Pdf Manuals

image

Related Search

Related Contents

Whirlwind AESDA User's Manual  Fiche Adilon S PC - BAYROL collectivités  Kenwood DNX5080EX GPS Receiver User Manual  TURBO S - Technical Service Website  GïGL - GiGi  Dell PowerConnect W-Airwave 7.2 Sizing Guide  MANUAL DE INSTRUCCIONES  W-GA HLC 4s.indd  A g ric u ltu ra l S p ra y P ro d u c ts    

Copyright © All rights reserved.
Failed to retrieve file