BigKson
Posts: 2
Joined: Wed Jan 09, 2019 2:27 am

Project Idea - Is this Doable?

Wed Jan 09, 2019 2:34 am

Hi All,

New RPI owner here. I bought it because I want to learn a bit about programming and how hardware interacts, etc. I am a business dev. manager and salesman so I had an idea for a project. Basically, it is this:

Enter a code on a pin pad
Specific code plays specific song on a speaker

I thought this would be fun when we make a sale, each salesman can have a specific code and their song would play as a way to celebrate.

With that said, is this doable? If so, where do I start? What language should I use? Hardware? Etc. I currently have the newest RPI if that helps. There’s a lot to learn and I’m excited! Thanks in advance!

Andyroo

Re: Project Idea - Is this Doable?

Wed Jan 09, 2019 12:29 pm

Welcome to the forum and the Pi

Yes totally doable and in many ways :lol:

You have a nice simple project that will teach you a fair bit and I would start with:

1) Learning to play sounds on the Pi from the command line https://www.raspberrypi.org/documentation/usage/audio/
2) Then start by using a simple button switch under Python https://raspberrypihq.com/use-a-push-bu ... y-pi-gpio/
3) Link the button press to play music by calling the audio command from Python
4) Increase the number of buttons https://www.modmypi.com/raspberry-pi/se ... ypad-1-x-4 to play different sounds
5) Change the program to handle a four digit PIN

If you do not want to use a keypad that you could always just use a normal keyboard to type in the code first :)

BigKson
Posts: 2
Joined: Wed Jan 09, 2019 2:27 am

Re: Project Idea - Is this Doable?

Thu Jan 10, 2019 2:18 am

Thanks for the help, better get to reading!

fredfs
Posts: 58
Joined: Sun Jun 07, 2015 12:22 am

Re: Project Idea - Is this Doable?

Wed Mar 06, 2019 1:03 pm

Is it ok to offer my services here?
I can code this for you, email me at fred1807@icloud.com

Return to “Graphics, sound and multimedia”