• Status: Solved
  • Priority: High
  • Security: Public
  • Views: 45
  • Last Modified:

Can a Raspberry Pi be used for the following application?

I need to determine if a Raspberry Pi would be appropriate for a project I am developing. I am trying to create a game (non-commercial) that includes a soft, pillow-like object that will be thrown. I would like to insert a sensor that would detect changes in acceleration, and respond by playing a sound from an internal speaker. The internal apparatus must be self contained and battery operated. I have considered using a Raspberry Pi with a lithium ion battery pack, and an attached speaker and sensor (piezo disk?). When the "pillow" is thrown, the acceleration is detected and a sound is played. When that "pillow" lands, the deceleration is detected and a different sound is played.

Question: Do you think this can be done with a Raspberry Pi, and if so, do you think the Raspberry Pi and components could withstand the acceleration and deceleration associated with being thrown about?

Scott Kricho
Scott Kricho
2 Solutions
Shaun VermaakTechnical Specialist/DeveloperCommented:
I would rather use a cheap ESP8266 dev board with an LSM6DS3 accelerometer. Using something link Blynk.io you can even keep "score" or record different types of throws.

Even predict who is throwing pillow by analysing data with machine learning, sky's the limit
Dr. KlahnPrincipal Software EngineerCommented:
A Pi runs linux but the hardware is too expensive for a commercial product.  An Arduino Nano (or even smaller) at about two dollars each (retail, cheaper in bulk) would be a good choice.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Tackle projects and never again get stuck behind a technical roadblock.
Join Now