element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Freedom development platform
  • Products
  • Dev Tools
  • Freedom development platform
  • More
  • Cancel
Freedom development platform
Blog [FRDM-KL46Z + Kinetis Design Studio (KDS)+Processor Expert(PE)] Tutorial: Interfacing Bluetooth module HC05 and Xtrinsic sensor module to KL46 and getting the sensor data on Android APP using mobile phone
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Freedom development platform to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: bheemarao
  • Date Created: 12 Jan 2015 9:09 AM Date Created
  • Views 880 views
  • Likes 1 like
  • Comments 2 comments
  • kl46
  • hc-05
Related
Recommended

[FRDM-KL46Z + Kinetis Design Studio (KDS)+Processor Expert(PE)] Tutorial: Interfacing Bluetooth module HC05 and Xtrinsic sensor module to KL46 and getting the sensor data on Android APP using mobile phone

bheemarao
bheemarao
12 Jan 2015

Here is a project created to interface Xtrinsic sensor and Bluetooth module HC-05 to KL46Z freedom board and display the sensor data on android app “Blue Term”

 

The Block diagram of this setup is as shown below

image

Android phone communicated to the MCU through Bluetooth module and initiates the xtrinsic sensor and according to the user command sent via BT terminal (i.e accelerometer, magnetometer, pressure and temperature) the sensor data is received via I2C communication at controller side and same will be sent to android app

 

First download the app “Blue Term” from google play store and install it.

 

Flash the "KL46-blue+Xtrinsic.srec" file to the KL46 board

 

Connect the Bluetooth module HC-05 to the board header as shown below:

image

 

image

imageConnect the xtrinsic sensor board to the KL46 board as shown below:


image

 

image

 

Power on the board and perform the below steps on your android phone:

 

1)     Open the Blue term app from the mobile as shown below:

 

image


 

2)      Connect the blue term with the HC-05 BT device as shown below:


image

3)      Type a command to execute and get the sensor data

imageimage

image
 
The commands to be given are shown below:

1)      “BT1 accel”

image

 

2)      “BT1 mag”

image

image

3)      “BT1 press”

image

4)      “BT1 help”

image

 

 

Follow the video for more details on execution on the android app:


You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

I have enclosed the project folder for your reference.

 

Happy android app'ing image image

Attachments:
  • Sign in to reply
Parents
  • AbhishekRao
    AbhishekRao over 11 years ago

    Hi Bheema,

     

    Very interesting blog on connecting and controlling through android smartphones to controller boards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • AbhishekRao
    AbhishekRao over 11 years ago

    Hi Bheema,

     

    Very interesting blog on connecting and controlling through android smartphones to controller boards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube