Difference between revisions of "LC-BT-1-2"

From LCWIKI
Jump to: navigation, search
(Created page with "== '''Product name''' == 5V dual-channel bluetooth relay IoT smart home mobile APP remote control switch<br> == '''About LC-BT-1-2''' == LC 5V dual-channel Bluetooth relay...")
 
(Introduction instruction)
 
Line 20: Line 20:
 
== '''Introduction instruction''' ==
 
== '''Introduction instruction''' ==
 
Board size:64.5*40mm<br>
 
Board size:64.5*40mm<br>
[[File:BT-1-2-3.png]]<br>
+
[[File:BT-1-2-3-1.jpg]]<br>
 
1.IN+, IN-: 5V power input<br>
 
1.IN+, IN-: 5V power input<br>
 
2.TX, RX: UART serial port pins<br>
 
2.TX, RX: UART serial port pins<br>
Line 41: Line 41:
 
Open the first relay: A0 02 01 A3<br>
 
Open the first relay: A0 02 01 A3<br>
 
Close the first relay: A0 02 00 A2<br>
 
Close the first relay: A0 02 00 A2<br>
 
 
  
 
== '''Function features''' ==
 
== '''Function features''' ==

Latest revision as of 15:50, 22 February 2024

Product name

5V dual-channel bluetooth relay IoT smart home mobile APP remote control switch


About LC-BT-1-2

LC 5V dual-channel Bluetooth relay module includes 2-channel 5V/10A relay module and SPP-C Bluetooth serial port slave module,Commands can be sent through the mobile APP to control the switch of the relay.


LC-BT-1-2 view

Front view
BT-1-2-1.png

Reverse view
BT-1-2-2.png


Introduction instruction

Board size:64.5*40mm
BT-1-2-3-1.jpg
1.IN+, IN-: 5V power input
2.TX, RX: UART serial port pins
3.5V, GND, SWIM, NRST: MCU program download port
4.LED D2/D4 (red light): relay working indicator light, lights up when turned on
5.LED D1 (blue light): Bluetooth status indicator light, described as follows
(1) When it flashes slowly, it means waiting to establish a connection with the mobile phone.
(2) When it stays on, it means the connection is successfully established with the mobile phone.
6. The two reserved jumper caps: please insert them to the right end during normal use (i.e. RX is connected to RX1, TX is connected to TX1),If you want to use the USB to TTL serial port module alone to debug the SPP-C module, please insert both to the left (otherwise there may be interference)
7.
COM1:Public terminal
NC1: Normally closed terminal, short-circuited with COM1 before the relay is closed, and left floating after closing.
NO1: Normally open, the relay is left floating before closing, and short-circuited with COM1 after closing.
COM2:Public terminal
NC2: Normally closed terminal, short-circuited with COM2 before the relay is closed, and left floating after closing.
NO2: Normally open, the relay is left floating before closing, and short-circuited with COM2 after closing.
8. Relay control instructions (hexadecimal hex format)
Open the first relay: A0 01 01 A2
Close the first relay: A0 01 00 A1
Open the first relay: A0 02 01 A3
Close the first relay: A0 02 00 A2

Function features

  • Onboard 8-bit high-performance microcontroller chip and SPP-C Bluetooth 2.1 slave module
  • Provide Bluetooth relay control APP
  • Control distance: 10M (open environment)
  • Working voltage: DC5V
  • Onboard dual-channel 5V, 10A/250V AC 10A/30V DC relay, which can be connected continuously for 100,000 times, has diode overflow protection and short response time
  • Onboard Bluetooth status indicator and relay indicator
  • Reserved UART debugging interface and MCU program download port


Use description

1.Tool software
①"LCBS Test Program" APP, used to send relay control instructions
BT-1-2-4.png
②"BlueSPP_37" APP, used to send relay control instructions
BT-1-2-5.png
③USB to TTL module and Dupont cable, used to implement additional functions and modify Bluetooth name and password
BT-1-2-6.png
④Dupont wire, used to connect modules
BT-1-2-7.jpg


2.Use description
(1) Bluetooth relay dedicated APP "LCBS test program"
Install the "LCBS Test Program" APP on the Android phone, a Bluetooth serial port transmission tool, open the APP, click "Search Bluetooth", connect the phone to the Bluetooth module, enter the password and click Confirm
After the connection is successful, the blue light will change from slow flashing to steady light, and then click the square to control the relay switch
BT-1-2-8.png BT-1-2-9.png

BT-1-2-10.png BT-1-2-11.png


(2) Bluetooth relay universal APP "BlueSPP_37"
①Install the APP "BlueSPP_37" on the Android mobile phone, a Bluetooth serial port transmission tool, used to send relay control instructions, click "Switch"
Then long press the gray square in the interface to enter the name and content of the dual-channel relay control instructions (the instruction format is HEX format)
BT-1-2-12.png BT-1-2-13.png

BT-1-2-14.png BT-1-2-15.png
②Open the "BlueSPP_37" APP, click "Connect", and connect the mobile phone to the Bluetooth module. After the connection is successful, the blue light will change from slow flashing to solid light. Click the gray square to send instructions to control the switch of the relay.
BT-1-2-16.png BT-1-2-17.png

BT-1-2-18.png BT-1-2-19.png


(3) Additional function (as USB relay)
Prepare a USB to TTL serial port module. The GND, TX and RX of the TTL module are connected to the GND, TX and RX of the relay module respectively.
Open the serial port debugging software (such as SSCOM32) on the computer and select the baud rate of 9600
Sending A0 01 01 A2 and A0 02 01 A3 in hexadecimal (hex) format can open the first and second relays respectively.
Sending A0 01 00 A1 and A0 02 00 A2 in hexadecimal (hex) form can turn off the first and second relays respectively.
Take turning on a relay as an example
BT-1-2-20.png


(4) How to modify Bluetooth name and password
Wiring method: 5V, RX, TX, GND on the Bluetooth relay module are connected to 5V, TX, RX, GND of the USB to TTL serial port module respectively, and the Bluetooth related parameters are modified by sending AT commands.
(If there is no response when sending serial port commands, you can try exchanging TX and RX)
BT-1-2-21.png
①Change password: If you want to change the password to 8888, open the serial port debugging assistant software on the computer, enter AT+PIN8888, and click Send.
(Such as SSCOM32, select baud rate 9600, check "Send New Line")
BT-1-2-22.png
② Modify the Bluetooth name: If you send AT+NAMEBOLUTEK, you can change the name to BOLUTEK, and then send AT+RESET to make the newly modified name take effect.
BT-1-2-23.png
For more AT commands, you can view the SPP-C data sheet in the information.


Download the LC-BT-1-2 user manual

For more information on the use of LC-BT-1-2, please check https://pan.baidu.com/s/1v6YbndAm36G-jUWUbfaM0Q