is no stranger to simple projects with tiny screens, either. Getting three functions out of a device with only one button is a pretty impressive feat, and if you can think of any other ways of getting more usefulness out of something like this be sure to leave it in the comments below. ![]() The video is worth watching if you’ve never worked with this small of a screen before, too. It uses an Arduino Pro Mini, a 64×48 OLED screen running on I2C, and has a miniscule 100 mAh 3.7V battery to power everything. Right now the small handheld device can be used as a stopwatch, a counter, and can even play a rudimentary version of flappy bird. ’s project has one goal: be as useful as possible while only using a single button and a tiny screen. On the other hand, this single-button project with more than one use seems to be the opposite of feature creep. With enough focus, though, it’s possible to recognize when it’s happening and keep to the original plans. Feature creep like this tends to result in a tangled mess rather than a usable project. When building projects with a simple goal in mind, it’s not unheard of for us to add more and more switches, buttons, and complexity as the project goes through its initial prototyping stages. If the OLED display strikes you as too luxurious, try the DUO BINARY.Ĭontinue reading “Button, Button, Who’s Got The (One) Button?” → Posted in Arduino Hacks Tagged arduino, calculator, Flappy Bird Turns out, you can use it as an input in certain circumstances. There’s a sample on GitHub that shows how you can create two OneButton objects connected to different hardware devices.īy the way, the little box may have only one button, but it also has a power switch. Of course, the library will work with any program and there’s no reason you can’t have more than one button and simply multiply their functions with the same strategy. So the device might be usable for something. The packaging of the tiny Arduino, the battery, and the display in a good looking case, was pretty impressive. The OLED display is only 64×48 so that’s not a lot of room. His original projects also included a Flappy Bird clone. But if you only have a limited amount of space or pins, it can make the difference between a feasible project and one you can’t finish. You can find the source code online and he used a library from GitHub to handle the reaction to single presses, double presses, and long presses. After doing some obvious things (like a counter or stopwatch) he decided to make a calculator for his latest Volos Projects video. I kept crashing on the high side so switching to this technique helped me triple my score fast.We often think that less is more, but what can you do with a device that has only a single button? wondered the same thing and he built an Arduino with a single button and a display. If you come in middle or high and tap a bit too hard, you're crashy bird. If you come into the pipes on the low side and tap right before, there's less chance of tapping too hard and crashing on the high side.
0 Comments
Leave a Reply. |