In recent years, the technology of the Internet of Things has developed rapidly and can be widely used in many environments. The communication between devices and devices is mainly through the wireless network communication technology to transmit and receive messages. The frequency bands, transmission distances, transmission rates used by different wireless communication technologies are different from those applied. Moreover, IoT devices have the characteristics of small size, low power consumption, and long service life. In order to meet these requirements, the computing power of the device will be low. There are a variety of security and privacy issues and other related issues in the Internet of Things that have been widely discussed by many people. This study used the Arduino device to set up the LoRa network environment. In the case of using a device with low computing power, the protection user is not attacked by a malicious attacker when transmitting information, and avoids leakage of information or abnormal operation of the system.