TTL HC05 O/P Bluetooth Module (Master + Slave) Compatiable Economical Version with Button

TTL HC05 O/P Bluetooth Module (Master + Slave) Compatiable Economical Version with Button

Rs. 230.00
Sale price  Rs. 230.00 Regular price  Rs. 299.00
Skip to product information
TTL HC05 O/P Bluetooth Module (Master + Slave) Compatiable Economical Version with Button

TTL HC05 O/P Bluetooth Module (Master + Slave) Compatiable Economical Version with Button

Rs. 230.00
Sale price  Rs. 230.00 Regular price  Rs. 299.00

Description

TTL HC05 O/P Bluetooth Module

HC-05 6 Pin Wireless Serial Bluetooth Module is a Bluetooth module for use with any microcontroller. It uses the UART protocol to make it easy to send and receive data wirelessly.

The HC-06 module is a slave only device. This means that it can connect to most phones and computers with Bluetooth but it cannot connect to another slave-only device such as keyboards and other HC-06 modules. To connect with other slave devices a master module would be necessary such as the HC-05 version which can do both master and slave.

Specifications

  • Item Type: HC Series Module
  • Voltage Rating (VDC): 3.6 to 6
  • Switch/Button: Yes
  • Input Supply Voltage (V): 3.6 ~ 6
  • Input current (mA): 50
  • Max. Operating Range (m): 10
  • Operating Frequency (Hz): 2.4GHz ISM band
  • Modulation Type: GFSK (Gaussian Frequency Shift Keying)
  • Emission power: 4dBm, Class 2
  • Sensitivity (dBm): -84dBm at 0.1% BER
  • Length (mm): 43
  • Width (mm): 16.5
  • Height (mm): 7
  • Weight (g): 5

Features

  • Working current: Matching for 30 mA, matching the communication for 8 mA
  • Dormancy current: No dormancy
  • Used for a GPS navigation system, water, and electricity gas meter reading system
  • Compatible with computer and Bluetooth adapter, PDA, seamless connection equipment
  • Bluetooth module HC-08: Master and slave two-in-one module
  • Uses the CSR mainstream Bluetooth chip, Bluetooth V2.0 protocol standards
  • Potter default baud rate of 9600, user-configurable
  • Bluetooth protocol: Bluetooth Specification v2.0+EDR
  • Speed: Asynchronous: 2.1Mbps (Max) / 160 kbps, Synchronous: 1Mbps/1Mbps
  • Security: Authentication and encryption
  • Profiles: Bluetooth serial port

Applications :

  • Wireless Data Transmission: Send and receive data between devices such as microcontrollers, smartphones, or computers.

  • Home Automation: Control home appliances like lights, fans, and security systems via Bluetooth from a mobile device.

  • Wireless Robotics: Enable wireless control of robots or drones using Bluetooth communication.


  • PC to Microcontroller Communication: Establish communication between a PC and microcontroller (e.g., Arduino) for data exchange.

  • Sensor Monitoring: Wirelessly transmits sensor data (temperature, humidity, etc.) to a mobile app or PC.

Physical Attributes

  • L * W * H in mm : 43 * 16.5 * 7
  • Weight in gm: 5

Integration with Arduino

TTL HC05 Bluetooth Module

Sample Code

//https://kitsguru.myshopify.com/products/ttl-o-p-bluetooth-module-master-slave-hc05
#include <SoftwareSerial.h>
#define rxPin 2
#define txPin 3
#define baudrate 38400
String msg;
SoftwareSerial hc05(rxPin ,txPin);
void setup(){
pinMode(rxPin,INPUT);
pinMode(txPin,OUTPUT);
Serial.begin(9600);
Serial.println("ENTER AT Commands:");
hc05.begin(baudrate);
}
void loop(){
readSerialPort();
if(msg!="") hc05.println(msg);
if (hc05.available()>0){
Serial.write(hc05.read());
}
}
void readSerialPort(){
msg="";
while (Serial.available()) {
delay(10);
if (Serial.available() >0) {
char c = Serial.read(); //gets one byte from serial buffer
msg += c; //makes the string readString
}
}
}

//https://www.aranacorp.com/en/arduino-and-bluetooth-module-hc-05/

Integration with Raspberry Pi

TTL HC05 Bluetooth Module

 

Sample Code

import subprocess
import select
import serial
class SerialComm:
def __init__(self):
self.port = serial.Serial("/dev/ttyAMA0", baudrate=9600, timeout=1)
//https://kitsguru.com/products/hc-06-4-pin-bluetooth-module-slave-no-button
def read_serial(self):
res = self.port.read(50)
if len(res):
return res.splitlines()
else:
return []
def send_serial(self, text):
self.port.write(text)
class ShellWrapper:
def __init__(self):
self.ps = subprocess.Popen(['bash'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
def execute_command(self, command):
self.ps.stdin.write(command + "\n")
def get_output(self):
timeout = False
time_limit = .5
lines = []
while not timeout:
poll_result = select.select([self.ps.stdout, self.ps.stderr], [], [], time_limit)[0]
if len(poll_result):
for p in poll_result:
lines.append(p.readline())
else:
timeout = True
return lines
def main():
shell = ShellWrapper()
ble_comm = SerialComm()
while True:
out = ble_comm.read_serial()
for ble_line in out:
print(out)
shell.execute_command(ble_line)
shell_out = shell.get_output()
for l in shell_out:
print(l)
ble_comm.send_serial(l)
if __name__ == "__main__":

main()

Package Includes

  • 1 x TTL HC05 O/P Bluetooth Module (Master + Slave) Compatiable Economical Version with Button

You may also like