Vous êtes sur la page 1sur 7

DESIGN CONSIDERATIONS

4.1. HI-TECH PICC-Lite™ Compiler v9.50PL2

HI-TECH Software is pleased to announce the release of a totally free ANSI C

compiler to support selected Microchip devices. The HI-TECH PICC-Lite™ compiler is

a freeware version of our industrial-strength HI-TECH PICC™ compiler available for

Windows®, Linux® and Mac OS X. The HI-TECH PICC-Lite compiler is the same in

every respect as the full HI-TECH PICC compiler, except that it has support for only a

limited subset of processors, there are some limitations on the amount of memory that

can be used and source code for the standard libraries is not provided. The supported

processors and their limitations (if any) are shown below. Due to program memory

constraints, support for printing floating-point and long data types via printf family

functions is not included.

FBUS and MBUS

Most Nokia phones have F-Bus and M-Bus connections that can be used to

connect a phone to a PC or in our case a microcontroller. The connection can be used for

controlling just about all functions of the phone, as well as uploading new firmware etc.

Also this bus will allow us to send and receive SMS messages.
The MBUS method uses only a single pin. It is a half-duplex method used also in

older Nokia phones. With MBUS it is possible to interface with almost all Nokia mobile

phones for service and adjustment purposes. The FBUS is a newer solution and offers

high-speed full-duplex communications link between the phone and the computer. The

service and adjustment operations, which are traditionally made over MBUS, are

available also via FBUS, but usually much faster.

Figure 9. DLR-3 cable

FIND REFERENCE!

3.9. PIC16F877 microcontroller

PIC16F877 is a powerful (200 nanosecond instruction execution) yet easy-to-

program (only 35 single word instructions) CMOS FLASH-based 8-bit microcontroller

packs Microchip's powerful PIC® architecture into an 40- or 44-pin package and is

upwards compatible with the PIC16C5X, PIC12CXXX and PIC16C7X devices.

PIC16F877 features 256 bytes of EEPROM data memory, self programming, an ICD, 8

channels of 10-bit Analog-to-Digital (A/D) converter, 2 additional timers, 2

capture/compare/PWM functions, the synchronous serial port can be configured as either

3-wire Serial Peripheral Interface (SPI™) or the 2-wire Inter-Integrated Circuit (I²C™)
bus and a Universal Asynchronous Receiver Transmitter (USART). All of these features

make it ideal for more advanced level A/D applications in automotive, industrial,

appliances and consumer applications.

Compilers include PicBasic which has a Parallax BASIC Stamp 1 compatible

instruction set, PicBasic Pro which features an enhanced instruction set compatible with

the BASIC Stamp 2 and the CCS C Compiler which gives developers the capability to

quickly produce very efficient code from an easily maintainable high level language.

More information about our compilers may be found here (Microchip.com).

Figure 9. PIC microcontroller

RS-232

The RS-232-C standard defines the electrical circuit functions for 25

connector pins. This standard is implemented by Hewlett-Packard in

two versions. The first version makes use of only three of the defined
transmission circuits, Data-In, Data-Out and Signal Ground. This

special implementation provides an inexpensive interface, since the

cable consists of only three wires with the connector on one end

replaced by a three-pin connector. However, it is limited to local

(direct) connections, in distances up to 15 meters (50 feet).

RS-422
The RS-422 standard is implemented by HP in a five pin version. The connecting cable is

composed of one twisted pair of wires for Data-In, one twisted pair of wires for Data-

Out, and a single wire for Signal Ground. Devices can be connected via this interface at

distances up to 1,500 meters (4,000 feet). The coaxial cable used for the Local Area

Network complies with the 802.3 standard developed by the Institute of Electrical and

Electronics Engineers (IEEE). This standard describes a transmission access method

called Carrier Sense Multiple Access with

Collision Detect (CSMA/CD).


Reference:
HI-TECH PICC-Lite™ Compiler v9.50PL2 (2005). Retrieved on October 3, 2006
from http://www.htsoft.com/products/PICClite.php.

Microchip.com. Retrieved on September 20, 2006 from


http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=
1335&dDocName=en010241

Vous aimerez peut-être aussi