Category Archives: attiny85

Racing The Beam On An ATtiny

For the last thirty or so years, the demoscene community has been stretching what is possible on computer systems with carefully crafted assembly and weird graphical tricks. What’s more impressive is hand-crafted assembly code pushing the boundaries of what is possible using a microcontroller. Especially small microcontrollers. In what is probably the most impressive demo we’ve seen use this particular chip, [AtomicZombie] is bouncing boing balls on an ATtiny85. It’s an impressive bit of assembly work, and the video is some of the most impressive stuff we’ve ever seen on a microcontroller this small.

First, the hardware. This is just …read more

Continue reading

Posted in assembly, attiny, attiny85, boing ball, demoscene, Microcontrollers, vga | Leave a comment

Tiny Function Generator on the ATtiny85, Complete with OLED

It’s easy to have a soft spot for “mini” yet perfectly functional versions of electronic workbench tools, like [David Johnson-Davies]’s Tiny Function Generator which uses an ATtiny85 to generate different waveforms at up to 5 kHz. It’s complete with a small OLED display to show the waveform and frequency selected. One of the reasons projects like this are great is not only because they tend to show off some software, but because they are great examples of the kind of fantastic possibilities that are open to anyone who wants to develop an idea. For example, it wasn’t all that long …read more

Continue reading

Posted in attiny, attiny85, AVR, bench equipment, dds, direct digital synthesis, function generator, i2c, microcontroller, Microcontrollers, oled, rotary encoder | Leave a comment

These Small PCBs are Made for Model Rocketry

Model rocketry hobbyists are familiar with the need to roll their own solutions when putting high-tech features into rockets, and a desire to include a microcontroller in a rocket while still keeping things flexible and modular is what led [concretedog] to design a system using 22 mm diameter stackable PCBs designed to easily fit inside rocket bodies. The system uses a couple of 2 mm threaded rods for robust mounting and provides an ATTiny85 microcontroller, power control, and an optional small prototyping area. Making self-contained modular sleds that fit easily into rocket bodies (or any tube with a roughly one-inch …read more

Continue reading

Posted in attiny, attiny85, hardware, KiCAD, Microcontrollers, model rocket, model rocketry, oshpark, pcb, rocketry, stackable | 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

ESP8266 as a Tape Drive

1976 was the year the Apple I was released, one of several computers based on the MOS 6502 chip. MOS itself released the KIM-1 (Keyboard Input Monitor) initially to demonstrate the power of the chip. The single board computer had two connectors on it, one of which could be used for a tape recorder for long-term storage. When [Willem Aandewiel] went to the Apple Museum Nederland in 2016, he saw one and felt nostalgic for his youth. He was able to get a replica, the microKIM, and build it but he wanted to use new technology to interface with this …read more

Continue reading

Posted in attiny85, classic hacks, Computer Hacks, ESP8266, kim-1, Microcontrollers, MOS Technology 6502, tape recorder | 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

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

Antique Pinball Machine Lives as Clock

A big problem with restoring old arcade or pinball machines is finding original parts to get them running again. That’s part of the fun, though; when something finally works after weeks or months of effort. On the other hand, sometimes the only hope for old parts that will never be in a pinball machine again is for [Randy] to come across them. One of those parts he had lying around was a backglass for an old machine, and decided to turn it into a unique word clock.

The original pinball machine was built in 1956, and despite its age the …read more

Continue reading

Posted in attiny85, backglass, clock, clock hacks, microcontroller, neopixel, pinball | Leave a comment

Hackaday Prize Entry: Breathe Your Troubles Away

Navy SEALs and other highly trained special forces operators all know a simple, basic fact – you’ve got to breathe to live. That seems self-evident, but breathing control is immensely important to being able to perform at a high level in stressful situations. But even if you never anticipate being under fire, you can learn the SEAL way of breathing with this visual aid.

Lest you think that Box Breathing, also known as the four-square breathing technique, is some sort of New Age nonsense, recent research has uncovered the neurological basis for the feeling of calm that can come over …read more

Continue reading

Posted in anxiety, attiny85, Box Breathing, breathing control, meditation, relaxation, The Hackaday Prize | 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