Sunday, December 7, 2014

8051 Micro Controller

https://www.facebook.com/RSElectronicsOfficial

A micro controller is an integrated circuit or a chip with a processor and other support devices like program memory, data memory, I/O ports, serial communication interface etc integrated together. Unlike a microprocessor (ex: Intel 8085), a microcontroller does not require any external interfacing of support devices. Intel 8051 is the most popular microcontroller ever produced in the world market. Now lets talk about 8051 microcontroller in detail.
For describing pin diagram and pin configuration of 8051, we are taking into consideration a 40 pin DIP (Dual inline package). Now lets go through pin configuration in detail.
Pins 1 – 8:- Known as Port 1. Unlike other ports, this port does not serve any other functions. Port 1 is an internally pulled up, quasi bi directional I/O port.

Pin 9:- As explained before RESET pin is used to set the 8051 microcontroller to its initial values, while the microcontroller is working or at the initial start of application. The RESET pin must be set high for 2 machine cycles.

Pins 10 – 17:- Known as Port 3. This port also serves some other functions like interrupts, timer input, control signals for external memory interfacing RD and WR , serial communication signals RxD and TxD etc. This is a quasi bi directional port with internal pull up.

Pins 18 and 19:- Used for interfacing an external crystal to provide system clock.


Pin 20:- Named as Vss – it represents ground (0 V) connection.

Pins- 21-28:- Known as Port 2 (P 2.0 to P 2.7) – in addition to serving as I/O port, higher order address bus signals are multiplexed with this quasi bi directional port.

Pin- 29:- PSEN or Program Store Enable is used to read signal from external program memory.


Pin-30:- EA/ External Access input is used to enable or disallow external memory interfacing. If there is no external memory requirement, this pin is pulled high by connecting it to Vcc.

Pin-31:- ALE aka Address Latch Enable is used to demultiplex the address-data signal of port 0 (for external memory interfacing.)  2 ALE pulses are available for each machine cycle.

Pins 32-39: Known as Port 0 (P0.0 to P0.7) – In addition to serving as I/O port, lower order address and data bus signals are multiplexed with this port (to serve the purpose of external memory interfacing). This is a bi directional I/O port (the only one in 8051) and external pull up resistors are required to function this port as I/O.

Pin-40 : Named as Vcc is the main power source. Usually its +5V DC.
You may note some pins are designated with two signals (shown in brackets).


GSM Modem: SIM300

https://www.facebook.com/RSElectronicsOfficial

This is a plug and play GSM Modem with a simple to interface serial interface. Use it to send SMS, make and receive calls, and do other GSM operations by controlling it through simple AT commands from micro controllers and computers. It uses the highly popular SIM300 module for all its operations. It comes with a standard RS232 interface which can be used to easily interface the modem to micro controllers and computers.

The modem consists of all the required external circuitry required to start experimenting with the SIM300 module like the power regulation, external antenna, SIM Holder, etc.

Features
  • Uses the extremely popular SIM300 GSM module
  • Provides the industry standard serial RS232 interface for easy connection to computers and other devices
  • Provides serial TTL interface for easy and direct interface to microcontrollers
  • Power, RING and Network LEDs for easy debugging
  • Onboard 3V Lithium Battery holder with appropriate circuitry for providing backup for the modules’ internal RTC
  • Can be used for GSM based Voice communications, Data/Fax, SMS,GPRS and TCP/IP stack
  • Can be controlled through standard AT commands
  • Comes with an onboard wire antenna for better reception.
  • Board provides an option for adding an external antenna through an SMA connector
  • The SIM300 allows an adjustable serial baud rate from 1200 to 115200 bps (9600 default)
  • Modem a low power consumption of 0.25 A during normal operations and around 1 A during transmission
  • Operating Voltage: 7 – 15V AC or DC (board has onboard rectifier