We designed a medical pill which consists of transceiver, Microcontroller, Temperature sensor to send the temperatures in the stomach of horse to veterinary doctor, so that he will analyse that temperature values to treat the diseases occured to horse.
SOFTWARE: IAR Embedded Workbench
LANGUAGE : C/ C++
WORKED ON:
- Texas MSP-EXP430G2 LaunchPad
- Texas MSP430G2553 Microcontroller
- CC2500 RF transceiver
- eZ430-RF2500 Wirless developement kit
2. Introduction
Electronic medical pill, Why electronic medical pill
Aim of project, Physical Implementation of electronic medical pill and Size of the pill
Main Sections
Temperature, Heart Rate, Breathing Rate of normal adult horse
Transmission Section
Choice of Microcontroller
Concerns
EASY24-33 V6 Development System (Based On PIC)
MSP430 Development system (Based on MSP430)
Comparison between Easy24-33 V6 and MSP430 Development kits
PIC24FJ96GA010 Microcontroller
MSP430G2553 Microcontroller
Comparison between MSP430G2553 and PIC24Fj96GA010
Antenna
Battery
Power Consumption
Coding software
Result
Future work
Reference
CONTENTS
3. INTRODUCTION
A small system on chip.
Serve as a Multi-purpose environmental monitor.
Implemented inside a body of human or animal.
To measures breathing, heart rate, temperature and PH levels.
ELECTRONIC MEDICAL PILL
WHY ELECTRONIC MEDICAL PILL ?
It monitors health parameters in real time environment.
Thus a human/animal can be diagnose in case of emergency.
3http://www.dailymail.co.uk/sciencetech/article-1084997/The-intelligent-pill-helps-medicine-exactly-needed.html
5. INTRODUCTION
To design an electronic Medical Pill for a horse.
To monitor his body during the active/running condition.
Pill will be implemented inside the body of horse through a surgery.
Target size is equal to the size of a golf ball i.e. 1.68 inches (4.27 cm)
AIM
PHYSICAL IMPLEMENTATION
SIZE OF THE PILL
5http://www.givenimaging.com/en-int/Innovative-Solutions/Motility/SmartPill/Pages/default.aspx
6. INTRODUCTION
NORMAL ADULT HORSE
Temperature: 99-101°F (37.2-38.3°C)
Pulse: 28-44 beats per minute
Respiration (breathing rate): 10-24 breaths per minute
6http://www.thehorse.com/articles/27822/normal-horse-temperature-heart-rate-breathing-rate
7. Introduction
Electronic medical pill, Why electronic medical pill
Aim of project, Physical Implementation of electronic medical pill and Size of the pill
Main Sections
Temperature, Heart Rate, Breathing Rate of normal adult horse
Transmission Section
Choice of Microcontroller
Concerns
EASY24-33 V6 Development System (Based On PIC)
MSP430 Development system (Based on MSP430)
Comparison between Easy24-33 V6 and MSP430 Development kits
PIC24FJ96GA010 Microcontroller
MSP430G2553 Microcontroller
Comparison between MSP430G2553 and PIC24Fj96GA010
Antenna
Battery
Power Consumption
Coding software
Result
Future work
Reference
CONTENTS
9. Introduction
Electronic medical pill, Why electronic medical pill
Aim of project, Physical Implementation of electronic medical pill and Size of the pill
Main Sections
Temperature, Heart Rate, Breathing Rate of normal adult horse
Transmission Section
Choice of Microcontroller
Concerns
EASY24-33 V6 Development System (Based On PIC)
MSP430 Development system (Based on MSP430)
Comparison between Easy24-33 V6 and MSP430 Development kits
PIC24FJ96GA010 Microcontroller
MSP430G2553 Microcontroller
Comparison between MSP430G2553 and PIC24Fj96GA010
Antenna
Battery
Power Consumption
Coding software
Result
Future work
Reference
CONTENTS
10. CHOICE OF MICROCONTROLLER
The main concern for choosing a microcontroller
Low power consumption
Integrated Temperature sensor
Integrated Transceiver
Cost
CONCERNS
PIC Microcontroller from Microchip Technology
MSP430 microcontroller from Texas Instruments
TWO CHOICES
10http://www.edn.com/electronics-blogs/embedded-basics/4411480/10-steps-to-selecting-a-microcontroller
11. CHOICE OF MICROCONTROLLER
It is a general purpose development system for PIC24 MCUs
Temperature sensor
Supports optional ZigBee transceiver module (MRF24J40MA)
http://www.microchip.com/Developmenttools/ProductDetails.aspx?PartNO=TMIK006 11
EASY24-33 V6 DEVELOPMENT SYSTEM (BASED ON PIC)
12. CHOICE OF MICROCONTROLLER
The MSP-EXP430G2 LaunchPad is an easy-to-use flash
programmer and debugging tool for the MSP430G2xx
microcontrollers
Integrated peripherals: Capacitive Touch I/O, watchdog timer,
brown-out reset, USCI module, Comparator_A+, Temp sensor,
Transceiver
12http://www.ti.com/tool/msp-exp430g2
MSP430 LAUNCHPAD (BASED ON MSP430)
13. CHOICE OF MICROCONTROLLER
FEATURES EASY24-33 V6 MSP430
Power Consumption Run – CPU, Flash, SRAM and Peripherals On.
Doze – CPU Clock Runs Slower than Peripherals
Idle – CPU Off, Flash, SRAM and Peripherals On
Sleep – CPU, Flash and Peripherals Off and SRAM On
Deep Sleep – CPU, Flash, SRAM and Most Peripherals Off
Run mode Currents Down to 8 μA Typical
Idle mode Currents Down to 2 μA Typical
Deep Sleep mode Currents Down to 20 nA Typical
Watchdog Timer 350 nA, 1.8V Typical
Active Mode: 230 µA at. 1 MHz,
2.2 V
Standby Mode: 0.5 µA
Off Mode (RAM Retention): 0.1
µA
Integrated Temperature
sensor
Yes Yes
Integrated Transceiver Yes Yes
Cost per unit 119,59 € 8,59 €
13
COMPARISION BETWEEN EASY-33 V6 AND MSP430 DEVELOPMENT KITS
16. COMPARISION BETWEEN MSP430G2553 AND PIC24FJ96GA010
FEATURES MSP430G2553 PIC24FJ96GA010
A/D converter 10 Bit- 8 Channels 10 Bit- 16 Channels
Architecture 16 bit RISC Modified Harvard Architecture
Operating Voltage Range 1.8 V to 3.6 V 2.0V to 3.6V
I/O pins 24 85
Power Management mode 0.1-µA RAM retention
0.8-µA real-time clock mode
250-µA / MIPS active
Sleep, Idle, Doze and Alternate Clock
modes
Operating current 650 µA/MIPS typical at
2.0V
Sleep current 150 nA typical at 2.0V
I2C , UART 1 2
SPI 2 2
Timers/Counters 2(16 Bit) 5 (16-Bit)
memory 16 KB Flash
512 B RAM
96KB flash
8 KB RAM
Cost Per unit 2,42 € 2,64 €
Operating Temperature -40°C to 85°C -40°C to 85°C
Other Integrated Temperature Sensor
Integrated Transceiver
Integrated Temperature Sensor
Zigbee Transceiver
16
CHOICE OF MICROCONTROLLER
17. Introduction
Electronic medical pill, Why electronic medical pill
Aim of project, Physical Implementation of electronic medical pill and Size of the pill
Main Sections
Temperature, Heart Rate, Breathing Rate of normal adult horse
Transmission Section
Choice of Microcontroller
Concerns
EASY24-33 V6 Development System (Based On PIC)
MSP430 Development system (Based on MSP430)
Comparison between Easy24-33 V6 and MSP430 Development kits
PIC24FJ96GA010 Microcontroller
MSP430G2553 Microcontroller
Comparison between MSP430G2553 and PIC24Fj96GA010
Antenna
Battery
Power Consumption
Coding software
Result
Future work
Reference
CONTENTS
18. ANTENNA
Medical pill will be sized between 4.6 cm maximum
Patch antenna also known as a rectangular microstrip antenna
Microstrip transmission line and ground plane are made of high
conductivity metal
A fully integrated sub-GHz Trans receiver - supports Sub-GHz wireless
protocols
SPI – CMOS/TTL
10MHz oscillator circuitry
Supports various power saving modes
Circular polarized signal
18http://en.wikipedia.org/wiki/Patch_antenna
19. ANTENNA
Patch Antenna 0.5cm
Operating voltage 2.2 to 3V
110ϻA in RX mode
160 ϻA in TX mode
0.3ϻA in sleep mode
Sub-GHz ranges - 433 MHz, 868 MHz and 915 MHz
1.5dB axial ratio and realized gain 2db for 10MHz
Impedance 50 ohm with noise figure – 0.02 to 0.5dB
19http://www.pasternack.com/t-calculator-microstrip-ant.aspx
20. Introduction
Electronic medical pill, Why electronic medical pill
Aim of project, Physical Implementation of electronic medical pill and Size of the pill
Main Sections
Temperature, Heart Rate, Breathing Rate of normal adult horse
Transmission Section
Choice of Microcontroller
Concerns
EASY24-33 V6 Development System (Based On PIC)
MSP430 Development system (Based on MSP430)
Comparison between Easy24-33 V6 and MSP430 Development kits
PIC24FJ96GA010 Microcontroller
MSP430G2553 Microcontroller
Comparison between MSP430G2553 and PIC24Fj96GA010
Antenna
Battery
Power Consumption
Coding software
Result
Future work
Reference
CONTENTS
21. BATTERY
Size between 0.5 to 1.5cm
Coin sized
Lithium ion 80,120,160,200 mAh
21http://www.walmart.com/ip/Energizer-ECR2032BP-Energizer-2032-3V-Lithium-Battery-1-Pack/14915196
http://datasheet.octopart.com/393-Renata-datasheet-10709553.pdf
23. Introduction
Electronic medical pill, Why electronic medical pill
Aim of project, Physical Implementation of electronic medical pill and Size of the pill
Main Sections
Temperature, Heart Rate, Breathing Rate of normal adult horse
Transmission Section
Choice of Microcontroller
Concerns
EASY24-33 V6 Development System (Based On PIC)
MSP430 Development system (Based on MSP430)
Comparison between Easy24-33 V6 and MSP430 Development kits
PIC24FJ96GA010 Microcontroller
MSP430G2553 Microcontroller
Comparison between MSP430G2553 and PIC24Fj96GA010
Antenna
Battery
Power Consumption
Coding software
Result
Future work
Reference
CONTENTS
24. POWER COMSUMPTION
Power Supply 1.8V to 3.6V
Total power and energy are defined as:
Power =I x V
Energy=I x Time x V
CPU at active mode 230ϻA/MHz
Total watt power along the system is Twatt
Twatt = A*V
= 230ϻA * 3.6V
= 0.000828W
24
25. POWER COMSUMPTION
Selection of frequency at 433 MHz
Twatt = 0.000828 * 433
= 0.3585 W
Total life cycle of the battery
Wh = Active power * total voltage along the system / 1000
For 120mAh
Wh = 120 * 3.6 / 1000
Wh = 0.432 hrs at 3.6 V
Total life cycle of 120mAh battery at 3.6V maximum is 1.205hrs
25
26. Introduction
Electronic medical pill, Why electronic medical pill
Aim of project, Physical Implementation of electronic medical pill and Size of the pill
Main Sections
Temperature, Heart Rate, Breathing Rate of normal adult horse
Transmission Section
Choice of Microcontroller
Concerns
EASY24-33 V6 Development System (Based On PIC)
MSP430 Development system (Based on MSP430)
Comparison between Easy24-33 V6 and MSP430 Development kits
PIC24FJ96GA010 Microcontroller
MSP430G2553 Microcontroller
Comparison between MSP430G2553 and PIC24Fj96GA010
Antenna
Battery
Power Consumption
Coding software
Result
Future work
Reference
CONTENTS
27. CODING SOFTWARES
IAR - Ingenjörsfirman Anders Rundgren
CSS - Code composer simulator
27
28. Introduction
Electronic medical pill, Why electronic medical pill
Aim of project, Physical Implementation of electronic medical pill and Size of the pill
Main Sections
Temperature, Heart Rate, Breathing Rate of normal adult horse
Transmission Section
Choice of Microcontroller
Concerns
EASY24-33 V6 Development System (Based On PIC)
MSP430 Development system (Based on MSP430)
Comparison between Easy24-33 V6 and MSP430 Development kits
PIC24FJ96GA010 Microcontroller
MSP430G2553 Microcontroller
Comparison between MSP430G2553 and PIC24Fj96GA010
Antenna
Battery
Power Consumption
Coding software
Result
Future work
Reference
CONTENTS
29. RESULT
The MSP430 microcontroller is chosen.
Programming is done on launch pad for the activation of internal
temperature sensor (Proposed development Board:
EM430F6137RF900)
Batteries are also chosen and the power calculation is done for
the complete system.
PCB schematic design with Eagle software.
29
30. Introduction
Electronic medical pill, Why electronic medical pill
Aim of project, Physical Implementation of electronic medical pill and Size of the pill
Main Sections
Temperature, Heart Rate, Breathing Rate of normal adult horse
Transmission Section
Choice of Microcontroller
Concerns
EASY24-33 V6 Development System (Based On PIC)
MSP430 Development system (Based on MSP430)
Comparison between Easy24-33 V6 and MSP430 Development kits
PIC24FJ96GA010 Microcontroller
MSP430G2553 Microcontroller
Comparison between MSP430G2553 and PIC24Fj96GA010
Antenna
Battery
Power Consumption
Coding software
Result
Future work
Reference
CONTENTS
31. FUTURE WORK
Design and implement the PCB
Include Intracardiac accelerometer to monitor the heartbeat
31
32. Introduction
Electronic medical pill, Why electronic medical pill
Aim of project, Physical Implementation of electronic medical pill and Size of the pill
Main Sections
Temperature, Heart Rate, Breathing Rate of normal adult horse
Transmission Section
Choice of Microcontroller
Concerns
EASY24-33 V6 Development System (Based On PIC)
MSP430 Development system (Based on MSP430)
Comparison between Easy24-33 V6 and MSP430 Development kits
PIC24FJ96GA010 Microcontroller
MSP430G2553 Microcontroller
Comparison between MSP430G2553 and PIC24Fj96GA010
Antenna
Battery
Power Consumption
Coding software
Result
Future work
Reference
CONTENTS
36. CC430 WIRELESS DEVELOPMENT KIT FAMILY
36
EZ430-Chronos
Wireless development system Based on the CC430F6137 <1 GHz RF SoC (System on
chip)
Reference platform for applications: wireless watch systems, personal displays for
personal area networks, wireless sensor nodes for remote data collection
Includes:
• Integrated pressure sensor
• 3-axis accelerometer for motion sensitive control
CC1101- Low-Power Sub-1GHz RF Transceiver
MSP430F5509- Mixed signal microcontroller
eZ430 USB programming interface
37. CC430 WIRELESS DEVELOPMENT KIT FAMILY
EM430F6137RF900
(Proposed development Board)
• Complete wireless development tool for
the CC430
• kit includes: 2 sub-1GHz wireless target
boards (including antennas)
• Two 868/915 MHz Antennas
• MSP430F6137IRGC RF System-on-chip
(868/915 MHz operation only)
• Price: $149.00(USD)
37