Currently browsing

April 2012

Make your own universal AVR programmer parallel port

Make your own universal AVR programmer (parallel port) Two types of AVR programmers can be built : 1) serial port. 2) parallel port. PARALLEL PORT  Following circuit diagram shows ultra simple AVR microcontroller (SOURCE: unkown). It requires very few components and its very simple to build on general purpose matrix …

Write Code for Humans not Machines

Programmers spend more their time reading someone else’s code than reading or writing their own. This is why it is important that whoever writes the code pays particular attention not only to what it does but also to how it does it. For a compiler, it makes no difference if …

DRY – Don’t Repeat Yourself

Of all the principles of programming, Don’t Repeat Yourself (DRY) is perhaps one of the most fundamental. The principle was formulated by Andy Hunt and Dave Thomas in The Pragmatic Programmer, and underlies many other well-known software development best practices and design patterns. The developer who learns to recognize duplication, and …

PHP Best Practices

PHP is the most widely-used language for programming on the web. Here are fourteen best practices that every programmer should know and code according to this guidelines. 1. Turn on Error Reporting for development Error reporting is a very handy function in PHP. By enable it, you might spotted the …

Make your own universal AVR programmer serial port

Make your own universal AVR programmer (serial port) Two types of AVR programmers can be built : 1)Parallel port 2)Serial port Serial port programmer(reference: At-Prog) is shown here. Main advantage of using serial port is you can have cable length upto 2m. You can use PonyProg2000 software to program your …

A Brief History of Java

James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991. Java was originally designed for interactive television, but it was too advanced for the digital cable television industry at the time. The language was initially called Oak after an oak tree that stood outside Gosling’s …

Getting started with Atmel microcontroller

Getting started with Atmel microcontroller Here is a simple course to learn how to start using atmel microcontrollers.We will use atmega16 microcontroller. Here is a link for atmega16 datasheet :datasheet Course contents 1- Introduction.2-Memories in uc. 3-I/O ports.4-External and Internal interrupts. 5-Timers. 6-clock sources and sleep modes. 7-reset sources and …