Home / Archivespage 2


Serial Ports are dead? Think again!

serial Port connector

Your Desktop-PC doesn’t have a Serial Port in the back side? Don’t be so sure of it. If you can’t see, doesn’t mean it ain’t there! All you have to do is look properly. If you are a full-time laptop user, stop right here! This article is of no help to you. Good old desktop users might have a shot at a native COM port in your computer! Just read along… What is this UART anyway? UART is one of the most preferred form of debugging …

Read More »

Servo Motor Interface – Looking behind Arduino’s Servo library

Servo Motor Interface

Have you ever looked into the Arduino’s source files? Well you should be!! I have been hanging around there for quite some time now. The Arduino’s Servo class has half a dozen functions to handle all the servo related tasks like the attach(), read(), write() and detach(). There was too much of AVR specific stuffs in there so I did not go very deep in to the code but looking at it helped me derive my own theories on how I have …

Read More »

Arduino Like Serial / UART Library for PIC 18 Microcontrollers

PIC with serial port

In my last post describing the implementation of a circular buffer I mentioned that I was working on a serial UART library for PIC 18. Well it is now completed! Yesterday I tested all the functions of the library and its working like a charm! In this post I will explain some key aspects of the code and how to download and use it in your code. What is UART? Universal Asynchronous Receiver and Transmitter is a serial communication protocol. …

Read More »

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 »

Testing RF Transmitter and Receiver Circuit

After publishing the article Make a simple RC car I have received a lot of comments and e-mails from readers who have faced some difficulties while trying to make the circuit by themselves. I have complied a small list of testing methods for various components that will help your narrow down the caused of the malfunction. Like always, we will have to split the entire circuit into various segments in order to test them. So there are four major places where problems …

Read More »

Circuit Debugging – Tips Tricks & Techniques

Here we are with a TTT (Tips, Tricks and Techniques) post again after a long time! Firstly I have to apologize for the recent inactivity in the blog. I’ve been a little busy over the last few months. But guess what! I have some good news! I think I’ll soon be payed for what I love to do! Yup, I no longer have the privilege to legally call myself a student. But personally I think I will be a student …

Read More »

PIC Pin Diagram: A printable copy for quick reference

Today when I was hooking up my PIC micro on to a breadboard for a quick demonstration to a friend of mine, I realized how often I needed the Pin Diagram from the datasheet. All this while I have been opening the datasheet and scrolling through to page 4. I don’t know about you, but, I bet there are a couple of people out there who did the same thing I did over and over again. You may have made a …

Read More »

Are you reading the datasheet? What to look for and how to find them!


Did you know that experienced engineers spend up to an hour on every major component that they are going to be using for upcoming projects? Project as in, real commercial work involving a lot of money and man hour.. not just some hobby project. When a component is being purchased with a commercial venture in mind, lot of thinking has to be done in various aspects such as the cost, the suitability of the device, the life expectancy, and sustainability of …

Read More »

Graphic LCD: GLCD Command Sheet HTML Version

Yet again I was looking for the GLCD command sheet in the internet and failed find any good resolution images that I can use for post references. Even the one of the data sheet looks really bad. So here I am with a HTML Version of the GLCD command sheet just like the one for the character LCD I posted a while back.   GLCD Command Sheet Instruction Code Description RS RW D7 D6 D5 D4 D3 D2 D1 D0 Display On/OFF …

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.