Ananth's Blog - page 15

Posts

Creative Destruction | Batch Hacks

Ever tried to put windows to crawl? Let’s do it. This simple code is an infinite loop where each time it runs a copy of itself. The amount of computational power it requires increase exponentially. With an i5 configuration with descent RAM your PC will hang in seconds. You won’t even get time to kill the process or log off. One thing you can do is to shut you PC using your power button.  You will have 5 second timer. It will execute only after 5 seconds. It won’t do any harm to your PC other than hanging… Use it for educational purpose only…Save this file as tryme.bat and run it.

Serial port communication using AVR

Serial port communication is pretty much useful and also simple to carry out. There are certain thing you need to get first.1. A microcontroller (Here Atmega328p).2. A USB2serial converter.3. A terminal software.Modern computers won’t have this rs232 serial ports. So there is no use to go for an rs232 module and get started. Only option left is to communicate through USB ports. Many microcontrollers lack USB support. So there is an easy way. Buy a USB2serial converter or use an old Nokia 1200 or 1680 USB data cable. It has a serial to USB converter. It costs only around 60Rs(India). These are old handsets.

Mark all Gmail messages as read

I have huge collection of unread e-mails..

Changing the colour of your mouse

Ever think of changing this hard red colour of your mouse? Basically I love the blue. Everyone like to have a change. Right? Ok..Optical mouse works by making use of Light Emitting Diode (LED) and photo diodes to detect the movement. It make use of the reflected light to detect movement. So if we change LED to a different colour there is a chance for not detecting the movement. It’s because for that particular circuit arrangement, it needs the specific colour so that exact current is developed in the photo diode. For most mouse it doesn’t matter. Before trying out, just make sure it works.

Driving 2 LED in a Fasion

image