Day 0

Well I don’t do much of electronics projects any more so I’ll change the theme of this blog from electronics to anything you can imagine :)

For the next 17 days or something, I will post here pictures and news from my trip to Greece, I will try to keep the blog updated.

Now I have to pack my stuff and sleep some hours before the flight. So long!

UPDATE

Now I write from the Kastrup airport in Copenhagen, they have a nice wireless connection here. At least I get 5 pure Mbit/s download :)

My plane will leave in 50 minutes so now I have to go and find the gate. Adios!

Here is a nice traceroute from the airport to my server (this server):

C:\>tracert nile.dimme.net
Tracing route to nile.dimme.net [85.24.184.189] over a maximum of 30 hops:

1     3 ms    26 ms     2 ms  192.168.1.2
2    16 ms     5 ms     2 ms  194.182.142.2
3    19 ms    81 ms    58 ms  ge-0-2-0-165.boanxj1.ip.tele.dk [80.63.55.129]
4     3 ms     2 ms     2 ms  ge1-0-40.1000M.boanxg4.ip.tele.dk [83.88.9.129]
5     6 ms     6 ms     9 ms  pos0-1-1-0.2488M.boanqh1.ip.tele.dk [83.88.12.41]
6     8 ms    12 ms    10 ms  tge4-2.ign-p2.got.se.sn.net [83.88.4.186]
7     7 ms     9 ms    10 ms  tge1-1.ign-peer2.got.se.sn.net [88.131.143.118]
8    10 ms     9 ms    10 ms  195.69.116.85
9    20 ms    18 ms    18 ms  c7600-limhamn.mlm-rr1.bahnhof.net [85.24.151.203]
10    19 ms    18 ms    21 ms  limhamn-mmo.c3750-stortorget.bahnhof.net [85.24.151.30]
11    20 ms    20 ms    19 ms  stortorget-mmo.c3750-lund.bahnhof.net [85.24.151.125]
12    24 ms    24 ms    23 ms  h-81-170-179-100.NA.cust.bahnhof.se [81.170.179.100]
13    20 ms    30 ms    24 ms  h-85-24-184-189.NA.cust.bahnhof.se [85.24.184.189]

Trace complete.

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

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.