Skip to content

chamot1111/YahourtCartonBox

Repository files navigation

YahourtCartonBox

Warning

It's an educational project only. The status is alpha test, they can still a lots of bug (see Problems.md).

Quick presentation of the project

The goal of this project is to construct a box that play messages when open. The messages are send to the box through a web interface in mp3 files.

This project must run under a Raspberry Pi with a camera module. The distribution is Raspbian “wheezy”. The web interface is running on the host side with node.js and on the client side with ember.js.

Here are some capture from the web interface:

web interface 1 web interface 2

To detect if the box is opened we take a picture every 3 seconds with the CLI tool and we look if the mean value of the image is above a threshold. It will be better to have an infrared barrier but I have already the camera module.

Then if there are new messages, there are read. Otherwise all the old messages are read.

The mp3 messages are read thanks to the CLI program mpg321.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published