Algorithm
Race condition in reading RTC timekeeping registers
Most of you must have used a Real Time Clock (RTC) at some point. RTCs are small ICs that have a separate battery backup and allow you to keep track of time. Typical place where you can expect to see an RTC in action is your computer. They are used...
Implementing Circular Buffer in C
Embedded software often involves state machines, circular buffers and queues. This article will give you an overview of the data structure and walks you through the steps involved in implementing circular buffers in low memory devices. If you are already familiar with the basics of such data structures, feel free...
Interface 4x4 Matrix Keypad With Microcontroller
In this post we will discuss logic and interface of a matrix keypad (4x4 for this post) with microcontroller to reduce the number of port pins required to read a certain number of inputs (digital). The same logic applies to any matrix keypad of order NxN. Where, N is the...
Programming Shortest Path Line Follower Robot
This post is the programming section of my previous post that dealt with the logic behind the following routines. To understand the complete nature of this post you should read the previous post first and then continue with this one. No, this is not the entire code! even if the...
Shortest Path Line Follower Robot Logic Revealed!
Bored of the conventional line follower? People nearly are losing interest? Here is a post that could change it all and turn the winds to your side. Imagine if your robot was to start from node A (source) and move to node B (destination) and come back to node A!...