Blog

Gentoo and Kernel 3.0

I upgraded to Linux kernel version 3.0.3 today and it works!

There were some things to think about but almost everything worked like kernel 2.6.39. The main problem was the Nvidia driver which must be the newest version available. The "stable" version for 2.6 doesn't compile. I added the following to /etc/portage/package.keywords to get things run:

=sys-kernel/vanilla-sources-3.0.3       ~x86
x11-drivers/nvidia-drivers      ~x86

VirtualBox modules compiled without any problems and is running like before...

Just upgrade! Ask me if you need help... ;)

HP 5082-7433 7 Segment LED Display

Rafael and I found this 7 segment LED display tonight while tinkering a bit. We didn't knew what it is at first but after searching around the web we found out that it was a very vintage 7 segment LED display with 3 digits... ;) It is a HP 5082-7433.

HP 5082-7433

Arduino Motion Sensor Server

I tinkered a little bit this evening and I have added a motion sensor to the Arduino platform. After that I added a network shield and have coded a small HTTP server... This server provides just a 0 or an 1. 0 if I don't have moved around; 1 if I am dancing on the desk... ;) The sensor works with a radius of about 5 to 7 meters and it is really a lot of fun. You could get such sensors very cheap at ebay, just search for "arduino motion sensor".

Arduino Motion Sensor Server

I am getting the status every second using wget and are displaying the output in xterm. It looks nice to see how much I am moving when writing this Blog post:

Arduino Motion Sensor Server

Danmark

I was on holiday in Denmark last week. It was a great time. Since I was on a danish school, I were there many times in my youth. I felt very well @home... ;)

Arduino LM35 temperature sensor

I am ill today and needed to distract me some bit.

I added a LM35 temperature sensor to my Arduino. Since someone did the work already, I only needed to copy some code and setup the wiring on a breadboard. I used the same wiring like in the link. Below is an image of the wiring made with Fritzing. I am using a LM335 for this because there where no LM35 as a Fritzing part available...

Arduino LM35 Wiring

I changed some parts of the code to only print the temperature as String to serial. In the original code the data was sent as (byte) over serial to read the value with an application created using Processing. Feel free to change this again... ;) This is the code I used:

float temp;
int tempPin = 0;

void setup()
{
  Serial.begin(9600);
}

void loop()
{
  temp = analogRead(tempPin);
  temp = temp * 0.48828125;
  Serial.println(temp);
  delay(1000);
}

My output in the serial monitor of the Arduino IDE looks like this:

Arduino LM35 output

Pages: