Category Archives: ATtiny Hacks

Tiny Sideways Tetris on a Business Card

Everyone recognizes Tetris, even when it’s tiny Tetris played sideways on a business card. [Michael Teeuw] designed these PCBs and they sport small OLED screens to display contact info. The Tetris game is actually a hidden easter egg; a long press on one of the buttons starts it up.

It turns out that getting a playable Tetris onto the ATtiny85 microcontroller was a challenge. Drawing lines and shapes is easy with resources like TinyOLED or Adafruit’s SSD1306 library, but to draw those realtime graphics onto the 128×32 OLED using that method requires a buffer size that wouldn’t fit the ATtiny85’s …read more

Continue reading

Posted in ATtiny Hacks, attiny85, business card, oled, pcb, software hacks, ssd1306, tetris | Leave a comment

IR Detective Eases Development with Compact Decoding

Hardware development often involves working with things that can’t be directly perceived, which is one reason good development tools are so important. In appreciation of this, [David Johnson-Davies] created the IR Remote Control Detective to simplify working with IR signals. While IR remote controls are commonplace, there are a number of different protocols and encoding methods in use across different brands. The IR Detective takes care of all of that with three main components, none of which are particularly expensive. To use the decoder, one simply points an IR remote at the unit and presses one of the buttons. The …read more

Continue reading

Posted in 38kHz, 40khz, attiny, ATtiny Hacks, attiny85, decoder, infrared, ir prototocol, IR reciever, prototcol | Leave a comment

Push Big Red Button, Receive Power.

As with the age-old panic after realizing you have left an oven on, a candle lit, and so on, a soldering tool left on is a potentially serious hazard. Hackaday.io user [Nick Sayer] had gotten used to his Hakko soldering iron’s auto shut-off and missed that feature on his de-soldering gun of the same make. So, what was he to do but nip that problem in the bud?

Instead of modding the tool itself, he built an AC plug that will shut itself off after a half hour. Inside a metal project box — grounded, of course — an ATtiny85 …read more

Continue reading

Posted in ac, ATtiny Hacks, gun, iron, plug, safety, soldering, timer | Leave a comment

A Game That Does More With Less

[David Johnson-Davies] created a minimal Secret Maze Game using a single ATTiny85 and a few common components. This simple game uses four buttons, four LEDs, and a small speaker. The player moves in the four cardinal directions using buttons, and the LEDs show walls and corridors. If an LED is lit, it means the path in that direction is blocked by a wall, and attempting to move in that direction will make a beep. When the player reaches the exit, a short victory tune chirps from the speaker.

Since the ATTiny85 has only five I/O lines, [David] had to get …read more

Continue reading

Posted in ATtiny Hacks, attiny85, AVR, charlieplexing, game, led, led hacks, maze, minimalist | Leave a comment

Finally, A Fidget Spinner We Can Love

We’ve been frankly mystified at the popularity of fidget spinners. After all, we can flip an ink pen around just fine. However, [MakersBox] just sold us on what he calls the geek spinner. The fact that the spinner is actually a PCB and has parts on it, would probably have been cool enough. However, the spinner also has a persistence of vision LED set up and can display 12 characters of text as it spins. Because the board is simple and uses through hole components, it would be a great project for a budding young hacker. You can see a …read more

Continue reading

Posted in ATtiny Hacks, Fidget Spinner, led hacks, persistance of vision, POV, spinner | Leave a comment

DIY Pyrography Power Supply

Ever wanted to try your hand at wood burning? If you already threw away your first soldering iron—you know the one: plugged straight in to the wall, no temperature control, came with a thick piece of tin foil to rest it on—don’t despair. Pyrography pens don’t cost that much. The variable power supply they plug into, though: that’s another story. Those cost more than they probably should.

[td0g] took the plunge into pyrography a while back, and wanted to build his own controller from an old ATX power supply. Why not? It should be more than capable of doing the …read more

Continue reading

Posted in ATtiny Hacks, attiny85, power supply, pwm, pyrography, wood burning | Leave a comment

Modern Strongman Games Test Your Speed Instead

Step right up! What would a Makerfaire be without some carnival games? And being a Makerfaire, they could of course be modernized versions. In [avishorp]’s case, he made a series of games that test your speed and look very much like the old strongman game, aka high striker or strength tester.

In the strongman game, you smash a lever with all your might using a hammer. A puck on the other end of the lever then shoots up a tower, hopefully high enough to hit a bell, winning you a prize. In [avishorp]’s games the puck, tower and bell are …read more

Continue reading

Posted in Adafruit trinket, ATTiny 85, ATtiny Hacks, carnival, carnival games, led hacks, Trinket, ws2812 | Leave a comment

Mini Tetris Game Packs a Tiny85

[dombeef] originally built pocketTETRIS as a Father’s Day gift for his Tetris-loving pops. However, having finished the project he’s decided to share it with the universe, and it’s looking rather sweet.

He made the game the smallest he could make, with size limitations imposed by a 0.96” OLED display, the coin-cell battery pack, and his desire for a durable 3D-printed case. It uses a ATtiny85 for the brains, mounted on a custom PCB that [dombeef] designed in KiCad. The Arduino code was modified from Andy Jackson’s ATtinyArcade code, giving it three-button capability instead of two. [dombeef] has details on the …read more

Continue reading

Posted in ATtiny Hacks, attiny85, tetris | Leave a comment

Saturday Clock: An 0.000011574Hz ATtiny85 clock

In these times when we try to squeeze out extra clock cycles by adding more cores to our CPUs and by enlisting the aid of GPUs, [Ido Gendel] thought it would be fun to go in the exact opposite direction, supply a clock to the ATtiny85 that cycles only once per day, or at 0.000011574Hz. What application could this have? Well, if he could do it in seven instructions or less, how about turning on an LED at sunset Friday evening, to indicate the start of the Jewish Shabbat (Saturday), and turn it off again at sunset Saturday evening.

Notice …read more

Continue reading

Posted in ATtiny Hacks, attiny85, clock source, comparator, custom clock | Leave a comment

Camera Restricta Ensures Original Photography

Proper documentation is important, and when traveling it is commonly achieved via photography. Redundant documentation is often inefficient, and the Camera Restricta — in a commentary on the saturation of photographed landmarks and a recent debate on photographic censorship in the EU — aims to challenge the photographer into taking unique photographs.

Camera Restricta has a 3D-printed body, housing a smartphone for gps data, display and audio output, while an ATTiny85 serves to control the interdicting function of the camera. When the user sets up to take a picture using Camera Restricta, an app running on the phone queries a …read more

Continue reading

Posted in ATtiny Hacks, camera, Cellphone Hacks, censorship, geotagging, gps, photography | Leave a comment