Female Programmer's keyboard, you must not have seen!

Source: Internet
Author: User
Tags time interval alphanumeric characters

Click on " Programmer's Big Coffee " and select "Public number"

Critical moment, first time delivery.


Have to admire the imagination of the female program ape, their typing way you can never guess.

Front Warning: This is the magical creation of foreign female programmers-Morse USB keyboard

Here is the article translation :

I've been living in an environment of beautifully designed analog devices, such as rotary dial phones, typewriters and jukebox, since I've had a few notes. I've always had the idea of converting most of these things that are not commonly used into digital devices, and this, Dad's old Morse locking, looks like a simple project ~

Morse code is a way of representing an internationally recognized alphabet (A-Z) and a number (0-9) as a series of dots and dashes. During World War I and WWII, it became a very convenient way to send encrypted information. The traditional Morse locking, like a switch, connects and disconnects the syllables of these points and points through radio waves.

So I thought about it. When inserting a USB 3.0 port on any laptop or PC, the Morse key behaves like a keyboard; the user can type information in Morse code and the corresponding alphanumeric characters appear on the screen. The Code of this project I po to the Github, the conscientious can go to try ~ (https://github.com/nomblr/morse/)
Morse locking a lot of dust and was mounted on a very ugly plastic base, so I was going to take everything apart and clean morse locking.

The work was done well with the help of a wet paper towel. And I also polished two metal contacts ("switches"), improving the circuit connection and removing some of the dirty stuff that was deposited.

The next step is to convert the locking to a digital device. To achieve this, I use a small, inexpensive microcontroller--teensy 3.2.

This is the first time I have tried this kind of thing, you can imagine how much joy I have in my heart when I light up and run successfully!
To make sure that teensy correctly "translates" Morse code as expected, I wrote some test codes for teensy. So whenever I press Morse locking once, I see a character output on the computer side.

Soon, however, I had a problem: the mechanical switch did not form a perfect physical contact when pressed (usually a few times between "pathway" and "open circuit"), and lasted about 1ms, then stabilized to the "pathway" state. The computer was able to detect these oscillations quickly, so when I pressed my Morse locking, Teensy detected several quick keys displayed in the photo. This effect is called "bounce", but fortunately the built-in Teensy library compensates for it.

Teensy after programming, I'm going to make a wooden base that hides the electronic devices underneath Morse locking. Why Choose wood instead of 3D printing? In fact, it is not a beautiful problem, but because the 3D print out of the base are not fit to match the failure.

I sawed the planks into 110x90mm so that the locking could be properly placed. Below I cut out a dent in the size of about 50x40x10mm for placing the microcontroller teensy and cabling.

This may not be the best hole to make, but the first time I try this operation is
I drilled two holes in the base to connect teensy to Morse locking wires and four smaller guide holes at the top to screw Morse locking into the base.

Finally I polished the new keyboard and connected it to my laptop.

It's nice to see the final completed Morse keyboard applied on the laptop ~

* To differentiate between points, dashes, letters, and words, for teensy to successfully detect the difference between each click of Morse locking. I combine my own keying speed on the basis of absolute time. The dashes are distinguished by a threshold of 150ms, and the time interval between letters and words is set to 500ms and 3000ms. Of course, everyone's habits are not the same, this will be their own grasp of ~

Do you have any interesting things to create and welcome to share with US ^_^ ~ ~

PS: Female program ape move hands to really really scary yo ~



from: Androidchina http://www.androidchina.net/7865.html

Programmer Big Coffee Release, reprint please contact the author for authorization

"Click to become the great God of Python"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.