Store and visualize sensor data in SQLite

Store sensor data with SQLite

Very often as part of an Orange Pi or Raspberry Pi project involving sensors, it is useful to store the sensor data in some kind of way or another. A good way to store the data is in a database that you can manage and query. SQLite is a popular embedded database management system. SQLite comes in the form of a C library. Due to it’s low footprint on resources, it fits well with a device such as a Raspberry Pi or the Orange Pi.

Read more…

Ultrasonic distance sensor

Connect the ultrasonic sensor to the Orange Pi

In this tutorial we will learn how to connect a HC-SR04 ultrasonic range sensor to the Orange Pi. This sensor measures distance from the sensor to an object by using ultrasounds. This is similar to how animal echolocation works, for example bats navigating in total darkness. Also, it’s how the submarine’s sonar detects objects under the sea.

Read more…

Install Hadoop on the Orange Pi

Install Java on Orange Pi

Let’s put the yellow elephant on the Orange Pi! Hadoop is a framework for distributed data storage and processing used in big data applications. We will set up a single node Hadoop cluster on the Orange Pi. This may or may not be practical in a production environment, but it’s a good way to learn to configure Hadoop, load a file on the hdfs and run a MapReduce job.

Read more…

OpenELEC on the Orange Pi

Install Kodi on the Orange Pi

OpenELEC is an operating system built around Kodi, allowing you to turn your device in a media center. Installing OpenELEC on the Orange Pi is quite simple. In this post I will show you how to download, burn and load OpenELEC on the Orange Pi Plus 2e. The OpenELEC image is also available for the Orange Pi One, Orange Pi PC and Orange Pi Lite.

Read more…

Web app with Flask & D3.js on Orange Pi

Create a Flask web page

In this tutorial I will show you how to build a simple web app using Flask for the server side scripting and D3.js for the data visualization.

Read more…

Touchscreen display on Raspberry Pi

Attach the display directly to the GPIO pins

So I just got a 5 inch 800×480 HDMI touchscreen display. It comes with a CD with the drivers, a small HDMI connector, a touch pen, and it has a nice back light control switch.

Read more…