‘Tiny Wake-Up Light Is Hugely Bright

Let’s face it — waking up is rough no matter what time of year it is. But the darkness of fall and winter makes it so much worse. In the past, [Maarten] has used music with increasing volume, but depending on the setup, it can be dodgy if you want to hear a different song each day and don’t have all your files volume-leveled.

Wake Up Bright is the latest in a line of wake-up widgets [Maarten] has made to help rouse them in the morning. Their write-up covers all ideas they’ve had on the subject over the years, as well as the electronics, firmware, debugging, and all the upgrades made after using it for awhile.

The inner workings of an AVR-based artificial sunrise.Slowly brightening an LED doesn’t have to be difficult or expensive. [Maarten] originally used an Atmel 90S2313 AVR and later upgraded to an ATtiny 2313, which was easy because the two are pin-compatible. The 2313 outputs PWM, which duty-cycles the LED to create a nice fade-in of white light that is way more gentle than that classic 1980s alarm clock buzz-beep.

Over time, this project went from one IKEA enclosure to another. We really like the newer one, which looks like it was designed for people to hack into a wake-up light.

Our eyes perceive brightness increases logarithmically, but PWM is linear. We can get around this by multiplying the PWM value by some factor every so often, but the problem is that this AVR never learned its multiplication tables. So how, then? [Maarten]’s answer is byte shifting using a 16-bit register — one byte for PWM, and the other as a scratch pad to do logarithmic math. [Maarten] multiplies the 16-bit register by 1/256 every couple of seconds, which results in a logarithmic increase of brightness. It’s calculated for a 15-minute sunrise, which required some experimentation to get right.

Whereas [Maarten] started with a 3 W RGB LED, the current version has three 10 W LEDs and uses a power supply from an old monitor. Daylight Saving Time is coming to an end in the US, and it’s gonna get worse quickly. Lucky for you, this project is completely open source down to the firmware.

You think that 1980s alarm clock buzz-beep is bad? How about some repeated slaps to the face to wake up?

Malamud’s General Index: Research Gist, No Slap On The Wrist

Tired of that unsettling feeling you get from looking for paywalled papers on that one site that shall not be named? Yeah, us too. But now there’s an alternative that should feel a little less illegal: this new index of the world’s research papers over on the Internet Archive.

It’s an index of words and short phrases (up to five words) culled from approximately 107 million research papers. The point is to make it easier for scientists to gain insights from papers that they might not otherwise have access to. The Index will also make it easier for computerized analysis of the world’s research. Call it a gist machine.

Technologist Carl Malamud created this index, which doesn’t contain the full text of any paper. Some of the researchers with early access to the Index said that it is quite helpful for text mining. The only real barrier to entry is that there is no web search portal for it — you have to download 5TB of compressed files and roll your own program. In addition to sentence fragments, the files contain 20 billion keywords and tables with the papers’ titles, authors, and DOI numbers which will help users locate the full paper if necessary.

Nature’s write-up makes a salient point: how could Malamud have made this index without access to all of those papers, paywalled and otherwise? Malamud admits that he had to get copies of all 107 million articles in order to build the thing, and that they are safe inside an undisclosed location somewhere in the US. And he released the files under Public Resource, a non-profit he founded in Sebastopol, CA. But we have to wonder how different this really is from say, the Google Books N-Gram Viewer, or Google Scholar. Is the difference that Google is big enough to say they’re big enough get away with it?

If this whole thing reminds you of another defender of free information, remember that you can (and should) remove the DRM from his e-book of collected writings.

Via r/technology

Omni-Wheeled Cane Steers The Visually-Impaired Away From Obstacles

Sure, there are smart canes out there, commercial and otherwise. We’ve seen more than a few over the years. But a group of students at Stanford University have managed to bring something novel to the augmented cane.

The details of an augmented cane for the visually impaired that features an omni wheel to steer them away from obstacles.Theirs features a motorized omni wheel that sweeps smoothly from left to right during normal cane operation, and when the cane senses an object that turns out to be an obstacle, the omni wheel goes into active mode, pulling the user out of the path of danger.

Tied for best part of this build is the fact that they made the project with open hardware and published all the gory details in a repo, so anyone can replicate it for about $400.

The cane uses a Raspi 4 with camera to detect objects, and a 2-D LIDAR to measure the distance to those objects. There’s a GPS and a 9-DOF IMU to find the position and orientation of the user. Their paper is open, too, and it comes with a BOM and build instructions. Be sure to check it out in action after the break.

There’s more than one way to guide people around with haptic feedback. Here’s the smartest pair of shoes we’ve seen lately.

Continue reading “Omni-Wheeled Cane Steers The Visually-Impaired Away From Obstacles”

Inside the making of a cylindrical keyboard that doubles as a tea cup.

Can’t Spill Coffee On Your Keyboard If It’s Already Inside

No matter where you live in the world or what beverage you enjoy, it’s too easy to spill it on the keyboard. Obviously, the solution is to combine the two. That’s exactly what Google Japan did this past April Fool’s Day when they released the Gboard — a cylindrical keyboard wrapped around a removable cup. But is it still a joke once you’ve open-sourced it and made a build guide, more or less?

Here’s where it gets weird: each kanji on the keyboard represents a different kind of fish, and they’re laid out in Japanese phonetic order. You’re not stuck with the fish, though — one of the 60 keys switches between fish input and regular Hiragana (the basic Japanese phonetic alphabet). Underneath all those fish are low-profile Kailh chocs hooked up to an ATMega32u4. We only wish it were wireless.

We love that they open-sourced this keyboard, and it even makes sense in a way. In order to produce a good April Fool’s video, you actually have to make the fake product. The better it is (i.e. weird but plausible), the more people will like it and probably want one. So if you’re going to go to all that trouble, why not set it free on GitHub? Note that the second line of the readme is “this is not an officially-supported Google product”, which we suppose goes without saying.

Be sure to check out the short video after the break. If you don’t understand Japanese, you’ll want to turn on the closed captions.

You know, now that Raspberry Pi have made their answer to the Arduino, it’s about time that Apple made their answer to the Raspberry Pi.

Continue reading “Can’t Spill Coffee On Your Keyboard If It’s Already Inside”

RoboTray Is A Secret Tea Butler

How far would you go for your cup of tea? [samsungite]’s missus doesn’t like clutter on her countertops, so away the one-cup kettle would go back into the cupboard for next time while the tea steeped. As long as there’s room for it in there, why not install it there permanently? That’s the idea behind RoboTray, which would only be cooler if it could be plumbed somehow.

RoboTray went through a few iterations, most importantly the switch from 6mm MDF to 4 mm aluminum plate. A transformer acts as a current sensor, and when the kettle is powered on, the tray first advances forward 7 cm using a 12 VDC motor and an Arduino. Then it pivots 90° on a lazy Susan driven by another 12 VDC motor. The kettle is smart enough to turn itself off when finished, and the Arduino senses this and reverses all the steps after a ten-second warning period. Check it out in action after the break.

If [samsungite] has any more Arduinos lying around, he might appreciate this tea inventory tracker.

Continue reading “RoboTray Is A Secret Tea Butler”

An assortment of whole-mouth toothbrushes that brush all of your teeth at once, in the span of 30 seconds.

Don’t Bristle; Teethbrush Won’t Hurt You

A whole-mouth toothbrush that brushes all of your teeth at once, in the span of 30 seconds.Good dental hygiene is the first line of defense when it comes to your health, and– you’re already bored, aren’t you? It’s totally true, though. Take care of your teeth, and the rest of you has a better chance of staying fairly healthy.

This is like, the one thing we have control over after diet and exercise, and most people just plain fail on this front. They brush for 30 seconds, tops. Or they rarely floss. Maybe they’ve never even considered brushing or scraping their tongue.

Okay, fine. You don’t want to spend the recommended two minutes twice a day working the brush around your mouth. The good news is, technology has finally caught up with you and your habits, if you can call them that. How about using something that can truly be called a teethbrush? As in, it brushes all of your teeth at once? Well, half of your teeth anyway. Allegedly, you can spend as little as 10 seconds on each arch and effectively scour your smile — that’s because the thing vibrates at an astonishing 40,000 per minute or so.

Sounds kind of scary, doesn’t it? Wait ’til you hear how much they cost. One brand is $150 off the bat, and replacement heads are close to $40 each, although they’re supposed to last for six months each (eww!). Most of them have some fancy extras that make the cost more palatable, such as a tooth-whitening mode.

What do you think? Would you use a teethbrush? We’re still on the fence. It could be interesting to develop our own, but you have to crawl before you can run. Guess we’ll start with a manual.

Troubleshooting: A Method For Solving Problems The Right Way

We’ve all experienced that magic moment when, after countless frustrating hours of experimentation and racking your brain, the object of our attention starts working. The 3D printer finally produces good output. The hacked up laptop finally boots. The car engine finally purrs. The question is, do we know why it started working?

This is more important than you might think. Knowing the answer lets you confirm that the core problem was solved, otherwise you may have just fixed a symptom. And lack of understanding means fixing one problem may just create another.

The solution is to adopt a methodical troubleshooting method. We’re talking about a structured problem solving technique that when used properly can help us solve a problem at its core without leaving any loose ends. Such methodology will also leave you knowing why any solution did or didn’t work in the end, and will give you reproducible results.

Continue reading “Troubleshooting: A Method For Solving Problems The Right Way”