Category Archives: Data

Arduino – logging accelerometer

This logging accelerometer is set up using Arduino UNO compatible microcontroller SD card adapter Three axis digital accelerometer Various cables, breadboard and an sd-card (any size will do) The library for using the SD-card comes with the arduino IDE v … Continue reading

Posted in arduino, Data, Diverse | Comments Off on Arduino – logging accelerometer

Simple ajax based autocomplete in jquery

Starting to abandon prototype.js to use what seems to be the new standard jquery – one of the first things I want to do, is to make some autocomplete fields fetching values from a data base. I have made an … Continue reading

Posted in Data, Diverse | Comments Off on Simple ajax based autocomplete in jquery

Automatic datavalidation in postgres

How to stop bad data from propagating – automatically check what goes into a postgres database Continue reading

Posted in Data | Comments Off on Automatic datavalidation in postgres

How to move a VboxManager virtual machine to another host

Officially, to move a vbox virtual machine to another host, you have to clone it. But – what if vboxmanager for some reason has stopped working on the host you want to move the vms from? Continue reading

Posted in Data, linux | Comments Off on How to move a VboxManager virtual machine to another host

Sensor testing

Comparing measurements of temperature and humidity using DHT11, DHT22, BMP085 and DS18B20. Continue reading

Posted in arduino | Comments Off on Sensor testing

Arduino and BMP085

The BMP085 is a barometric and temperature sensor. I’ve got one on a breakout board from geeetech. Using this and an arduino, it is possible to build an electronic barometer. It can be connected to an arduino uno or nano: … Continue reading

Posted in arduino | Comments Off on Arduino and BMP085

Reading temperature data out of postgres

I have set up a system logging temperatures (and later hopefully also other parameters) to a postgres database. The data are now read out and presented as an svg-graph. (this may not work in some older browsers, i.e. msie< 9 … Continue reading

Posted in arduino | 2 Comments

Storing temperature data in postgresql

Pushing temperaturedata from an arduino setup into a postgresql database Continue reading

Posted in arduino, php, sql | 2 Comments

Arduino and infrared reflective sensor

Testing a infrared reflective sensor module. I set it up with an arduino board, running the following sketch: int sensorPin = 10; int value = 0; int prevval =0; int count=0; void setup() { pinMode(sensorPin,INPUT); Serial.begin(9600); } void loop() { … Continue reading

Posted in arduino | Comments Off on Arduino and infrared reflective sensor

Store data from temperature server in couchdb

Fetching json data from an arduino server, adding a time stamp and stashing it all into a couchdb. Continue reading

Posted in arduino | 1 Comment