Mounting the RPi camera on the robot

Let's mount the RPi camera on the robot; you will need a RPi camera case for this. A quick search on for RPi camera case will show the following case:

I do not recommend this particular case as it did not fit my RPi camera module properly. When the case is closed, the lens of my RPi camera did not properly align with the small hole of this camera case.

Since I live in India, I did not find any good RPi camera cases on the Amazon India website (, and the ones that were available were expensive. The case I ended up using was from an Indian e-commerce website called, and ...

Get Hands-On Robotics Programming with C++ now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.