Blog Atom RSS

Arduino Motion Sensor Server

Wednesday, May 25th, 2011

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

Posted in: DIY, electronics

Danmark

Sunday, May 8th, 2011

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… ;)

Posted in: fun

Arduino LM35 temperature sensor

Monday, April 11th, 2011

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

Posted in: DIY, OpenSource

Alex’ Tiny2313 Header Board

Sunday, April 10th, 2011

I got this nice Tiny2313 header board on Friday from Alex. Thanks for that nice piece of work!

It seems that I bought the last ones because there are currently no more of them in his shop available… :( But I think you could get one in the near future again. If not take a look at his site. All code and schematics are freely available there.

Tiny2313 header board

Soldering was a lot of fun and very easy to do. After successful soldering I build the small circuit at the end of the howto and flashed the microcontroller using the Makefile provided by Alex. I needed to change some things to make it work right on my Linux box using avrdude and the Atmel AVRISP mkII.

I changed the PROGRAMMER line to:

PROGRAMMER = -P usb -c avrispmkII

If you even get errors, try to add the parameters “-F” and “-D” to $PROGRAMMER. Call “avrdude –help” to get a description of these parameters… ;)

Don’t forget to add an external power supply to the header board since the AVRISP not seems to provide enough power. I got strange errors in the output of avrdude. After adding more power everything worked as expected.

The result: A blinking LED. Yeah! :)

Posted in: DIY, electronics

Yenka! A very nice circuit simulation software

Sunday, April 10th, 2011

Yenka LogoRafael found an application called Yenka in the web. This software is wonderful! You could use it for simulating many things. We are using it for designing and simulating electronic circuits but other stuff like mathematics and physics are available too. It is a very nice application for teaching and learning…

Below is an image of a simple transistor switch designed with Yenka.

Switched off:

Yenka transistor switch

Switched on:

Yenka transistor switch - on

You could simulate the circuit. When switching the button in the lower left corner. You could measure the Voltage and Ampere at every point of the circuit… ;) Now I don’t need so much time to solder anymore… even it is a lot of fun soldering own devices.

You could download it for free and use it completely for free when using it at home! With all features!!! There is a version for Mac, Windows AND Linux available.

Posted in: DIY, electronics

Pages

<< 12 3 4 5 6 78 9 10 11 12 13 14 15 16 >>

Tags

Account ACTA Amsterdam Android App Arduino Arm Attiny Automation Avr Beach Board Book Bootstrap Circuit Clouds Code Community Cross Css3 Cyanogen Denhaag Denmark Desaster Deutsch Device Distribution DIY Dotnet Electronics Embedded Extension Extension news Firefox Foo Fosdem Freedom Freifunk Friends internet Fun Games GCC Gentoo German Gnoduino Hamburg Header Hello Holiday Host Howto HTML Html5 Httpd Internet Irc Jabber Javascript Keitum Kernel Language Lcd Led Lego Leiden Leo Leo-search Life Linspector Linux Madurodam MariaDB Matrix Mindstorms Minimal Mirror Mobile Monitoring Moon Music Mysql Nagios Nas Netduino Netherlands Network News NXT Ooc Openmediavault OpenSource Openwrt Patents Pcsc Petition Photo Photos Php Politics Programming Python Question Recovery Robotics Rsync Sabayon Scheduler Scm Sensor Server Service Shell Simulation SmartCards Snow Soap Society Software Starwars Static Sun Sweden Sylt Techno Telemichel Toolchain Translation Vpn Website Wget Wine Wiring Wordpress Wsdl Xmpp Zsh Zynk

$Date: 2011-04-10 00:06:42 +0100 (Sun, 10 Apr 2011) $