SlideShare a Scribd company logo
1 of 30
BT-BOX
Ben Valdovinos
Overview
• The BT-Box is a general purpose Bluetooth based data
  acquisition system that connects computers or smart
  phone to sensors
• Applications in the medical field
  • Fall Detection
• Applications in the environmental field
  • Temperature and humidity sensing
• BT-Box’s technology is general purpose and its
 applications are very diverse
Requirements
• Small size: 3.5” x 2.5” x 0.75”
• Bluetooth communication between BT-Box and
    computer/phone
•   Data storage on micro SD card
•   Accepts different sensors and is reprogrammable
•   System runs on re-chargeable battery
•   Implement Fall-Detection Algorithm
•   Design PCB to place all components in small area
•   Optional: Development of smart phone interface
BT-Box                            Small enough to be worn at the
                                   waistline when used for Fall
                                             Detecting

A whole system is being created
System Level Block Diagram
Existing
• ioBridge
   • Internet-enable anything!
   • Attach sensors/actuators to a web
     gateway or module and control via
     cloud services
   • 100$
• Life Alert
   • Summon help at the push of a button
   • Limited to in/around home
Microcontroller

                  Operating Clock  Flash       IO
    Brand                                RTCC         Price
                   Voltage  Speed Memory      Pins
 Microchip                  80
                    3.3          128 KB   Yes   85    5.17
PIC32MX3XX                 MHz
Flexis Coldfire             66
                    3.3          128 KB   No    134   3.21
   MCF21X                  MHz
   Atmel
                            66
AT32UC3A01          3.3          128 KB   Yes   144   4.40
                           MHz
    28
  Analog                    10
                    3.3           32 KB   No    14    5.15
 ADUC7060                  MHz
Accelerometer
• ADXL345 from “Analog Devices”
• 3mm x 5mm x 1mm
• 23uA in measurement mode and 0.1uA in standby mode
    at 2.5 V
•   3-axis measurement with 10-bit resolution
•   Up to 16g (1° accuracy)
•   Embedded memory with FIFO technology
•   Activity/inactivity monitoring
•   Single and double-tap detection as well as free-fall
    detection
Memory Card
                                        Max Transfer   Supply
  Type      Size (mm)      Weight (g)
                                         Rate (SPI)    Voltage
   SD      32 x 24 x 2.1       2         25 Mbit/sec     3.3
 mini SD    21.5 x 1.4        0.8        50 Mbit/sec     3.3
micro SD   11 x 15 x 1        0.25       50 Mbit/sec     3.3
Rechargeable Batteries
     Type        Output   Capacity    Size (mm)       Price
                                     50.8 x 33.5 x
   Lithium Ion   3.7 V    1000 mAh                    11.00
                                          5.9
    Ni-Cd AA     1.2 V    1200 mAh   50 x 10.5 dia.   1.55
   Ni-MH AA      1.2 V    2500 mAh   50 x 10.5 dia.   3.99




http://www.batteryspace.com
Bluetooth Module
• For future works, connection to smart
  phones will be easier with Bluetooth
• Adds usability, convenience, and ease-of-use
• Range is not an issue
• Buying a module is faster than designing my own PCB
  • flash, crystal, filters, antenna, and amplifiers included in RN-42
Bluetooth
             WT12         WT41       WT21        RN-41       RN-42

TX POWER     3 dBm       19 dBm      7 dBm       15 dBm      4 dBm
 CLASS         2           1          1.5          1           2
 RANGE        30m       500-1000m 100-200m      100m Max      20m
OP. VOLT      3.3          3.3       1.8-3.6      3.3        2.7-3.0
  Sleep
  Mode
             1 mA        3.0 mA     1.5 mA       2.5 mA     0.026 mA

 Power       2 mW        79 mW       5 mW       31.6 mW     2.5 mW
SIZE (mm)   26x14x2.4   35x14x3.5   17x11x2.6   19x13.4x2   13.4x26x2
Software                              Hardware
• Microchp’s MPLAB IDE            • Bluetooth Module
  • C++                           • Micro SD card
  • Microcontroller programming
                                  • USB
• Python version 2.6
                                  • Battery
  • Computer
                                  • MCU
  • Bluez
                                  • Accelerometer
• Eagle
  • PCB Design
Experimental Results
• Accelerometer interfacing with microcontroller
• Save to SD Card
• Bluetooth file transfer established between smart phone
 and computer using Linux
Risks & Challenges
• Bluetooth implementation
• Minimizing size and power consumption
• Perfecting the Fall Detection Algorithm
• Designing the PCB with Eagle
• Working with a 32-bit MCU
EE Courses
• Microcontrollers – ES 310
• Electronics – ES 330/230
• Wireless Communications – ES 485-03
• Intro to Antenna Theory – ES 485-01
• Analog and Digital Communications – ES 442
• Electromagnetic Theory – ES 430
Preliminary Costs
• Uno32 Chipkit
• ADXL345 Breakout Board
Bill of Materials
         Item             Cost     Acquired
        MCU               $5.17      NO
ADXL345 Accelerometer    $14.95      NO
RN-42 Evaluation Board   $40.00      NO
  SanDisk micro SD        $4.00      NO
   micro SD Socket        $3.95      NO
  Lithium Ion Battery    $11.95      NO
   USB Connector          $1.20      NO
 USB LiPoly Charger      $14.95      NO
         PCB             $169.00     NO
      RN-240M            $59.00      NO
       TOTAL             $324.17
Schedule
                            MCU Programming
                            Environment Ready




Fall Detection
  Complete                                      Bluetooth
 Save Data on                                    Works
   SD Card


                 Assemble Box
References
• Microchip website: http://www.microchip.com
• Dr. Farahmand’s website:
  http://www.sonoma.edu/users/f/farahman/
• SD Group Technical Committee, SD Card Specifications:
  Physical Layer, Version 3.01
Advisors
• Project Advisor: Professor Jack Ou
• Industry Mentor:
Questions?
• www.benvaldo.com/senior-project-blog
Basic Data Packet
      Access Code                          Header                          Payload
 Preamb   Sync      Trailer AM_ADDR TYPE FLOW ARQN SEQN HEC                 DATA
    le    Word
    4      64        4        3        4     1         1   1           8   0-XXX




                          Accelerometer Data Payload
          Header          Board ID #         Time              Event
             8                8               64                8
Accelerometer
Accelerometer fall detection
• 8 interrupts
   DATA_READY, SINGLE_TAP,
   DOUBLE_TAP, ACTIVITY,
   INACTIVITY, FREE_FALL,
   WATERMARK, and OVERRUN

• Algorithm
  • Determine the start of the fall
  • Detect impact, which has
    largest impact
  • Aftermath: body doesn’t rise
    immediately
  • Comparing orientation
    before and after.
Algorithm
RTCC
• 24-Hour Format (Military Time)
• Visibility of One-Half-Second Period
• Provides Calendar: Weekday, Date, Month and Year
• Alarm Intervals are configurable for Half of a Second, One
  Second, 10 Seconds, One Minute, 10 Minutes, One Hour,
  One Day, One Week, One Month and One Year
• Alarm Repeat with Decrementing
SD card specifics
• Initial communication through synchronous one-bit
    interface
•   Host provides clock signal and can command card to
    use different operating voltage
•   Host prepares card for read/write of data block
•   SDHC and SDXC cards can operate at 1.8-volt
•   Formatting
    • For SDSC cards: FAT16
    • For SDHC cards: FAT32
• Power use 66-330mW (20-100mA) @ 3.3-V
• Max transfer of 50-Mbit/sec
Function boards
• Power, Ground, and various I/O ports
• Will be encased inside box
• Automatically identified by microcontroller
Microcontroller
• PIC32MX320F128H
• 128K Flash Memory, 128 KB Program Memory
   • Processing power needed for Fall Detection
• 2 internal oscillators
• 2 SPI, 2 I2C
• 16 ADC Channels, 85 I/O Pins
• Other Microchip 32-bit MCU’s are viable option
• Much room for further project development

More Related Content

What's hot

STMicroelectronics offers smart solutions for wearable devices
STMicroelectronics offers smart solutions for wearable devicesSTMicroelectronics offers smart solutions for wearable devices
STMicroelectronics offers smart solutions for wearable devicesST_World
 
AJ-PX5000
AJ-PX5000AJ-PX5000
AJ-PX5000AVNed
 
Tablett Yuma
Tablett YumaTablett Yuma
Tablett Yumageocenter
 
Android Gadgets, Bluetooth Low Energy, and the WunderBar
Android Gadgets, Bluetooth Low Energy, and the WunderBarAndroid Gadgets, Bluetooth Low Energy, and the WunderBar
Android Gadgets, Bluetooth Low Energy, and the WunderBarrelayr
 
Microcontrollers and intro to real time programming 1
Microcontrollers and intro to real time programming 1Microcontrollers and intro to real time programming 1
Microcontrollers and intro to real time programming 1SSGMCE SHEGAON
 
Samsung Techwin SCZ-2430 Data Sheet
Samsung Techwin SCZ-2430 Data SheetSamsung Techwin SCZ-2430 Data Sheet
Samsung Techwin SCZ-2430 Data SheetJMAC Supply
 
Snapdragon platforms overview feat. MSM7x30 chipset (v7)
Snapdragon platforms overview feat. MSM7x30 chipset (v7)Snapdragon platforms overview feat. MSM7x30 chipset (v7)
Snapdragon platforms overview feat. MSM7x30 chipset (v7)Maxim Birger (马克斯)
 
KEDACOM - Recognitive IP video solutions
KEDACOM - Recognitive IP video solutionsKEDACOM - Recognitive IP video solutions
KEDACOM - Recognitive IP video solutionsKEDACOM
 
Interfacing BLE with android based device
Interfacing BLE with android based device  Interfacing BLE with android based device
Interfacing BLE with android based device IEI GSC
 
Introducing LG G Watch
Introducing LG G WatchIntroducing LG G Watch
Introducing LG G WatchJJ Wu
 
20081114 Friday Food iLabt Ingrid Moerman
20081114 Friday Food iLabt Ingrid Moerman20081114 Friday Food iLabt Ingrid Moerman
20081114 Friday Food iLabt Ingrid Moermanimec.archive
 
Hazardous Area Cameras (ATEX) - Create Visual & Audio Records in Hazardous Areas
Hazardous Area Cameras (ATEX) - Create Visual & Audio Records in Hazardous AreasHazardous Area Cameras (ATEX) - Create Visual & Audio Records in Hazardous Areas
Hazardous Area Cameras (ATEX) - Create Visual & Audio Records in Hazardous AreasThorne & Derrick International
 

What's hot (19)

Logipix
LogipixLogipix
Logipix
 
May doc ma_vach_opticon_phl7254
May doc ma_vach_opticon_phl7254May doc ma_vach_opticon_phl7254
May doc ma_vach_opticon_phl7254
 
Falcon x3
Falcon x3Falcon x3
Falcon x3
 
STMicroelectronics offers smart solutions for wearable devices
STMicroelectronics offers smart solutions for wearable devicesSTMicroelectronics offers smart solutions for wearable devices
STMicroelectronics offers smart solutions for wearable devices
 
AJ-PX5000
AJ-PX5000AJ-PX5000
AJ-PX5000
 
Tablett Yuma
Tablett YumaTablett Yuma
Tablett Yuma
 
Android Gadgets, Bluetooth Low Energy, and the WunderBar
Android Gadgets, Bluetooth Low Energy, and the WunderBarAndroid Gadgets, Bluetooth Low Energy, and the WunderBar
Android Gadgets, Bluetooth Low Energy, and the WunderBar
 
Microcontrollers and intro to real time programming 1
Microcontrollers and intro to real time programming 1Microcontrollers and intro to real time programming 1
Microcontrollers and intro to real time programming 1
 
Samsung Techwin SCZ-2430 Data Sheet
Samsung Techwin SCZ-2430 Data SheetSamsung Techwin SCZ-2430 Data Sheet
Samsung Techwin SCZ-2430 Data Sheet
 
Snapdragon platforms overview feat. MSM7x30 chipset (v7)
Snapdragon platforms overview feat. MSM7x30 chipset (v7)Snapdragon platforms overview feat. MSM7x30 chipset (v7)
Snapdragon platforms overview feat. MSM7x30 chipset (v7)
 
Banner sensors fiber
Banner sensors fiberBanner sensors fiber
Banner sensors fiber
 
Dukane imagepro 8934
Dukane imagepro 8934 Dukane imagepro 8934
Dukane imagepro 8934
 
KEDACOM - Recognitive IP video solutions
KEDACOM - Recognitive IP video solutionsKEDACOM - Recognitive IP video solutions
KEDACOM - Recognitive IP video solutions
 
Interfacing BLE with android based device
Interfacing BLE with android based device  Interfacing BLE with android based device
Interfacing BLE with android based device
 
File 1441187175
File 1441187175File 1441187175
File 1441187175
 
Introducing LG G Watch
Introducing LG G WatchIntroducing LG G Watch
Introducing LG G Watch
 
20081114 Friday Food iLabt Ingrid Moerman
20081114 Friday Food iLabt Ingrid Moerman20081114 Friday Food iLabt Ingrid Moerman
20081114 Friday Food iLabt Ingrid Moerman
 
Lutron PM-9110SD Manometer
Lutron PM-9110SD Manometer Lutron PM-9110SD Manometer
Lutron PM-9110SD Manometer
 
Hazardous Area Cameras (ATEX) - Create Visual & Audio Records in Hazardous Areas
Hazardous Area Cameras (ATEX) - Create Visual & Audio Records in Hazardous AreasHazardous Area Cameras (ATEX) - Create Visual & Audio Records in Hazardous Areas
Hazardous Area Cameras (ATEX) - Create Visual & Audio Records in Hazardous Areas
 

Viewers also liked

Pitch for 'The Syndrome'
Pitch for 'The Syndrome'Pitch for 'The Syndrome'
Pitch for 'The Syndrome'amberlianne
 
Pp sales presentation
Pp sales presentationPp sales presentation
Pp sales presentationtlo9f
 
What kind of media institution might distribute your film.
What kind of media institution might distribute your film.What kind of media institution might distribute your film.
What kind of media institution might distribute your film.amberlianne
 
My favourite 3 film openings
My favourite 3 film openingsMy favourite 3 film openings
My favourite 3 film openingsamberlianne
 
5 g tech
5 g tech5 g tech
5 g techmanas87
 
Media powerpoint
Media powerpointMedia powerpoint
Media powerpointamberlianne
 
Atypical pulmonary metastasis: the radiologic findings
Atypical pulmonary metastasis: the radiologic findingsAtypical pulmonary metastasis: the radiologic findings
Atypical pulmonary metastasis: the radiologic findingsThorsang Chayovan
 
Valdovinos presentation sp13_no_video
Valdovinos presentation sp13_no_videoValdovinos presentation sp13_no_video
Valdovinos presentation sp13_no_videovaldo3333
 
As- Evaluation question 1
As- Evaluation question 1As- Evaluation question 1
As- Evaluation question 1amberlianne
 
Imaging of the traumatic brain injury by Rathachai Kaewlai, MD
Imaging of the traumatic brain injury by Rathachai Kaewlai, MDImaging of the traumatic brain injury by Rathachai Kaewlai, MD
Imaging of the traumatic brain injury by Rathachai Kaewlai, MDThorsang Chayovan
 
Library management system
Library management systemLibrary management system
Library management systemABhay Panchal
 
Unix operating system
Unix operating systemUnix operating system
Unix operating systemABhay Panchal
 
Sales Presentation
Sales PresentationSales Presentation
Sales Presentationtlo9f
 

Viewers also liked (17)

Pitch for 'The Syndrome'
Pitch for 'The Syndrome'Pitch for 'The Syndrome'
Pitch for 'The Syndrome'
 
Pp sales presentation
Pp sales presentationPp sales presentation
Pp sales presentation
 
What kind of media institution might distribute your film.
What kind of media institution might distribute your film.What kind of media institution might distribute your film.
What kind of media institution might distribute your film.
 
Friendship
FriendshipFriendship
Friendship
 
My favourite 3 film openings
My favourite 3 film openingsMy favourite 3 film openings
My favourite 3 film openings
 
5 g tech
5 g tech5 g tech
5 g tech
 
Media powerpoint
Media powerpointMedia powerpoint
Media powerpoint
 
Atypical pulmonary metastasis: the radiologic findings
Atypical pulmonary metastasis: the radiologic findingsAtypical pulmonary metastasis: the radiologic findings
Atypical pulmonary metastasis: the radiologic findings
 
Google glass.
Google glass.Google glass.
Google glass.
 
Valdovinos presentation sp13_no_video
Valdovinos presentation sp13_no_videoValdovinos presentation sp13_no_video
Valdovinos presentation sp13_no_video
 
As- Evaluation question 1
As- Evaluation question 1As- Evaluation question 1
As- Evaluation question 1
 
Imaging of the traumatic brain injury by Rathachai Kaewlai, MD
Imaging of the traumatic brain injury by Rathachai Kaewlai, MDImaging of the traumatic brain injury by Rathachai Kaewlai, MD
Imaging of the traumatic brain injury by Rathachai Kaewlai, MD
 
Camera angles
Camera anglesCamera angles
Camera angles
 
Library management system
Library management systemLibrary management system
Library management system
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
 
Sales Presentation
Sales PresentationSales Presentation
Sales Presentation
 
Welcome to the garoupa presentation file
Welcome to the garoupa presentation fileWelcome to the garoupa presentation file
Welcome to the garoupa presentation file
 

Similar to Presentation_BTBox_2012

Internet of Things to Internet of Everythings
Internet of Things to Internet of Everythings Internet of Things to Internet of Everythings
Internet of Things to Internet of Everythings Laxmi Kant Tiwari
 
GDG Meetup Jakarta - Low Power IoT
GDG Meetup Jakarta - Low Power IoTGDG Meetup Jakarta - Low Power IoT
GDG Meetup Jakarta - Low Power IoTAlwin Arrasyid
 
Track 2 session 3 - st dev con 2016 - simplifying cloud connectivity
Track 2   session 3 - st dev con 2016 - simplifying cloud connectivityTrack 2   session 3 - st dev con 2016 - simplifying cloud connectivity
Track 2 session 3 - st dev con 2016 - simplifying cloud connectivityST_World
 
Living on the iot edge
Living on the iot edgeLiving on the iot edge
Living on the iot edgeSteve Mylroie
 
Practical introduction to IoT
Practical introduction to IoTPractical introduction to IoT
Practical introduction to IoTpekkanikander
 
book-ch04-5(BLE).ppt
book-ch04-5(BLE).pptbook-ch04-5(BLE).ppt
book-ch04-5(BLE).pptmanu60563
 
BlueHat v17 || Extracting Secrets from Silicon – A New Generation of Bug Hunt...
BlueHat v17 || Extracting Secrets from Silicon – A New Generation of Bug Hunt...BlueHat v17 || Extracting Secrets from Silicon – A New Generation of Bug Hunt...
BlueHat v17 || Extracting Secrets from Silicon – A New Generation of Bug Hunt...BlueHat Security Conference
 
RTOS based Confidential Area Security System
RTOS based Confidential Area Security SystemRTOS based Confidential Area Security System
RTOS based Confidential Area Security Systemajinky gadewar
 
Virtual Twins: Modeling Trends and Challenges Ahead
Virtual Twins: Modeling Trends and Challenges AheadVirtual Twins: Modeling Trends and Challenges Ahead
Virtual Twins: Modeling Trends and Challenges AheadBrain IoT Project
 
DIY Home Weather Station (Devoxx Poland 2023)
DIY Home Weather Station (Devoxx Poland 2023)DIY Home Weather Station (Devoxx Poland 2023)
DIY Home Weather Station (Devoxx Poland 2023)Ryan Cuprak
 
Webinar: Redes Mesh para Monitoramento e Controle de Iluminação
Webinar: Redes Mesh para Monitoramento e Controle de IluminaçãoWebinar: Redes Mesh para Monitoramento e Controle de Iluminação
Webinar: Redes Mesh para Monitoramento e Controle de IluminaçãoEmbarcados
 
Track 1 session 6 - st dev con 2016 - smart badge
Track 1   session 6 - st dev con 2016 - smart badgeTrack 1   session 6 - st dev con 2016 - smart badge
Track 1 session 6 - st dev con 2016 - smart badgeST_World
 
Finger print based EVM by saurabh
Finger print based EVM by saurabhFinger print based EVM by saurabh
Finger print based EVM by saurabhSaurabh Kumar
 
An Overview Study on AVR32UC3 MCU: AT32UC3A3256
An Overview Study on AVR32UC3 MCU: AT32UC3A3256 An Overview Study on AVR32UC3 MCU: AT32UC3A3256
An Overview Study on AVR32UC3 MCU: AT32UC3A3256 Premier Farnell
 
Semiconductor overview
Semiconductor overviewSemiconductor overview
Semiconductor overviewNabil Chouba
 

Similar to Presentation_BTBox_2012 (20)

Internet of Things to Internet of Everythings
Internet of Things to Internet of Everythings Internet of Things to Internet of Everythings
Internet of Things to Internet of Everythings
 
BLE Talk
BLE TalkBLE Talk
BLE Talk
 
GDG Meetup Jakarta - Low Power IoT
GDG Meetup Jakarta - Low Power IoTGDG Meetup Jakarta - Low Power IoT
GDG Meetup Jakarta - Low Power IoT
 
IoT & M2M Modules - CASCADEMIC Solutions
IoT & M2M Modules - CASCADEMIC SolutionsIoT & M2M Modules - CASCADEMIC Solutions
IoT & M2M Modules - CASCADEMIC Solutions
 
Track 2 session 3 - st dev con 2016 - simplifying cloud connectivity
Track 2   session 3 - st dev con 2016 - simplifying cloud connectivityTrack 2   session 3 - st dev con 2016 - simplifying cloud connectivity
Track 2 session 3 - st dev con 2016 - simplifying cloud connectivity
 
Living on the iot edge
Living on the iot edgeLiving on the iot edge
Living on the iot edge
 
Practical introduction to IoT
Practical introduction to IoTPractical introduction to IoT
Practical introduction to IoT
 
book-ch04-5(BLE).ppt
book-ch04-5(BLE).pptbook-ch04-5(BLE).ppt
book-ch04-5(BLE).ppt
 
BlueHat v17 || Extracting Secrets from Silicon – A New Generation of Bug Hunt...
BlueHat v17 || Extracting Secrets from Silicon – A New Generation of Bug Hunt...BlueHat v17 || Extracting Secrets from Silicon – A New Generation of Bug Hunt...
BlueHat v17 || Extracting Secrets from Silicon – A New Generation of Bug Hunt...
 
RTOS based Confidential Area Security System
RTOS based Confidential Area Security SystemRTOS based Confidential Area Security System
RTOS based Confidential Area Security System
 
Virtual Twins: Modeling Trends and Challenges Ahead
Virtual Twins: Modeling Trends and Challenges AheadVirtual Twins: Modeling Trends and Challenges Ahead
Virtual Twins: Modeling Trends and Challenges Ahead
 
DIY Home Weather Station (Devoxx Poland 2023)
DIY Home Weather Station (Devoxx Poland 2023)DIY Home Weather Station (Devoxx Poland 2023)
DIY Home Weather Station (Devoxx Poland 2023)
 
Final
FinalFinal
Final
 
Tos tutorial
Tos tutorialTos tutorial
Tos tutorial
 
Webinar: Redes Mesh para Monitoramento e Controle de Iluminação
Webinar: Redes Mesh para Monitoramento e Controle de IluminaçãoWebinar: Redes Mesh para Monitoramento e Controle de Iluminação
Webinar: Redes Mesh para Monitoramento e Controle de Iluminação
 
Track 1 session 6 - st dev con 2016 - smart badge
Track 1   session 6 - st dev con 2016 - smart badgeTrack 1   session 6 - st dev con 2016 - smart badge
Track 1 session 6 - st dev con 2016 - smart badge
 
Finger print based EVM by saurabh
Finger print based EVM by saurabhFinger print based EVM by saurabh
Finger print based EVM by saurabh
 
An Overview Study on AVR32UC3 MCU: AT32UC3A3256
An Overview Study on AVR32UC3 MCU: AT32UC3A3256 An Overview Study on AVR32UC3 MCU: AT32UC3A3256
An Overview Study on AVR32UC3 MCU: AT32UC3A3256
 
uCluster
uClusteruCluster
uCluster
 
Semiconductor overview
Semiconductor overviewSemiconductor overview
Semiconductor overview
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 

Recently uploaded (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 

Presentation_BTBox_2012

  • 2. Overview • The BT-Box is a general purpose Bluetooth based data acquisition system that connects computers or smart phone to sensors • Applications in the medical field • Fall Detection • Applications in the environmental field • Temperature and humidity sensing • BT-Box’s technology is general purpose and its applications are very diverse
  • 3. Requirements • Small size: 3.5” x 2.5” x 0.75” • Bluetooth communication between BT-Box and computer/phone • Data storage on micro SD card • Accepts different sensors and is reprogrammable • System runs on re-chargeable battery • Implement Fall-Detection Algorithm • Design PCB to place all components in small area • Optional: Development of smart phone interface
  • 4. BT-Box Small enough to be worn at the waistline when used for Fall Detecting A whole system is being created
  • 6. Existing • ioBridge • Internet-enable anything! • Attach sensors/actuators to a web gateway or module and control via cloud services • 100$ • Life Alert • Summon help at the push of a button • Limited to in/around home
  • 7. Microcontroller Operating Clock Flash IO Brand RTCC Price Voltage Speed Memory Pins Microchip 80 3.3 128 KB Yes 85 5.17 PIC32MX3XX MHz Flexis Coldfire 66 3.3 128 KB No 134 3.21 MCF21X MHz Atmel 66 AT32UC3A01 3.3 128 KB Yes 144 4.40 MHz 28 Analog 10 3.3 32 KB No 14 5.15 ADUC7060 MHz
  • 8. Accelerometer • ADXL345 from “Analog Devices” • 3mm x 5mm x 1mm • 23uA in measurement mode and 0.1uA in standby mode at 2.5 V • 3-axis measurement with 10-bit resolution • Up to 16g (1° accuracy) • Embedded memory with FIFO technology • Activity/inactivity monitoring • Single and double-tap detection as well as free-fall detection
  • 9. Memory Card Max Transfer Supply Type Size (mm) Weight (g) Rate (SPI) Voltage SD 32 x 24 x 2.1 2 25 Mbit/sec 3.3 mini SD 21.5 x 1.4 0.8 50 Mbit/sec 3.3 micro SD 11 x 15 x 1 0.25 50 Mbit/sec 3.3
  • 10. Rechargeable Batteries Type Output Capacity Size (mm) Price 50.8 x 33.5 x Lithium Ion 3.7 V 1000 mAh 11.00 5.9 Ni-Cd AA 1.2 V 1200 mAh 50 x 10.5 dia. 1.55 Ni-MH AA 1.2 V 2500 mAh 50 x 10.5 dia. 3.99 http://www.batteryspace.com
  • 11. Bluetooth Module • For future works, connection to smart phones will be easier with Bluetooth • Adds usability, convenience, and ease-of-use • Range is not an issue • Buying a module is faster than designing my own PCB • flash, crystal, filters, antenna, and amplifiers included in RN-42
  • 12. Bluetooth WT12 WT41 WT21 RN-41 RN-42 TX POWER 3 dBm 19 dBm 7 dBm 15 dBm 4 dBm CLASS 2 1 1.5 1 2 RANGE 30m 500-1000m 100-200m 100m Max 20m OP. VOLT 3.3 3.3 1.8-3.6 3.3 2.7-3.0 Sleep Mode 1 mA 3.0 mA 1.5 mA 2.5 mA 0.026 mA Power 2 mW 79 mW 5 mW 31.6 mW 2.5 mW SIZE (mm) 26x14x2.4 35x14x3.5 17x11x2.6 19x13.4x2 13.4x26x2
  • 13. Software Hardware • Microchp’s MPLAB IDE • Bluetooth Module • C++ • Micro SD card • Microcontroller programming • USB • Python version 2.6 • Battery • Computer • MCU • Bluez • Accelerometer • Eagle • PCB Design
  • 14. Experimental Results • Accelerometer interfacing with microcontroller • Save to SD Card • Bluetooth file transfer established between smart phone and computer using Linux
  • 15. Risks & Challenges • Bluetooth implementation • Minimizing size and power consumption • Perfecting the Fall Detection Algorithm • Designing the PCB with Eagle • Working with a 32-bit MCU
  • 16. EE Courses • Microcontrollers – ES 310 • Electronics – ES 330/230 • Wireless Communications – ES 485-03 • Intro to Antenna Theory – ES 485-01 • Analog and Digital Communications – ES 442 • Electromagnetic Theory – ES 430
  • 17. Preliminary Costs • Uno32 Chipkit • ADXL345 Breakout Board
  • 18. Bill of Materials Item Cost Acquired MCU $5.17 NO ADXL345 Accelerometer $14.95 NO RN-42 Evaluation Board $40.00 NO SanDisk micro SD $4.00 NO micro SD Socket $3.95 NO Lithium Ion Battery $11.95 NO USB Connector $1.20 NO USB LiPoly Charger $14.95 NO PCB $169.00 NO RN-240M $59.00 NO TOTAL $324.17
  • 19. Schedule MCU Programming Environment Ready Fall Detection Complete Bluetooth Save Data on Works SD Card Assemble Box
  • 20. References • Microchip website: http://www.microchip.com • Dr. Farahmand’s website: http://www.sonoma.edu/users/f/farahman/ • SD Group Technical Committee, SD Card Specifications: Physical Layer, Version 3.01
  • 21. Advisors • Project Advisor: Professor Jack Ou • Industry Mentor:
  • 23. Basic Data Packet Access Code Header Payload Preamb Sync Trailer AM_ADDR TYPE FLOW ARQN SEQN HEC DATA le Word 4 64 4 3 4 1 1 1 8 0-XXX Accelerometer Data Payload Header Board ID # Time Event 8 8 64 8
  • 25. Accelerometer fall detection • 8 interrupts DATA_READY, SINGLE_TAP, DOUBLE_TAP, ACTIVITY, INACTIVITY, FREE_FALL, WATERMARK, and OVERRUN • Algorithm • Determine the start of the fall • Detect impact, which has largest impact • Aftermath: body doesn’t rise immediately • Comparing orientation before and after.
  • 27. RTCC • 24-Hour Format (Military Time) • Visibility of One-Half-Second Period • Provides Calendar: Weekday, Date, Month and Year • Alarm Intervals are configurable for Half of a Second, One Second, 10 Seconds, One Minute, 10 Minutes, One Hour, One Day, One Week, One Month and One Year • Alarm Repeat with Decrementing
  • 28. SD card specifics • Initial communication through synchronous one-bit interface • Host provides clock signal and can command card to use different operating voltage • Host prepares card for read/write of data block • SDHC and SDXC cards can operate at 1.8-volt • Formatting • For SDSC cards: FAT16 • For SDHC cards: FAT32 • Power use 66-330mW (20-100mA) @ 3.3-V • Max transfer of 50-Mbit/sec
  • 29. Function boards • Power, Ground, and various I/O ports • Will be encased inside box • Automatically identified by microcontroller
  • 30. Microcontroller • PIC32MX320F128H • 128K Flash Memory, 128 KB Program Memory • Processing power needed for Fall Detection • 2 internal oscillators • 2 SPI, 2 I2C • 16 ADC Channels, 85 I/O Pins • Other Microchip 32-bit MCU’s are viable option • Much room for further project development

Editor's Notes

  1. Add an “applications” slide
  2. Python running on a computer is replacing the cell phone, which is the end goal of another project. There isn’t enough time for the development of an app or application writing. So I will have python script receive data and save to a file.
  3. Emphasize the size. Where do you wear it. Future works: now I just detect fall. Later I send messages with phone. Make it clear I am making a whole thing here. Emphasize my project last year in 310. picture of where yoy could wear this. How many people fall. Disease. Simple and high level. Still technical. Interesting. Convincing. Whos my audience?
  4. Iob is not mobile. Look at climate pod….expensive. Mines small, low cost, mobile,
  5. Microchip: information about mcu is easily available. Somewhat difficult to find info with other websites. Company is known and robust,plus I have experience with them.Fall detection has been done with 60KB
  6. Great accelerometer for fall detection
  7. RN-41 and RN-42 both have options for antennaAdd in power usageThese are claimed by the manufacturer
  8. Add hardwareTools for smart phone
  9. Single_tap = acceleration in one-axis is above set threshold, for shorter time period than in DUR registerDouble_tap = acceleration in two-axes is above set threshold, for shorter time period than in DUR period