Ethernet smart home controller design

1 Introduction

With the rapid development of modern 4C technology (computer technology, control technology, communication technology and graphic display technology) and the continuous improvement of people's living standards, smart home has become an important branch of intelligent buildings. The purpose of this paper is to design a low-cost, general-purpose home-based smart home controller that integrates local control and remote control to control the operation of indoor appliances and the collection of environmental parameters. The local control in the design uses infrared technology. The remote control realizes the embedded Web server by developing the streamlined TCP/IP protocol and the HTTP protocol, so that the user can control and monitor the equipment and environment in the home through any browser. .

2 Ethernet smart home controller hardware design

The smart home controller adopts 8-bit single-chip microcomputer W78E58B as the core processing unit of the system. The hardware block diagram of the system is shown in Figure 1.

Ethernet smart home controller design

The local end is based on infrared communication technology, the transmitting end adopts NB9148 infrared encoding module, the receiving end adopts SJ1838 for receiving and demodulating, and the control signal is transmitted to W78E58B. External expansion RAM 62256 to improve the data transfer speed of the microcontroller and the processing of complex TCP/IP protocols. RS232 serial communication is mainly used for downloading and debugging of programs, as well as communication conversion interface. The GAL device ATF16V8B is used for chip selection to save system space resources.

The DS18B20 is used for ambient temperature acquisition.

The hardware platform for remote control consists of W78E58B and Ethernet controller RTL8019AS. The RTL8019AS is a dedicated Ethernet control chip designed for the ISA bus to implement the physical layer protocol of the network. The RTL8019AS has a built-in 10BASE-T transceiver that uses a jumper to connect to the RJ-45 through a network filter 20F-01 that improves the interference immunity of network communications. E2PROM AT24C512 is used to implement web file storage for embedded web server access. It is also used to store some settings of users such as IP address, gateway and MAC address of network card chip.

3 Ethernet smart home controller software design

The software implementation of Ethernet smart home controller is completed on the single-chip computer, including virtual I2C bus read/write program, infrared receiving and control program, temperature acquisition program, network card chip RTL8019AS driver, embedded web server implementation and other processing. program. In this article, only the driver of the network card chip and the implementation of the embedded Web server are discussed.

We have experience and skill to support customers to tooling for their required Waterproof Connectors, like IP68 series,Micro Fit Connectors. Etop wire assemblies for various industries have been highly recognized by all the customers and widely used for automobiles, electrical and mechanical, medical industry and electrical equipemnts, etc. Products like, Wire Harness for car audio, power seat, rear-view mirror, POS ATM, Diesel valve Cover gasket fit, elevator, game machine, medical equipment, computer, etc.

Connectors

JST Connector,Molex Connector, Multi-Contact Connector, Micro Fit Connectors

ETOP WIREHARNESS LIMITED , https://www.etopwireharness.com

This entry was posted in on