SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 1
4 CHANNEL RELAY
BOARD-
BLUETOOTH
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 2
Table of Contents
OVERVIEW..................................................................................................................................................... 3
FEATURES.................................................................................................................................................. 3
APPLICATION DIAGRAM............................................................................................................................ 4
Bluetooth Module HC 05 .............................................................................................................................. 5
SPECIFICATION.......................................................................................................................................... 5
APPLICATION............................................................................................................................................. 5
CIRCUIT DIAGRAM ........................................................................................................................................ 6
EXPERIMENTAL SETUP .................................................................................................................................. 7
RELAY SHIELD ARDUINO CODE ................................................................................................................. 8
4-RELAY SWITCH BOARD ANDROID APPLICATION..................................................................................11
RELATED PRODUCTS ................................................................................................................................... 12
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 3
OVERVIEW
Bluetooth technology is a short distance communication technology used by almost all phones
including smart phones and all laptops. This technology find very wide uses including that of Home &
Industrial automation.
The Relay shield is capable of controlling 4 relays. The max switching power could be
12A/250VAC or 15A/24VDC. It could be directly controlled by Arduino through digital IOs.
FEATURES
• 4-channel Relay.
• With Bluetooth wireless interface.
• Arduino compatible.
• 4 SPDT Relay channels (10A 277VAC,10A
120VAC, 5A 250VAC).
• Power supply:5VDC 1AMP
• Current consumption: 400 mA.
• LED indication for relay & power supply.
• Design based on highly proven IC ULN2803
as driver.
• High quality PCB FR4 Grade with FPT
Certified.
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 4
APPLICATION DIAGRAM
front view
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 5
back view
Bluetooth Module HC 05
Serial port Bluetooth, Drop-in replacement for wired serial connections, transparent usage. You can use
it simply for a serial port replacement to establish connection between MCU and GPS, PC to your
embedded project and etc.
SPECIFICATION
• Bluetooth protocol: Bluetooth Specification v2.0+EDR
• Frequency: 2.4GHz ISM band
• Modulation: GFSK(Gaussian Frequency Shift Keying)
• Emission power: =4dBm, Class 2
• Sensitivity: =-84dBm at 0.1% BER
• Speed: Asynchronous: 2.1Mbps(Max) / 160 kbps, Synchronous: 1Mbps/1Mbps
• Security: Authentication and encryption
• Profiles: Bluetooth serial port
• Power supply: +3.3VDC 50mA
• Working temperature: -20 ~ +75 Centigrade
• Dimension: 26.9mm x 13mm x 2.2 mm
APPLICATION
• Computer and peripheral devices
• GPS receiver
• Industrial control
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 6
• MCU projects
CIRCUIT DIAGRAM
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 7
EXPERIMENTAL SETUP
Note: remove USB after uploading the code, DC 12V 1A must be plugged in.
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 8
RELAY SHIELD ARDUINO CODE
/*
Software serial multiple serial test
Receives from the hardware serial, sends to software serial.
Receives from software serial, sends to hardware serial.
The circuit:
* RX is digital pin 10 (connect to TX of other device)
* TX is digital pin 11 (connect to RX of other device)
Note:
Not all pins on the Mega and Mega 2560 support change interrupts,
so only the following can be used for RX:
10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69
Not all pins on the Leonardo support change interrupts,
so only the following can be used for RX:
8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).
Software serial multple serial test
Receives from the hardware serial, sends to software serial.
Receives from software serial, sends to hardware serial.
The circuit:
* RX is digital pin 2 (connect to TX of other device)
* TX is digital pin 3 (connect to RX of other device)
SENDING DATA FORMAT
1N TO ON RELAY1
1F TO OFF RELAY1
2N TO ON RELAY2
2F TO OFF RELAY2
3N TO ON RELAY3
3F TO OFF RELAY3
4N TO ON RELAY4
4F TO OFF RELAY4
This example code is in the public domain.
*/
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 9
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3); // RX, TX
int rec;
void setup()
{
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
mySerial.begin(9600);
}
void loop() // run over and over
{
while(!mySerial.available());
rec=mySerial.read();
if(rec=='1')
{
while(!mySerial.available());
rec=mySerial.read();
if(rec=='N')
digitalWrite(4, HIGH);
else if(rec=='F')
digitalWrite(4, LOW);
}
else if(rec=='2')
{
while(!mySerial.available());
rec=mySerial.read();
if(rec=='N')
digitalWrite(5, HIGH);
else if(rec=='F')
digitalWrite(5, LOW);
}
else if(rec=='3')
{
while(!mySerial.available());
rec=mySerial.read();
if(rec=='N')
digitalWrite(6, HIGH);
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 10
else if(rec=='F')
digitalWrite(6, LOW);
}
else if(rec=='4')
{
while(!mySerial.available());
rec=mySerial.read();
if(rec=='N')
digitalWrite(7, HIGH);
else if(rec=='F')
digitalWrite(7, LOW);
}
}
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 11
4-RELAY SWITCH BOARD ANDROID APPLICATION
4 Channel Relay Board -Bluetooth
www.researchdesignlab.com Page 12
SOFTWARE DOWNLOAD LINK
https://drive.google.com/folderview?id=0BzrGD4zr88GnSkt5aUJMZ3Y0dnM&usp=sharing#
RELATED PRODUCTS
RDL UNO ATMEGA- 328 12V-2A DC ADAPTER
DEVELOPMENT BOARD
FT232 BREAKOUT BOARD Bluetooth Module HC 05

Más contenido relacionado

La actualidad más candente

What is huawei quidway s5300 gigabit switches
What is huawei quidway s5300 gigabit switchesWhat is huawei quidway s5300 gigabit switches
What is huawei quidway s5300 gigabit switchesHuanetwork
 
Building a Converged Infrastructure based on FCoE, Dell Blades and Force10 sw...
Building a Converged Infrastructure based on FCoE, Dell Blades and Force10 sw...Building a Converged Infrastructure based on FCoE, Dell Blades and Force10 sw...
Building a Converged Infrastructure based on FCoE, Dell Blades and Force10 sw...juet-y
 
Socionext ARMv8 server SoC chipset demo
Socionext ARMv8 server SoC chipset demoSocionext ARMv8 server SoC chipset demo
Socionext ARMv8 server SoC chipset demoLinaro
 
HPE ProLiant DL360 Gen9 Server Data Sheet
HPE ProLiant DL360 Gen9 Server Data SheetHPE ProLiant DL360 Gen9 Server Data Sheet
HPE ProLiant DL360 Gen9 Server Data Sheet美兰 曾
 
4.1.2.9 packet tracer documenting the network instructions
4.1.2.9 packet tracer   documenting the network instructions4.1.2.9 packet tracer   documenting the network instructions
4.1.2.9 packet tracer documenting the network instructionsbahtiarrahman
 
HPE ProLiant DL380 Gen9 Server Data Sheet
HPE ProLiant DL380 Gen9 Server Data SheetHPE ProLiant DL380 Gen9 Server Data Sheet
HPE ProLiant DL380 Gen9 Server Data Sheet美兰 曾
 
Huawei s5700-28-p-pwr-li-ac datasheet
Huawei s5700-28-p-pwr-li-ac datasheetHuawei s5700-28-p-pwr-li-ac datasheet
Huawei s5700-28-p-pwr-li-ac datasheetMark Tsui
 

La actualidad más candente (16)

What is huawei quidway s5300 gigabit switches
What is huawei quidway s5300 gigabit switchesWhat is huawei quidway s5300 gigabit switches
What is huawei quidway s5300 gigabit switches
 
OSPF 2
OSPF 2OSPF 2
OSPF 2
 
Building a Converged Infrastructure based on FCoE, Dell Blades and Force10 sw...
Building a Converged Infrastructure based on FCoE, Dell Blades and Force10 sw...Building a Converged Infrastructure based on FCoE, Dell Blades and Force10 sw...
Building a Converged Infrastructure based on FCoE, Dell Blades and Force10 sw...
 
Day 5.3 routercomponents
Day 5.3 routercomponentsDay 5.3 routercomponents
Day 5.3 routercomponents
 
Socionext ARMv8 server SoC chipset demo
Socionext ARMv8 server SoC chipset demoSocionext ARMv8 server SoC chipset demo
Socionext ARMv8 server SoC chipset demo
 
HPE ProLiant DL360 Gen9 Server Data Sheet
HPE ProLiant DL360 Gen9 Server Data SheetHPE ProLiant DL360 Gen9 Server Data Sheet
HPE ProLiant DL360 Gen9 Server Data Sheet
 
Rack
RackRack
Rack
 
Microcontroller part 1
Microcontroller part 1Microcontroller part 1
Microcontroller part 1
 
4.1.2.9 packet tracer documenting the network instructions
4.1.2.9 packet tracer   documenting the network instructions4.1.2.9 packet tracer   documenting the network instructions
4.1.2.9 packet tracer documenting the network instructions
 
Microcontroller part 9_v1
Microcontroller part 9_v1Microcontroller part 9_v1
Microcontroller part 9_v1
 
HPE ProLiant DL380 Gen9 Server Data Sheet
HPE ProLiant DL380 Gen9 Server Data SheetHPE ProLiant DL380 Gen9 Server Data Sheet
HPE ProLiant DL380 Gen9 Server Data Sheet
 
OSPF 3
OSPF 3OSPF 3
OSPF 3
 
Linux networking
Linux networkingLinux networking
Linux networking
 
CCNA part 4 routers
CCNA part 4 routersCCNA part 4 routers
CCNA part 4 routers
 
SPI Interface
SPI InterfaceSPI Interface
SPI Interface
 
Huawei s5700-28-p-pwr-li-ac datasheet
Huawei s5700-28-p-pwr-li-ac datasheetHuawei s5700-28-p-pwr-li-ac datasheet
Huawei s5700-28-p-pwr-li-ac datasheet
 

Similar a 4 Channel Relay Board 5V-Bluetooth Compatible for Arduino

CodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS ToolsCodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS Toolsdjerrybellott
 
Sphericall BranchHub Data Sheet
Sphericall BranchHub Data SheetSphericall BranchHub Data Sheet
Sphericall BranchHub Data SheetAlok Vasudeva
 
Esp32 datasheet
Esp32 datasheetEsp32 datasheet
Esp32 datasheetMoises .
 
데이타로직 Datalogic DS6300 1D 산업용 고정식 바코드스캐너 레이저스캐너 매뉴얼
데이타로직 Datalogic DS6300 1D 산업용 고정식 바코드스캐너 레이저스캐너 매뉴얼데이타로직 Datalogic DS6300 1D 산업용 고정식 바코드스캐너 레이저스캐너 매뉴얼
데이타로직 Datalogic DS6300 1D 산업용 고정식 바코드스캐너 레이저스캐너 매뉴얼HION IT
 
Microprocesador ESP32 manual de uso y programacion
Microprocesador ESP32 manual de uso y programacionMicroprocesador ESP32 manual de uso y programacion
Microprocesador ESP32 manual de uso y programacionArturoYanezSG
 
esp32_datasheet_en.pdf
esp32_datasheet_en.pdfesp32_datasheet_en.pdf
esp32_datasheet_en.pdfNguynTun714731
 
Wireless Catalog - Inter. Clouds 2016
Wireless Catalog - Inter. Clouds 2016Wireless Catalog - Inter. Clouds 2016
Wireless Catalog - Inter. Clouds 2016Sharon Cheung
 
Sphericall Voice Internetworking Multiplexer (VIM)
Sphericall Voice Internetworking Multiplexer (VIM)Sphericall Voice Internetworking Multiplexer (VIM)
Sphericall Voice Internetworking Multiplexer (VIM)Alok Vasudeva
 
Cisco router 1941 series datasheet
Cisco router 1941 series datasheetCisco router 1941 series datasheet
Cisco router 1941 series datasheetAmy Huang
 
BRKRST-3068 Troubleshooting Catalyst 2K and 3K.pdf
BRKRST-3068  Troubleshooting Catalyst 2K and 3K.pdfBRKRST-3068  Troubleshooting Catalyst 2K and 3K.pdf
BRKRST-3068 Troubleshooting Catalyst 2K and 3K.pdfssusercbaa33
 
Aruba 2920 Switch Series Data Sheet
Aruba 2920 Switch Series Data SheetAruba 2920 Switch Series Data Sheet
Aruba 2920 Switch Series Data Sheet美兰 曾
 
American Fibertek RT-946C-SL Data Sheet
American Fibertek RT-946C-SL Data SheetAmerican Fibertek RT-946C-SL Data Sheet
American Fibertek RT-946C-SL Data SheetJMAC Supply
 
American Fibertek RT-946C Data Sheet
American Fibertek RT-946C Data SheetAmerican Fibertek RT-946C Data Sheet
American Fibertek RT-946C Data SheetJMAC Supply
 
Serial 8 Channel AC 230V SSR and Dimmer Bluetooth Interface
Serial 8 Channel AC 230V SSR and Dimmer  Bluetooth InterfaceSerial 8 Channel AC 230V SSR and Dimmer  Bluetooth Interface
Serial 8 Channel AC 230V SSR and Dimmer Bluetooth InterfaceRaghav Shetty
 
Specification skt cna ssx2-rc 20160821
Specification skt cna ssx2-rc 20160821Specification skt cna ssx2-rc 20160821
Specification skt cna ssx2-rc 20160821Junho Suh
 
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriais
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriaisWebinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriais
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriaisEmbarcados
 
Aruba 207 Series Access Point Data Sheet
Aruba 207 Series Access Point Data SheetAruba 207 Series Access Point Data Sheet
Aruba 207 Series Access Point Data Sheet美兰 曾
 
허니웰스캐너 Honeywell MS3580 QuantumT 1D 무지향성 고정식바코드스캐너 고정식스캐너온카운터 매뉴얼
허니웰스캐너 Honeywell MS3580 QuantumT 1D 무지향성 고정식바코드스캐너 고정식스캐너온카운터 매뉴얼허니웰스캐너 Honeywell MS3580 QuantumT 1D 무지향성 고정식바코드스캐너 고정식스캐너온카운터 매뉴얼
허니웰스캐너 Honeywell MS3580 QuantumT 1D 무지향성 고정식바코드스캐너 고정식스캐너온카운터 매뉴얼HION IT
 

Similar a 4 Channel Relay Board 5V-Bluetooth Compatible for Arduino (20)

CodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS ToolsCodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
 
Sphericall BranchHub Data Sheet
Sphericall BranchHub Data SheetSphericall BranchHub Data Sheet
Sphericall BranchHub Data Sheet
 
Esp32 datasheet
Esp32 datasheetEsp32 datasheet
Esp32 datasheet
 
데이타로직 Datalogic DS6300 1D 산업용 고정식 바코드스캐너 레이저스캐너 매뉴얼
데이타로직 Datalogic DS6300 1D 산업용 고정식 바코드스캐너 레이저스캐너 매뉴얼데이타로직 Datalogic DS6300 1D 산업용 고정식 바코드스캐너 레이저스캐너 매뉴얼
데이타로직 Datalogic DS6300 1D 산업용 고정식 바코드스캐너 레이저스캐너 매뉴얼
 
Microprocesador ESP32 manual de uso y programacion
Microprocesador ESP32 manual de uso y programacionMicroprocesador ESP32 manual de uso y programacion
Microprocesador ESP32 manual de uso y programacion
 
esp32_datasheet_en.pdf
esp32_datasheet_en.pdfesp32_datasheet_en.pdf
esp32_datasheet_en.pdf
 
MC13202.pdf
MC13202.pdfMC13202.pdf
MC13202.pdf
 
Wireless Catalog - Inter. Clouds 2016
Wireless Catalog - Inter. Clouds 2016Wireless Catalog - Inter. Clouds 2016
Wireless Catalog - Inter. Clouds 2016
 
Sphericall Voice Internetworking Multiplexer (VIM)
Sphericall Voice Internetworking Multiplexer (VIM)Sphericall Voice Internetworking Multiplexer (VIM)
Sphericall Voice Internetworking Multiplexer (VIM)
 
Cisco router 1941 series datasheet
Cisco router 1941 series datasheetCisco router 1941 series datasheet
Cisco router 1941 series datasheet
 
BRKRST-3068 Troubleshooting Catalyst 2K and 3K.pdf
BRKRST-3068  Troubleshooting Catalyst 2K and 3K.pdfBRKRST-3068  Troubleshooting Catalyst 2K and 3K.pdf
BRKRST-3068 Troubleshooting Catalyst 2K and 3K.pdf
 
Aruba 2920 Switch Series Data Sheet
Aruba 2920 Switch Series Data SheetAruba 2920 Switch Series Data Sheet
Aruba 2920 Switch Series Data Sheet
 
American Fibertek RT-946C-SL Data Sheet
American Fibertek RT-946C-SL Data SheetAmerican Fibertek RT-946C-SL Data Sheet
American Fibertek RT-946C-SL Data Sheet
 
American Fibertek RT-946C Data Sheet
American Fibertek RT-946C Data SheetAmerican Fibertek RT-946C Data Sheet
American Fibertek RT-946C Data Sheet
 
Serial 8 Channel AC 230V SSR and Dimmer Bluetooth Interface
Serial 8 Channel AC 230V SSR and Dimmer  Bluetooth InterfaceSerial 8 Channel AC 230V SSR and Dimmer  Bluetooth Interface
Serial 8 Channel AC 230V SSR and Dimmer Bluetooth Interface
 
Specification skt cna ssx2-rc 20160821
Specification skt cna ssx2-rc 20160821Specification skt cna ssx2-rc 20160821
Specification skt cna ssx2-rc 20160821
 
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriais
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriaisWebinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriais
Webinar: BlueNRG-LP - Bluetooth 5.2 de longo alcance para aplicações industriais
 
Aruba 207 Series Access Point Data Sheet
Aruba 207 Series Access Point Data SheetAruba 207 Series Access Point Data Sheet
Aruba 207 Series Access Point Data Sheet
 
허니웰스캐너 Honeywell MS3580 QuantumT 1D 무지향성 고정식바코드스캐너 고정식스캐너온카운터 매뉴얼
허니웰스캐너 Honeywell MS3580 QuantumT 1D 무지향성 고정식바코드스캐너 고정식스캐너온카운터 매뉴얼허니웰스캐너 Honeywell MS3580 QuantumT 1D 무지향성 고정식바코드스캐너 고정식스캐너온카운터 매뉴얼
허니웰스캐너 Honeywell MS3580 QuantumT 1D 무지향성 고정식바코드스캐너 고정식스캐너온카운터 매뉴얼
 
Msp430
Msp430Msp430
Msp430
 

Más de Raghav Shetty

Digitla Vibration Sensor
Digitla Vibration SensorDigitla Vibration Sensor
Digitla Vibration SensorRaghav Shetty
 
Digital Soil Moisture Sensor
Digital Soil Moisture SensorDigital Soil Moisture Sensor
Digital Soil Moisture SensorRaghav Shetty
 
Micro SD Memory Card Interface for 5V MCU
Micro SD Memory Card Interface for 5V MCUMicro SD Memory Card Interface for 5V MCU
Micro SD Memory Card Interface for 5V MCURaghav Shetty
 
Micro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCUMicro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCURaghav Shetty
 
Regulated Power Supply
Regulated Power Supply Regulated Power Supply
Regulated Power Supply Raghav Shetty
 
8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level Converter8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level ConverterRaghav Shetty
 
Plastic REED Float Switch
Plastic REED Float SwitchPlastic REED Float Switch
Plastic REED Float SwitchRaghav Shetty
 
DTMF Decoder Shield for Arduino
DTMF Decoder Shield for ArduinoDTMF Decoder Shield for Arduino
DTMF Decoder Shield for ArduinoRaghav Shetty
 
Digital Dimmer Module
Digital Dimmer ModuleDigital Dimmer Module
Digital Dimmer ModuleRaghav Shetty
 
Bluetooth Module HC-06
Bluetooth Module HC-06Bluetooth Module HC-06
Bluetooth Module HC-06Raghav Shetty
 
Barometric Digital pressure Sensor BMP085
Barometric Digital pressure Sensor BMP085Barometric Digital pressure Sensor BMP085
Barometric Digital pressure Sensor BMP085Raghav Shetty
 

Más de Raghav Shetty (20)

Xbee X-CTU Software
Xbee X-CTU SoftwareXbee X-CTU Software
Xbee X-CTU Software
 
Digitla Vibration Sensor
Digitla Vibration SensorDigitla Vibration Sensor
Digitla Vibration Sensor
 
Thermal Printer
Thermal PrinterThermal Printer
Thermal Printer
 
Digital Soil Moisture Sensor
Digital Soil Moisture SensorDigital Soil Moisture Sensor
Digital Soil Moisture Sensor
 
Micro SD Memory Card Interface for 5V MCU
Micro SD Memory Card Interface for 5V MCUMicro SD Memory Card Interface for 5V MCU
Micro SD Memory Card Interface for 5V MCU
 
Micro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCUMicro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCU
 
Regulated Power Supply
Regulated Power Supply Regulated Power Supply
Regulated Power Supply
 
PIC Project Board
PIC Project BoardPIC Project Board
PIC Project Board
 
8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level Converter8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level Converter
 
LCD Keypad Shield
LCD Keypad ShieldLCD Keypad Shield
LCD Keypad Shield
 
L298 Motor Driver
L298 Motor DriverL298 Motor Driver
L298 Motor Driver
 
Joystick Shield
Joystick ShieldJoystick Shield
Joystick Shield
 
Force Sensor
Force SensorForce Sensor
Force Sensor
 
Plastic REED Float Switch
Plastic REED Float SwitchPlastic REED Float Switch
Plastic REED Float Switch
 
Flex Sensor
Flex SensorFlex Sensor
Flex Sensor
 
Serial EEPROM
Serial EEPROMSerial EEPROM
Serial EEPROM
 
DTMF Decoder Shield for Arduino
DTMF Decoder Shield for ArduinoDTMF Decoder Shield for Arduino
DTMF Decoder Shield for Arduino
 
Digital Dimmer Module
Digital Dimmer ModuleDigital Dimmer Module
Digital Dimmer Module
 
Bluetooth Module HC-06
Bluetooth Module HC-06Bluetooth Module HC-06
Bluetooth Module HC-06
 
Barometric Digital pressure Sensor BMP085
Barometric Digital pressure Sensor BMP085Barometric Digital pressure Sensor BMP085
Barometric Digital pressure Sensor BMP085
 

Último

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 

Último (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

4 Channel Relay Board 5V-Bluetooth Compatible for Arduino

  • 1. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 1 4 CHANNEL RELAY BOARD- BLUETOOTH
  • 2. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 2 Table of Contents OVERVIEW..................................................................................................................................................... 3 FEATURES.................................................................................................................................................. 3 APPLICATION DIAGRAM............................................................................................................................ 4 Bluetooth Module HC 05 .............................................................................................................................. 5 SPECIFICATION.......................................................................................................................................... 5 APPLICATION............................................................................................................................................. 5 CIRCUIT DIAGRAM ........................................................................................................................................ 6 EXPERIMENTAL SETUP .................................................................................................................................. 7 RELAY SHIELD ARDUINO CODE ................................................................................................................. 8 4-RELAY SWITCH BOARD ANDROID APPLICATION..................................................................................11 RELATED PRODUCTS ................................................................................................................................... 12
  • 3. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 3 OVERVIEW Bluetooth technology is a short distance communication technology used by almost all phones including smart phones and all laptops. This technology find very wide uses including that of Home & Industrial automation. The Relay shield is capable of controlling 4 relays. The max switching power could be 12A/250VAC or 15A/24VDC. It could be directly controlled by Arduino through digital IOs. FEATURES • 4-channel Relay. • With Bluetooth wireless interface. • Arduino compatible. • 4 SPDT Relay channels (10A 277VAC,10A 120VAC, 5A 250VAC). • Power supply:5VDC 1AMP • Current consumption: 400 mA. • LED indication for relay & power supply. • Design based on highly proven IC ULN2803 as driver. • High quality PCB FR4 Grade with FPT Certified.
  • 4. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 4 APPLICATION DIAGRAM front view
  • 5. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 5 back view Bluetooth Module HC 05 Serial port Bluetooth, Drop-in replacement for wired serial connections, transparent usage. You can use it simply for a serial port replacement to establish connection between MCU and GPS, PC to your embedded project and etc. SPECIFICATION • Bluetooth protocol: Bluetooth Specification v2.0+EDR • Frequency: 2.4GHz ISM band • Modulation: GFSK(Gaussian Frequency Shift Keying) • Emission power: =4dBm, Class 2 • Sensitivity: =-84dBm at 0.1% BER • Speed: Asynchronous: 2.1Mbps(Max) / 160 kbps, Synchronous: 1Mbps/1Mbps • Security: Authentication and encryption • Profiles: Bluetooth serial port • Power supply: +3.3VDC 50mA • Working temperature: -20 ~ +75 Centigrade • Dimension: 26.9mm x 13mm x 2.2 mm APPLICATION • Computer and peripheral devices • GPS receiver • Industrial control
  • 6. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 6 • MCU projects CIRCUIT DIAGRAM
  • 7. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 7 EXPERIMENTAL SETUP Note: remove USB after uploading the code, DC 12V 1A must be plugged in.
  • 8. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 8 RELAY SHIELD ARDUINO CODE /* Software serial multiple serial test Receives from the hardware serial, sends to software serial. Receives from software serial, sends to hardware serial. The circuit: * RX is digital pin 10 (connect to TX of other device) * TX is digital pin 11 (connect to RX of other device) Note: Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69 Not all pins on the Leonardo support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI). Software serial multple serial test Receives from the hardware serial, sends to software serial. Receives from software serial, sends to hardware serial. The circuit: * RX is digital pin 2 (connect to TX of other device) * TX is digital pin 3 (connect to RX of other device) SENDING DATA FORMAT 1N TO ON RELAY1 1F TO OFF RELAY1 2N TO ON RELAY2 2F TO OFF RELAY2 3N TO ON RELAY3 3F TO OFF RELAY3 4N TO ON RELAY4 4F TO OFF RELAY4 This example code is in the public domain. */
  • 9. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 9 #include <SoftwareSerial.h> SoftwareSerial mySerial(2, 3); // RX, TX int rec; void setup() { pinMode(4, OUTPUT); pinMode(5, OUTPUT); pinMode(6, OUTPUT); pinMode(7, OUTPUT); mySerial.begin(9600); } void loop() // run over and over { while(!mySerial.available()); rec=mySerial.read(); if(rec=='1') { while(!mySerial.available()); rec=mySerial.read(); if(rec=='N') digitalWrite(4, HIGH); else if(rec=='F') digitalWrite(4, LOW); } else if(rec=='2') { while(!mySerial.available()); rec=mySerial.read(); if(rec=='N') digitalWrite(5, HIGH); else if(rec=='F') digitalWrite(5, LOW); } else if(rec=='3') { while(!mySerial.available()); rec=mySerial.read(); if(rec=='N') digitalWrite(6, HIGH);
  • 10. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 10 else if(rec=='F') digitalWrite(6, LOW); } else if(rec=='4') { while(!mySerial.available()); rec=mySerial.read(); if(rec=='N') digitalWrite(7, HIGH); else if(rec=='F') digitalWrite(7, LOW); } }
  • 11. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 11 4-RELAY SWITCH BOARD ANDROID APPLICATION
  • 12. 4 Channel Relay Board -Bluetooth www.researchdesignlab.com Page 12 SOFTWARE DOWNLOAD LINK https://drive.google.com/folderview?id=0BzrGD4zr88GnSkt5aUJMZ3Y0dnM&usp=sharing# RELATED PRODUCTS RDL UNO ATMEGA- 328 12V-2A DC ADAPTER DEVELOPMENT BOARD FT232 BREAKOUT BOARD Bluetooth Module HC 05