Author Archives: Morten

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

Fixing damaged pickguard

There should be some limits to stupidity – I tried to pick up my bass while the cable was plugged in and I was standing on the cable… It ended up with a broken pickguard: I don’t know how easy … Continue reading

Posted in Diverse | Comments Off on Fixing damaged pickguard

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

Arduino – temperature webserver

A simple Arduino based web-readable multi channel termometer. Continue reading

Posted in arduino, Diverse | 2 Comments