Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


USB Timer

Posted on 2013-12-24
Medium Priority
Last Modified: 2014-01-16
I need to stack charge a USB device I have. That means plugging it in to a USB port or wall charger for no more than 2 minutes then taking in out and repeating this over and over again.

I may need to this MANY - MANY times.

Has anyone any ideas to automate this?

Is there any freeware, shareware or script I could use that would turn on / off my USB port for say 2 minutes on 30 seconds off for a certain number of times?

I could do this on Windows XP (my preference) or Window 7 or a friend’s Raspberry Pie.

Many thanks in advance.

Happy Christmas
Question by:mytext
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
LVL 10

Expert Comment

ID: 39738673
If you use a wall charger, then you could probably use somthing like this wall outlet timer:

Looks like it has a minimum ontime of 1 minute.
Has a max of 24 on/off cycles you can program (per week).  Is that enough?
LVL 56

Accepted Solution

Joe Winograd, EE MVE 2015&2016 earned 2000 total points
ID: 39738677
I'm a huge fan of NirSoft's (free!) utilities, which I've been using for many years:

One of them is USBDeview:

You have to scroll to the bottom of the page to find the download links...and note that there are separate ones for 32-bit and 64-bit. It works in XP and W7 (and 2K, Vista, W8, and some others).

It is a stand-alone/no-install executable...simply run the EXE file that is in the downloaded ZIP file. It has a command line interface with "enable" and "disable" options. So use whatever your favorite scripting language is (or just a simple batch file) and call <USBDeview.exe> with the "enable" option, then pause/sleep/wait for 120 seconds, then call <USBDeview.exe> with the "disable" option, then pause/sleep/wait for 30 seconds, then loop back...run the loop as many times as you want. Regards, Joe

Author Comment

ID: 39738679
I have been looking at wall outlet timers as well. Seems to be an option.

A software solution is my preference as I could just set it to run at intravels all night.

But will look in to gettting a phyicial one after Christmas if there is no other option. The ones we have around the hourse are all old fashioned 15 min intravels.

Many thanks.

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

LVL 56

Expert Comment

by:Joe Winograd, EE MVE 2015&2016
ID: 39738682
> A software solution is my preference as I could just set it to run at intravels all night.

In case you missed it, see my (free!) software solution right above your last post. Regards, Joe

Author Comment

ID: 39738689
We must have been typing at the same time going to check it out now
LVL 56

Expert Comment

by:Joe Winograd, EE MVE 2015&2016
ID: 39742478
OK, let me know how it works out for you. Regards, Joe
LVL 56

Expert Comment

by:Joe Winograd, EE MVE 2015&2016
ID: 39748632
Hi mytext,
Where do things stand on this issue? Regards, Joe

Author Comment

ID: 39787358
Hi Joe,

I ended up buying a digital timer. Setting for 20 programs and then resetting the time so the program would run again and over and over again. No a meg out of the tablet.

I feel the  NirSoft's (free!) utility was the answer but abit outside my coding ability.

Many thanks.
LVL 56

Expert Comment

by:Joe Winograd, EE MVE 2015&2016
ID: 39787413
You're welcome. And thanks to you for posting your solution. Regards, Joe

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are having problems installing printer drivers, or if documents repeatedly get stuck in the print queue even after re-installing the printer drivers, then follow these steps to solve the problems. Please note that the steps are shown both for…
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question