25
1 Application Accessory Application Accessory For Cellular Phone For Cellular Phone - Final Presentation - Final Presentation - - Performed by: Omer Kamerman Avi Feldman Project instructor: Boaz Mizrachi Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab

Application Accessory For Cellular Phone - Final Presentation -

  • Upload
    elpida

  • View
    23

  • Download
    0

Embed Size (px)

DESCRIPTION

Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab. Application Accessory For Cellular Phone - Final Presentation -. Performed by: Omer Kamerman Avi Feldman Project instructor: Boaz Mizrachi. Project Goals - Reminder. - PowerPoint PPT Presentation

Citation preview

Page 1: Application Accessory For Cellular Phone  - Final Presentation -

1

Application Accessory For Application Accessory For Cellular PhoneCellular Phone

- Final Presentation - - Final Presentation -

Performed by:Omer Kamerman Avi Feldman

Project instructor:

Boaz Mizrachi

Technion – Israel Institute of TechnologyDepartment of Electrical EngineeringHigh Speed Digital Systems Lab

Page 2: Application Accessory For Cellular Phone  - Final Presentation -

2

Project Goals - Reminder Project Goals - Reminder

Design and implementation an independent generic device which can function as a host platform of various applications for cellular phone.

Key futures:

Generic and versatile, Multi compatibility, Key ring format

Using multi purpose hardware : Microcontroller, transceiver, etc.

Low voltage supply

I/O : Configuration via GUI , few features via a mobile phone.

Communication interface - Keypad, Connectivity to PC.

Base on integral abilities can perform the subsequent applications:Distress Button, Infra red alarm system, Thermometer, Switcher

Page 3: Application Accessory For Cellular Phone  - Final Presentation -

3

Block DiagramBlock Diagram

Cellular

PIC18LF4620

Transceiver

TR1000

Thermometer

TCN75

RS 232

AT Command

Cellular

CellularNetwork

PC.NET

Peripheral

devices

RF

I2CRS 232

Page 4: Application Accessory For Cellular Phone  - Final Presentation -

4

Main DeviceMain Device

Features :– Connectivity via RS-232 “Nokia” data cable to Nokia

cellular phone.– Connectivity via RF to peripheral devices.– On board temp. sensor.– Connectivity via RS-232 cable to a GUI application on

PC.

Page 5: Application Accessory For Cellular Phone  - Final Presentation -

5

TR1000

PIC18LF4620

LE33ABD

On Board

Antenna

1 Line Connector:RS-232, ICD , Vdd

DS276

Page 6: Application Accessory For Cellular Phone  - Final Presentation -

6

Distress ButtonDistress Button

RS232

RF

Page 7: Application Accessory For Cellular Phone  - Final Presentation -

7

Antenna Test Point

TR1000

PIC18LF4620

Push Button

3V Battery

Page 8: Application Accessory For Cellular Phone  - Final Presentation -

8

Infra Red Alarm SystemInfra Red Alarm System

RS232

RF

Motion

sensor

Page 9: Application Accessory For Cellular Phone  - Final Presentation -

9

PIC18LF4620 and TR1000

Pir Signal , 9V battery

SocketLM1085 –

3.3VPir

Page 10: Application Accessory For Cellular Phone  - Final Presentation -

10

Thermo MeterThermo Meter

RS232

TCN

75A

I2C

Page 11: Application Accessory For Cellular Phone  - Final Presentation -

11

Relay ( Switch )Relay ( Switch )

RS232RF

Relay

Page 12: Application Accessory For Cellular Phone  - Final Presentation -

12

Relay andRelay andMain Main

DeviceDevice

Omron Relay

220V/16A

In/Out Power Socket

220V/16A

9 V and signals socket

Regulator 5 V

Regulator 3.3 V

Page 13: Application Accessory For Cellular Phone  - Final Presentation -

13

Pc ConnectivityPc Connectivity

• A .NET application in windows.• The application helps the user to

configure:1. The SMS text format.2. List of phone numbers to send

SMS.3. To set the incoming SMS for

the Relay.4. To set the temp bounds in the

Thermo application.

Page 14: Application Accessory For Cellular Phone  - Final Presentation -

14

REMOTE VIEW PIR VIEW

Page 15: Application Accessory For Cellular Phone  - Final Presentation -

15

THERMO VIEW RELAY VIEW

Page 16: Application Accessory For Cellular Phone  - Final Presentation -

16

Getting Power from RS-232Getting Power from RS-232

Extra hardware. Opening by software the serial Port in

order to get power from RS - 232.

Page 17: Application Accessory For Cellular Phone  - Final Presentation -

17

Hardware designHardware design

Main Device: Micro Controller – “Micro chip” PIC18LF4620 – Nano

Watt Tech. QFN package. RF – “RFM” TR1000 – Transceiver, Low Voltage and

Current, OOK modulation. Connector – “Nokia“ RS-232 data cable. Thermometer – “Micro Chip” TCN75 – support I2C .Remote control Micro Controller – “Micro chip” PIC18LF4620. RF – “RFM” TR1000 – Transceiver. Switch button.

Page 18: Application Accessory For Cellular Phone  - Final Presentation -

18

Hardware design – cont.Hardware design – cont.

Pc connector: Micro Controller – “Micro chip” PIC18LF4620. RF – “RFM” TR1000 – Transceiver. Regulator – LE33ABD – Very low voltage regulator. Connector – 9 pins RS-232.Motion Sensor: Micro Controller – “Micro chip” PIC18LF4620. RF – “RFM” TR1000 – Transceiver. PIR – Low Voltage sensor – 9V Battery.Switcher: Micro Controller – “Micro chip” PIC18LF4620. RF – “RFM” TR1000 – Transceiver. Relay module – Omron.

Page 19: Application Accessory For Cellular Phone  - Final Presentation -

19

Software designSoftware design

One code for all devices. Must be efficient & generic.

Low power device. PIC and RF chip work (out of sleep mode) only when they need.

Preferring to use integral hardware features of the PIC like INTERRUPTS , I2C and UART.

RF code write in assembly in order to insure real time performances.

Page 20: Application Accessory For Cellular Phone  - Final Presentation -

20

Software design – RF SWSoftware design – RF SW Design as ISR - TMR0 interrupt. Work in 4800 Hz. Used Manchester encoding

scheme – DC balanced. Each bit map to 8-bit symbol

perfect 1 - 11110000 perfect 0 – 00001111

Sync the trigger after each bit. Fix package length – 16 bytes

(11 bytes of data). Add preamble bits before each

package. As a result of low performances

of the PIC in handle protocol with high overhead demands, work with ALOAH or S&W.

Page 21: Application Accessory For Cellular Phone  - Final Presentation -

21

Defining the device - features and Applications. Studying the available Hardware and tech –

Datasheet, Application notes, forums, technical sites.

Selecting the Hardware – PIC18LF4620, TR1000, TCN75, PIR, Regulators, Connectors and Plastic Box.

Hardware design – ORCAD Hardware Layout. Writing code for the communication interface –

USART, AT Commands, I2C , RF , Interrupts - *.c & *.h & *.inc. rf_func , radioisr , i2c_func , interrupt_func , sms etc.

Writing drivers for the main and peripherals components. main , thermo , relay , pir , remote etc.

Project status & milestones.Project status & milestones.

Page 22: Application Accessory For Cellular Phone  - Final Presentation -

22

Design and implementation (wire-warp) – PIC, TCN75.

Analysis of Nokia FBUS & MBUS protocols. Checking of the received PCB from production and

primal assembly check. Hardware check , debug and fix. RF HW & SW debug. Finish writing drivers for the components.

eeprom , config ,sms2 etc’.

Writing the User interface (GUI) - .NET.

Integration, testing and Debug of the Software & Hardware.

Project status & milestones. (Cont.)Project status & milestones. (Cont.)

Page 23: Application Accessory For Cellular Phone  - Final Presentation -

23

RF Network Stop & Wait protocol for configuration from the PC.

All Software implemented, including fragmentation.

First pack was sent from source to destination and an ACK

message was received back in the source. ( The protocol tested by

code and scope )

PIC is incapable handling with the overhead of the protocol.

Nokia “Pop Port” :

All authorized “Nokia” peripheral devices has an hand shack

protocol named FBUS. Once the connection is established RS-232

protocol is enabled and getting 3.3 V power is allowed by the

cellular.

All the knowledge for this protocol learned.

Few tests were made to assure the protocol.

Project open Issues. Project open Issues.

Page 24: Application Accessory For Cellular Phone  - Final Presentation -

24

Project Celltech in numbersProject Celltech in numbers

Design 3 PCB.Assembly 7 different versions of

PCBs.Hardware design include 62 different

Components.Write 3488 lines of code.

Page 25: Application Accessory For Cellular Phone  - Final Presentation -

25

QuestioQuestions???ns???