And yes, you can do it. What have you tried already?
Nobody is giving you a bolt-on solution here.
You have to start something, find parts, design circuit, write a basic code
and ask for opinion and advices, show where you have problems.
You have nothing so far.
Cheers,
Kari