News for hackers. Stuff that matters.
Re:Ask HN: What do you do with your Raspberry Pi? by WhompingWindows on Monday June 24, 2019 @12:27PM (#20265247)
I'm totally naive with Raspberry Pi..can someone comment on the following project: Is it possible to put a glass eye behind a portrait of a one-eyed pirate and make its eye move around/follow whoever enters the room? A friend has a glass eye but nothing to do with it.
Re:Ask HN: What do you do with your Raspberry Pi? by amingilani on Monday June 24, 2019 @12:31PM (#20265317)
Lemme think. A camera that observes the room from the portrait, anyone that walks in is a dot on a plane, and it points the eye at the point on the plane. Should be doable. Yes, the Pi should handle that fairly easily.

The part that you'll have to figure out is making the eye ball rotate. There are GPIO pins on the Pi, so you can get the commands out, but you'll need to build the eyeball component yourself.

Re:Ask HN: What do you do with your Raspberry Pi? by HeyLaughingBoy on Monday June 24, 2019 @02:24PM (#20266712)
Probably not. Servocity has x-y gimbal controllers. If you can find one small enough, it could control the eye.
Re:Ask HN: What do you do with your Raspberry Pi? by cheeko1234 on Monday June 24, 2019 @12:34PM (#20265337)
Re:Ask HN: What do you do with your Raspberry Pi? by fizzledbits on Monday June 24, 2019 @12:32PM (#20265327)
If I hadn’t started this startup and had time, I would want to start making this right now
Re:Ask HN: What do you do with your Raspberry Pi? by shearskill on Monday June 24, 2019 @02:32PM (#20266813)
Totally possible. https://youtu.be/0o_9CHYeRvI

Make it play the Spongebob theme and you’re set.

Re:Ask HN: What do you do with your Raspberry Pi? by monocularvision on Monday June 24, 2019 @11:13PM (#20270867)
As a one-eyed individual, I love this idea. I have my old one sitting in a drawer doing nothing and I will be replacing my current this year. Two glass eyes.