Data acquisition system based on ATmega48

The invention discloses a data acquisition system based on ATmega48. An ATmega48 chip is adopted in a single chip microcomputer, and an AT26DF161A chip is adopted as a FLASH chip; the ATmega48 chip and the AT26DF161A chip carry out data interaction through an SPI communication interface. A main prog...

Full description

Saved in:
Bibliographic Details
Main Authors LU ZHENGYAN, ZHANG WUFENG, LI GUIJIAO, FANG JIANFENG, ZHOU JINGXUAN
Format Patent
LanguageChinese
English
Published 07.01.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a data acquisition system based on ATmega48. An ATmega48 chip is adopted in a single chip microcomputer, and an AT26DF161A chip is adopted as a FLASH chip; the ATmega48 chip and the AT26DF161A chip carry out data interaction through an SPI communication interface. A main program in the ATmega48 chip circularly scans an input level of a specified port; whether the selected mode is an acquisition mode or an editing mode is determined, if the acquisition mode is selected, whether data exist in the AT26DF161A chip is analyzed, if yes, an endless loop state is entered, and an indicator lamp is enabled to flicker, otherwise, the acquisition mode is entered, and a main loop reentered; and if the editing mode is selected, the editing mode is entered, the AT26DF161A chip isread and erased, the editing mode is exited after editing, and the main loop is reentered. 本发明公开了基于ATmega48的数据采集系统,单片机采用ATmega48芯片,FLASH芯片采用AT26DF161A芯片;ATmega48芯片与AT26DF161A芯片通过SPI通信接口进行数据交互;ATmega48芯片中的主程序通过循环扫描指定端口的输入电平,来确
Bibliography:Application Number: CN201910874537