Advertisement

Quick Links

User Manual
BIG 8051
Prepared By:
Sajid Amir
Computer Engineering'15
Elizabethtown College
Added resources from the works of: James Kelly and David Cain,
Computer Engineering Elizabethtown College
BIG 8051 Manual
Josiah Buxton
Computer Engineering '15
Elizabethtown College
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BIG 8051 and is the answer not in the manual?

Questions and answers

Summary of Contents for mikroElektronika BIG 8051

  • Page 1 BIG 8051 Manual User Manual BIG 8051 Prepared By: Sajid Amir Josiah Buxton Computer Engineering‘15 Computer Engineering ‘15 Elizabethtown College Elizabethtown College Added resources from the works of: James Kelly and David Cain, Computer Engineering Elizabethtown College...
  • Page 2: Table Of Contents

    BIG 8051 Manual TABLE OF CONTENTS Page No. 1. General information ……………………………………………………………………………………………….………….………………3 2. Key features…………………………………………………………………………………………………………………….….…………..4 3. Connecting the system to a power source…………………………………………………………………………………………….…..…...5 4. C8051 microcontroller………………………………………………………………………………………………………….……………..6 5. Programming microcontroller……………………………………………………………………………………………….…...…………..7 6. Ethernet module………………………………………………………………………………………………………………….……….…...8 7. Piezo buzzer……………………………………………………………………………………………………….…………………………...9 8. DS 1820 temperature sensor………………………………………………………………………………………………………………….10 9.
  • Page 3: General Information

    BIG 8051 Manual General information The BIG 8051 development system provides a development environment for programming and experimenting with 8051 microcontrollers. Inside the box Development System: BIG8051   CD: Product CD  USB Cable  128x64 graphic LCD display ...
  • Page 4: Key Features

    BIG 8051 Manual Key Features 1. Ethernet module 21. Jumper used to select push buttons’ logic state 2. Piezo buzzer 22. Reset button 3. Connector for temperature sensor 23. Connector for MMC/SD cards 4. Connector for programmer 24. 3.3 V voltage regulator 5.
  • Page 5: Connecting The System To A Power Source

    BIG 8051 Manual Connecting to power supply To power the development system on, we have to provide power supply voltage over AC/DC connector CN18. Before you turn the system on, it is necessary to place jumper J11 in the EXT position. Next, set the switch marked POWER SUPPLY to the ON position. As soon as the development system now powers on, a green LED labelled POWER will automatically illuminate.
  • Page 6: C8051 Microcontroller

    BIG 8051 Manual C8051F040 microcontroller The BIG8051 system has a 100-pin microcontroller C8051F040 in TQFP package. Today over fifty companies produce variations of the 8051. Several of these companies have over fifty variations of this sys- tem. To bring things into context, over 100 million 8051’s are sold each year.
  • Page 7: Programming Microcontroller

    BIG 8051 Manual Programming microcontroller The C8051F040 microcontroller must be programmed using a USB DEBUG ADAPTER which is provided with the box. It is always a good practice to make sure that the power is turned on, the USB DEBUG ADAPTER is connected to the development system through the cable as shown(CN23).
  • Page 8: Ethernet Module

    BIG 8051 Manual Ethernet module The Ethernet module lets us access the LAN network via the connector (RJ45). Using Serial Peripheral Interface, this module can communicate with the microcontroller. Ethernet module Ethernet module connection schematic [4] Connecting Ethernet cable...
  • Page 9: Piezo Buzzer

    BIG 8051 Manual Piezo Buzzer Piezo buzzers are used for making beeps, tones, and alerts. To use, one pin has to be connected to the ground (in schematic) and the other pin to a square wave out from a timer or microcon- troller.
  • Page 10: Ds 1820 Temperature Sensor

    BIG 8051 Manual Temperature sensor Our BIG8051 development system comes with a DS1820 temperature sensor that uses 1-wire communication as mentioned earlier. It can be used to measure temperature in the range be- tween –55 degrees Celsius to 125 degree Celsius with an accuracy of +/-0.5 degrees Celsius.
  • Page 11: Usb Uart Module

    BIG 8051 Manual USB UART module The USB UART module is used to connect the microcontrol- ler to an external USB device. To establish connection be- tween the microcontroller and the USB UART module, it is important to set switches 1 and 3 (optionally 2 and 4) to the ON position.
  • Page 12: Rs-232 Modules

    BIG 8051 Manual RS-232 modules The RS-232 modules allow the development system to communicate to external devices in compliance with the RS-232 standard. The two RS modules in the BIG8051 can operate separately. To connect, switches 1 and 3 (optionally 2 and 4) on DIP switch SW11 should be set to the ON position.
  • Page 13: Can Module

    BIG 8051 Manual CAN module Controller Area Network (CAN) is a communication standard primarily intended for use in the automotive industry. It is used when microcontrollers and devices need to communicate with each other in applications without a host computer. The modern automobile may have as many as 70 electric control units for various subsystems.
  • Page 14: Zigbee Module

    BIG 8051 Manual ZigBee module The BIG805 enables you to connect the ZigBee module that is used for wireless communication. The module communicates with the mi- crocontroller with the standard SPI protocols. It is necessary to set switches 1,3 and 5 on the DIP switch SW10, as well as the switches 1,2,3 and 4 on the DIP switch SW15 to the ON position for function- ality.
  • Page 15: Mmc/Sd Connector

    BIG 8051 Manual MMC/SD connector The development system is able to read memory cards due to the on-board MMC/SD connector. The module uses microcontroller pins for serial com- munication. To connect this module, it is necessary to set switches 1,3 and 5 (optionally 2,4, and 6) on the DIP switch SW10, as well as switches 1 and 2 on the DIP switch SW14 to the ON position.
  • Page 16: Comparator

    BIG 8051 Manual Comparator The BIG8051 can compare voltage levels due to a comparator built into the microcontroller. Voltage signals are supplied via potentiometers P5 and P6. To enable voltage signals, set switches 5 and 6 on DIP switch SW15 to the...
  • Page 17: Adc Module

    BIG 8051 Manual ADC module The ADC module is used to convert an analog voltage level into the appropriate 12-bit digital value. The analog voltage signal is supplied via screw terminals CH0, CH1, CH2, and CH3. The ADC module is built-in into the microcontroller. The voltage supplied from the VREF pin is used as a voltage reference.
  • Page 18: Dac Module

    BIG 8051 Manual DAC module . The DAC module attached to the development system can be used to convert 12-bit digital values into appropriate analog voltage values. The output analog voltage signals is delivered via screw terminals DAC0, and DAC1. Like the ADC module, this module also uses the VREF pin on the microcontroller as a voltage reference.
  • Page 19: Memory Modules

    BIG 8051 Manual Memory modules The BIG8051 comes with Flash, RAM and EEPROM memory modules. This allows the microcontroller to expand its memory space. The Flash module lets the microcontrol- ler to use an additional 8Mbit flash memory via SPI. To establish connec-...
  • Page 20: Leds

    BIG 8051 Manual LEDs There are a total of 64 LEDs on the development board and can be used to visually indicate the state of each microcontroller I/O pin. When active, an LED indicates that a logic 1 is present on that particular pin.
  • Page 21: Push Buttons

    BIG 8051 Manual Push buttons The provided push buttons on the development board can be used to change the logic state of all the microcontroller input pins. Jumper J10 is used to determine the logic state to be supplied on the appropriate microcontroller pin by pressing a push button.
  • Page 22: I/O Ports

    BIG 8051 Manual Input / Output ports The BIG8051 has 10-pin connectors lined to the microcontroller I/O ports. Due to DIP switches SW1- SW8, every connector pin can be connected to one pull-up/pull-down resistor. It depends on the position of jumpers J1-J8 to control this aspect.
  • Page 23: Assembly Introduction

    BIG 8051 Manual 8051 Assembly Introduction A computer instruction is made up of an operation code (op-code) followed by either address space but are accessed via different addressing modes (direct vs. indirect). The zero, one, or two bytes of operands.
  • Page 24: Register Addressing

    BIG 8051 Manual Register Addressing In CPU registers are used to store information temporarily. That information can be in (typically specified in hex format) or by giving its abbreviated name. It is also used for the form of bytes of data to be processed or some address pointing to a data to be SFR accesses.
  • Page 25: Instruction Set Summary

    BIG 8051 Manual Instruction Set Sum-...
  • Page 26 BIG 8051 Manual Instruction Set Summary (cont.)
  • Page 27: Instruction By Opcode

    BIG 8051 Manual Instructions by opcode...
  • Page 28: Disclaimer

    BIG 8051 Manual Assembling your Code Writing your first Program After completing your code, click the assemble button as shown: Download Silicon Laboratories IDE. Follow the link for the download: https://www.silabs.com/products/mcu/Pages/8-bit-microcontroller-  software.aspx Next, download an assembler. The recommended assembler is: Keil uVision5 http://www.keil.com/c51/...
  • Page 29 BIG 8051 Manual Connecting the IDE with the Development Board Before establishing connection between the development board and the IDE, power on the system as instructed earlier. The jumpers J13 and J14 should be in the JTAG posi- tion. Click options and then select Connection Options from the drop down: ...
  • Page 30 BIG 8051 Manual Downloading and Running Code on 8051 Click Download after connection has been established successfully  Then click the Go button as shown   Observe results on board...
  • Page 31 BIG 8051 Manual How to set up the 8051 Simulator  Make sure you have Java installed, you can download it at: http://java.com/en/download/index.jsp  Run the installer you downloaded and make sure to uncheck installing the Ask Toolbar  Download http://www.edsim51.com/8051simulator/edsim51di.zip...
  • Page 32 BIG 8051 Manual Coding the Simulator  Above the assembly code window, you will see the toolbar depicted below. Either select “New” to begin a new assembly or “Load” to import an existing one  Once a program has been written or loaded, select either “Assm” or “Run” to execute it. If the simulator...
  • Page 33 BIG 8051 Manual Simulation Video (Amir & Buxton) https://youtu.be/x5dIODI726U...
  • Page 34 BIG 8051 Manual Sample Project (Cain & Kelly) Below is a fully functional program that may be run on the simulator. The program is designed to control the water level in a bucket used as part of a hydroponic garden. Switches 1, 2 and 3 on the board serve as stand ins for a trio of float sensors that will activate when the water level reaches a set height.
  • Page 35 All the information gath- ered here have been collected via re- search and aimed to guide any student to start using the BIG 8051 microcontrol- ler. All the pictures of the development system were taken by Sajid Amir and should not be copied.

Table of Contents