Bridge Design of Ethernet and CAN Bus Based on PIC32

Project background

The design uses the Ethernet module that comes with the PIC32 as a bridge to the external network to realize the systematic management of the laboratory (model). The system can remotely open laboratory access via Ethernet and monitor the working status of various equipment in the laboratory. In the laboratory, the CAN bus with simple physical structure and low cost is used to realize the connection and communication of various devices in the laboratory.

The system is designed to facilitate the convenience of teachers, even in the holiday teachers can provide an experimental platform for students, and you can understand the various conditions of the laboratory without going to the laboratory. It provides a new management mode for school experimental teaching, which greatly reduces the management funds of the school, and solves the problem that the instrument damage is found to be untimely.

The system has broad application prospects, and application in the laboratory platform is only one aspect. In the smart home, factory water work workshop, etc., the idea of ​​the design can be applied.

Project Description

2.1 Project Summary

This design uses the PIC32 Ethernet module in the lab and external communication to monitor the working status of the entire lab in real time. In addition, PIC32 is the control core of the system, and comprehensively dispatches various equipments of the laboratory to achieve safety and energy saving effects. The peripheral module can complete the opening and closing of the laboratory access control separately, adjust the light of the laboratory according to the external light intensity, and control the temperature control system in the laboratory. The design involves the processing of various signals such as light (such as intelligent control of indoor light intensity), electricity (such as equipment power management), temperature (such as constant temperature control), and automatic management to meet the requirements of intelligent laboratories.

2.2 Project Module Introduction

The design mainly includes: Ethernet remote communication module, which is mainly responsible for communication between the remote PC and the MCU; the MCU control module is mainly responsible for information aggregation and communication, coordination and control between the modules; the access control system module is completed under certain conditions. Open and close the door of the simulated laboratory platform, and report its status to the MCU; the indoor power control module mainly monitors and controls the state of the indoor power supply, and timely feeds back the power supply information of various devices to the MCU; the light control module, It is mainly responsible for the monitoring, adjustment and control of the indoor light intensity of the simulation laboratory; the intelligent heating control module can work independently according to the preset mode, and can also receive commands from the CAN bus MCU and work according to its requirements.

2.3 Design goals

2.3.1 Remote Control

This design mainly realizes remote monitoring and control of the laboratory, and the design is also compatible with local control management operations. Because the PIC32 has a wealth of on-chip resources, the system Ethernet host can be used to achieve convenient Ethernet communication, and the remote PC can directly manage the system operation. Take the laboratory platform model as an example. When the user (teacher) needs to open the lab, he can directly send commands through the remote PC to communicate with the Ethernet. When the MCU receives the instructions from the user, it passes the specific requirements. The CAN bus transmits control signals, and the access control system can open the laboratory gate after identifying the corresponding information.

2.3.2 Local real-time monitoring

This design enables overall monitoring of the entire laboratory environment. After the device works normally, each module sends a status report to the MCU through the CAN bus at intervals. The MCU makes a corresponding decision based on the received feedback information, and sends the next command to the corresponding device. Intelligent management of the entire experimental platform.

In-ear Wired Earphones, they are small and comfortable and simple, fit in just about any pocket,and they provide great sound that literally goes straight into your ears,bring it on your next commute or run, or simply enjoy it in the comfort of your time.


In-ear Wired Earphones

Earbuds With Removable Cable,Earphones With Replaceable Cabl,Stereo In-Ear Earphones,In-Ear Wired Headphones

Dongguang Vowsound Electronics Co., Ltd. , https://www.vowsound.com

Posted on