TiltKey- Write by Tilting

The TiltKey is a keyboard input device based on tilting. Based on the angle that it is tilted at, and the direction it is tilted in, you can write every letter of the alphabet, every number, and every symbol found on a standard US keyboard. Operation is very simple; the LCD display shows the letter your going to write, and pressing the “press” button will write it to your computer. Holding the “shift” button will write the upper-case version of the letter you’re intending to write. Want to write some numbers and symbols? Just press the “change character set” button to go from letters to number and symbols or vice versa.

TiltKey- Write by Tilting

  • Flat is the letter a.
  • 45 degrees forward is the letter b.
  • 180 forward is c.
  • 45 to the right is i.
  • Shake for space.

In number and symbols:

  • Flat is enter. (Shift for space)
  • 45 degrees forward is the up arrow. (Shift for w)
  • 180 forward is 0. (Shift for “)”)
  • 45 to the right is left arrow. (Shift for a)
  • Shake for backspace.

Inside it has an Arduino Leonardo and an accelerometer. The Arduino is constantly reading the x, y, and z reading of the accelerometer, and is always comparing them to the x, y, and z of each position. If it’s a match, it’ll print it to the screen. If it’s a match and the “press” button is pressed, it’ll write to the computer it’s plugged into, using the keyboard library, which is automatically included with Arduino 1.0.1.

When I first started working on this project, I had faith in it being more efficient than a regular keyboard. People tried to bring me down, saying that it would never be useful. They were 100% correct. The TiltKey may sound like a revolutionary new invention, but it is incredibly inefficient and useless. It often takes longer than 45 seconds to find the letter you want to write. That does not mean that all my hard work went to waste, or that you should not try this project. It was incredibly fun to make, it’s sort of fun to use, and is just a very cool thing to have, even though it may not be practical.

I tried to make a video of it, but it did not come out very good. This video is evidence that you need two hands to operate a TiltKey:

Step 1: Acquire Supplies

Here’s what you need to build your very own TiltKey:
1 Arduino Leonardo
1 16×2 LCD
1 MMA7361 Triple Axis Accelerometer
1 10k Potentiometer
3 12mm Buttons
3 10k Resistors
1 Breadboard
Wire
A Box

Once you obtain these supplies you can begin.

Step 2: Wire Accelerometer

Wire Accelerometer

First you must wire the accelerometer. As you do this you must keep in mind that the accelerometer runs on 3.3 volts. If you try to hook it up to 5 volts, your face will melt off and your eyes will explode.
With that in mind, here are the connections you need to make:
VCC to 3.3v.
GND to ground.
ZOUT to analog pin 2 on the Arduino.
YOUT to analog pin 1 on the Arduino.
XOUT to analog pin 0 on the Arduino.
SLP to 3.3v.

Diagram courtesy of Fritzing.

Step 3: Wire LCD

Now it’s time to wire up your LCD. The diagram should be able to show how to wire it up, or you could read this tutorial from adafruit. Remember to wire the LCD on a separate breadboard.

Diagram courtesy of Fritzing.

Step 4: Wire First Button

You are now ready to wire the first button. You must first solder two wires to two of the contacts on your button. Then, follow the diagram to wire it up. This button is the press button. If you want to wire it without the diagram, keep in mind that you are pulling pin 2 low.

Diagram courtesy of Fritzing.

Step 5: Put stuff in a box

You have now gotten far enough to transfer your work into a box. Simply open it up and put all your electronics in it. Cut a 3x8cm rectangular hole for the LCD and 1×0.3cm hole for the button. Push the button through the hole you made to have it on top of your box, and secure the LCD the the “ceiling” of your box, so it can be seen through the window you cut. Make sure to also cut a hole in the side for the USB cable to fit through.

 

For more detail: TiltKey- Write by Tilting


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top