WebVisitors blinker

I already wrote my first Arduino program. It’s really simple but fun :)

What it does is that every time somebody visits my website, a LED light blinks once in my room, and I get a warm feeling of a visitor ;)

How to do that:

  • Burn this code to your Arduino:
  • Connect a LED light to pin 12 and ground it.
  • Connect your Arduino to your web server through USB.
  • Log in to your web server and type: “sudo chmod 666 /dev/ttyUSB0”.
  • Add this PHP code to your website header:
  • Enjoy! :)

In case this doesn’t work; try to solve your problem or comment this article and I will try to help you.

Arduino Diecimila

Arduino

Today I got my new Arduino Diecimila that I ordered yesterday. That was a quick delivery.

I like the simple Arduino programming language. It’s much easier to program than C but still as functional as C.

For those who don’t know, Arduino is a physical computing platform based on a simple I/O board and a development environment that implements the Processing/Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software on your computer. Currently, shipping versions can be purchased pre-assembled; hardware design information is available for those who would like to assemble an Arduino by hand.

http://www.arduino.cc

Prepare now, more fun projects are to come ;)

Arduino Diecimila

Hand-powered POV version 2

Today I received the 330Ohm-resistors and bright blue LEDs I ordered. Each LED now has its own resistor, which makes all of them equally bright all the time.

So now I removed the old LEDs, replaced them with new ones, and moved them to the board to be on a straighter line. Now the LEDs are connected so that I don’t need the mirror()-function anymore. That makes the program faster and more synchronized. I also changed a bit the led()-function as I noticed that every led()-function was followed by a wait()-function and implemented some more characters.

Here are some new pictures and the new code:

The new leds The new leds Leds soldered Leds soldered POV Running Fun Fun Fun Fun Fun Fun Fun Fun

Hand-powered POV

NEW VERSION HERE.

This week I’ve been working on a POV. It’s my first microcontroller project ever, and it has been fascinating. The microcontroller I used is an Atmel ATMEGA16 programmed with an Atmel AVR Dragon.

The next step is to make it turn around on a motor and calibrate itself automatically with help from a base-placed IR-diode. I have even talked with a local company that will hopefully provide me with a Bluetooth module to make the possible dynamic text change from a mobile phone or any other Bluetooth device.

For those who don’t know, POV stands for Persistence Of Vision.