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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Internet of Things
  • Technologies
  • More
Internet of Things
Forum Need help on how to connect HM10 with HMC5883L breakout board
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 8 replies
  • Subscribers 512 subscribers
  • Views 1185 views
  • Users 0 members are here
Related

Need help on how to connect HM10 with HMC5883L breakout board

Former Member
Former Member over 9 years ago

Hi,

 

I tried to read values from 3-axis magnetic sensor HMC5883L breakout board with help of an Arduino board. And it worked fine !

 

However, I want to connect a HM10 module  with this HMC5883L... but being a newbie in electronics (actually a total newbie to wires & pins world), I need help to know which pins to connect where?

 

Can someone help please... ?

  • Sign in to reply
  • Cancel

Top Replies

  • kulky64
    kulky64 over 9 years ago in reply to Former Member +1
    According to this pinout https://github.com/nickswalker/ble-dev-kit/wiki/HM-10-Pinout , pin 15 of the HM-10 should be SDA (connected to pin 3 of CC2541) and pin 20 should be SCL (connected to pin 2 of…
Parents
  • tonyboubady
    0 tonyboubady over 9 years ago

    Don't make me laugh by saying that you are trying to do BLUETOOTH development...students like you (i hope you are a student from India) in India thinks that bluetooth development is buying this HM series module and using it...NO IT'S NOT BLUETOOTH DEVELOPMENT...NOR BR/EDR or BLE

     

    It's just a end-user bluetooth or BLE product like your handsfree headset, bluetooth audio etc...the only difference is it's a serial profile which you can use it as USB to TTL wirelessly or any other BLE service pre-installed...in your case HM10 has vendor specific service and characteristic with the UUID of FFE0 and FFE1 respectively. better double check the HM10 data sheet...

     

    Connect the HM10 and HMC5883L with I2C pins, google for how to do it...;)

     

    Now your HM10 is BLE peripheral and you have to code central device, either your smart phone or laptop with BLE will be the one as central device...you need to code now to access the service(FFE0) and characteristic(FFE1) values from your BLE peripheral, your option is Android or iOS for smartphones...windows and OS X for desktop or laptops...

     

    ENJOY your coding image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to tonyboubady

    Hi Antony,

     

    Thanks for your reply image

     

    I am changing the vendor firmware on HM10 to a custom code to send my custom values over bluetooth ( yes I am programming the module chip itself image )

     

    Trying to google out hmc to hm10 pins connections but not getting it...

     

    But thanks for the rest of info in your reply image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kulky64
    0 kulky64 over 9 years ago in reply to Former Member

    According to this pinout https://github.com/nickswalker/ble-dev-kit/wiki/HM-10-Pinout, pin 15 of the HM-10 should be SDA (connected to pin 3 of CC2541) and pin 20 should be SCL (connected to pin 2 of CC2541). Have you tried that?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tonyboubady
    0 tonyboubady over 9 years ago in reply to Former Member

    A correction...

     

    I said you can connect the HMC5883L through I2C because the sensor got the I2C pinout...but I am checking the HM-10 data sheet now and I am realising that it's uses UART communication, not I2C. So connect the HMC5883L with Arduino through I2C, connect Arduino UART to HM-10 UART pins(check google for TX,RX,VCC,GND pins), you have to code the Arduino to send HMC5883L sensor data to HM-10 through UART communication... then it's all as I said before...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tonyboubady
    0 tonyboubady over 9 years ago in reply to kulky64

    Oh..so it has I2C..then cool...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • tonyboubady
    0 tonyboubady over 9 years ago in reply to kulky64

    Oh..so it has I2C..then cool...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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 © 2025 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