Title:
-
Tanzstunde: Raspberry Pi steuern mit Android [German version in Linux Magazine]
-
Controlling the Raspberry Pi with Android via the WebSocket protocol [English version in Raspberry Pi Geek]
Abstract:
The various small computers with relatively powerful microprocessors now on the market are attractive to developers, engineers, and makers alike. The processors provide fast and easy access to hardware buses via I2C, 1-Wire, or SPI, allowing users to combine the worlds of software and electronics. Connecting data to the real world – for example, by reading external sensors or controlling actuators – calls for simple and efficient communication between a client and server, as provided by the WebSocket protocol. Basically, this technology is used when you want to realize fast and powerful, bi-directional communication in real time between web applications and clients. In this article, I present two sample projects involving the operation of a Raspberry Pi as a WebSocket server to which a WebSocket client sends asynchronous broadcast messages […]
Source code:
Gallery:
Gallery: