Design and Implementation of Embadded Gateway Based on RS-485/CAN Bus
|School||Inner Mongolia University|
|Course||Computer System Architecture|
|Keywords||Embedded gateway S3C2410X CAN RS-485 GPRS|
Things have been slowly integrated into our daily lives , the so-called Internet of Things refers to a variety of information sensing device and the Internet combine to form a huge network for information exchange and communication in order to achieve intelligent identify, locate , track , monitoring and management of a network. This article is based on the status quo by designing smart home system embedded gateway for some things in depth understanding. This paper summarizes the results of previous studies , on the basis of advanced embedded technology, bus technology , network technology and wireless transmission together, is proposed based on RS-485 bus , CAN bus embedded gateway design. The program via RS-485 bus , CAN bus , GPRS and Ethernet communicate with each other to achieve the different interface device data forwarding , and thus simulate the various appliances on the bus for control and monitoring. This paper analyzes the current domestic and embedded gateway status and future development direction , describes the overall design of hardware and software platforms and solutions , given the system hardware configuration , a detailed description of the gateway software design . Which gateway hardware uses UP-NETARM2410-S embedded development hardware platform , the embedded Linux operating system as the software platform , the kernel embedded Linux2.4.18. Driver uses a RS-485 interface drivers , CAN bus interface driver , GPRS interface drivers and Ethernet port drivers. Gateway application using the arm-linux-gcc cross compiler , and the compiled executable file uploaded to the UP-NETARM2410-S, using VC 6.0 client as a programming environment , the use of UDP protocol for data network. The application of the system can be remote PC via Ethernet terminals and mobile nodes for each device on the bus be monitored and controlled.