nav emailalert searchbtn searchbox tablepage yinyongbenwen piczone journalimg journalInfo journalinfonormal searchdiv searchzone qikanlogo popupnotification paper paperNew
2019, 04, v.29;No.101 13-16
基于ESP8266的无线信息传输系统设计
基金项目(Foundation): 天津职业技术师范大学科研发展基金资助项目(KJ1803)
邮箱(Email):
DOI: 10.19573/j.issn2095-0926.201904003
摘要:

为解决二维码扫描器占用电脑存储,造成难以收集和查询数据及浪费资源的问题,提出一种基于物联网使多个二维码扫描器通过局域网与服务器连接的方法。该方法利用ATMEGA16A单片机对ESP8266进行模式配置,使ESP8266同时连接到局域网及以visual studio 2008为平台搭建的服务器上,进入透传模式,将本地异步串口通信转换成基于TCP/UDP协议的网络通信,实现将多台二维码扫描器扫描所得到的信息通过ESP8266远程传输到服务器,并记录到后台的Access数据库中。

Abstract:

QR code scanner in the store occupies disk space,which is a waste of resources and makes it difficult to collect and query data. In order to solve such problems,a method is proposed based on the Internet of Things to connect multiple QR code scanners to the server through the local area network. ATMEGA16 A MCU is used to configure the ESP8266 mode,so that the ESP8266 can be connected to the LAN and the server built with the visual studio 2008 as the platform and enter the transparent transmission mode(i.e. convert the local asynchronous serial communication to the network communication based on TCP/UDP protocol),which makes it possible for the information obtained by scanning multiple QR code scanners to be remotely transmitted to the server through the ESP8266,and recorded to the Access database in the background.

参考文献

[1]姜艳.物联网的发展趋势及应用前景[J].企业改革与管理,2017(22):48.

[2]胡汉才.单片机原理及其接口技术[M].北京:清华大学出版社,2004.

[3]贝煜星,王阳,蓝青.基于单片机的短距离无线通信系统设计[J].浙江万里学院学报,2019,32(1):60-66.

[4]潘方. RS232串口通信在PC机与单片机通信中的应用[J].现代电子技术,2012,35(13):69-71.

[5]邱宏斌.一种基于ESP8266模块的物联网设计思路[J].Electronics World,2017(9):157.

[6]罗亚非.基于TCP的Socket多线程通信[J].电脑知识与技术,2009,5(3):563-565,598.

[7] BENF T. SQL必知必会[M]. 4版.北京:人民邮电出版社,2013.

[8]刘烨.用Socket实现基于TCP和UDP的原理探索[J].电脑学习,2009(3):6-8.

[9] BRUCEJ S. Visual Studio 2015高级编程[M]. 6版.张卫华,裴洪文,译.北京:清华大学出版社,2016.

[10]徐凡,汤怀礼.用MFC类编写TCP/IP网络通信程序[J].今日电子,1998(1):40-43.

[11]TIM P. TCP/IP技术大全[M].北京:机械工业出版社,2000.

[12]刘向东.基于Client/Server结构的数据库系统设计[J].电脑知识与技术,2018,14(11):8-10.

[13]陈昕,谭跃生.利用ADO连接Access数据库与ASP程序的方法[J].包钢科技,2010,36(1):58.

[14]黎新仁.基于Visual C++的数据库访问技术对比分析[J].无线互联科技,2016(1):88-89.

[15]王野,张秀洁.关于C++面向对象程序设计的探讨[J].电脑编程技巧与维护,2019(1):41-42,82.

基本信息:

DOI:10.19573/j.issn2095-0926.201904003

中图分类号:TP391.44;TN929.5

引用信息:

[1]余佳琦,杨丽,杨岭玉,等.基于ESP8266的无线信息传输系统设计[J].天津职业技术师范大学学报,2019,29(04):13-16.DOI:10.19573/j.issn2095-0926.201904003.

基金信息:

天津职业技术师范大学科研发展基金资助项目(KJ1803)

投稿时间:

2019-04-12

投稿日期(年):

2019

终审时间:

2019-11-21

终审日期(年):

2019

修回时间:

2019-07-09

审稿周期(年):

1

发布时间:

2019-12-28

出版时间:

2019-12-28

检 索 高级检索

引用

GB/T 7714-2015 格式引文
MLA格式引文
APA格式引文