RF Telemetry Application Presentation

25
Osman GÜLERCAN 16169230356 Graduation Project: RF TELEMETRY APPLICATION

description

The presentation of a graduation project: RF Telemetry Application

Transcript of RF Telemetry Application Presentation

Page 1: RF Telemetry Application Presentation

Osman GÜLERCAN16169230356

Graduation Project:

RF TELEMETRY APPLICATION

Page 2: RF Telemetry Application Presentation

Telemetry

• allows remote measurement and reporting of information.

• refers to wireless data transfer mechanisms(e.g. using radio or infrared systems)• telephone or computer network, optical link

or other wired communications.

Page 3: RF Telemetry Application Presentation

Applications

• 1- Motor racing- to properly tune the car for optimum performance.- accelerations (G forces) in 3 axis, temperature readings, wheel speed, and the displacement of the suspension- the driver inputs are also recorded so that the team can assess driver performance

Page 4: RF Telemetry Application Presentation

Applications

• 2-Defense, space and resource exploration systems- NASA and ESA use telemetry/telecommand systems to collect data from operating spacecraft and satellites.- Engineers need critical system parameters to analyze (and improve) the performance of the system.

Page 5: RF Telemetry Application Presentation

Applications

• 3- Medicine- used for patients (biotelemetry) who are at risk of abnormal heart activity.- patients are outfitted with measuring, recording and transmitting devices.- an alerting function can alert nurses if the patient is suffering from an acute or dangerous condition.

Page 6: RF Telemetry Application Presentation

RF TELEMETRY APPLICATION

Page 7: RF Telemetry Application Presentation

RF TELEMETRY APPLICATION

• MCU : Microchip PIC16F877A

• RF Moduls : UDEA’s ATX34S (transmitter)

UDEA’s NRX-34U (receiver)

• Sensor : LM 35 : °C Temperature Sensor

• LCD Module : 16x1 Line HD44780-Based

Page 8: RF Telemetry Application Presentation

Microchip PIC16F877A• 256 bytes of EEPROM data memory

• 2 capture/compare/PWM functions

• 8 channels of 10-bit Analog-to-Digital (A/D) converter

• 2-wire Inter-Integrated Circuit (I²C™)

• Universal Asynchronous

Receiver Transmitter(USART)

Page 9: RF Telemetry Application Presentation

Analog-to-Digital (A/D) converter

• The conversion of an analog input signal results in a corresponding 10-bit digital number.

• The A/D module has four registers. These registers are:- A/D Result High Register (ADRESH)- A/D Result Low Register (ADRESL)- A/D Control Register 0 (ADCON0)- A/D Control Register 1 (ADCON1)

Page 10: RF Telemetry Application Presentation

ADCON0 / ADCON1

Page 11: RF Telemetry Application Presentation

RF ModulsATX-34S : data transmitter NRX-34U-R : data receiver

General Feautures:• 433.920 MHz. UHF band• High Frequency Stability• Low power consumesApplication Areas:• Remote Control Systems• Security Based Alarm Systems• RF-Telemetry Systems

Page 12: RF Telemetry Application Presentation

Data Communication via RF Modules

• Physical CharacterCommunication Type: AsynchronousCommunication Speed: 2.4 KbpsLink: RS232-TTL (0-5V DC)

• Format of Data8 bit data bits, no parity bit and one stop bit

• Communication ProtocolATX-34S transmitter module has a digital data input (DIN) which is given data by user to send via RF.The standard data protocol is

TX : preamble + synchron+ data1+.....+dataX

Page 13: RF Telemetry Application Presentation

Data Format

• TX: preamble + synchron+ data1+.....+dataX• Preamble: provides hardware

synchronization.- Usually 5 byte 0x55 or 0xAA.

• Synchron: helps software synchronization- can be 5 byte 0x00 + 5 byte 0xFF.

Page 14: RF Telemetry Application Presentation

ASK-on-off keying (n=2)(transmit morse code)

-four-level encoding (n=4)

Page 15: RF Telemetry Application Presentation

RF Moduls

• UDEA’s ATX34S (transmitter)

Pin No Pin Name I/O Description

4 Ant O 50 ohm

antenna

connection

point

3 Gnd -

2 DIN I Digital Input

1 Vcc - +5V

Page 16: RF Telemetry Application Presentation

RF Moduls

• UDEA’s NRX-34U-R (receiver)

Pin No Pin Name I/O Description

1 Ant I 50 ohm

antenna

connection

point

2 Gnd - Ground

3 Vcc - +5V

4 RSSI O Analog

Output

5 Dout O Digital Output

Page 17: RF Telemetry Application Presentation

RSSI OUT• DOUT always has noise• RSSI output is used to detect RF signal

RF Modul can be used between -117 dBm ~ -55 dBm

Page 18: RF Telemetry Application Presentation

Simple Codes For Transmitter

• if(button==0• {

• send(0x55); // 5 byte 0x55 (preamble) • send(0x55); • send(0x55); • send(0x55); • send(0x55); • • send(0x00); // 5 byte 0x00 ve 5 byte 0xff (synchron) • send(0x00); • send(0x00); • send(0x00); • send(0x00); • • send(0xff); // 5 byte 0x00 ve 5 byte 0xff (synchron) • send(0xff); • send(0xff); • send(0xff); • send(0xff); •

• DI=0; // stop biti • DI=1; // start biti • p_width(); • • send(0x42); // send data • • DelayMs(250); // 500 ms delay• DelayMs(250); }

Page 19: RF Telemetry Application Presentation

Simple Codes for Receiver

void fivebyte0() { for(;;) { if(Dout==0) //senkron 5 byte 0x00 { for(;;) { DelayUs(1); plus0++; if(plus0>=600) { while(Dout==0); fivebyte1(); // goto fivebyte1(); return; } if(Dout==1) // 5 byte 0x00 couldn’t detect break; } plus0=0; } } }

Page 20: RF Telemetry Application Presentation

LM 35: PRECISION °C TEMPERATURE SENSOR

• - Calibrated directly in ° Celsius (Centigrade)• - Linear a 10.0mV/°C scale factor• - 0.5°C accuracy guaranteeable (at a 25°C)• - Rated for full -55° to +150°C range• - Suitable for remote applications• - Low cost due to wafer-level trimming• - Operates from 4 to 30 volts• - Less than 60 mA current drain• - Low impedance output, 0.1 Ω for 1 mA load

Page 21: RF Telemetry Application Presentation

L7800 SERIES: POSITIVE VOLTAGE REGULATORS

• provide local on-card regulation• eliminate the distribution problems • can deliver over 1A output current.

Page 22: RF Telemetry Application Presentation

HD44780-Based LCD Modules

- The HD44780 has two 8 bit registers:

an instruction register (IR) & a data register (DR)

- Character Generator ROM (CG ROM)

- Character Generator RAM (CG RAM)

Page 23: RF Telemetry Application Presentation

instruction register(IR) vs data register(DR)

• The IR stores instruction codes such as display clear and cursor shift, and address information for display data RAM (DD RAM) and character generator RAM (CG RAM). The IR can be written from the MPU but not read by the MPU.

• The DR temporarily stores data to be written into the DD RAM or the CG RAM and data to be read out from the DD RAM or the CG RAM.

Page 24: RF Telemetry Application Presentation

16x1 Line HD44780-Based LCD ModulesPIN NUMBER SYMBOL FUNCTION

1 Vss GND

2 Vdd + 5V

3 Vo Contrast Adjustment

4 RS H/L Register Select

Signal

5 R/W’ H/L Read/Write Signal

6 E H → L Enable Signal

7 DB0 H/L Data Bus Line

8 DB1 H/L Data Bus Line

9 DB2 H/L Data Bus Line

10 DB3 H/L Data Bus Line

11 DB4 H/L Data Bus Line

12 DB5 H/L Data Bus Line

13 DB6 H/L Data Bus Line

14 DB7 H/L Data Bus Line

15 A/Vee + 4.2V for LED (RA =

0)

16 K Power Supply for B/L

(0V)

Page 25: RF Telemetry Application Presentation

Thank You

RF TELEMETRY APPLICATION