application accessory for cellular phone - final presentation -
Post on 25-Jan-2016
20 Views
Preview:
DESCRIPTION
TRANSCRIPT
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
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
3
Block DiagramBlock Diagram
Cellular
PIC18LF4620
Transceiver
TR1000
Thermometer
TCN75
RS 232
AT Command
Cellular
CellularNetwork
PC.NET
Peripheral
devices
RF
I2CRS 232
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.
5
TR1000
PIC18LF4620
LE33ABD
On Board
Antenna
1 Line Connector:RS-232, ICD , Vdd
DS276
6
Distress ButtonDistress Button
RS232
RF
7
Antenna Test Point
TR1000
PIC18LF4620
Push Button
3V Battery
8
Infra Red Alarm SystemInfra Red Alarm System
RS232
RF
Motion
sensor
9
PIC18LF4620 and TR1000
Pir Signal , 9V battery
SocketLM1085 –
3.3VPir
10
Thermo MeterThermo Meter
RS232
TCN
75A
I2C
11
Relay ( Switch )Relay ( Switch )
RS232RF
Relay
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
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.
14
REMOTE VIEW PIR VIEW
15
THERMO VIEW RELAY VIEW
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.
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.
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.
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.
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.
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.
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.)
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.
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.
25
QuestioQuestions???ns???
top related