Schlagwort: typewriter

  • Ghostwriter is a gorgeous typewriter with an onboard AI co-writer

    Ghostwriter is a gorgeous typewriter with an onboard AI co-writer

    Reading Time: 2 minutes

    Much to the consternation of those of us who write for a living, AI writers are gaining traction as their capabilities increase. The hot name in the AI content creation industry at the moment is ChatGPT, which is powered by OpenAI’s GPT-3 engine. With the right input and direction, GPT-3 can output some impressive writing. To harness that power in a co-writing assistant, Arvind Sanjeev built the Ghostwriter.

    Ghostwriter is a vintage Brother electric typewriter retrofitted with modern hardware that lets it access and utilize the GPT-3 API (application programming interface). The user can type a query onto paper, such as a writing prompt or question, and GPT-3 will return a result that also prints out on the paper. By guiding GPT-3 with suitable prompts, the user can receive as much AI-generated text as they like. They might then edit that text for publication, use it as-is, or showcase the manuscript as an art piece.

    In addition to the writing capability, Ghostwriter is gorgeous. Arvind cleaned up the vintage machine with a fresh coat of paint and added orange accents that enhance the design. A tiny OLED screen shows an animated logo and status information. Inside the machine are two modern components important to the new functionality: an Arduino Uno board and a Raspberry Pi single-board computer. The Arduino both monitors the typewriter’s keyboard matrix to detect key presses and triggers key presses to print out the GPT-3 results. It sends key presses to the Raspberry Pi and receives text strings in return, and the Raspberry Pi connects to OpenAI’s API.

    The result is beauty and functionality in the same package. It is an interactive art piece that demonstrates the power of cutting-edge AI services.

    The post Ghostwriter is a gorgeous typewriter with an onboard AI co-writer appeared first on Arduino Blog.

    Website: LINK

  • Reading typewriter key presses with an Arduino

    Reading typewriter key presses with an Arduino

    Reading Time: 2 minutes

    Arduino TeamAugust 3rd, 2022

    There was a period in the late ‘70s and into the ‘80s when typewriter manufacturers tried to keep up with the tide of the digital age. Personal computers were hitting prices that middle-class families could justify and even the most basic models were far more practical than the best typewriters on the market. During this period, a lot of electric typewriters hit the market. Instead of heavy mechanical linkages, those used daisy wheel mechanisms driven by computer-style electronic keyboards. Artillect converted one such typewriter, the Brother AX-25, into a computer and used an Arduino to read key presses.

    The computer here is a Raspberry Pi booting in headless mode to the Debian Linux terminal. But the interesting part of the project is how Artillect interfaced the Raspberry Pi with the Brother AX-25 typewriter. That typewriter uses a keyboard matrix to read key presses, with each column/row connection corresponding to a specific key. Artillect connected an Arduino Uno board to all of those row/column pins through two multiplexer boards. That let him set any pin to HIGH or LOW. With that ability, he could trigger a press of any key and the typewriter would print that character.

    Because the Arduino was controlling the typewriter output, Artillect just had to feed it text from the Linux terminal. The Raspberry Pi has a built-in UART for serial communication and the Arduino can read that output. In headless mode, the Raspberry Pi outputs everything in the terminal to that serial port. The Arduino receives that, buffers the text, and then sends the key presses to the typewriter at a speed it can handle. Because the Arduino only outputs to the typewriter keyboard and doesn’t read its key presses, Artillect had to remotely connect to the Raspberry Pi’s terminal with a laptop to input commands. Even so, it is neat to see the typewriter clacking away on its own as it prints the terminal output. 

    [youtube https://www.youtube.com/watch?v=JvhT_Bru0AA?feature=oembed&w=500&h=281]

    Website: LINK

  • Typewriter turned into mechanical keyboard for gaming

    Typewriter turned into mechanical keyboard for gaming

    Reading Time: < 1 minute

    Arduino TeamMay 8th, 2021

    Although mechanical keyboards are more popular than ever in gaming communities, getting that perfect “click” when you press down on the key is still being chased. That’s why maker Jason Ron wanted to convert an old typewriter into the perfect gaming controller. It works by using some tape wrapped around several of the typebars that either reflects more light when held up or none when it’s lowered. A pair of IR emitters and receivers were used to detect these changes in light levels, where their values were then read by an Arduino Leonardo

    The code Ron wrote takes advantage of the Leonardo’s native USB peripheral, letting it act as a keyboard for a host device. When the light level falls between certain predetermined values a key is pressed virtually and then sent to the computer, although this functionality can be toggled on or off to prevent unwanted keypresses. 

    If you want to see more about how this project was built along with some footage of Ron playing Red Dead Redemption 2, be sure to check out the video below and associated write-up on his blog.

    [youtube https://www.youtube.com/watch?v=-b_FqZfLP20?feature=oembed&w=500&h=281]

    Website: LINK

  • This maker turned an antique typewriter into a MIDI drum machine

    This maker turned an antique typewriter into a MIDI drum machine

    Reading Time: < 1 minute

    This maker turned an antique typewriter into a MIDI drum machine

    Arduino TeamApril 23rd, 2020

    Vintage typewriters are truly amazing pieces of technology, but unlike modern keyboards, they are decidedly one-purpose machines. William Sun Petrus, however, had other ideas for his 1920s-era Remington Portable typewriter, augmenting hammers with wires as inputs to an Arduino Mega.

    Input signals are produced when each key strikes a metallic “live plate” in the center, completing a circuit. This info is passed along as MIDI signals to a computer running Ableton digital audio software, allowing him to create the excellent beat seen in the video below. 

    Typewriter code is available on GitHub, where you’ll certainly notice the lines from Green Eggs and Ham that are output on an LCD screen at the base of the almost 100-year-old device.

    [youtube https://www.youtube.com/watch?v=zbZ-oUly3QQ?feature=oembed&w=500&h=281]

    Website: LINK