Monday, 23 December 2013

Burning Arduino Bootloader in Atmega8 using Arduino Uno

When we start using Arduino in microcontrollers one major disadvantage we face is non availability of arduino compatible ic's and boards. Though we can order boards online finding ic's with arduino bootloader is really difficult. So we start burning bootloader in easily available ic's which is not as easy as it seems. I tried many tutorials online but succeeded  with none. So after experimenting many times with different tutorials I finally succeeded. Here are the steps to burn Arduino bootloader in most easily available Atmega8.

For this you require
  1. Atmega8
  2. Arduino Uno with its usb cable
  3. Breadboard
  4. A pc
  5. Arduino IDE
  6. one 16 MHz Clock crystal
  7. Two 22pf or 33pf capacitors
  8. Some connecting Wire

Now we go for procedure.

Step 1

  • Download and install Arduino IDE in your pc. You can download it here.
  • Download these files from here and extract it to C:\Program Files\Arduino\hardware.
Step 2
  • Attach your Arduino uno board to to pc via usb.
  • Open Arduino IDE.
  • Go to   Files\Examples\ArduinoISP
  • Upload it to Uno board
Step 3 
  • Attach Atmega8 to bradboard and make connections as shown in fig. 
Step 4
  • Attach connected system with Arduino board to pc via usb
  • Go to c:\program files\arduino\hardware and cut arduino folder from it and paste it on desktop.
  • Now reopen Arduino IDE 
  • Under Tools menu select Board as Arduino Ng or older with Atmega8
  • Select Programmer as Arduino as ISp
  • Select appropriate COM port ( You can get it by reight cliking on Computer icon and openning device manager, then  ports and then finding Arduino uno in it)
  • Press burn bootloader.
 Step 5
  • Take out the breadboard connections, replace Atmega328 on uno board with just bootloaded Atmega8.
  •  Reconnect uno board to pc
  • Move the previously moved arduino folder on desktop back to c:\program files\arduino\hardware and delete  arduino-extras folder from it.
  • Restart Arduino IDE
  • Under Tools select board as Adruino NG or older with atmega8 and programmer as USBASP
  • Select Appropriate com port and you are ready to burn any program to atmega8 

Monday, 8 July 2013

Zerg Rush

On typing Zerg Rush in your search box, Google will start eating its search results.


Sunday, 7 July 2013

Password behind astricks.

Want to see password behind dots on an website, here is how you can.

1.Go to any website eg. Facebook
2.Type the password
3.Copy this to your address bar.

javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if (f[i].type.toLowerCase() == "password") s += f[i].value + "\n"; } } if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");})();

4.Hit Enter


Site that opens only when you turn off your internet connection.

The most awkward thing you will ever see on internet.

A website which can only be opened by disconnecting your internet connection.

And the website is http://www.allaboutrajni.com/





Google Fight

Ever quarreled who or what is more famous between the two thing. Find the answer now with Google Fight.
But be sure to type the spelling correctly.

Google Fight




Tuesday, 16 October 2012

Bipolar lighting L.E.D.

Simplest circuit just with a led, resistor and 4 diode. The circuit allows you to light a L.E.D. without finding any polarity. It is completely my creation.

Here is the Circuit Diagram.






Saturday, 11 August 2012