Category: Embedded Systems

Issue with logical Right shift

Logical shift operation in C, as it seems is pretty straightforward.  But I in this post, am concerned about one special issue about the right shift. We all understand the two kinds of shift present in standard C.  I am qouting from Open-std.org in their C standard. http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf

Read More

Why arduino is slow ?

Is Arduino really slow ? Well that is really relative, as like everything else.  I am not talking about Time Dilation and space time fabric bending stuff here.  Alas! I haven’t seen Interstellar yet.  Anyways, this post is really about how arduino performs the basics of its function and how it appears a little slow […]

Read More

Benchmarking Raspi Input/Output

Yo, so this one counts for checking the GPIO response of Raspberry pi. What it means ? How much it takes of a Raspi to give a response on GPIO when trigger action is received on another GPIO. How am  I doing this ? I have this setup of an Arduino connected to Raspi GPIO […]

Read More

Logic "Analysing" Serial Communication

Lets hit it directly, assuming you are already familiar with Serial Communication.  You might have used it already with Arduino or other microcontrollers, almost all of them are equipped with the UART/USART module. Serial Communication  — just in case you need a little brushing up. The pic shown above is taken from WiKi, above link. […]

Read More

IoT-Internet of Things : Hands On Spark Core

And there I was, so much excited about my new Spark module! Alas!! It didn’t go good.  For a warm welcome, there were these problems to bang my head with.  The module I received looked just alright because the shipping was not good, I got its packaging open, and it didn’t work too.  Wohoaa!!! totally […]

Read More

Logic Analyser (Saleae) : Getting Started

Yeah, “Tear in the Eyes” moment, whenever I get a new electronics item to play with.  This time I got my hands on Saleae Logic Analyser (digital one though). This one allows you to probe 8 digital channels simultaneously.  The device is extremely simple to use for first timers.   Just plug a miniUSB cable, […]

Read More

Programming the programmer : AVR

Well, as the name says it all, this post is indeed all about programming mumbo jumbo of AVRs.  First lets get the picture as it is normally seen. C/C++ Code ->Compiler->linker(&/|)loader->avr-objcopy->hex file->avrdude->running program. So, the above order seems simple enough but every stage is a big process in itself.   What I in this post […]

Read More

FTDI plays Dirty : Drivers Scandal

Woahh!! feeling like “No!! Not this” or “Nice move there”. You can be one of the two people saying above lines by the action taken by FTDI . So, What is FTDI ?  [[Those who already know skip Down to “Driver Scandal”.  ]]    FTDI is actually a company that manufactures chips and electronics solutions mostly […]

Read More

Intel HEX for AVR explained

Ughhh! It really took me 2 days to understand the whole picture here.  We all know that there is a hex file generated by the “Compiler” or the Arduino IDE (lets just say it now..allow me to use loose terms here, gotta explain a little below) and that HEX file is uploaded into the controller and […]

Read More
Port Forwarding & Server setup for WAN

Port Forwarding & Server setup for WAN

Summary line – In this post, I am going to let you know “How to” setup servers on your IP address(Static) and port forwarding your router in order to make your PC accessible in WAN, run servers like HTTP, FTP, SSH, IMAP, TELNET, SMTP, VNC etc etc. Okay, let us first see the image below […]

Read More