top of page

QR CODE READER

Hi there!

This week, our assignment was to create a robot that reads a QR Code through OpenMV and reacts to it. My group mate for this project was Dylan Wagman. Our main idea was to create a robot that acts like a piano. We would have a camera that is attached to a rail. This way the camera would read the different QR codes as it stops on top of the QR codes. Because of some technical difficulties we made something a little bit simpler.

We created a robot that sends different frequencies to the speaker. We created the base to place the camera. This base is connected to the rail and the rail is controlled by two push buttons which moves the motor in either clockwise or counterclockwise direction. We created 5 different QR codes that creates 5 different numbers. Theoretically, they would be scanned by the camera as the camera stops on top of them. Those numbers would be assigned as the frequency of the speaker through PyBoard. The speaker is connected to the PyBoard's PMW channel. This way the speaker can create the frequency that it receives. 

However, we could not make the camera read the QR codes when they are next to each other. When the camera sees more than one QR code it simply doesn't do anything. Since we did not have a very long rail, our space was limited. So at the end we decided to create only two different noises. 

The quality of the sound is very low, so the sounds we make are not pleasant. 

If we had more time, we would actually figure out how we could make the camera read multiple QR codes in a row. Also, we would try to figure out how to make the sounds more pleasant. Finally, we would make the camera stop in each QR code and stop as we push the buttons.

Programs that are used:

  • Python

  • nScope

  • OpenMV

QR Code Controlled Piano: About
QR Code Controlled Piano: Gallery
QR Code Controlled Piano: Gallery

©2019 by Tahsin Can Sarlak. Proudly created with Wix.com

bottom of page