ATmega128 16-channel remote control unit circuit analysis
Source: InternetPublisher:super_star Updated: 2020/02/04
This article introduces an ARTU-J16 with 16 remote control contact outputs. The device is connected to the host computer through the RS485 bus and serves as a remote relay output module. It is used to receive computer instructions and perform remote operation or automatic control of the system. The relay outputs are 16 in total. channel, the device has 1600 sets of operation event records, with GPS time correction function. It can ensure that the SOE event records will not be lost within a month after the external power supply is powered off. Compared with the previous control method, this design simplifies the control network structure and provides A low-cost, high-reliability alternative.
Main control CPU
The ARTU-J16 type 16-channel remote control execution unit is designed using ATMEL's ATmega128. A single chip realizes dual-channel RS485 communication, data processing, event record access, display and output status control of 16-channel relay normally open contacts. ATmega128 is an 8-bit RISC structure high-speed and low-power microcontroller launched by ATMEL. The system performance can reach 16MIPS at 16M clock frequency. It has 128k FlashROM, 4k EEPROM and 4k system SRAM; it can expand 64k external memory; two Road UART communication port. At the same time, the chip has a JTAG online programming port, which facilitates user debugging and reduces development costs. The 53 programmable I/O ports can connect enough peripheral devices.
DIP switch setting input
The DIP switch provides users with a simplified human-machine interface for setting the address, baud rate, data format and other setting functions in RS485 communication. The 10-bit data port of the DIP switch (SW1) is connected to a 10k resistor pull-up To Vcc, the circuit uses a 74HC244 (IC5) data buffer to transmit the status of the DIP switch to the 8-bit data bus, and the remaining two data lines are directly connected to the I/O port of the CPU (see Figure 2).
communication method
The communication method adopts dual-channel RS485 mode. The debugging and setting and host computer communication parts are physically divided into two channels without interfering with each other, effectively preventing possible misoperation (see Figure 3).
- Mobile phone interference circuit sharing
- Share an electronic touch organ circuit
- Tutorial on making a handheld Geiger counter
- Building an open source dynamic light scattering device
- How to build an autonomous robot using the DonkeyCar platform
- Plastic sealing machine circuit diagram
- Making an Off-Grid Solar PV System
- How to use the MP3 player from CATALEX
- How to create image processing solutions using HLS capabilities
- How to use ultrasonic sensors to make a simple nucleic acid sampling machine
- How does an optocoupler work? Introduction to the working principle and function of optocoupler
- 8050 transistor pin diagram and functions
- What is the circuit diagram of a TV power supply and how to repair it?
- Analyze common refrigerator control circuit diagrams and easily understand the working principle of refrigerators
- Hemisphere induction cooker circuit diagram, what you want is here
- Circuit design of mobile phone anti-theft alarm system using C8051F330 - alarm circuit diagram | alarm circuit diagram
- Humidity controller circuit design using NAND gate CD4011-humidity sensitive circuit
- Electronic sound-imitating mouse repellent circuit design - consumer electronics circuit diagram
- Three-digit display capacitance test meter circuit module design - photoelectric display circuit
- Advertising lantern production circuit design - signal processing electronic circuit diagram