Currently browsing

May 2012

soap

Web Service Protocols

Communications between the web service components is based on messaging.XML formatted messages are exchanged between components. Typically, delivery is by HTTP but other protocols may be used. SOAP allows methods to be invoked remotely. UDDI includes the procedures for updating and searching service registries. WSDL is a language for describing client/server …

Frequency meter Counter using ATmega16 or ATmega8

Frequency meter (Counter) using ATmega16 or ATmega8 In this tutorial we are going to build simple frequency meter (frequency counter) using ATmega16 and codevision avr compiler. This simple frequency meter (frequency counter) can measure frequency up to 4Mhz (theoretically) because we are using 8Mhz clock for the ATmega16 micro-controller. But you …

HTTPS

Should All Web Traffic Be Encrypted? The prevalence of free, open WiFi has made it rather easy for a WiFi eavesdropper to steal your identity cookie for the websites you visit while you’re connected to that WiFi access point. This is something I talked about in Breaking the Web’s Cookie …

Delegates

Basically a delegate in C# is similar to a function pointer in C or C++, where functions can be assigned like a variable and called in the run time based on dynamic conditions. C# delegate is the smarter version of function pointer which helps software architects a lot, specially while …

How Does a C# Application Run?

An important point is that C# is a “managed” language, meaning that it requires the .NET Common Language Runtime (CLR) to execute. CLR is the virtual machine component of Microsoft’s .NET framework and is responsible for managing the execution of .NET programs. Essentially, as an application that is written in …

The Razor View Engine

ASP.NET MVC 3 comes with a new view engine named Razor which is getting popular these days because of simplicity and easy to learn and I have to say that I really love the syntax it uses. One of the primary things that’s kept me from using ASP.NET MVC in …

Interfaces

An interface looks like a class, but has no implementation. The only thing it contains are declarations of events, indexers, methods and/orproperties. The reason interfaces only provide declarations is because they are inherited by classes and structs, which must provide an implementation for each interface member declared. So, what are interfaces good for if they don’t implement functionality? They’re great for putting together …

KS0108 GLCD with ATmega16

KS0108 GLCD with ATmega16 In this tutorial we are going to explain how to interface the graphical LCD with ATmega16 microcontroller and the compiler used is codevision avr. The GLCD used is 128×64 pixel with KS0108 driver.Since old compilers of codevision doesn’t include library for GLCD. Then you have to …

Difference between string and System.String

  In C#  for the CLR types actually there are aliases (synonyms) definitions. So int = System.Int32 short = System.Int16 string = System.String They have the keywords because they are easier to remember and programmers coming from other languages like c/c++ would also be familiar with these types. They may be …

Displaying variables on LCD

Displaying variables on LCD LCD is very important when you use micro-controllers.It helps you to know what is happening inside micro-controller.When you use analog sensors such as temperature or humidity sensors and you want to display their values.The value is not constant and keep changing by time (variable).Then how you are going …

Interfacing 7 segment to PIC with just two Pins

Interfacing 7 segment to PIC with just two Pins In this tutorial we are going to explain how to interface 7 segment display to PIC 16f877a with just two pins !!!!  as shown in the following figure : As you know that 7 segment requires 7 pins to be connected …

Getting the Oriented in Object Oriented Design

Below I will talk about Object-Oriented programming mistakes and misconceptions I have encountered, both in talking to candidates and working on code written by others. It should not be construed as an attack on non-OO programming paradigms, only on OO applied incorrectly. When I interview candidates that put OO on …

PIC 16f877a with SevenSegment Display and keypad

PIC 16f877a with Seven-Segment Display and keypad Introduction to seven segments display:The segments in a 7-segment display are arranged to form a single digit from 0 to F. We can display a multi-digit number by connecting additional displays. Even though LCD displays are more comfortable to work  with , 7-segment …

Introduction to PIC Microcontroller

Introduction to PIC Microcontroller PIC microcontroller from microchip are very popular microcontroller. PICs are easily programmable cheap microcontroller. PICs is the name for the microchip microcontroller family (peripheral interface controller). Consisting of a microprocessor, I/O ports, timer(s), and other internal integrated hardware.  a wide range of chip sizes( from eight-pin …