Schlagwort: text to speech

  • This Arduino project is counting to a billion

    This Arduino project is counting to a billion

    Reading Time: 3 minutes
    Counting to a Billion is probably the longest running Arduino project ever.

    Good design counts for everything

    Designer Che-Wei Wang built a simple Arduino project that’s counting to a billion, and has been doing so for over 10 years. Could this be the longest continually running Arduino project in the world?

    Che-Wei has a background in art, architecture and industrial design. He now runs a boutique design studio with is wife Taylor, called CW&T. But it was during his time at university that he first discovered his love for Arduino.

    “I first started using Arduino when I went to [the Interactive Telecommunications Program] at NYU in 2007,” he explains. “I got hooked the moment I got an LED to blink and went on to build a fuzzy GPS robot that guides you to places around the city.”

    Even now there’s a clear technological slant to his design work. As you look through the products CW&T has created, more than a few have embedded electronics at their core. He also has a rare eye for the beauty of minimalism, both in terms of design and function. Which is probably why one of his first Arduino projects is both simple, and stunning.

    “As a kid, I would challenge myself to count to as high of a number as possible,” he laughs. “I don’t remember how high I got. Probably not past a few hundred. So I built this device as a way to fulfil my childhood dream of counting to an insanely high number!”

    The Counting to a Billion project

    Back in 2009, Che-Wei created his next project to help him achieve that childhood objective. Counting to a Billion has an Arduino board with a text-to-speech converter and a speaker that continually reads out the next number. When it gets to billion, it’ll stop.

    “It lives in our basement, so every time you go downstairs, there’s a voice just counting away.”

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

    Che-Wei clearly gave this a lot of thought in his initial designs. Like a lot of minimalist product designs, there’s a lot of work needed to make them look so simple. Counting at one number per second, continually, you’re looking at over 31 years to get to a billion. That means this apparently simple project needs to be incredibly robust.

    Counting to a Billion is encased in a machined aluminium housing for safety. It writes the last number to EEPROM, in case of catastrophic power failure. And there’s a rechargeable backup battery so it keeps counting whenever the devices needs to be moved or unplugged.

    It was activated at 9AM on May, 9th, 2009 and is still happily running, without interruption. It’s hard to imagine there are many other Arduino projects that have been running continuously for this long. If there are, we definitely want you to tell us all about them!

    Down for the count

    “I still use Arduino all the time,” Che-Wei continues, “for work, for home projects, and gifts.”

    The Counting to a Billion project has actually provided inspiration for CW&T’s current products. In their shop is a strangely attractive device, called Nothing Lasts Forever. This sealed glass capsule has an e-ink display that counts up ever time you press the button on the machined aluminium cap. If and when it reaches 999,999, the device will stop functioning. Although the electronics are custom, it still uses the EEPROM method developed for Counting to a Billion to keep track of the number.

    So, you’re probably wondering what number Che-Wei’s project is currently at? To recap, at the exact moment of writing, it’s now been running continuously for 12 years, one month and five days, or:

    • 145 months
    • 631 weeks
    • 4419 days
    • 106,046 hours
    • 6,362,764 minutes
    • 381,765,878 seconds

    “As of right now, on June 8th, 2021, 10:42AM,” Che-Wei concludes, when we spoke about his project, “the count is at 47,684,610.”

    Have you built a project that’s been running for a long time? We want to hear all about it! Share it on the Arduino Project Hub, in the comments, on social media, or over on the forum.

    Website: LINK

  • Barcode reader for visually impaired shoppers

    Barcode reader for visually impaired shoppers

    Reading Time: 3 minutes

    To aid his mother in reading the labels of her groceries, Russell Grokett linked a laser barcode reader to a Raspberry Pi Zero W to read out the names of scanned item.

    RASPBERRY PI TALKING BARCODE READER

    My mom is unable to read labels on grocery items anymore, so I went looking for solutions. After seeing that bar code readers for the blind run many hundreds of dollars, I wanted to see what could be done using a Raspberry Pi and a USB Barcode reader.

    Exploring accessibility issues

    As his mother is no longer able to read the labels on her groceries, Russell Grokett started exploring accessibility devices to help her out. When he came across high-priced barcode readers, he decided to take matters into his own hands.

    Camera vs scanner

    Originally opting for a camera to read the codes, Russell encountered issues with light and camera angle. This forced him to think of a new option, and he soon changed his prototype to include a laser barcode reader for around $30. The added bonus was that Raspbian supported the reader out of the box, reducing the need for configuration — always a plus for any maker.

    A screenshot from the video showing the laser scanner used for the Raspberry Pi-powered barcode reader

    Russell’s laser barcode scanner, picked up online for around $30

    No internet, please

    With the issues of the camera neatly resolved, Russell had another obstacle to overcome: the device’s internet access, or lack thereof, when his mother was out of range of WiFi, for example at a store.

    Another key requirement was that this should work WITHOUT an internet connection (such as at a store or friend’s house). So the database and text-to-speech had to be self-contained.

    Russell tackled this by scouring the internet for open-source UPC code databases, collecting barcode data to be stored on the Raspberry Pi. Due to cost (few databases are available for free), he was forced to stitch together bits of information he could find, resigning himself to inputting new information manually in the future.

    I was able to put a couple open-source databases together (sources in appendix below), but even with nearly 700000 items in it, a vast number are missing.

    To this end, I have done two things: one is to focus on grocery items specifically, and the other is to add a webserver to the Raspberry Pi to allow adding new UPC codes manually, though this does require at least local network connectivity.

    Read it aloud

    For the text-to-speech function of the project, Russell used Flite, as this interface makes a healthy compromise between quality of audio and speed. As he explains in his Instructables tutorial, you can find out more about using Flite on the Adafruit website.

    A screenshot from the video showing the laser scanner used for the Raspberry Pi-powered barcode reader scanned an item

    When an item is scanned, the Raspberry Pi plays back audio of its name

    In order to maintain the handheld size of the scanner, Russell used a Raspberry Pi Zero W for the project, and he repurposed his audio setup of a previous build, the Earthquake Pi.

    Make your own

    Find a full breakdown of the build, including ingredients, code, and future plans on Instructables. And while you’re there, be sure to check out Russell’s other Raspberry Pi–based projects, such as PiTextReader, a DIY text-to-speech reader; and the aforementioned Earthquake Pi, a light-flashing, box-rattling earthquake indicator for your desk.

    Website: LINK

  • OTON GLASS: turning text to speech

    OTON GLASS: turning text to speech

    Reading Time: 2 minutes

    With OTON GLASS, users are able to capture text with a blink and have it read back to them in their chosen language. It’s wonderful tool for people with dyslexia or poor vision, or for travellers abroad.

    OTON GLASS

    A wearable device for people who have difficulty reading.

    OTON GLASS

    Inspired by his father’s dyslexia, Keisuke Shimakage of the Media Creation Research Department at the Institute of Advanced Media Arts and Sciences, Japan, began to develop OTON GLASS:

    I was determined to develop OTON GLASS because of my father’s dyslexia experience. In 2012, my father had a brain tumor, and developed dyslexia after his operation — the catalyst for OTON GLASS. Fortunately, he recovered fully after rehabilitation. However, many people have congenital dyslexia regardless of their health.

    Assembling a team of engineers and designers, Keisuke got to work.

    A collage images illustrating the history of developing OTON GLASS — OTON GLASS RASPBERRY PI GLASSES FOR DYSLEXIC USERS

    The OTON GLASS device includes a Raspberry Pi 3, two cameras, and an earphone. One camera on the inside of the frame tracks the user’s eyes, and when it detects the blinked trigger, the outward-facing camera captures an image of what the user is looking at. This image is then processed by the Raspberry Pi via a program that performs optical character recognition. If the Pi detects written words, it converts them to speech, which the earphone plays back for the user.

    A collage of images and text explaining how OTON GLASS works — OTON GLASS RASPBERRY PI GLASSES FOR DYSLEXIC USERS

    The initial prototype of OTON GLASS had a 15-second delay between capturing text and replaying audio. This was cut down to three seconds in the team’s second prototype, designed in CAD software and housed within a 3D-printed case. The makers were then able to do real-world testing of the prototype to collect feedback from dyslexic users, and continued to upgrade the device based on user opinions.

    Awards buzz

    OTON GLASS is on its way to public distribution this year, and is currently doing the rounds at various trade and tech shows throughout Japan. Models are also available for trial at the Japan Blind Party Association, Kobe Eye Centre, and Nippon Keihan Library. In 2016, the device was runner-up for the James Dyson Award, and it has also garnered attention at various other awards shows and in the media. We’re looking forward to getting out hands on OTON GLASS, and we can’t wait to find out where team will take this device in the future.

    Website: LINK