桂花蒸

[ART-Pi] Shuttle+RF+4G+LCD touch screen smart home control system

 
Overview

Local + remote control management system, remote + short-range free control of household electrical switches/industrial power switches in various scenarios.

1. With the continuous development of technology, free control can be achieved.

2. Solve problems such as being too lazy to get out of bed to turn off the lights, forgetting to turn off electrical appliances after leaving home, etc.

Note: There is something wrong with the hardware. I changed it on the board when I adjusted it. Please do not use the board for development. I will update later.

Overall display:

The 1.7-inch LCD touch screen and core board form a terminal control, which can control several electrical appliances through Bluetooth communication with a mobile phone.

2. Rotary encoder + RF module for lighting brightness and comfort level control and selection settings. Button selection function, which has the functions of left turn, right turn, and press confirmation. It uses the output phase difference of the pulse signal during rotation to confirm the left and right rotation.

3. Each independent electrical appliance is controlled by MCU + RF module + relay.

4. There is 4G real-time monitoring + control operation remotely, so that electrical appliances can be turned on and off remotely.

 

 

Partial display:

1. Remote control-NB module + local RF module:

2. RGB touch screen is used as touch display and physical control terminal.

3. Can be connected to the core board through APP (NB module cloud control) to control various electrical appliances.

4. If you forget to turn off the electrical appliances at home after going out, you can check it through the APP and control the on and off of the electrical appliances through the NB5313 module + RF98 module. (can also be used for industrial purposes)

5. There is a 4-bit hardware address to distinguish between the master and the slave.

 

 

 

Shuttle display:

The coding switch realizes the left, right and press confirmation functions.

 

 

Shuttle core board display:

1. Shuttle wireless control + local RF module:

2. Wireless selection + confirmation function switch composed of coding switch + RF98.

3. There is a 4-bit hardware address to distinguish between the master and the slave.

 

 

RF switch display:

1. Wireless switch + local RF module:

2. This is a wireless coding switch that communicates with other controlled electrical appliances through the RF module. Used for switching, function selection, function adjustment, etc.

3. There is a 4-bit hardware address to distinguish between the master and the slave.

 

 

NB remote control panel display:

1. Data can be transferred to the cloud for monitoring through the APP.

2. The APP sends instructions to the NB module through the cloud to remotely control electrical appliances.

 

 

Core expansion board

1. Core board + NB module controls the adjustment of global electrical appliances through wireless RF (433M) communication.

2. The core board can be used for local control of the 7-inch LCD.

 

 

Communication module introduction:

RF98

RFM98 is a 433MHz version of LoRa transceiver design and application. It is a transceiver using LoRa remote modem, which can provide ultra-long-distance spread spectrum communication and high anti-interference while consuming a trace amount of current.

Basic parameters of wireless transceiver module RFM98:
Working frequency: 433/470MHz
Modulation method: LoRa/FSK/GFSK/OOK
Transmit power: 20dBm
Receiving sensitivity: -136dBm (LoRa, BW=125KHz, SF=12,
CR=4/5,1%PER)
Transmission rate: FSK: 300Kbps; OOK: 32Kbps;
Emission current: 120mA (+20dbm)
Receive current: 10.8mA
Standby current: 0.2μA
Data interface: SPI
Communication distance: >8000 meters (about 1.2kbps rate, visual distance) @LoRa
Antenna impedance: 50Ω
Working temperature: -20~+70℃
Power supply mode: DC 1.8~3.7V, 1.8V power supply will not reduce the transmit power
Module size: 16x16mm
Pin number  Pin name I/O describe
1 GND   Ground
2  MISO O SPI Data output
3 MOSI I SPI Data input
4 SCK I SPI Clock input
5 NSS I SPI Chip select input
6 RESET I Reset trigger input
7 DIO5 I  Digital I/O, software configured
8 GND   Ground
9 ANT    RF signal output/input.
10 GND    Ground
11 DIO3 I/O software configured
12 DIO4 I/O software configured
13 3.3V   Supply voltage
14 DIO0 I/O Digital I/O, software configured
15 DIO1 I/O Digital I/O, software configured
16 DIO2 I/O Digital I/O, software configured

NB module introduction:

NBIOT

The M5313 module is a dual-mode NB-IOT/GSM industrial-grade communication module based on the LCC interface . It can be widely used in low-power data transmission equipment and meets the 3GPP Release 14 standard. M5313 can support the following frequency bands: NB-IOT : Band 3/Band 5/Band 8 GPRS : Band 2/Band 3/Band 8 M5313 adopts a highly integrated design solution to integrate RF and baseband on a PCB to complete wireless RF signals It has receiving, transmitting, and baseband signal processing functions, and uses LCC interface externally. The module size is 19.0mm*20.9mm*2.7mm . The M5313 module adopts low power consumption technology, and the current is as low as 5uA in deep sleep mode .





Power interface
Pin number  Pin name I/O describe DC characteristics Remark
24,25  VBAT  PI Module main power supply
3.4V-4.2V
Vmax=4.2V
Vmin=3.4V
Vnorm=3.8V
The power supply must be able to
provide 2A of current
16  VDD_EXT  PO Module IO port power supply Vmax=3.0V
Vmin=2.6V
Vnorm=2.8V
Imax=20mA
If power is supplied externally, a
2.2~4.7uF
capacitor needs to be connected in parallel. If not used,
leave it floating .
Switch interface
14  PWRON  DI The module is pulled low internally and automatically turns on after power-on
by default .
   
reset interface
15 RESET DI Pull this pin low
for more than 100mS to reset the module
VILmax=0.33V
VIHmin=0.77V
VIHmax=1.8V
Power domain
VRTC
has an internal pull-up.
serial port
1 UART1_TXD DO UART1 serial port sending VILmin=0V
VILmax=0.3V×VDD_EXT
VIHmin=0.7×VDD_EXT
VIHmax=VDD_EXT
VOLmax=0.25×VDD_EXT
VOHmin=0.75×VDD_EXT
VDD_EXT
voltage domain,
if not used , leave it floating.
2 UART1_RXD DI UART1 serial port reception
18 HST_TXD DO HST serial port transmission
19 HST_RXD DI HST serial port reception
9 UART2_TXD DO UART2 serial port sending
20 UART2_RXD DI UART2 serial port reception
SIM card interface
10 SIM_DATA IO  SIM card data signal VSIM=3.0V:
VILmax=0.4V
VIHmin=VSIM-0.4
VOLmax=0.4V
VOHmin=VSIM-0.4
VSIM=1.8V:
VILmax=0.15×VSIM
VIHmin=VSIM-0.4
VOLmax=0.15×VSIM
 China Mobile Internet of Things Co.,
Ltd.- 15-
VOHmin=VSIM-0.4
 
11 VSIM  PO SIM card power signal 3.0V or 1.8V adaptive  
12 SIM_CLK DO  SIM card clock signal VSIM=3.0V:
VOLmax=0.4V
VOHmin=0.9×VSIM
VSIM=1.8V:
VOLmax=0.12VSIM
VOHmin=0.9×VSIM
 
13 SIM_RST DO  SIM card reset signal VSIM=3.0V:
VOLmax=0.36V
VOHmin=0.9×VSIM
VSIM=1.8V:
VOLmax=0.2V
VOHmin=0.9×VSIM
 
ADC interface
ADC AI Digital-to-analog conversion interface Voltage input range:
0V~1.8V
Leave it empty if not in use
GPIO interface
twenty three GPIO IO Universal input and output interface VILmin=0V
VILmax=0.3V×VDD_EXT
VIHmin=0.7×VDD_EXT
VIHmax=VDD_EXT
VOLmax=0.25×VDD_EXT
VOHmin=0.75×VDD_EXT
Leave it empty if not in use
Sleep/wake interface
5 WAKE_IN  DI Wake up module input interface VILmax=0.33V
VIHmin=0.77V
VIHmax=1.8V
Power domain VRTC, if not used, leave it floating.
twenty two WAKE_OUT DO Module sleep state output interface VOLmax=0.25×VDD_EXT
VOHmin=0.75×VDD_EXT
Leave it empty if not in use.

network instructions

twenty one

NETLIGHT  DO Network status indication VOLmax=0.25×VDD_EXT
VOHmin=0.75×VDD_EXT
Leave it empty if not in use.
Antenna interface
28 RF_ANT IO  GSM/NB-IOT antenna  50Ω impedance   
GND interface
8,26,27,29,30 GND    ground     
NC interface
3,4  NC       Leave it empty if not in use.
RESERVED interface
17  RESERVED  Reserved pins     hanging in the air

 

The main communication code is LoRa (RFM98 claims a communication distance of 8 kilometers, I have only tried 1 kilometer)

0CX8SVAto3mcd7uZKzw7CZMCTEEvyHXN8BcSNR5i.png

 

PedsOuJDE5SIiOLreIHtX3MOdaxRuKFys4saHO5j.png

 

TUiP7Szi4WpdYxm46rc1q85S4yioRB26Vvnsv8bu.png

 

NDH6xJG4JN3PpBMRHQvjhUJ3c724kIAPJVh6QKMe.png

 

PC0pUfc0zSkOvhVoF03ut6YtRdBsagflPXatOZks.png

v6zQjEiAl1CaID8wEuwxrs6I5lI3XDekA4B4x4aX.png

 

 

debug

NB module: https://b23.tv/PTMVuc

Analog RF switch: https://b23.tv/wkQWPy

 

Resource recommendations

LoRa reference: https://blog.csdn.net/HowieXue/article/details/78049603?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~all~first_rank_v2~rank_v28-2-78049603.nonecase&utm_term=payloadcrcerror% 20%E4%B8%AD%E6%96%AD&spm=1000.2123.3001.4430

Antenna design reference: https://www.antenna-theory.com/cn/antenna.php

RF antenna reference: https://www.docin.com/p-2158776079.html

NB reference: http://iot.10086.cn/Chipmodule/readmodule/id/798

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-24 13:40:43

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号