Posts | Comments

Planet Arduino

Archive for the ‘lcd screen’ Category

A robot that uses CV to detect villagers in Stardew Valley and display their gift preferences on a screen.

It seems like most narrative games have some kind of drudgery built in. You know, some tedious and repetitious task that you absolutely must do if you want to succeed. In Stardew Valley, that thing is gift giving, which earns you friendship points just like in real life. More important than the giving itself is that each villager has preferences — things they love, like, and hate to receive as gifts. It’s a lot to remember, and most people don’t bother trying and just look it up in the wiki. Well, except for Abigail, who seems to like certain gemstones so much that she must be eating them. She’s hard to forget.

[kutluhan_aktar]’s villager gift preferences bot is a fun and fantastic use of OpenCV. This bot uses a LattePanda Alpha 864s, which is a single-board computer with an Arduino Leonardo built in. It works using template matching, which is basically a game of Where’s Waldo? for computers.

Given a screenshot of each villager in various positions, the LattePanda recognizes them among a given game scene, then does a lookup of their birthday and preferences which the Leonardo prints on a 3.5″ LCD screen. At the same time, it alerts the player with a buzz and big green LED. Be sure to check it out in action after the break.

In Animal Crossing, the drudgery amounts to pressing the A button while catching shooting stars. That’s not a huge problem for a Teensy.

Photography turntables are made for both the precise and lazy. Whether you are concerned about the precision of consistent angles during a photo shoot or you simply do not want to stand there rotating a plate after every picture — yes, it does get old — a lazy susan style automatic photography turntable is the ticket. This automatic 360° design made over at circuito.io satisfies both of these needs in an understated package

The parts required to make this DIY weekend project are about as minimal as they get. An Arduino Uno controls it all with a rotary encoder for input and a character LCD to display settings. The turntable moves using a stepper motor and an EasyDriver. It even takes care of controlling the camera using an IR LED.

The biggest obstruction most likely to arise is creating the actual laser cut casing itself. The circuito team avoided this difficulty by using Pololu‘s online custom laser cutting service for the 4 necessary laser cut parts. After all of the components have been brought together, all that is left to do is Avengers assemble. They provide step by step instructions for this process in such a straightforward way that you could probably put this sucker together blindfolded.

We have seen some other inspired photography turntables on Hackaday before. [NotionSunday] created a true turntable hack based off of the eject mechanism of an old DVD-ROM drive. With the whole thing spinning on the head assembly of a VCR, this is the epitome of letting nothing go to waste. We also displayed another very similar Arduino Uno controlled turntable created 2 years ago by [Tiffany Tseng]. There is even a non-electronic version out there of a DIY 360° photography turntable that only uses a lazy susan and tape measure. All of these photography turntable hacks do the job wonderfully, but there was something that we liked about the clean feel of this one. All of the necessary code for this project has been provided over at GitHub. What is your favorite photography turntable?


Filed under: Arduino Hacks, digital cameras hacks


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook