A place where I can write about anything that's intriguing my mind. Mostly on military aviation, politics & technology.

DIY: Mini UPS for DSL Modem and WiFi Routers

Posted: July 16th, 2012 | Author: | Filed under: Ehtisham Siddiqui, Technology | 6 Comments »

Load shedding and power outages. These problems have become a sort of second nature to us Pakistanis. There used to be a time when a power breakdown of even one hour would force the people to come out of their homes and bring those WAPDA guys to fix the problem. But now, it’s usually a sigh of relief if there’s no unscheduled breakdown. The scheduled one is often one hour outage after every two hours.

For those who can’t live without their computers and internet for any or no reason, this situation is a worst nightmare. For the unprivileged ones not having a generator/UPS to power their routers, this solution is going to be a blessing :P At least it is for me.

This is a rough, simple and NOT a sophisticated solution by me, but works! You can not only power DSL / WIFi routers for HOURS but also any other appliance that can work at 9V or 12V. Keep the internet alive, and use it on your laptop or cell phone, 24×7!

I use it to power my PTCL DSL ZXDSL 831CII DSL Router AND a TP-Link WR740N WiFi router. PTCL router’s ratings are: 12VDC 500mA, TP-Link’s: 9VDC 700mA.

That’s why I’ve taken two outputs.


Circuit Diagram – DIY UPS for DSL Modem/WiFi Router:



UPS for DSL Modem/WiFi Router

Click to Enlarge



  • One 12V 7AH lead acid battery.
  • One 16 or 18V laptop charger, max 2-2.5A current to charge the battery.
  • Five 1N5404 Diodes
  • One LM338T Linear voltage regulator with a heatsink.
  • One 0.1uF ceramic capacitor
  • One 1uF electrolytic capacitor (note the polarity of capacitor)
  • Two resistors. R1 = 2.6kOhm, R2= 250 Ohms.


Things that you need to note!!:


  • Make sure you check the specs of your appliances, in this case, router/modem first.
  • If you are only using a single router, just remove the respective part from circuit diagram. E.G, if you are using a 12V router, you don’t need those 4 diodes and 9V output jack.


  • You need to attach a DC Pin to the outputs of the circuit. The same pin that is connected to your adapters, which go into your modem. Now, you don’t need that adapter. Just buy a same pin from the market.


  • You can give input from a laptop charger of 16V to 18V. Keep in mind the current rating of charger too, as higher current ratings can damage the battery quite quickly. Even 2A current is too much for a battery of 7AH. It should be around 700mA, but that will also cause slow charging.
  • You must also attach a heatsink with LM338T IC. It gets VERY HOT during operation!

I used veroboard to build the circuit. You can use either that (will have to solder things), or use a breadboard.

Thanks to folks @ Wiredpakistan like Ijaz, jhagra and Asad for their help.

Video For Welcome Party – DCSE

Posted: March 1st, 2012 | Author: | Filed under: Ehtisham Siddiqui, Technology, University | 4 Comments »

Well, made this video (first vid ever) in a hurry for welcome party that we (batch 12) had organized for batch 13, computer systems engineering department, UET Peshawar. Party was on 29th Feb and I was working till 4AM that night =\

Choosing the right sound track for right sequence took most of the time. I think still the choice of soundtracks wasn’t the best.

Background music for starting intro I took from a video on YouTube. The acoustic guitar music which starts afterwards, when we’re coming in towards the camera I took from this video: http://www.youtube.com/watch?v=7Olj3bCK308

Guy’s really talented.. There was another cool beat I chose produced by Alam Khan of Pukhtunez but at the final moment went with the current one..

Second track starts with DCSE events & achievers, and is from the movie Top Gun. Chose this one, cuz I’m in LOVE with Top Gun, its tracks and jets :P


Third track is of Pirates of The Caribbean… Pretty obvious..
Software that I used for video editing is Sony Vegas Pro.

The actual video is:

Finally transfered…

Posted: February 4th, 2012 | Author: | Filed under: Ehtisham Siddiqui | 2 Comments »

Just finished moving from old wordpress.com subdomain to this this new domain and hosting. Will post stuff whenever I get time. Working on few other sites, articles and their SEO these days so don’t get much time :/



Posted: January 10th, 2011 | Author: | Filed under: Ehtisham Siddiqui | No Comments »

Sometimes, you just really hate yourself. You hate yourself for what you are.. and how you are..




Posted: December 31st, 2010 | Author: | Filed under: Ehtisham Siddiqui | No Comments »

I’ve been thinking to start writing¬† since 2006. Oh its been four years now. I did start a couple of blogs but then couldn’t give time to them. Damn I’m lazy!

I had some other plans for this new blog. Wanted to register a Top-Level-Domain (TLD) which was available when I whois’d it, but in few days time someone else registered it. Again, my own fault.. Why did I have to procrastinate?

Anyway I’ll try posting stuff here until I get my desired domain. Hopefully.


EDIT: Finally got my domain Ehtisham.com on 31st Jan, 2012!! This will be my new virtual home and will post everything here.