Tuesday , February 21 2017
Home / Tag Archives: theory

Tag Archives: theory

Basics of DC Motor Drive and Speed Control for Robots

dc motor

DC motors are really cheap and can be found very easily. In this post we will discuss the basic theory behind the DC motor drive system and its speed control. Having some basic understanding of how your motor driver works will play a key role in building your own circuits debugging them. The main advantage is that, they are really easy to interface. Hook the wires on to the battery terminals and they will work just fine. The direction of rotation …

Read More »

Implementing Circular/Ring Buffer in Embedded C

circular buffer

Most embedded programmers come to realize that majority of the code that they write in a day are either related to state machines or circular buffers or queues. In this article we will have a look at circular buffers and how you can implement them in low memory devices. For those of you who don’t know what a circular buffer is, its a kind of array that will loop back to 0 after it reaches the maximum number of bytes …

Read More »

Interface 4×4 Matrix Keypad With Microcontroller

In this post we will discuss logic and interface of a matrix keypad (4×4 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 order of the matrix. Why Matrix Keypad? Typically one port pin is required to read a digital input into the controller. When there are a lot of digital input that has …

Read More »

Interface 7 Segment Display with Microcontroller

The 7 segment display is widely used to display numeric data. They are limited by the number of segments (LEDs) they have and hence are not suitable for displaying text. There are some variants of this kind of displays that have 11 segments which enables them to display text also. This post will deal with the basics of 7 segment displays and how to interface them with microcontrollers. As the name suggests, there are 7 segments to display a number …

Read More »

Stepper Motor Interface with PIC Microcontroller

stepper motor interface

In my previous post Introduction to Stepper Motors and How they Work, we had a look at stepper motors and how they work. This post will deal with the programming and circuitry involved in the stepper motor interface with PIC Microcontrollers. Usually a microcontroller is used to produce the stepping sequence for the stepper motor. But this is not the only method of producing the stepping sequence. It can be produced by using flip flops, logic gates and some knowledge about digital …

Read More »

Shortest Path Line Follower Robot Logic Revealed!

shortest path

Bored of the conventional line follower? People nearby are losing interest? Here is a post that could change it all and turn the winds to your side. Imagine if you robot was to start from node A (source) and move to node B (destination) and and come back to node A! Hmm… not so great.. what if your robot could figure out the shortest path from source node the destination node and the returns to the source node choosing the …

Read More »

Line Follower Robot – Build it from scratch

Line Follower

Line Follower Robots are the most common type of robots that are built by hobbyist and student interested in robotics and embedded systems. The reason for the popularity of the Line Follower robot is the fact that is simple to build and easy to understand the logic behind it. This post will give you working level knowledge on building and programming line follower robots from scratch. A robot is a combination of hardware and software. One has to give equal …

Read More »

Timer / Counter Module – A Controller Independent Guide

timer

In this post I intend to provide a standalone, controller independent, Guide to Timer / Counter Module in Microcontrollers. The concepts explained are not associated with any one particular controller which might not be useful for all readers. To an extent this is an independent post but little exposure to Interrupts and how they work is a prerequisite, which may not be within the scope of this post. But otherwise this post should have everything you need to know about …

Read More »

I2C Protocol (2-Wire Interface) in a nut shell

The I2C protocol also known as the two wire interface is a simple serial communication protocol that uses just two pins of a microcontroller namely SCL (serial clock) and SDA (serial data). This is a very popular protocol cat can be used to address a large number of slave devices that are connected to the same bus. This protocol comes in handy when there is scarcity on available pins in the microcontroller. Each slave device has a slave address or names for which they respond …

Read More »

Shaastra 2013 Nights on the streets (Jan’13)

Shaastra is an annual tech fest conducted by Indian Institute of Technology, Chennai. There are events and workshops for almost all streams of Engineering and I love their Robotics events the most. The robotics event conducted by them is “The mother of all the robotics event in the county”-or that is what they say.. don’t know how they guessed the gender of robotics 😛 (mother). I had always had an eye on this event ever since I was in my …

Read More »
Keep in touch with the current trends!
Did you like this article? Sign up and get our latest posts delivered to your inbox!
  We hate spam and never share your details.