Wednesday, February 11, 2009

Atmega Webserver part II

My mid-semester exams got over on the 4th Feb. Miraculously these were one of the best midsems of my stay at IITK. It somehow filled me with new zeal of doing things and I started out on a mission for which I have been planning for long. Got a blog registered in the name of AVR India - a platform to bring AVR developers in India under one roof. As of now I have started posting AVR tutorials for the beginners. After 3-4 days of continuous work and hopping between various domains and servers, I have already written 4 tutorials at :avrindia.blogspot.com . Just waiting for google site project to take some good form so that I can formally shift there.
Then I got back to my old project "the Atmega webserver" which had been lying deserted for a month. I finally learnt HTML for completing it and displaying real time data on it.



I even connected a temperature sensor(LM75) to the atmega this time which is read using the in built ADC of atmega and the temperature displayed on the page. In addition I gave a button on the page which shows the status of LED connected to the atmega. The LED can be turned on/off by pressing the button on the page. So now I can control my room lights and fans and any damn appliance remotely (yes, from anywhere in the campus :) ) . But this wasn't giving the temperature in realtime. It was a static page so had to just put in a small line to refresh the page every 20 secs. This created another problem. The page was reloading from the cache so not giving the correct readings so had to auto redirect the page to itself every 20 secs. The page looks in good shape except that it doesn't seem to work at some places in the campus so I am still trying to figure out the reason. I added the gratitious ARP broadcast to be done when the server starts but doesn't seem to work much.

1 comment:

Anonymous said...

thank you