Monday , January 23 2017
Home / Programming

Programming

My approach to the Mesh Flare Problem (IIT-B’s Techfest)

meshflare_track

Over the past few days, I received a plethora of emails and messages on how to make a line follower robot. Mostly, the specification being white line on a black surface. Some even mentioned shortest path detection and loops in the track. Now, I do get emails on people asking me questions on line follower robots. Nope, thats not unusual (actually I get quite a lot). What was unusual was majority of them seemed to give out similar track and robot description. Then when …

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 »

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 »
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.