|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/raspberry-pi-powered-smart-mirror/
课程评论:没有评论
**课程名称:** Raspberry Pi 驱动的智能镜子 **课程概述:** 本课程是一个主动学习/DIY项目,旨在通过制作一个有趣的智能镜子来学习脚本语言基础知识。您将学习如何设置和构建自己的智能镜子显示屏,包括创建和编写自定义网页,并使用 Apache HTTP 服务器应用程序将其托管在 Raspberry Pi 上。 课程将首先教授如何编写基础 HTML 脚本,并添加时钟、定期更新的新闻信息流和天气信息流。接着,您将学习创建级联样式表(CSS)文档,并自定义网页,以实现智能镜子所需的显示效果。 本课程将涉及多种编程语言的基础概念: * **HTML:** 构建智能镜子网页的基础结构。 * **JavaScript:** 用于编程时钟显示。 * **PHP:** 用于处理新闻和天气两个 RSS 信息流。 * **CSS:** 编辑 HTML 文档的样式,以适应部分镜面显示。 最终,您将把所有组件整合到 HTML 脚本中,并通过 CSS 文件调整网页布局,使其能够通过半透明镜面清晰显示。
This course is meant as a active learning/DIY project to learn the basics of scripting languages, while working on something fun. This course will focus upon teaching you to setup and build your own smart mirror display. This involves creating and coding a custom web page and hosting it on a Raspberry Pi using the Apache HTTP server application. To learn how to build your own magic mirror, we will first focus on writing a base HTML script for the website, and adding basic elements - a clock, a periodically updating news feed, and a periodically updating weather feed, to it. Once this is done, we will create a cascading style sheet (CSS) doc and customize our web page to give us the required display for a smart mirror. This course involves the use of basic concepts from multiple programming languages. We will be using JavaScript to program the clock display. We will also be using PHP for the two RSS feeds - news and weather. Finally, we will put all this together in our HTML script and edit the presentation of our HTML document using a CSS file to make the display visible through a partially mirrored surface.