Mechanical Keyboard Goes BLE

Like many programmers, [Daniel Nugent] loves his old mechanical keyboard (a WASD Code Keyboard). What he didn’t love was the cord. Sure, you can get a modern wireless keyboard, but it won’t be the same as the keyboard you’ve spent so much time with. Armed with a Bluetooth Low Energy (BLE) module, a rechargeable battery and some coding, he kept his keyboard but got rid of the wires.

Although he has some specific handling for the WASD, the code would very likely handle any PS/2 keyboard. The PS/2 interface is a simple synchronous serial port with a single clock and single data line. Handling it with a microcontroller isn’t very difficult.

Continue reading “Mechanical Keyboard Goes BLE”

Mechanical Watch Hacker Gets An Apple Watch

Mechanical watch enthusiasts see the Apple watch as a threat to the traditional gear train. It does not tick, requires frequent re-charging, and it’s certainly not the most attractive of watches. But it can direct you to the local coffee shop, allow you to communicate with friends anywhere in the world, get you onto an airplane after the most awkward of arm gestures, and keep you apprised of the latest NCAA basketball scores. Is the advent of the smart watch the end to the mechanical watch?
Continue reading “Mechanical Watch Hacker Gets An Apple Watch”

hand in hand clock

Odd Clock Moves Minute Hand To Hour Hand

We see a lot of clocks here on Hackaday. Some make it easy to tell the time, others are more cryptic. [dragonator] has done something that is so simple, we are surprised it isn’t more common. In a typical mechanical hand clock the minute and hour hands rotate around the same axis. [dragonator] decided to take the minute hand and move it out to the tip of the hour hand.

It works because of a gear system hidden behind the thick hour hand. As the hour hand turns, the gear system rotates, the last gear of which is connected to the minute hand. Since the minute hand rotates 12 times for every one revolution of the hour hand, the gear ratio can easily be calculated.

hand in hand clockThe 3D printed parts were designed by [dragonator] himself. All of the design files are available here for anyone who wants to build one of these neat clocks.

The clock uses a Trinket microcontroller board to keep track of the time and to send step signals to a StepStick that drives a NEMA 17 stepper motor. There is no on-board battery power for this clock, 9-12vdc comes in via a wall wart and is stepped down to 5v by the micro controller’s regulator. Even still, this is a great project that makes it fun to watch time pass, check the video out after the break.

Continue reading “Odd Clock Moves Minute Hand To Hour Hand”

An RGB Word Clock, Courtesy Of WS2812s

A word clock – a clock that tells the time with illuminated letters, and not numbers – has become standard DIY electronics fare; if you have a soldering iron, it’s just what you should build. For [Chris]’ word clock build, he decided to build an RGB word clock.

A lot has changed since the great wordclock tsunami a few years back. Back then, we didn’t have a whole lot of ARM dev boards, and everyone’s grandmother wasn’t using WS2812 RGB LED strips to outshine the sun. [Chris] is making the best of what’s available to him and using a Teensy 3.1, the incredible OctoWS2812 library and DMA to drive a few dozen LEDs tucked behind a laser cut stencil of words.

The result is blinding, but the circuit is simple – just a level shifter and a big enough power supply to drive the LEDs. The mechanical portion of the build is a little trickier, with light inevitably leaking out of the enclosure and a few sheets of paper working just enough to diffuse the light. Still, it’s a great project and a great way to revisit a classic project.

Thumbnail that say The Hacklet

Hacklet 18 – Tick Tock, It’s Time For Clocks

18

In three words, Hackers love clocks. Not only do we think that digital watches are still a pretty neat idea, we love all manner of timepieces. This episode of The Hacklet focuses on the clock projects we’ve found over on Hackaday.io.

xkcdHardwareWe start with [rawe] and [tabascoeye], who both put the famous XKCD “now” clock into hardware. [tabascoeye] used a stepper motor in his xkcd world clock. [rawe] didn’t have any steppers handy, so he grabbed a cheap wall clock from Ikea for his xkcd.com/now clock in hardware. The now clock needs a 24 hour movement. Ikea only sells 12 hour movements, so [rawe] hacked in a 555 and some logic to divide the clock’s crystal by two. He’s currently using an EEVblog uCurrent to verify his modified clockwork consumes about half a milliwatt.

touchscreenclockNext up is [Craig Bonsignore] and his Touchscreen Alarm Clock. [Craig] got sick of store-bought alarm clocks, so he built his own. Then he modified it, added a few features, and kept building! The current incarnation of the clock has a pretty novel interface: a touchscreen over a bicolor LED matrix. The rest of the clock consists of an Arduino, an Adafruit Wave shield, and a Macetech Chronodot. [Craig] is currently mashing up these open source designs and building a single Arduino shield for his clock.

irisledclock[Warren Janssens] took the minimalist route with The Iris Clock. Iris is a ring of WS2812 RGB LEDs. The LEDs are mounted behind a wall colored piece of wood in such a way that you can only see their glow on the clock frame and the wall beyond it. This helps a with the eye searing effect WS2812s can have when viewed directly – even when dimmed with PWM. The code is mainly C with some AVR assembly thrown in to control the LEDs. [Warren] has given Iris 8 different time modes, from hour/minute/second to percentage of day with sunrise and sunset markers. With so many modes, the only hard part is knowing how to read the time Iris is displaying!

stargate[David Hopkins] also built a ring clock. His Stargate LED Clock not only tells time, but is a great replica of the Stargate from the TV series. [David] used four Adafruit WS2812 Neopixel segments to build a full 60 RGB LED ring. The Stargate runs on an Arduino nano with a real-time clock chip to keep accurate time. A photoresistor allows the Stargate to automatically dim at night. With some slick programming [David] added everything from a visual hourly “chime” to a smooth fade from LED to LED.

bendulum[dehne1] gives us something completely different with The Bendulum Clock. A bendulum is [dehne1’s] own creation consisting of an inverted pendulum built without a pivot. The inverted pendulum swings by bending along its length. In [dehne1’s] design, the bendulum is made out of a spring steel strip rescued from a car windshield wiper. The Bendulum doesn’t have a mechanical escapement, but an electromagnet sensed and driven by an Arduino. The amazing part of this project is that  [dehne1] isn’t using a real-time clock chip. The standard 8MHz Arduino resonator is calibrated over various temperatures, then used to calibrate the bendulum itself. The result is a clock that can be accurate within 1 minute each day. [dehne1] mounted his clock inside a custom wood case. We think it looks great, and want one for Hackaday HQ!

We’ve used enough clock ticks for this episode of The Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Still want more? Check out our Timepiece List!

Retrotechtacular: The CURTA Mechanical Calculator

The CURTA mechanical calculator literally saved its inventor’s life. [Curt Herzstark] had been working on the calculator in the 1930s until the Nazis forced him to focus on building other tools for the German army. He was taken by the Nazis in 1943 and ended up in Buchenwald concentration camp. There, he told the officers about his plans for the CURTA. They were impressed and interested enough to let him continue work on it so they could present it as a gift to the Führer.

This four-banger pepper mill can also perform square root calculation with some finessing. To add two numbers together, each must be entered on the digit setting sliders and sent to the result counter around the top by moving the crank clockwise for one full rotation. Subtraction is as easy as pulling out the crank until the red indicator appears. The CURTA performs subtraction using nine’s complement arithmetic. Multiplication and division are possible through successive additions and subtractions and use of the powers of ten carriage, which is the top knurled portion.

Operation of the CURTA is based on [Gottfried Leibniz]’s stepped cylinder design. A cylinder with cogs of increasing lengths drives a toothed gear up and down a shaft. [Herzstark]’s design interleaves a normal set of cogs for addition with a nine’s complement set. When the crank is pulled out to reveal the red subtraction indicator, the drum is switching between the two sets.

Several helper mechanisms are in place to enhance the interface. The user is prevented from ever turning the crank counter-clockwise. The crank mechanism provides tactile feedback at the end of each full rotation. There is also a lock that disallows switching between addition and subtraction while turning the crank—switching is only possible with the crank in the home position. There is a turns counter on the top which can be set to increment or decrement.

You may recall seeing Hackaday alum [Jeremy Cook]’s 2012 post about the CURTA which we linked to. A great deal of information about the CURTA and a couple of different simulators are available at curta.org. Make the jump to see an in-depth demonstration of the inner workings of a CURTA Type I using the YACS CURTA simulator.

Continue reading “Retrotechtacular: The CURTA Mechanical Calculator”

Lego Technic Mechanical Seven Segment Display

TeemingColdDiplodocus

Here’s a rather mesmerizing piece of Lego genius, displayed as a .GIF for your enjoyment. It’s a 7-segment display that is completely mechanical!

Built by [aeh5040], this beauty features 7 separate linkages that control each display segment. It’s powered off of a single motor which rotates a cylinder covered in small protrusions, similar to how music boxes work. As the cylinder rotates, the protrusions knock the main drive gears back and forth, flipping each segment between the ON and OFF states through a series of axle joints and bevel gears.

It makes rather satisfying sounds too!

Continue reading “Lego Technic Mechanical Seven Segment Display”