Webserver and Data Management with a Rasberry Pi

With the Rasberry PI you have a low cost data server at hand to collect and store process data or access central or public data sources. In this post we show how to setup an intial system.

Hardware required:

  • Rasperry Pi 3 Model B (that is what we are using in this project, but any other variant will do also)
  • Micro SD Card 8 GB or more (depending on the amount of data you plan to store).  Adapter to connect SD to MAC.
  • USB Cable (for conection to MAC and USB charger for independent energy supply later on)
  • For downloading the required software and formatting the SD we use a MacBook Pro, but a PC will also do the job.

Software required:

During this proejct we setup the system using the following software components:

  • NOOBS (New Out Of The Box Software)
  • A tool for formatting Micro SD cards
  • An Operating System for the Raspi: NOOBS LITE offers RASBIAN as the default option, which we also recommend for dataintensive applications

 

 

Step 1: Operating System

Startup your MAC and download NOOBS LITE.

https://www.raspberrypi.org/magpi/beginners-guide-noobs/

Get and install a suitable SD Card formatter for your MAC from sdcards.org https://www.sdcard.org/downloads/ and format SD Card.

Unzip and copy all NOOBS file onto to SD card.

Remove SD card  from your MAC/PC and put it into Rasperry PI. Connect the Raspi to a Monitor and a Keyboard and start up raspi, foolow the instructions connect to entwork and install RASPIAN.

When successful the Rasberry Pi will restart and boot up the new operating system.

Step 2: Webserver

We recommend the apache webserver. Detailled instructions you will find under this link:

Apache web server: Build a local HTML server with a Raspberry Pi

Short instructions: Open the command line on the raspi and enter the following line of code:

sudo apt-get install apache2 -y

Step 3: Database

Finally we setup  MYSQL and PHP as our pimary programming laguage and database management system. Dpeneding on the release available you may have to adjust to the version of PHP currently available.

sudo apt-get install php7.0 mysql-server -y

With this you have a small scale server enviroment ready to operate non-mission critical data. Have Fun!

 

OPTIONS

Enable access to https sites:

https://wiki.debian.org/Self-Signed_Certificate

Cademis Weather Monitor

CWM System OverviewCademis Weather Monitor is an environmental monitoring system which allows global access to sensor information from in and around your home.

Based on established communicaiton standards and with our Open Access policy it will enable everyone to build a solution step by step.

Follow these pages to get up and running  or let us know if you need a specific solution (special sensors, special data management, smart data analys, actuator interface) and we will try to help.

Coming up soon – The Cademis Weather Monitor!

We are excited to announce the upcoming release of the Cademis Weather Monitor. The original prototype was published  two years ago at Instructables. After several design iterations it will be released as Open Source Solution on 1. January  2016.

CWM R3
Cademis Weather Monitor Gateway

Main Features

  • Appealing design and simple to use gateway unit
  • Fits perfectly in any living room or kitchen
  • Connects to any enviromental sensor wireless via 868 MHz or direct via I2C
  • Easy Monitoring and Analytics over the Web
  • Open Source Electronic Design, MCAD, Firmware and Software

Over the coming weeks we will publish all design and manufacturing instructions which will allow you to build the Cademis Weather Monitor.

Clarks uses iPads to measure your feet and to collect biometric data

Its all about big data – Clarks places iPad based devices in shoe shops to support customers and improve the shopping experience. But as a nice side effect it also collects biometric data about your feet and process this data at its headquarters in order to get  information on regional trends.

Have a look at the video to get an impression about the combination of old and new technologies in today’s shoe industry.

Vienna Citizen Sensor Projekt

Open data initiatives in Vienna, Amsterdam and Barcelona try to develop technologies to enable citizens to collect and share enviromental data.

Main challenges seems to be the development of  an inexpensive hardware platform with acurate sensor-data and stable communication technology.

More at futurezone.at

Bürger-Sensoren: ‘Smart City auf der Grätzel-Ebene’ – futurezone.at.