本文为挪威奥斯陆大学(作者:Magnus Åsrud)的硕士论文,共90页。
物联网(IoT)正日益与我们的日常生活融为一体。一些家庭已经配备了智能设备,可以实现诸如室内气候监测、除草等任务。目前已经存在为物联网设计的开放源码框架,爱好者和专业人士可以将其用于自己的项目。然而,这些工具中的许多种类都要求用户了解编程语言,如C、Python和JavaScript。不太懂编程的用户以及想要改进物联网的用户可能会发现使用这些工具很困难。在本文中,我们将研究如何设计一种针对物联网的编程语言。该语言针对业余程序员,旨在使得对任何物联网设备的编程变得容易。我们将讨论当前物联网硬件的局限性,以及统一的语言应该如何解决这些局限性。最后,我们将研究如何在Raspberry Pi 3模型B上实现这种语言的解释器。
The Internet of Things (IoT) is becoming more integrated with our daily lives for each passing day. Some households are already equipped with smart devices which perform tasks such as monitoring the indoor climate to mowing the lawn. There exists open source frameworks designed for IoT which can be used by hobbyist and professionals for their own projects. However, many of those tools require the user to know programming languages such as C, Python and JavaScript. Users who do not know much programming and who would like to tinker with IoT may find it challenging to work with those tools. In this thesis we’ll look at how to design a programming language targeted specifically at IoT. The language is targeted at amateur programmers with the goal to make it easy to program any IoT device. We’ll discuss the current limitations of the IoT hardware and how the language should work around them. Finally, we’ll look at how to implement an interpreter for this language on a Raspberry Pi 3 Model B.
1 引言
2 物联网
3 与物联网相关的项目
4 IoT编程语言需求
5 Daspel语言设计
6 概念验证
7 Raspberry Pi与Sense HAT
8 具体实现
9 结论
完整资料领取请加QQ群免费下载: