Before you begin reading this blog, if you have not checked my previous blog about adding a speed sensor to the sensor stack and integrate it with raspberry pi, then check it out.

Few months back I integrated a camera sensor module with raspberry pi. Now is the time to make use of this powerful sensor. However, before we begin its usage, we need to calibrate the camera. Below is the blog about setting up the camera module with raspberry pi.

Why calibrate?

Let’s take an example, imagine the speedometer in your car shows 3 km/h even though your car…


Before you begin reading this blog, if you have not checked my previous blog about coupling the IMU with raspberry pi, then read the blog.

One of the first things this robot should/will have is its control over its wheels. The plan is to implement a longitudinal control system and a lateral control system.

However, before rushing to implement these cool control algorithms, we need some more information about the robot. We need to know the actual velocity of the robot (rpm of the wheels). Once we know the actual velocity and the set reference velocity (which we will set…


First things first, if you have not checked out my previous blog about how to interface an ultrasonic sensor and a camera with raspberry pi, then have a quick read this blog.

“Knowing yourself is the beginning of all wisdom.” — Aristotle

This robot can sense it’s environment. But it has very less information about itself. I get a feeling, it’s a good time to make this robot wiser, after all it is getting older by the day ;p.

What does it mean, “knowing oneself” for a robot, I hear someone asking. The robot can know about it’s presence. Here’s…


First things first, if you have not checked out my previous blog about how to interface the L298N H-bridge with a raspberry pi, then have a quick read this blog.

So far we have interfaced L298N H-bridge motor driver with raspberry pi and thanks to that, our robot has legs (wheels, more preciously). Next we need some eyes for our guy.
In general, there can be many sensors to perceive the environment.

1. Camera

Photo by ShareGrid on Unsplash.

2. Ultrasonic sensors


First things first, if you have not checked out my previous blog about how to set up a raspberry pi with out an HDMI cable and monitor, then have a quick read this blog.

Now, let’s continue with our journey. At this point, you are probably wondering what journey, is there a destination? Well, there is. I will be explicitly talking about it another separate blog (yeah, I am a little lazy in writing blogs, sorry ;( ).
However, a little sneak peak into this project, this robot has motors (surprise surprise ;p) to power the wheels. To protect the…


I recently got a new RPi 4B and was struggling to get started with it. I looked around many tutorials but most of them required me to have a micro HDMI cable to be able to connect to a monitor/TV. Few of them did give an option to connect via LAN cable but were old tutorials and were not complete.
Therefore, this article addresses this gap and gives a process to connect a freshly baked Pi to a system and start programming.

We need:
1) Raspberry Pi (I had a Raspberry Pi 4B)
2) LAN Cable|
3) Wifi Router
4) Memory stick
5) A…

Sharad Rawat

Autonomous Vehicles Algorithm Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store