Chapter 9.  Making a Media Hub on the Raspberry Pi

In this chapter, we will learn how to deploy a custom application in order to make an embedded media hub (panel control for temperature, ADC, serial, and so on).

We will work on aspects of rpm packages, init scripts, recipes, and web development.

Project description – CPU temperature monitoring

The idea of this project is the creation of a web interface that allows, for example, monitoring of the CPU temperature.

To do this, we will use technologies such as HTML5 and nodejs. We will also have utilities available on the Raspberry Pi, such as vcgencmd.

In this project, we will use technical aspects, such as:

  • Websocket
  • Justgage
  • Nodejs

The idea here is not to explain these technologies, but to learn that they can be used in the Yocto Project.

Overview

The following diagram represents the project's structure:

Overview

Hardware/software requirements

You'll need the following hardware and software for this project:

  • A Raspberry Pi
  • A host PC
  • An SD card
  • SSH/SCP
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.30.162