Before starting this Ethernet project the author did of course some prototyping and then he noticed alreadythat UDP was not a problem with lots of space left on the atmega88. Therefore he was quite confident that TCP + HTTP will work. TCP/IP was invented more than 25 years ago. Todays microcontrollers provide almost the computing power a standard computer had at that time. No java or xml was used at that time. Things were done in smart and efficient ways.
As you can imagine this web-server code is written for a friendly environment. Don’t put it on the open internet. The code uses e.g the incoming packet to build from it the outgoing packet. An attacker who sends a mal formed IP packet might be able to confuse the TCP/IP stack. The code is verified with a lot of different browsers and a number of operating systems. It was tested Linux, BSD Unix, Win 98, Win XP, Mac OS-X with a number of different web browsers. It works very well but it was not tested agains atacks and destroy tests.
Webserver Based On ATMega88: [Link] – [via]
Alex from Tinkerlog added an interesting article about fetching Flickr images on a Nokia LCD. He used a Nokia 6100 LCD including breakout board from Sparkfun. The MCU is an ATmega48, though cheap, not the best choice as he encountered some problems with the image quality. First the image is fetched from Flickr using Beej’s Python Flickr API than the image is resized and sent to the LCD. Taken to consideration the fact that this is his first LCD project we can call it a success.
Fetch Flickr Images On A Nokia LCD: [Link]
The purpose of this project is to show, how you can build a surveillance system with web-page interface. The webcam can be moved vertical or horizontal through the interface, but only in the area that border sensors will allow. The control page is secured with login system, where the user types in an user-name and a password.
On the control page the user can control how the webcam will turn and how many steps it will run. The user can also turn the webcam on and off via web interface. Information about the states will immediately update on the screen. User can also turn the motion detector online, if the camera detects motion, it will automatically save the frames. Naming of the pictures is done with “timestamps”, so it is possible to find out when the picture was taken.
The part that interests me on this project is the servo, because a few years ago i was thinking to something like this, but i never build it. Now it’s nice to see, someone actually build it.
Webcam With Servo And Web Interface: [Link] – [via]