element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
Arduino
  • Products
  • More
Arduino
Arduino Forum Powering JY-MCU HC06 Bluetooth adapter from the digital pin of an Arduino ??
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 8 replies
  • Answers 1 answer
  • Subscribers 391 subscribers
  • Views 761 views
  • Users 0 members are here
  • bluetooth
  • hc06
  • arduino
Related

Powering JY-MCU HC06 Bluetooth adapter from the digital pin of an Arduino ??

neilk
neilk over 10 years ago

I'm doing a lot of experiments with Arduino, Android and a JY-MCU HC06 Bluetooth adapter.


I'm becoming increasingly frustrated by the frequent need to reset the HC06, before it will accept a connection from the Android device. The easiest way to reset the HC06 is to briefly disconnect the +5V supply.

 

According to a spec of the HC06, which I found via Google, the HC06 draws 20-30mA when pairing up and 8mA in normal use. Since an Arduino Uno digital pin can supply 40 mA, wondered if I could power the HC06 from a digital pin, allowing me to reset the HC06 via software control of the digital pin.

 

Please can anyone offer any help or advice in this area?

 

Many thanks


Neil

  • Sign in to reply
  • Cancel

Top Replies

  • neilk
    neilk over 10 years ago in reply to clem57 +1
    Hi Clem Here is a photo of the Bluetooth adapter: At the moment, VCC isconnected +5 on the Arduino, and GND is connected to GND on the Arduino. I realise I could just put a switch in the +5 connection…
  • gadget.iom
    gadget.iom over 10 years ago in reply to neilk +1 suggested
    Substitute the relay coil connections with the Bluetooth module.
Parents
  • clem57
    0 clem57 over 10 years ago

    The digital pins were not meant to supply 5V power. So you set high in code to "turn on" bluetooth?

    This is the point where I began calling on the collective knowledge of the internet. FollowTHIS Instructable. With a few changes, it is what I did. For the voltage divider I used a 2.2k Ohm and a 1k Ohm + 100 Ohm resistor. It worked fine. I checked it with the volt meter and it came out to about 3.1v.HERE is the voltage divider calculator I used. Be sure you use that on the Bluetooth Rx/ Arduino Tx side or else you could fry your Bluetooth module. The ATmega 2560 will accept 3.3v so the Arduino Rx is fine by itself (sort of. I wouldn't put this on anything too important, but worst you will get false data). Someday I'll get a real logic level converter. For convenience, I used the Serial1 pins on my Arduino Mega 2560.

     

    I see by this, the voltage should be around 3.3V not 5V. Also the TTL logic is also 3.3V. This may be the reason for the frequent resets from over driving the voltage on the IC.

     

    Just my two cents worth,

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • neilk
    0 neilk over 10 years ago in reply to clem57

    Thanks Clem

     

    Yes my idea is to set the pin high in code to turn on the HC06 and could then set the pin low and then high again to reset it.

     

    I had seen the post you snipped in, but didn't find it helpful because my board  has VCC Power: 3.6-6V quite clearly printed on it and I already have a resistive voltage divider on the BluetoothRx/ArduinoTx side.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to neilk

    Some pictures may help "see" what you have going on here. Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • clem57
    0 clem57 over 10 years ago in reply to neilk

    Some pictures may help "see" what you have going on here. Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • neilk
    0 neilk over 10 years ago in reply to clem57

    Hi Clem

     

    Here is a photo of the Bluetooth adapter:

     

    image

     

    At the moment, VCC isconnected +5 on the Arduino, and GND is connected to GND on the Arduino. I realise I could just put a switch in the +5 connection to the adapter!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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