Aug 22, 2009

The 24 hour torrent downloader plus file server !

I have been obsessed with power consumption for a little while and have been considering ways to bring down the same in my home. One of the big power drainers was the downloading of movies via torrents. The PC used to be up all night downloading movies using up a full 140 watts with a super fast quad core processor and a graphics card drawing good amount of power while just idling. So I was looking for ways to prevent this.

The second issue I had was with the sharing of data between the multiple devices at home and having too much redundant data across drives for various purposes. The ideal solution was to have a network drive which allows all the devices to talk to the drive over the network. But NFS drives are prohibitively expensive and come with too many caveats. So I wanted something simple and cheap.

So here is one great solution. I purchased the ASUS WL-500g Premium V2 wireless router for Rs 5.5k and this one device does all that I want and consumes less than 8 of power for all the wonderful work it does. Here is the router :



The hardware chip on this router is a broadcom, which means that you can flash plenty of opensource firmwares onto this and make it into a full fledged linux machine. DD-WRT, Oleg and Tomato were the options for firmware and I choose the Oleg's firmware since it closely resembles the Asus factory firmware and is well extensible. Here is the link for the firmware: http://oleg.wl500g.info/

Next step, install "transmission", a torrent client to this linux box. Install the windows agent onto your PC and bingo, you have a torrent downloader running on the router, controllable from the PC. Here is how the PC applicaiton looks like when it connects to "transmission" running on the Asus router.



Im sure you are wondering where the downloaded file is saved ? Now the beauty is that the Asus router has two USB ports. Connect a USB drive to it and the linux OS on the router shares the whole drive on the network as it was a network file system. Works like a charm !

Part two of the project was to make sure that I get a USB device that itself that does not draw too much power. So I opted for a 1.8" hard disk with a external enclosure that consumes 1 watt of power. Gives me space for 60 gigs of download space and also serves as a swap disk for the linux box.



Just for the sake of curiosity, above is a picture that shows four external USB drives, a Verbatim 3.5" disk, a Transcend 2.5" disk, a Diva 1.8" disk and a regular USB flash disk. The 1.8" disk seems to be the best compromise between pocket size, speed and price.

So folks, project succeeded ! I connect to transmission on the router from my PC, start off a any download (FTP, torrent and HTTP) and switch off the PC. Download happens all night and the electricity meter is hardly running. And I can monitor it using the transmission internal webpage from my mobile phone !!!

Do remember that all this does not change the main job of the router and it still functions as a fantastic wireless router.

And to top it all up, I have connected a 1 terabyte external hard disk to the Asus box. I switch it on when I need to and it gives me a 1TB network disk !

Aah the sweet satisfaction of a job well done...

Aug 8, 2009

"Kill A Watt" for 220v !

I have been recently thinking a lot about how to conserve power. Part of this is driven by the ever increasing number of gadgets in the house which are leading to larger and larger electricity bills !

I did a lot on searching on the net to figure out if a device to measure the amount of current being drawn by any device is available on the net. Sure it was, "Kill a watt" is a much used, much loved device to do this exactly. Unfortunately, like most things American, it uses 120v and there is nothing for the 220v side of the world. And one 220v option available for Europe was just ridiculously expensive.

So that set me thinking that this should not be too difficult to build. With the help of a few friends who were good at circuits, I finally built it for just Rs 750 ($15).

Here is the circuit diagram of the same. Remember that the current has to flow in series through the multimeter. The current has to pass through the multimeter and the selected component in series to measure the current flowing through the circuit.



Now for some live photos and DIY steps of how I to made it.

Disclaimer : Remember that we are talking of live current here, so the standard disclaimers apply. If you electrocute yourself or burn down your house, it is all your fault !!! Be careful with the circuits and do not connect anything till you are reasonably confident it is all going to work.

What do you need ? A digital multimeter that can measure current, these are available for Rs 600 in any good electrical shop. Remember that the multimeter's available for Rs 200 cannot measure current. They only work on DC and measure current voltages. (If there is a doubt, check if there is a "A~" option among the options).

This is the one I used:



You also need a ready made switch box, again available in any electrical shop for Rs 50. Make sure you get a 5amps model as I would not be comfortable connecting a 15amps component to the multimeter.

Now, you are ready to connect the multimeter to the switch box. Chop off one end of the multimeter cable so that you can connect it directly to the switch box. Remember to cut the cable from the side which does not connect to the mutimeter (It will be a special molex cable on one end to connect to the multimeter and a sharp pin on the other side. Cut the side with the sharp pins). Current flows from the mains to the box and the multimeter wires are connected in series.

Here is the snap of the same.



Close the box and bring the cables from one side of the box so that no live wires are hanging out. This is how the completed box looks like:



Now connect the multimeter molex cables to the multimeter and leave it there. This is because current will be flowing through the molex ends and you do not want them to touch the ground.

That is it basically. Set the multimeter to the 20amps mode to make sure the fuse does not blow, connect ANY device to the box and plug the box to the mains. Switch on the current and the device and you can start seeing live data on how many amps are being drawn by the device. If you multiply the amps reading with 235, you get the number of watts being drawn by the device. Note that even though India claims to run on 220v, we actually get anywhere between 220v and 240v in the mains. I seem to be getting 235v almost constantly, hence I multiply by 235. You can measure the voltage in your house using the same multimeter at the precise moment you are taking the reading if you want perfect figures, otherwise 235 is a close approximation.

See the picture here of my old 17" TFT monitor monitor connected to the circuit.



The 17" TFT monitor is drawing 0.21 amps, which translates to 50 watts of current being used. Note that my new 22" LCD draws a similar amount of current which shows how electronic components are getting more and more power efficient !!!

That is it folks, connect any 5amps device to the circuit and measure the current being used.

A homemade DIY Kill a watt on 220v for Rs 750 !!!

Please leave comments if you find this post usefull !

Apr 10, 2009

Life is all in reverse !!!

The most unfair thing about life is the way we keep growing old and the way it all ends. I mean, life is tough. It takes up a lot of your time and what do you get at the end of it?

A death. What`s that, a bonus?

I think the life cycle is all backward. You should die first, get it out of the way. Then you live in an old age home where you are taken care of with full government benefits. You get kicked out when you`re at the retirement age, you get a gold watch and nice gifts and you start to go to work.

You work 40 years until you`re young enough to enjoy your retirement. You do girls, drugs, alcohol; you party, and you get ready for high school. You then go to primary school, you become a kid, you play, you have no responsibilities.

And then you become a little baby. You suck around all day with no restrictions, sleep when you want and pee and shit where you want. And then you move into the best natural SPA in the world, your mother's womb; you spend your last nine months floating around, everything being taken care off and in complete control.

And then you finish off as an fantastic orgasm !!!

Apr 2, 2009

Six crores to provide security to Kasab

Aaaargh, I wish I could just throw out these ridiculous politicians and their asshole'ish laws to the outer space. People in India people don't get food and thousands of sick people die of hunger, but we are busy guarding an enemy and treating him as a VVIP.

It is not inconceivable to see Kasab contesting elections in India in the far future.

Read furthur...



Ajmal Amir Kasab -- the lone terrorist caught alive in the November 26 attacks in Mumbai-- will get to travel around in special hi-tech secured vehicle.

The Maharashtra government has imported a van costing a whopping Rs 6 crore.

According to media reports, the van will be handed over to Indo-Tibetan Border Patrol, which is providing security to Kasab. The van is fitted with a scanner that will detect any explosive in the periphery of 200 metres.

Meanwhile, as the government spends crores to ensure Kasab's safety, the lawyer defending him will be entitled to receive a meagre Rs 900 (as per the provisions of legal aid) at the end of trial.

Mar 26, 2009

Rules from the male side...

Now here are the rules from the male side. Please note that these are all numbered "1" ON PURPOSE because every one of them is equally important.

1. Crying is blackmail.

1. Ask for what you want.
Let us be clear on this one:
Subtle hints do not work!
Strong hints do not work!
Obvious hints do not work!
Just say it!

1. Yes and No are perfectly acceptable answers to almost every question.

1. Come to us with a problem only if you want help solving it. That's what we do. Sympathy is what your girlfriends are for.

1. A headache that lasts for 17 months is a Problem. See a doctor.

1. Anything we said 6 months ago is inadmissible in an argument. In fact, all comments become null and void after 1 Day.

1. If you won't dress like the Victoria's Secret girls, don't Expect us to act like soap opera guys.

1. If you think you're fat, you probably are. Do not ask us.

1. If something we said can be interpreted two ways and one of the ways makes you sad or angry, we meant the other one

1. You can either ask us to do something Or tell us how you want it done. Not both. And if you already know best how to do it, just do it yourself.

1. Whenever possible, Please say whatever you have to say during commercials.

1. Christopher Columbus did NOT need directions and neither do we.

1. ALL men see in only 16 colors, like Windows default settings. Peach, for example, is a fruit, not a color. Pumpkin is also a fruit. We have no idea what mauve is.

1. If we ask what is wrong and you say "nothing", we will act like nothing' s wrong. We know you are lying, but it is just not worth the hassle.

1. If you ask a question you don't want an answer to, expect an answer you don't want to hear.

1. When we have to go somewhere, absolutely anything you wear is fine. Really.

1. Don't ask us what we're thinking about unless you are prepared to discuss such topics as CRICKET, finance or the next door good looking lady.

1. You have enough clothes. And you have too many shoes.

1. I am in shape. Round IS a shape!

Dec 1, 2008

Mumbai attack from Pakistan's point of view..

This has got to be the most hilarious piece of crap I have ever heard in my life. I understand that Pakistani's act dumb when it comes to India, but this is taking it too far !!!

http://www.hotklix.com/?ref=content/152704

Take a look at this video to hear the Pakistan perspective on the Mumbai attacks !

Oh god, this is just so painfull...

It took me three days before I could get into any sort of a mood to type. The last week has been very sad. I was somehow feeling very depressed even though its the nth time there have been attacks on India this year. This attack is somehow looking different, say even compared to the attack on the Parliment, since it targets the very points that the emerging India takes pride in. The coordinated attack is so unlike the serial bombings (which were more of a sleuth attack) as it shows that we are helpless in every aspect. It also shows how easy is it for a person to walk into any place he wants and create panic there. It also shows how porous the borders are if a group of people could get into a speed boat and enter the ports so freely.

Power, Money and Vote bank (thus Religion) seem to be the only things that the neta's care about and Im feeling vulnerable that we are sitting in a country where there is no value to our lives. There is no solution in sight and even worse, no attempt at making the situation any better. And we are flanked by two neighbours, one of whom is on the way to crush us with their economic growth and progress and the other who is hell bent on jumping off the cliff while dragging us along with it.

More importantly, this attack brings in one major change, it will brand India as very unsafe for every foreigner; includes investors, business people, sports persons and tourists.

It is a sad and disgusting situation to be in...

In the meantime, one article caught my eye. I have cut and pasted the article here, take a look and you will realize that the politicians care about nothing and you will also realize why the new generation of leaders are not any different.



And then the Maharashtra CM taking along Ram Gopal Varma (RGV) to the site for a first hand inspection.



Aah, for crying out loud, is anyone listening to the country and what it needs ?