EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / HC-05

HC-05

|

Microcontroller › 8051 › HC-05

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 10 months ago by DEEPESH VERMA.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 12, 2014 at 7:46 pm #3118
    Osama Mohammed
    Participant

    Please help me
    I am using HC-05 Bluetooth module in my project ,I want to send data like numbers and some words to an andriod mobile phone, but HC-05 doesn’t send anything ,the wiring and code are correct though ,HC-0C is paired and connected well to my android device , but the data are not transferred , have anyone encountered the same problem !? or anyone who have worked on HC-05 maybe he could tell me how to use it maybe I did something wrong.

     

    This is a simple code to send a and E serially 


     <reg51.h>

    msDelay (unsigned int);

    void main(void){
    TMOD=0x20;
    TH1=-3; 
    SCON=0x50;
    TR1=1; 

    while (1) {
    SBUF=”a”;
    while (TI==0); 
    TI=0;
    msDelay(5000);
    SBUF=”E”;
    while (TI==0); 
    TI=0;
    msDelay(5000);

    }
    }

    msDelay(unsigned int itime)
    {
    unsigned int i,j;
    for(i=0;i<=itime;i++)
    for(j=0;j<=100;j++);

    }

    June 18, 2014 at 5:12 pm #11838
    DEEPESH VERMA
    Participant

    check for baud rate setting (in the code) with that of Bluetooth Module.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • SDCC Array Access In Timer 0 Interrupt Handler April 14, 2026
  • Voltage comparator circuit verification April 13, 2026
  • EasyEda program has a major bug April 13, 2026
  • Chatter April 13, 2026
  • understanding transmission line properties from TDR plot April 13, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise