3228

Lichuang Panel Printing | RF 433 315 RF Gateway Box

 
Overview

## Project Introduction
**RF Gateway Based on ESP8266**
This project uses the ESP8266-12S/F module of Anxinke to make an RF gateway. It can learn and send 433/315 non-encrypted RF signals around it, and can be controlled through the mobile phone. The purpose is to upgrade this type of RF to a remotely controllable IoT device.
Panel printing address: [https://dos.szlcsc.com/](https://dos.szlcsc.com/)
_**Board color: blue
thickness: 1.2**_
_**Attachments include shell drawings and test procedures**_

## Project FunctionsThis
project has the characteristics of self-learning and remote control
. 1. It has networking function.
2. It has 433/315 signal learning.
3. It has simulated 433/315 signal sending.
4. It has power indicator, network indicator, and RF indicator.
5. It has a button that can reset the device.
6. It has mobile phone control function.
7. It has web network configuration/smartconfig network configuration solution.

## Project plan
Through the project function, use the following plan to make
1. Use ESP8266 to connect the router to realize the device cloud.
2. Use Hummingbird Wireless Far-R1 to realize 433/315 signal learning.
3. Use Hummingbird Wireless Far-T1 to realize 433/315 signal transmission.
4. Use 3mm pin-type LED lights to indicate power (red), network (orange), and RF radio frequency (emerald green).
5. Use the round button on the side to reset the device.
6. The mobile phone uses Blink lighting technology to achieve remote control.
7. Use the web network configuration plan to realize SSID, PWS, and secret key filling.
## Project Description
**Important Notes**
### Transmitting signal antenna selection:
1. Use spring antenna to transmit, and solder a 0 ohm resistor. (**Pay attention to the antenna frequency**)
2. Use SMA antenna to transmit, and solder a 0 ohm resistor.
![image.png] ### Receiving signal antenna selection:
1. Use spring antenna to receive, and solder a 0 ohm resistor. (**Note the antenna frequency**)
2. Use the onboard antenna to receive, and solder a 0 ohm resistor. (_Recommended_)
![image (1).png] ### RF signal selection:
1. Select the Yuan-T1_433 module to achieve 433 signal transmission.
Select the Yuan-R1_V2.2 module to achieve 433 signal reception. (**The crystal frequency is: 13.52127**)
2. Select the Yuan-T1_315 module to achieve 315 signal transmission. Select the Yuan-
R1_V2.2 module to achieve 315 signal reception. (**The crystal frequency is: 9.81563**)
![image (2).png] ### Program selection:
1. Use the onboard CH340 to automatically download the circuit to write the program, and solder the components in the red box. (_Test recommendation_)
2. Use the reserved external downloader test port (orange box). (_Finished Product Recommendation_)
![image (3).png] ## Project Schematic
**Project Schematic Introduction**
![SCH_Schematic1_0-P1_2022-10-23.png] ## Project Firmware
**Project Firmware Development Progress**
Test Program The following firmware is for testing only and is not the final version.
The firmware will be shared in the attachment below when it is written.
### RF signal transmission test:
```
#include

RCSwitch mySwitch = RCSwitch();

void setup() {

Serial.begin(9600);

// Transmitter is connected to Arduino Pin #10
mySwitch.enableTransmit(5);

// Optional set protocol (default is 1, will work for most outlets)
// mySwitch.setProtocol(2);

// Optional set pulse length.
// mySwitch.set PulseLength(320);

// Optional set number of transmission repetitions.
// mySwitch.setRepeatTransmit(15);

}

void loop() {

/* See Example: TypeA_WithDIPSwitches */
mySwitch.switchOn("11111", "00010");
delay(1000);
mySwitch.switchOff("11111", "00010"); 0
);

/* Same switch as above, but using decimal code */
mySwitch.send(5393, 24);
delay(1000);
mySwitch.send(5396, 24);
delay(1000);

/* Same switch as above, but using binary code */
mySwitch.send("000000000001010100010001");
delay(1000);
mySwitch.send("000000000001010100010100");
delay(1000);

/* Same switch as above, but tri-state code */
mySwitch.sendTriState("00000FFF0F0F") ;
delay(1000);
mySwitch.sendTriState("00000FFF0FF0");
delay(1000);

}
```
### RF signal reception test:
```
#include

RCSwitch mySwitch = RCSwitch();

void setup() {
Serial.begin(9600);
mySwitch.enableReceive(0); // Receiver on interrupt 0 => that is pin #2
}

void loop() {
if (mySwitch.available()) {

Serial.print("Received ");
Serial.print( mySwitch.getReceivedValue() );
Serial.print(" / ");
Serial.print( mySwitch.getReceivedBitlength( ) );
Serial.print("bit ");
Serial.print("Protocol: ");
Serial.println( mySwitch.getReceivedProtocol() );

mySwitch.resetAvailable();
}
}

```
![QQ screenshot 20221022193750. png]
## Project picture
**Project picture reference**
![IMG_3785.JPG] ![IMG_3786.JPG ] ![IMG_3943.JPG ] ![IMG_3793.JPG] ![IMG_3794.JPG] ![IMG_3996.JPG]
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-22 12:31:27

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号