- 29
- 0
- 约8.79千字
- 约 23页
- 2017-06-10 发布于河南
- 举报
RS485多机通信程序(终结版AVR)(国外英文资料)
RS485多机通信程序(终结版AVR)(国外英文资料)
RS485 multiplayer communication program (end version of AVR)
SCM: AVR ATMEGA8
Communication: RS485
Chip: MAX485 / MAX487
Requirement: a host is more than three from the machine. (this example USES 3 from the machine)
Working principle:
Three from the machine:
Collect the voltage (1-5v) and send the data to the host
Module sample lead PC0 / ADC0
The MAX487 RE and DE are connected, and they get PD3
Host:
The MAX487 RE and DE are connected, and they get PD3
Pc0-pc3 and 1602 LCD d4-d7 (using only four data lines)
New parallels to meet LCD E
PC4 meet LCD RW
PC5 meet LCD
原创力文档

文档评论(0)