Tag Archives: ATtiny2313

11 Maker projects to celebrate Facebook’s 11th birthday

Trust us, you’ll ‘like’ these projects.

Today, February 4th, Facebook celebrates its 11th birthday. To commemorate the occasion, we decided to surf the web trying to find some nifty little projects. While a few of them are on the older side, none however, date as far back to the days of TheFacebook.com. (Remember that?)



Created by Matt Reed, the aptly named LikeLight will surely excite any click-happy Facebook user. The light not only looks great, but actually illuminates whenever someone hits the ‘Like’ button on your Facebook page. To create the light, the Maker first made use of LEGO’s very own Digital Designer software, re-creating the infamous ‘Like’ icon on his Mac. Once the light was designed, and the bricks were ordered, Reed got to work on building the light from scratch. Aside from the plastic building blocks, the project is powered by an Arduino Uno (ATmega328), which was connected to some LEDs. With just a tad bit of coding, the job was complete. Thumbs up on a job well done!

The Poking Machine


As its name implies, the Poking Machine is a wearable device designed by Jasper van Loenen and Bartholomäus Traubeck that physically pokes you whenever you are poked on Facebook, no matter where you are. The gadget is built around an ATtiny2313, a servo, a battery, and a Bluetooth module that connects to an Android phone, letting it keep track of incoming pokes. The electronic components are housed in a laser-cut box that you can wear on your arm.

Like Counter


Whether you’re a small business looking to demonstrate your Facebook presence or just an avid social media user looking to show off their popularity throughout the dorm, this project from Skolti Lab has made that possible. Using an Arduino Uno (ATmega328), an Arduino Ethernet Shield, an Arduino LCD Keypad Shield, a USB cable and an RJ45 cable, anyone can now make a device that reveals their page’s fan base without running the risk of embarrassing Facebook updates.

Facebook Dashboard


The Smart Atoms team recently devised a highly-customizable smart ticker that tracks everything important to you in real-time. Dubbed LaMetric, the hackable gadget is a suitable match for both home and office life with its multi-faceted functionality and stylish design. Three elegant touch buttons on the top of the device let a user to switch between items, while its sleek form factor allows for it to be placed wherever desired. LaMetric can also synced to web through its companion application via both Wi-Fi and Ethernet. Meanwhile, a trio of widgets let enable the ticker to be connected to anything on the web, include your latest Facebook updates and messages, each of which are provided in the form of notifications that a user can replied to by simply tapping its top-middle button.

Motorized Facebook Thumb


Developed by Tobias Sonne, Motorized Facebook Thumb (MFT) is an Internet-connected device that listens for like-worthy events for a specific person or page. Whenever a person, anywhere in the world, likes the Carnegie Mellon University’s Facebook page, the MFT lights up and the thump goes up. Modeled in Rhino, the device’s parts were constructed out of acrylic with a laser cutter while the stand was milled in plywood. MFT was powered by an Arduino Uno (ATmega328), a small stepper motor, a few blue LEDs, and an Arduino Ethernet Shield.

Check-Ins Get a Facelift


Facebook check-ins are a powerful mechanism for businesses to deliver discounts to loyal customers, yet few businesses — and even fewer customers — have realized it. That’s why ad agency Red Pepper has devised an ATmega328 based facial recognition system that, after passing by, a patron checks in at their location. Simultaneously, the user will be notified via smartphone of a customized deal based on their Like history as well.


FB ike

Instructables user “aashby1” had sought out to create an innovative way to share Facebook photos for a Christmas party he was throwing, knowing all too well that attendees wouldn’t want to take too much time in take and tag their images online. The project, which is powered by an ATmega328 and utilized an SLR camera, allows guests to simply snap a picture and immediately share it to their friends all with the press of one button. What’s more, the FaceBox can also be connected to a TV or computer monitor so that the photos to be shown throughout the party, as well as is equipped with photobooth software that can print, email or text the images.

Facebook Lamp


Facebook Lamp is an RGB LED light that alerts you in the event of a Facebook notifications by changing its color or fading from one hue to another. Built around what appears to be an ATmega328, the lamp in connected to a laptop via USB and is controlled by a custom software, which syncs and retrieves information from a user’s Facebook account.



French startup Smiirl teamed up with Sculpteo to design Fliike, a 3D-printed Facebook counter that literally sits on your counter as well — or your desk, or shop window. The gadget is easily plugged into a wall and connected via Wi-Fi, allowing business owneres to display and easily convince customers to become fans. Meanwhile, Flike is comprised of polyamide material, thus enabling owners to customize their unit by polishing and painting the gadget in 11 different colors.

“Like This” Button


Maker Mario Klingemann elected to construct a display for the UAMO Festival in Munich, all in an effort to create a self-referential piece of art that shows how many people like it. While the button itself may not be connected to Facebook, the installation demonstrated just how large of a cultural icon the social network has already become and the fact that most people will immediately understand how to use it. Those passing by simply pressed the button for about a second or so, which was then added to the project’s final tally. On a hardware level, it contains an Arduino which takes care for permanently storing the count of button presses and which also controls the display.

Facebook Flagger


Inspired by old-fashioned mailboxes, Colin Karpfinger produced an Arduino-compatible Facebook Flagger that alerts a computer user of a new notification. As soon as a message or status update comes in, the flag pops up above the screen using a servo. When done, the flag is pushed back down.

Hacking a jello shot printer

 for the holidays

It’s officially the holiday season, and for some of us, that means partaking in the ubiquitous and inevitable jello shot ritual. Now, most of us just down shots without giving the ingredients or appearance all that much thought. However, a Maker by the name of Sprite_tm recently realized something was missing from the contents of his cup, namely a design. In other words, what if a bartender could print actual designs inside a jello shot?


As a result, Sprite_tm quickly grabbed a syringe and injected food dye into one of the jello shots, successfully creating a pattern of sorts.

 Ultimately realizing it would simply take too long to execute each jello shot by hand, Sprite_tm decided to whip up a specialized 3D printer for the alcohol infused task.

After some looking around, the Maker found an old stack of CD_ROM and DVD drives, which he used to create a three-axis moving platform. Sprite_tm utilized a forth drive’s ejector assembly to depress a syringe which extruded a concoction of banana liquor, green food dye and corn starch through small tubing to the ink-head.

To power the device, the Maker chose an ATTiny2313 along with some stepper motors drivers and a transistor to drive the tray motor.

On the software side, the stepper motors are controlled using micro-stepping. As Sprite_Tm explains, steppers like this have (at max) 8 angles by simply sending DC through the coils.

“The firmware improves on this meager resolution by doing a sort-of PWM between two of the main angles: you can make the motor turn to eg. 15 degrees by telling it to go to 0 degrees for two milliseconds, then then telling it to go to 45 milliseconds and repeating that. Apart from that, there’s also a PWM going on to switch the motors off and on,” he notes. 

“The rest of the program basically consists of a bunch of coordinates for the figures, and some logic to move the needle point around. Again, all this is written for efficiency but has some drawbacks resulting from that. For example, the routine to move in a straight line uses 16bit fixed-point values with only 3 bits behind the decimal point, meaning quite some imprecision in the angles the lines can draw.”

With time of the essence, the Maker was only able to hardcode two figures into the firmware: a box and a spiral. Although simple, these figures offer some pretty nice effects ideal for any holiday party! Don’t forget to check out the project’s official page here.

Playing Simon on a hacked children’s farm toy

Who could ever forget Simon, the electronic game of memory skill that became an iconic pop culture fixture of the ‘70s and ‘80s? Through the years, however, the game can go from enjoyable to annoying incredibly fast. As a result, a Hackster.io user by the name of Magic Smoke decided trick out one of his children’s plastic farm toys with an MCU brain to play the game of Simon.


“One of the marvels of parenthood is the sheer volume of noisy plastic junk that gets thrown your kids’ way. It makes tremendous hacking fodder. For a while I had been watching to see if either of my daughters still expressed any interest in this moo-ing, oinking, polyethylene monstrosity. When the moment was right I grabbed it for re-purposing,” the Maker writes.


In order to bring his idea to life, Magic Smoke selected an Atmel ATtiny2313 to serve as the brains as it “had plenty of I/O pins so that no multiplexing would be necessary.” The code would also easily fit in the tinyAVR’s 2K of flash memory, while the 256 bytes of RAM could store enough moves for “the most elephantine of memories.”

Meanwhile, each stall was fitted with ultra-bright LEDs to help a user follow along. See it in action below!

Do you have a child’s game you’d love to hack? Access the entire step-by-step build from our friends at Hackster.io here.

Video: Atmel’s ATtiny2313 gives this game a voice (Jeu de l’oie)

A Maker named “Makapuf” recently built an electronic board game with digital audio for his kids. According to the folks at Hack A Day, the game is based on the classic Game of the Goose (“Jeu de l’oie”), albeit with a modern “talking” twist.

The game is powered by Atmel’s ATtiny2313 and AT45D 4 Megabit Flash. The latter component is tasked with providing storage for 8 bit/8khz audio.

“The electronic portion of the game has a few functions. The first is calling out numbers, which is done by playing recordings of [Makapuf] reading, ‘one’, ‘two’, ‘three’, … ‘twelve’, ‘thir-’, ‘teen’ and so on,” the Hack A Day crew explained in a recent blog post.

“This data is pumped out over a pin on the ATtiny through a small amplifier and into a speaker. After that, the code is a simple matter of keeping track of where the players are on the board, keeping score, and generating randomish numbers.”

Makapuf says he spent under $4 in parts, making the above-mentioned project even more impressive.

As previously discussed on Bits & Pieces, the high-performance, low-power Atmel 8-bit AVR RISC-based ATtiny2313 microcontroller features 2KB ISP flash memory, 128B ISP EEPROM, 128B internal SRAM, universal serial interface (USI), full duplex UART and debugWIRE for on-chip debugging.

The MCU supports a throughput of 20 MIPS at 20 MHz, operating between 2.7-5.5 volts. By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching 1 MIPS per MHz – neatly balancing power consumption and processing speed.