Electronics > Projects, Designs, and Technical Stuff
Batteroo testing
<< < (37/127) > >>
FrankBuss:

--- Quote from: quad on December 25, 2016, 09:51:14 am ---Would a Raspberry Pi with wireless keyboard work, as to not tie up someone's computer for a few weeks? Weigh down a key and use the scripts I'm working on the count the number of keystrokes. Display the time of the last keystroke pressed, so you can "set and forget"

--- End quote ---
A Raspberry Pi sounds good. But do the logging on a network attached storage or with a web service. It would wear the SD card and the Pi can even crash sometimes, if you write often the last time to the SD card. But exact time shouldn't really matter, because I guess it is a few weeks. So the Raspberry Pi could just control 2 LEDs: one for showing that it is working (should blink), and one for keyboard events. If the working status LED stops, restart the Raspberry Pi, if the other LED stops, the keyboard has stopped. Take a look at it once every day.

Weigh down a key most probably doesn't work, because I think only key-up and key-down events are sent. And easy way if you don't want to build a complicated servo mechanism, would be a 4051 analog mux and then solder it over the contacts of one key (should be possible on the back of the PCB without destroying it), in combination with a good old 555 timer, or just a transistor bistable multivibrator.


--- Quote from: quad on December 25, 2016, 09:51:14 am ---What about having users install a keystroke counting software on their everyday computer... and log the time started, total number of keys, and total number of hours, and the time at the end of it. Usage patterns would be different - would this test be valid?

--- End quote ---

No, this wouldn't be a controlled and reproducible test, because you don't know then it goes to sleep mode etc.
Stupid Beard:

--- Quote from: FrankBuss on December 25, 2016, 06:18:43 pm ---Weigh down a key most probably doesn't work, because I think only key-up and key-down events are sent. And easy way if you don't want to build a complicated servo mechanism, would be a 4051 analog mux and then solder it over the contacts of one key (should be possible on the back of the PCB without destroying it), in combination with a good old 555 timer, or just a transistor bistable multivibrator.

--- End quote ---

I had a wireless apple keyboard a while ago. After I spilled tea on it, I tried to take it apart to fix the keys that were no longer working. Unfortunately the back of it is glued on and it's therefore nearly impossible to take off without destroying it. That may be model dependant or other people may have more luck removing it, but I don't think soldering anything to the contacts will be a viable option unless someone is happy to destroy their keyboard.

Probably better to rig up a motor with a cam of some kind on it that just rotates endlessly and presses a key once per rotation.
razvanme:
No need. I can tell you for sure you have at least 3 events for keyboard.
KeyUp
KeyDown
KeyPress.
FrankBuss:

--- Quote from: Stupid Beard on December 25, 2016, 06:32:04 pm ---Probably better to rig up a motor with a cam of some kind on it that just rotates endlessly and presses a key once per rotation.

--- End quote ---
Or a servo motor. I forgot that I implemented this on the Raspberry Pi some time ago with one of its hardware PWM output:

https://plus.google.com/u/0/+FrankBussProgrammer/posts/EsFWxnETsGo

But I don't know how durable such a servo motor is, might not survive months of tests.

Another idea would be a solenoid. There are cheap ones on eBay and should survive for a long time.
Delta:
Break open a relay and bodge an arm onto the moving contact.
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod