Home / Siddharth (page 3)


Siddharth is a Firmware Engineer, techie, and a movie-buff. His interests include, Programming, Embedded Systems, Linux, Robotics, CV, Carpentry and a lot more. At times, you could see some of his sunday projects converge on release quality. You get to know him on the following social channels.

Cool C Programming Tricks For Embedded Software Developers

Proficiency in C is an essential skill set for embedded software developers. In this post we will see some really cool C programming tricks that you should have already known. If you didn’t, it’s time to take a pen and paper. Be warned this is just a small collection of routines that will help embedded software developers write better code. Of course I have listed only those that came to my mind while writing this article and I most probably …

Read More »

Interrupt On Change (IOC) in PIC Microcontrollers

The interrupt on change is a cool feature on microcontrollers. Like you guessed, the interrupt occurs when there is a state change in any of the port pin associated with this feature. In PIC microcontrollers, PORT B is has the Interrupt on Change feature. The controller jumps into the interrupt vector when there is a change in the state of any of the pins in the port. In my previous post on interfacing matrix keypad, we used the conventional polling …

Read More »

Migrating to HI-TECH C Compiler from the Microchip C18 Compiler

Migrating to HI-TECH C compiler for PIC MCU is not really hard task. The developers have taken much care in keeping it that way. In addition to the existing features of the C18 compiler, there are a lot of other added features in the HI-TECH C compiler. This post will give you an introduction to the compiler, its features and how to write C programs in it. This compiler can be used to program all 8 bit PIC MCUs. There is …

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 »

Standalone BreadBoard Breakout for PIC Microcontrollers

I wanted to make a breadboard breakout for PIC microcontrollers after seeing this arduino breadboard breakout from adafruit. This product is fully standalone and yet has very small footprint so that it can be conveniently plugged into the breadboard. The most amazing part was that it still had 2 rows on each side of the breadboard for the user to jump wires. First I thought of making a breakout board for the 40 Pin DIP package that I usually use. Then I realized …

Read More »

How to Make PCBs at Home With Toner Transfer Method

Toner Transfer method for making PCB at home is probably one thing that went as viral as the Arduino. Electronics hobbyists around the world started using it to make professional looking PCBs at home. Here I will document the steps involved in fabricating PCBs with things that you can mostly find off the shelf. Before getting to the details in the making your own PCBs I wish to share an old experience. So, if you have left the soldering iron …

Read More »

How to Make a Tray to suspend PCBs into the Etchant

In this post I will document the procedure involved in making a tray to suspend PCBs. The etchant (FeCl3 solution) is toxic and cannot be handled with bare hands. So I devised this easy and reusable method for suspending the PCBs with the toner into the solution. If you are planning to make PCBs once in a while, then this method could prove to be really useful and time saving. But if you are a one timer then this a tiresome venture …

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 »

Stepper Motors – Introduction and Working Principle

Stepper motor is a specially designed DC motor that can be driven by giving excitation pulses to the phase windings. They cannot be driven by just connecting the positive and negative leads of the power supply. They are driven by a stepping sequence which is generated by a controller. The motor moves in steps according to this sequence. This post will discuss the basic theory behind the stepper motors. Printers are a great source for stepper motors. Old dot matrix …

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.