We started playing with Arduino and created a prototype that can actually scan patterns and listen to…