Hello Friends,

Welcome to my web portal. After my long play with the amazing little chips called microcontrollers, I decided to help all those who are also interested. I knew that the information on the net was very scattered and a beginner soon find himself/herself lost. So I came up with this !!! I decided to keep things simple,organized and in one place. I have tried to go in such a manner that a complete beginner to the subject may keep up. If you are having any types of problems or just want to help others please join our forum . Also check out our shop.

If you find this site useful please drop a comment or e-mail me, I would be glad to hear from you.

Avinash Gupta



Jun 17, 2010

Easy 8051 Development Board Launched !

Good news for all 8051 lovers. We have an easy to use development kit which can be used to program and run application for 8051 based MCUs. Whats great is it can be directly programmed by USB Port! So don’t miss it.

Easy 8051 development board

Easy 8051 Development Board.

More Info …


Feb 16, 2010

xBoard v2.0 Launched !

New version of our popular AVR development board is now available to purchase! This board is based around 40 PIN Atmel AVR ICs like ATmega32 and ATmega16. It has onboard Motor Controller, LCD Module, RF Module etc. It can be easily programmed by USB Port. The Kit comes with many tutorials and sample program. Nice development system to learn Microcontroller programming and development of a variety of projects. This version is optimized for small hobby robotics. And don’t forget to avail the introductory discount of Rs. 100 ! (Limited Period Offer)

xBoard v2.0 : Advance Development Board For AVR ATmega32

xBoard v2.0 : Advance Development Board For AVR ATmega32

More Info …


Dec 1, 2009

xBoard MINI v2.0 Launched !

An easy to use development board for 28 PIN Atmel AVR Devices. The board has LCD, Remote Control, Keypad, Real Time Clock, Serial Communication, Temperature Sensor etc. It comes with easy to understand tutorials and source code. Read More …

USB PIC Programmer

xBoard MINI v2.0

More Info …



May 1, 2009

eXtreme Burner PIC v1.0 Launched !

An easy to use programmer with USB Connectivity for latest PIC18F Micros.

USB PIC Programmer

eXtreme Burner PIC – USB Programmer for PIC Micros

More Info …



April 26, 2009

eXtreme Burner 51 v2.0 Launched !

The improved version of our popular programmer for 89S series microcontroller is available!

usb At89s52 programmer

eXtreme Burner 51 v2.0 – USB Programmer for 89S52 89S51 Micros

More Info …



Jan 23, 2009

USB AVR Programmer v2.0 Launched !

This is the latest and Improved version of our popular Programmer for AVR Series MCUs.

USB AVR Programmer

USB AVR Programmer v2.0

More Info …


Avinash Gupta is solely focused on free and high quality tutorial to make learning embedded system fun !

More Posts - Website

Follow Me:
FacebookLinkedInGoogle Plus

275 thoughts on “Welcome

  • By subhankar - Reply

    great work started
    continue with it

  • By Avinash - Reply


  • By Binu - Reply

    Nice tutorials for AVR micros

  • By Avinash - Reply

    Thanx Binu!

  • By Rajit - Reply

    Nice work!!!!
    Thx a lot!!!

  • By keshav dev singh - Reply

    Nice work!!!!
    Thx a lot!!!

  • By keshav dev singh - Reply

    thank you lot

  • By Abhijeet - Reply

    Great work… please carry on!

  • By gautam - Reply

    gud work dude
    carry on
    i’ll surely ask 4 help from u

  • By bittu singh - Reply

    Hi Avinash

    good work your tutorial are very useful
    can please provide a link for downloading avr studio 4.0

  • By Avinash - Reply




    for downloading AVR Studio. You need to register before downloading !

  • By stef - Reply

    Hi Avinash, I have a question: I’m using a Atmel ATmega169P AVR. Could you tell me what I need to do in order to connect the AVR to my computer (the AVR has a USB port) and download programs into it?

  • By rakesh - Reply

    hi avinash….
    it’s me rakesh….can u remember me..be in contact yaar…
    by d way…nice work…just continue it..

  • By Avinash - Reply

    The ATmega169P does not have a USB interface. Maybe you are talking about some development board. It may be having a USB to Serial Convertor by using a FT232 chip.

    If you can tell me if you have the chip only or any board I can help.


  • By ronie - Reply

    dear Mr. Avinash,
    In the avr tutorial you have shown a target board for ATmega8. But i want for AT mega 32L. Kindly send or publish the schematic for it. I am just a novice at MCUs.Also tell the correct oscillator crystal for it.

  • By Avinash - Reply


    The schematic will be same for ATmega32L you have to find proper pins for Vcc,GND,AVcc,AGND, XTAL1,XTAL2, reset etc using the pin configuration given in start of the datasheet. The rest is same. Or you can go for a

    which is a readymade dev board with many features. And combined with our USB AVR Programmer you will jump start AVR programming withing hours!

  • By adhiraaj - Reply

    dear Mr. Avinash,
    Its a great job that you are providing the hard to find electronic components to we electronics enthusiasts. But I want to give you a suggestion regarding addition of one more feature in your valueable service. When we create any big electronic circuit then every time it is not possible to cut the connections of vero board and do the job. It would be of great help if you start designing and sending PCB as per customer’s requirements.You can collect the design by asking customer to send a scan copy of the PCB layout and then do as per need.

  • By Avinash - Reply

    Thanks Adhiraaj For you suggestions.

  • By adhiraaj - Reply

    so whenever you will be starting the pcb designing service then kindly let me know as i am about to get my hands into a C band and S band sattelite receiver. As we are in college it is not possible for us to get any equipments and place them somewhere.

  • By Felipe Uderman - Reply

    Great site, the AVR tutorials will be very usefull for me! Thank you and keep the good work!

  • By Avinash - Reply

    thanks Felipe !!!

  • By Atul Bishnoi - Reply

    we required the burgstrip (male or femail

  • By Atul Bishnoi - Reply

    can u suggest any part no.

  • By Avinash - Reply
  • By OKORO CHARLES - Reply

    How can I build an elecronic cct that can store 220V AC for a period of 1 2minutes

  • By Amol - Reply

    nice work…keep it up

  • By deen - Reply

    the tutorial is very easy to understand…
    i’ve subscribed this page…
    go go more ttorials..

  • By Avinash - Reply

    Hi Deen

    Thanks !!!
    More tutorials comming up …
    So enjoy!

  • By raghu - Reply

    hey can u pls give some example programs so that we can undustand better ………….. pls provide us wid more number of examples

  • By Avinash - Reply

    Hi Raghu,

    Thanks for your suggestion. I have given example program in each topic where required. But sure I will increase the no of example program and also add some complete projects in near future so that they are more helpful.

  • By raghu - Reply

    hey u jus rock man ….keep gng ……happy new year

  • By Avinash - Reply

    Hello Raghu,

    Thanks a lot !!!

    Happy New year to all my friends.

  • By Rashed - Reply

    I am very interest to microcontoller program

  • By Anthony - Reply

    Hi my friend please look at http://www.mikroe.com
    There is a pretty good C Compiler.

    microC PRO

    I already use mikroC for PIC

  • By kiran reddy - Reply

    hi avinash now i am using atmega 32 i dumped usart program .its not working i am using 8MZ crystal.if its new ic its default low fuse byte 1 mZ for internal RC oscillator. Now i want to set fuse byte for 8mz external oscillator which value i have to use please help me out..

  • By Avinash - Reply

    Hello Kiran

    New ICs are shipped with Fuse Setting to use the internal 1MHz crystal. To configure it to use external crystals you have to set the FUSE bits. Pls see the following page for fuse bits setting for external crystals


    It is valid for enabling external crystals greater thean 1MHZ on ATmega8,ATmega16 & ATmega32

    Pls tell me which programmer software are you using so that I can tell u how to set fuse bits correctly coz work settings can BREAK ur MCUs !!!

  • By adhiraaj - Reply

    I am using Code Vision AVR compiler to program my atmel mega 32 MCU i am adding 12 MHz crstal externally to the circuit.Can you tell me what will be the system clock setting in MHz….willit be 12 MHz or 12+1 MHz.? If I set 16 MHz and put only 12 MHz crystal then w
    ill the MCU work…..I am trying to develop a motor control using L293D IC…..what are general problems i will face….i am new to this…

  • By Avinash - Reply


    Set crystal as 12MHz. Remember you also have to set the fuse bits see this ๐Ÿ™‚

    To instruct the MCU that external crystal is now available.

    If you tell compiler that u are using 16 Meg crystal it will configure all libraries according to it (lcd,usart,spi,timers etc). And those components will not function properly. Specially those that require critical timing.

    Have Fun ๐Ÿ™‚

    Pls use the forum (http://forum.extremeelectronics.co.in) for discussing problems

  • By kiran - Reply

    hi, avinash Thanks for reply for my post . i am using at prog software programmer .if u need any details i will tell u..

  • By adhiraaj - Reply

    i am building a land based robot using mega16 mcu. If the clock setting is 12 MHz and i use externally 12 MHz Xtal then will it work………in the robot manual no help regarding the programming is given……….Only the source code is given……..please help……………There is an MT8870 DTMF based input and L293D output to motor…what are the possible problems that you think…….

  • By Avinash - Reply


    You haven’t stated the problem !!! pls give more info. Pls use the forum instead of this page for solving problems.

    So pls join


  • By kiran reddy - Reply

    hi avinash good morning i set the fuse bit 0xef for mega 32 after changing the fuse my controller is not supporting to dump the code .if i am trying to burn the code into micro controller it gives as an error no connection . please tell the solution my microller has gone or will it work?

  • By adhiraaj - Reply

    are hex code generated by WIN AVR compiler and Codevision compiler are different?? ………Is there any change to make while programming the chip when i use codevision compiler.?

  • By Jo - Reply

    I have a dell inspiron 1525 and it hase an IrDA on board,
    How can I use the remote control ?
    Do you have a software for that ?

  • By amarsesma - Reply

    i jusy joined………..will look forward for gaining knowledge here amongst intellectual peoples

  • By p_ppk - Reply

    Hi avinash,

    Pls sendme your contact detail.

    Excel eltech India
    [Ph No Removed Due to security reasons]

  • By Abhishek - Reply

    I implement your tutorial on IR remote interfacing with atmega8.
    first of all thanks for the tutorial.
    I am having one problem.I am not getting IR remote code instead LCD showing error “Err in LeadHigh”
    Please help me
    with regards

  • By Avinash - Reply

    Hello Abhishek,

    Please move this discussion to the forum

    Please note following
    >>Crystal used is 12Mhz or 16Mhz Only.
    >>Set the crystal used in AVR studio. Or #define F_CPU 12000000 in top of remote.h
    >>Please not the remote used is not of Philips or Sony make. I tested them with BPL/Intex/Mitashi and commonn DVD player remote bought from market (@Rs 35/-). These are NEC encoded RC5 encoded remote wont work.

  • By Abhishek - Reply

    thanks for reply
    Project is still not working.I am giving you more details.
    I am using ATmega8 micro controller,WINAVR GUI and same IR remote control as shown in your tutorial video.I am using internal RC oscillator in ATmega8 at 12MHz. Should i calibrate oscillator. Please tell me how should I do it ?LCD is working good.TSOP1738 is connected at INT1(PD3).How can i debug the source code. Please send me more details of this projects.


  • By Avinash - Reply

    I don’t think ATmega8 has internal osc of 12MHz. The max is 8MHz. Please use the following fuse settings and use a 12MHz (or 16 MHz) Crystal. Please compile the code with proper CPU speed settings.


    Only timing problem.

  • By Mika - Reply

    This is such a great site. Very good tutorials! Keep up the good work =)

  • By http://rich-niche.info/cookie/img/smilies/happy.gif - Reply

    nice! [IMG]http://rich-niche.info/cookie/img/smilies/happy.gif[/IMG]

  • By Sandeep Duhan - Reply

    Dear Avinash,
    It’s a very nice work started by U. Very nice tutorial for practical experience.
    Plz continue it.
    With Regards,
    Sandeep Duhan

  • By Jayanth - Reply

    Guys C3088 image sensor modules available.
    I was interested in trying out AVR cam and ordered surplus.
    Anyone interested… mail me at gjayanth8[at]gmail[dot]com

  • By Alicia - Reply

    Hi Avinash,

    I was wondering if you have any burners/programmers for the AtMega644V. Thanks

  • By chandan tiwary - Reply

    dear Avinash,
    i think the extreme burner is not working properly.some times the hex files are not loaded successfully and some times it does.also,the message displayed is–usb device not recognised.i plug it into the right port,where i installed it.so it has posed a great problems for me.what to do next.plz reply soon.
    chandan tiwary

  • By chandan tiwary - Reply

    well it works sometimes,,,sometimes it doesnot work…i have to unplug and plug it continuously for atleast 20 times…it is harassing me…plz tel me what to do…i have an event.plz reply soon

  • By Dhenashwar Gocher - Reply

    Hello! I Purchase a extreme Burner 51 for AT89S Series.
    It’s Driver doesn’t support on Vista Operating System.
    Pls How i GET Vista Supported Driver….

  • By chandan tiwary - Reply

    hi avinash

    plz send me the hex file for blinking leds on port 1 and port 2 with some delays…i will chk it out whether my burner is wrong or my compiler…plz do it soon..its a request..
    chandan tiwary

  • By Dhenashwar - Reply

    Hei… All Friends
    Please use Keil uVision 8 to make program and Compile from it.. use Latest Mazidi Microcontroller Book to make and learn Program… If U have any quary then e-mail me or call me… about programming…. LCD(Assembly and C), Stepper Motor(C and Assembly), IR Sensor Interfacing with MC and It’s Working Circuit…

    My e-mail is : dinesh.gocher@gmail.com
    Mobile NO : 09179648642

    I use Extreme Burner51 and it’s really help me….

  • By Dhenashwar - Reply

    Hello! Avinash…
    In your Extreme Burner What is the work of 10 Pin port?
    Which is on Your Burner…..

  • By Dhenashwar - Reply

    I make a General perpous Readymate Board of AT89C51-52, AT89S51-52 … Avinash can you add this product in your Shop?

  • By vishal - Reply

    thanks a lot!!!!!!!!!!!!
    i need some details of SPI on AVR.
    & if possible please send me any working code for SPI.


  • By Dhenashwar Gocher - Reply

    Hei Avinash…
    Aap ne jo myjhe 10 pinSocket kaa configuration BHeja tha us mai GND ki jo 2 pins hai unko mai kaha jodu apne application bord per or Jo Controller ki P1.4 Pin hai us ko kis se connect karu…

  • By kumbhat.abhay - Reply

    I’m working on RC5 decoding circuit on Atmega16 microcontroller.The project is used to switch home appliances the o/p port set is PORTA.I’m facing a problem where only pin no. 0,1,6 are working rest are showing errors can u suggets me query please.

  • By Avinash - Reply


    “rest are showing errors”

    what do u mean by that?

  • By kiranreddy - Reply

    Hi, Avinash .what r the diff stages involved in .c file converted into .hex file..

  • By Dhenashwar - Reply

    Hei Kiran
    If u use Keil Software then i help u…
    Because I programming on Keil with C language…

  • By Dhenashwar - Reply

    My mail ID is dinesh.gocher@gmail.com

  • By kumbhat.abhay - Reply

    rest means pin number 2,3,4,5 of PORTA are giving error while pin number 0,1,6 of PORTA are working properly.The error pins are giving 5v and 0v continuosly, voltage is not stable at these pins.

  • By chandan tiwary - Reply

    Dear Avinash,
    i went through your avr tutorials.i found out the following lines..please go thru them
    if(PIND && 0b00000010)…..

  • By Jayanth - Reply

    yup they are different… ‘&’ is bitwise or operation and ‘&&’ is logical operator..

  • By Jayanth - Reply

    sorry.. ‘&’ is bitwise ‘and’ operator whereas ‘&&’ is logical ‘and’ operator…

  • By chandan tiwary - Reply

    so wat that has been used in d tutorial is rite???or is wrong??

  • By Jayanth - Reply

    wrong… (PIND && 0b00000010) evaluates to true if noth expressions are non-zero which doesnt make sense…

    (PIND & 0b00000010) masks PIND with the binary expression and is true only if second PIND of D port is non-zero which makes sense…

  • By chandan tiwary - Reply

    thanks a lot…jaynath
    i expect mr avinash to have a correction in his tutorials….

  • By Avinash - Reply

    Hello Chandan,

    Jayanth is 100% right. That was a typing error. Sorry.
    I really appreciate your will to learn and studying the subject with deep concentration.

    Again I thank you for finding out a mistake.

    I am correcting it right now.

    I also thank Mr Jayanth for quickly helping out Mr Chandan.


  • By chandan tiwary - Reply

    hi avinash…
    i m going thru ur tutorials…i m tryimg the dc motor tutorial right now.in the program u have given that the motor will rotate once clockwise and again anti clockwise.but when i connect the motor to the xboard,it is only rotating in one direction after some delays.so can u help me out right now what to do???i m stuck in this concept and not able to move further to timers tutorial.
    plz do it soon.bye..

    here is the source code i have burnt to the uc.it is the same as u gave in the tutorial.#include

    void wait()


    char i;




    void main()


    DDRD = (1<<PD4)|(1<<PD5);



    PORTD = 0B00010000;//clock wise


    PORTD = 0B00100000; //anticlock wise


    PORTD = 0;



    plz reply soon..i m waiting

  • By Avinash - Reply

    Hello Chandan,

    xBoard uses a slightly different connection to motor. Actually a invertor (CD4069) IC is used so that only a single PIN can drive a Motor!

    Please see this

    Also please use the forum instead of this page for discussion


    Pls refer to xBoard schematic.


    Also in the Getting started CD see the sample program folder for DC Motors

  • By chandan tiwary - Reply

    thanks avinash…
    thanks a lot for the help..

  • By chandan tiwary - Reply

    avinash,,,if i want to work on humanoid robots or want to build a small one what should i do????from where should i start???what type of microcontrollers and microprocessors will help???will arm help???

  • By chandan tiwary - Reply

    hi avinash and jayanth,
    i was going through the tutorials for timers by avinash.he has given an example for setting up the TIMER0,which is as follows:
    //prescaler = FCPU/1024

    TCCR0 |= (1<<CS02)|(CS01);

    here if prescaler is FCPU/1024,that means,the TCCR0 will be 00000101,if i m not wrong…but above calculation sets CS02 as 1 and oring is done with CS01.the result comes out to be 00000110.and for this calculation, the prescaler set is:
    external clock source on PIN T0.clock on falling edge.
    but i think the statement should have been..

    TCCR0 |= (1<<CS02)| (CS00);

    for the prescaler to set to FCPU/1024,that sets the TCCR0 register to 00000101.

    i donot know if i have done any mistake in calculation or my bit-wise shifting fundamental is wrong,,but please have a look at it and please help me out
    i m waiting for ur reply.

    chandan tiwary

  • By Avinash - Reply

    Hello Chandan,

    My Mistake!

    And Such a Mistake that is correct in Machine Language ( thats why It is running correctly) but Wrong in High Level Language (from a Humans point of view).

    Actually it should be

    TCCR0|=(1< http://forum.extremeelectronics.co.in/viewforum.php?f=2

  • By Pgt - Reply

    Commendable attempt to help beginners.
    being a novice in controllers, finding this link very useful.

  • By kumbhat.abhay - Reply

    is it possible to control the speed of ceiling fan using pwm if yes than how?

  • By rock - Reply
  • By kumbhat.abhay - Reply

    i’m using timer counter 1 of atmega16 microcontroller.Does the timer TCNT1 is loaded as soon as TCCRA1 & TCCRB1 register is set or is there any other method to load TCNT1.

    I want to get PWM OF 50HZ what should be my clk frequency any idea please reply.

  • By Supritha - Reply

    Hai Avinash. I am using my USBASP with ProgISP and it is working fine. As per your recomendation, when used with Extremebruner software, the programmer was not detected. Another thing is that i have about 8-9 Diffrent AVR’s locked due to wrong fuse settings. Is there any way to get those back to work? Can you please suggest any solution? Please mail me to supritha19@rediffmail.com

  • By ashwin - Reply

    thanks avinash. i found this site very useful. hats off to you!!

  • By Ashutosh - Reply

    Phod dala bhai keep continue I wish you a great future with this site

  • By Aghust saman - Reply

    Good avinas

  • By Rolf - Reply

    for a beginner, this the best and greatest tutorialยดs I ever have seen on the web.

  • By chandan tiwary - Reply


  • By yasa - Reply

    haloo all I’m happy to write all the best in my blog.

  • By E.M.PIMENTEL - Reply

    Excellent program the AVR-eXtreme Burner … Congratulations!
    Equal to ‘Birthday to you’ … Simple, easy and works very well.Excuse me for my bad english.

  • By Alan Parekh - Reply

    This site looks to be a great resource. Thanks for all the hard work Avinash!

  • By kunal - Reply

    hello avinash,

    i made USBasp H/W and it works fine with extream-burner.
    i found, if target controller int. RC osc clock is 1MHz, then target controller not supports.
    Kindly guide me, how to overcome this problem.


  • By kunal - Reply

    hi avinash,

    i got answer, there are two jumpers.
    one of them is for slow clock (less than 1.5 MHz)with the hepl of same jumper we can program with 1MHz CLK or less than that.


  • By sri - Reply

    if we want to use pic16f micro then we will not be able to use pic18f extreme burner.so plz tell me how to burn the pic16f microcontroller

    • By Avinash - Reply

      @SRI ๐Ÿ™‚

      PIC16F support is being developed !!! Soon It will be supporting ever popular PIC16F877 & PIC16F628 etc. Which chip you wanna burn ???

  • By sri - Reply

    hi can we use ths burner for the given microcontroller pic16f876

  • By kumbhat.abhay - Reply

    Hi avinash

    I’m using atmega 16 microcontroller for my project.I’m finding problem to handle two interrupt at a same time.I have used INT0 and INT2 interrupt,but when my controller goes to interrupt service routine of INT2 then interrupt INT1 does’nt work.Please tell me what I do?

  • By Salman - Reply

    I need a little help from u guys.Can anyone plz tell me that how can i store my voice data in the eeprom of ATmega32 in running time?

    • By Avinash - Reply


      Nice Idea! But voice data demand large storage. The lowest quality audio storage is 8 bit sampling @8KHz. I can reproduces frequencies for 0-4KHz. This can store human voice whose range is well within 0-4Khz(Don’t confuse this with the ability of human ears which can hear from 20Hz-20KHz, I am talking about human “mouth”). Even this requeire 8KByte to store a second of voice ! But ATmega32 has only 1KByte of EEPROM. That means you can only store 0.125 sec audio.

      You need some external storage of some kind which has high speed and capacity. Possible candidates are SD/MMC Cards or data flash.

      See Atmel app note on audio storage here

      SD Card Interfacing tutorial here

  • By Salman - Reply

    @ Avinash
    Well thanx alot for the help.Actually i wanna make a voice controlled car. I was wondering(i think this is a stupid question) that can this sd card interfacing has good processing speed.bcause it can alter tyhe efficiancy of my proj.

  • By Avinash - Reply

    SD Card has very good speed thats why its used by Mobile Phones and Cameras. They can store data at very high speed. But the limiting factor in ur proj will be the ATmega32 CPU. Actualy for these kind on data intensive and high processing requirement (like voice recognition) a 16bit or 32 CPU is prederred.

    See this link for an example speech recognition system (commercial)

  • By Kapil - Reply

    Hi avinash,
    I put a problem here in front of you but there is no reply or a solution for that. Finally i did some expriment with my serial port programmr and I change zener diode to 3.3v and resistance from 4.7k to 10k.Basically the output current of PC’s COM-port is high cause this problem.

    now when i insert new ATMEGA32 and burn programme.

    thats after 7 times reading, ereasing and rewriting there is no problem with your serial port programmer with ponyprog software.

    now i face new problem with your extreme burner AVR that it reconize USBASP and then it shows following message
    found USBasp on usb port
    powiring on
    powering on failed
    cannot communicate with target chip!
    retry again ….

    what is possible problem? please guide me.

    thank you in advance.

    waiting for your tutorial on GPS/GSM.


  • By binal - Reply

    hey waiting for ur tutorial on rf communication-part2…

  • By Krishna Kumar Singh - Reply

    Dear Mr. Avinash,
    It would be great helpful if you could come with LPC2000/3000 series Microcontroller tutorials.

    KK Singh
    BARC, Mumbai

    • By Avinash - Reply

      @Mr Krishna

      Thanks for ur suggestions ! Sure I will come up with it. But it will take some time. ๐Ÿ™‚

  • By Selvam - Reply

    Hi Avinash,
    First I want to thank you for your guidence on nice extreme burner (got from you).In that where should I configure the lfuse value and hfuse value for use external crystal and one morething shall I use the lfuse & hfuse value of ATMega8 with 16MHz for ATMega32 also?

    [ Admin Message: Please do not post such questions here. Please post them in forum. This message will not be replied and will be deleted soon.]

  • By ali asl fallah from iran - Reply

    hi, thank u for your programmer.
    so so so nice and very good
    please show me about the which can i progarmming for atmega128.please help me.

  • By Quang - Reply

    I use programmer AVRISP USB with your eXtreme Burner AVR v1.0. there are some problems:
    – I use ATmega8/88/8535 with fuse low byte 11100001 (default set by manufacture) programmer can not access to target chip. If I set fuse to 11101111 (Ex Crystal) programmer can access to target chip.
    How to access target chip with default fuse ?
    Best Regards,

    • By Avinash - Reply

      You need to slow down the programmer so that It can access slower (i.e. Internal Crystal) chip. See programmer hardware documentation for more info.

  • By Tandy - Reply

    Hi Avinash,

    Your tutorials gave been a great help in building a robot for my Uni project.

    However I have one morw question – How do you access the different memories (SRAm, EEPROM and Flash) in an Atmega 162?

    I am loading a 5kB program, it gets written completely on to the flash but only about 512 bytes are actually executed.

  • By sagar - Reply

    hi Avinash.
    in your responce no 48 ur say Crystal used is 12Mhz or 16Mhz Only but in your tutorial on IR remote interfacing with atmega8 lib it is compatable with 8/12/16Mhz,plez guide me which crystal frq.did i prefer

  • By raaft - Reply

    how can getting to eXtreme Burner PIC v1.0 Launched I’am live in Iraq

    • By Avinash - Reply


      Sorry no delivery in Iraq. ๐Ÿ™

  • By Rahul - Reply

    thanks avinash, your tutorials are very useful

  • By Ashutosh Upadhyay - Reply

    Hi to all community members,
    I use the USB programmer of AVR which I have got from here. Its works fine and how fast it was maza aa gaya Thankyou Avinash Sir

  • By Sooraj - Reply

    And your tutorials are really good.. ๐Ÿ™‚

  • By A. R. Khan - Reply

    Do you supply assembled AVR Development board? if so the cost etc. Does it support LPC2104
    please inform
    A Raoof Khan

  • By Martin Shoebridge - Reply

    Problem…. Target is Mega8515 with 3.6848 Xtal. First time I read, everything is ok…. if I click ‘read all’ again, it says 8515 not found.
    To rectify this, I have to disconnect the USB progger then reconnect. Then I can read again. Is this a Bug or not ??

  • By Martin Shoebridge - Reply

    more…. target board is 5V, op sys is win XP.
    No such problem with my TINY2313 target.Xtal = 9Mhz, Vcc= 5V

  • By Martin Shoebridge - Reply

    Tried the 8515 target with 11.0592 Xtal, still the same…

  • By Martin Shoebridge - Reply

    More info on the 8515. Removing the ISP cable to the target enables a re-read. Pressing CPU reset on my target does not clear the error.

  • By disha - Reply

    sir pls send me the circuit diagram and block diagram of project secured wireless data communication(AT89S52)and alsowhole programing used in it with algorithm.

  • By Martin Shoebridge - Reply

    Can write flash to 8515 once. If I then try to program the fuses it says’wrong device. Defintely a bug here..

  • By Sudipto - Reply

    A very good website u have lunched for us. All AVR uc lovers are being thankful to u…

  • By Ent - Reply

    Good job! your tutorials are great for me, i’m starting with embedded systems and your website is very helpful ๐Ÿ˜€

  • By praveen - Reply

    Hi avinash,
    I am using ATmega8 ISP programmer for ATTINY 2313 development board.I’m using extreme burner software for downloading into the chip.It’s writing the given Hex file into the flash memory,but while reading back the written hex code in the programming time itself it is showing an error(mismatch of location-random address of flash memory)

  • By Martin Shoebridge - Reply

    Hi Praveen…. check everything… this exact setup works fine for me- mega8 USB ISP programming a TINY2313.

  • By yousuf - Reply

    How to control the speed of the ceiling fan using 80c51.and the zerocrossing detection circuit

  • By Mehul - Reply

    I want to generate a freqeuncy of around 3.3khz using timer of Atmega32 ( 16 Mhz crystal ) with a duty cycle of 60%. please suggest

  • By Martin Shoebridge - Reply

    Perhaps a good start would be to read the data sheet and in particular the timers and pwm section. To achieve 60%M/space with a timer, you would need to have 2 separate timer values- one for the pos width, another for the neg width. If you do it with the PWM features, you an do it in one setup routine.

  • By Ravi Sharma - Reply

    Hi Avinash,

    There a problem in your page


    The page link of ‘Categories’—-
    ‘Robotics (NEW)-> (8)’
    That page show error :



    Ravi Sharma

  • By praveen - Reply

    hai avinash!
    I want to know how to remove fuse bit RSTDISBL FROM ATmega8 by using superpro model280u?

  • By chaitanya - Reply

    I wish to send SMS through a GSM/CDMA modem.
    Can you help me with the code?
    Since prog language is always ‘C’ it need not be built on any particular chip. Price is the only consideration.
    Does any of your existng boards serve the purpose?

  • By gaurav - Reply

    well i just want to ask u where can one find fecl3 supplies in india?

    • By Avinash - Reply

      Hello Gaurav,

      FeCl3 is available with the shops who supplies chemicals to school/college in a city. You may ask your chem lab assistance to get the address. I bought a pound of it for rs120 six years back.

  • By gaurav - Reply

    thank you very much……..i hope i get it

  • By gaurav - Reply

    sorry i forgot to tell u that the ar tutorials are jus awesome
    would be gr8 if i see a tutorial on avr-gcc

  • By kapil - Reply

    Hi avinash
    that’s a great job. well done.
    I want to use LCD with mega8 and i have only one port (port d) free. may you help me how can i use your lib for my application. Thank you.

  • By J.Kumar - Reply

    Dear Mr Avinash Gupta

    There no any good tutorial on Microchip PIC for quite new

    I like to suggest you that Microchip pic is very popular and
    have a lot of flexibility. So plese introuduce free on your web side in very very easy language to understand for innocent beginers.

    Thanking you
    Yours Truely

  • By satyabrata - Reply

    i am working in avr microcontroller(atmega16),i got a problem that is when i am giving 5v powr supply as input,the output coming according to the program is only 1.5v which is very low,i have checked the input and it is is 5v and output port i have used is portD,need your kind help.please help me in this.

  • By Martin Shoebridge - Reply

    Turn on the port pullups maybe ???

  • By satyabrata - Reply

    i did udestand whatis pull up.I am giving the input supply as 5v but the out put coming is 2v only(i have checked in portC&d by a led test).

  • By satyabrata - Reply

    sorry it is did not.

  • By Mehul - Reply

    i went thr’ your tutorials on the site, they are very useful. And have help a lot in developing AVR code. NOw i m stuck up with timers.

    I basically want to generate a square waveform, i am using following code please go thr’ it.

    void interrupt_init()
    count = 0;
    TCCR0 = 0x01;
    TCNT0 = 0;
    TIMSK = 0X01;
    sei ();


    if( count == 12 && count1 == 1)
    PORTB = 1<<PB7;
    count = 0;
    count1 = 0;
    else if(count == 18 && count1 == 0)
    PORTB = 0<<PB7;
    count = 0;
    count1 = 1;
    else count++;

    Now, using the following code i getting the required signal at PB7. but when this gets executed the status of PB3 changes ( it goes low).Please suggest. i do not want change in status of PB3. it is connected to other other chip, so please reply

  • By Martin Shoebridge - Reply

    I don’t understand ‘C’ but the error must be in your PORTB statement…..Can you look at the compiled code ????

  • By harpreet - Reply

    great job huuuuummmmmmmm

  • By khaldoun bathich - Reply


    every thing is OK if the flash size SMALLER than 32k ?


  • By PAVAN KUMAR - Reply

    when will u be posting third(3) part on RF COMMUNICATION..

  • By amar - Reply

    hi all
    i m using avrdude gui v0.2.0 programmer for atmega 8 -16pu controller

    my problem is this gui not read the high and low fuse bits which i burned previously.
    and another is it gives verification error
    ( reading | ######## avrdude: error : wrong reading bytes b8

    and red led ( busy indicator ) not goes off

    if i remove usb cable from pc then my hardware get reseted then my program works but with very low frequency.

    i reinstalled the driver i update my laptop
    but problem is not solved

    my laptop is compaq presario V3000 and amd processor

    so can anybody solve my problem

  • By Alexis - Reply

    I am looking some USB pic programmer because my laptop hasn’t got a serial port for my pic programmer. Just want to ask where can I buy these Kits and how much are they ?

    email me please!! thanks…!! ๐Ÿ™‚

    – Alexis from the Philippines

  • By FishBeast - Reply

    I have been programming my atmega8 for some time now and I love the software. Although today when I was trying to change my clock speed from standard 1mhz to 8mhz via the fuse bit tab. I entered the correct value several times and clicked write and the extreme burner said that it was written successfully.

    But when I click read all the settings go back to factory default. In other words it is saying that it is writing but really isnt. So I checked the write box in the corresponding box (low fuse) and then clicked write and now I cannot communicate with my chip anymore.

    Please help.

    • By Avinash - Reply


      This is a very classic problem !!!

      *What value you write to the high and low fuse bytes?

      Did u intended to use the internal 8MHz R/C Oscillator or and External 8 MHz crystal ?

      Probably you have done some mistake in calulating fuse values

      Now you ATmega8 is configured for some unknown clock input thus not at all running!!!

      So it can’t accept commands from the programmer

  • By Martin Shoebridge - Reply

    There might be a bug…. if you close the software and open up again and read the fuses, it might be ok.
    You can always solder a xtal across 9/10 (???) to make it work..

  • By Martin Shoebridge - Reply

    Main problem with changing the xtal settings is if you run an RC osc. in your application, and you set the fuse to XTAL. The cpu obviously won’t run !

  • By FishBeast - Reply

    I have since learned that I have set it up for an external crystal. I entered F8 Low and D9 High. I can’t beleive I did that. I should have entered E4 low D9 High for int RC Osc. 8 mhz. I don’t have the necessary stuff to reset it. I read somewhere that you can place a finger over xtal1 and 2 and then re-write it. That didnt work for me.

  • By Martin Shoebridge - Reply

    As above, you will have to solder a xtal across 9/10 OR buy a new device.If you’re in the UK, I can reprogram it for you…
    How come your programmer doesn’t have a XTAL on the board?

  • By Fishbeast - Reply

    My circuit is a test circuit on a bread board. I connected pins 9 and 10 with a wire and tried erasing hex tab and fuse bits tab. Aswell as tried reprogramming hex and tab without sucess. I have another 2 Atmega8’s being shipped.

  • By TR159 - Reply

    I am trying to build a communication system using Atmega32….My idea is to first convert the conditioned analog signal into a digital signal…I using ADC0808 for that….interfaced with the MC which sends out the signal to USART chip MAX232 which then conveys the signal to the transmitter for which i am using a laser diode. Receiver will have a photodiode followed by USART chip, then MC and then DAC….Now i need help on the programming part….Please let me know if AVR studio will be suitable or not….and I am finding it hard to get a STK-500 kit….are there any alternatives for it?….please reply and reply soon…

  • By lioaguila - Reply


  • By ron george - Reply

    hai i had brought a xboard from u! Its really awesome! can u please post how to make gps tracking device(using a gsm module)!

  • By Sandeep - Reply

    Hi Avinash,
    I have built a ponyprog circuit with no crystals coneected. I could program mega8l. But I hapened to program RSTDISBL fuse bits and now when I read the device in ponyprog, it gives message “Device missing or unknown device”. How can I get my AVR back at work. Please suggest me some programmers so that I could use them here in Nepal.

  • By Dinesh - Reply

    We brought a USBasp Programmer from you , it is working fine and i am able to programm the chip atmega16 with a sample program for blinking led. it sucessfully burnt into the chip but led is not blinking. the connection is proper.

    pls help

    • By Avinash - Reply

      thats why we recomment one of our coplete development boards . i mean you are not able to do things without guidance,so why you just buy only the “programmee” like a expert???

  • By Lunatik - Reply

    Very shorts, simple and easy to understand, bet some more comments from your side would be great

  • By raghu - Reply

    can we expect arm tutorials frm ur superb site

    • By Avinash - Reply

      hello Raghu thanks for the suggestion. ARM tutorial in pipeline. But can’t promise by when they can be started.

  • By raghu - Reply

    hai avinash suberb job dude keep going can we kno whatz ur next tutorial on avr

  • By Avinash - Reply


    Tutorials that are about to come
    1) Detailed Graphic LCD Tutorial (Many parts)
    2) Robotics (Line Follower,Obstacle Avoidance,Remote Control etc)
    3) Some PIC MCU tutorial
    4) Matrix Keypad example etc

    So much fun coming up !

  • By VSS - Reply

    your website is great support to a novice like me ,
    itake frequent help ,now my problem is how to show
    a float number like 345.67 on lcd ,with program in C ,iam using
    codevision avr & avr studio i have a parallel port connected
    atmega 16 with lcd to experiment ,pl.. advise

  • By chandan - Reply

    mr VSS,
    ATMEGA(AVR) does’t support floating point arithmetic.so for floating point arithmetic we have no other option than opearating with the nearest whole number.but here is your answer:
    use the function lcd_put_i(), with decimal point after two digits.this will display a decimal point with two digits two its right….hope it works..try it…if any prob found..plz post it here..
    bbye n have a nice day..
    chandan tiwary

  • By vss - Reply

    Thanks chandan
    your suggestion does’nt work as no such function is suported by lcd.h,stdio.h,etc. but i found solution with use of modulus ‘%’
    operator.i made errorless program simulated in AVR STUDIO ,watched on HAPSIM lcd.i programmed atmega16 with successful run
    but when i erased for reprogram ,MCU stopped communication
    i replaced MCU ,it also gave same result ,iwas not changing
    fuse bit ,so what is happening ,can MCU memory damages by containt of prog ,as iwas able to run reprog other progs
    on these MCU before ,i will put prog in forum

  • By danielle - Reply

    Dear Sir/Madam,

    I vistited your website(http://extremeelectronics.co.in ),and wanted to place a text link/banner on your homepage.
    Please let me know your thoughts.

    Have a nice day,

    Warm Regards,

    • By Avinash - Reply

      Hello Danielle,

      Please specify the banner size (height x width in pixels) you would like to place.


  • By Rajneet - Reply


    Sir I am final year B.tech Student.I need a project for my final semester>>..the concept of gps in india is on boom,So I wanna to make a gps tracking device,I hope u help me for making the gps tracking system..

    Thanks & Regards

    Rajneeet Singh Khalsa

  • By Jasminder singh - Reply

    hello sir,
    i am an old customer of your website. Congrats for the updates. I need a suggestion on the stacking of Hbrige ICS for more ampereage and voltage. This link has an example.
    i want to know the limit of stacking. I mean how many ics can i joint? any kind of problems i can have to face?
    i want to control a big dc motor 110V DC with 10A using pwm.

    jasminder singh

  • By Martin - Reply

    You agre going to need a discrete solution. No chip is going to do that….

  • By Sutikno - Reply

    Sir, I’m newbie with ATMEGA… I’m try build programmer use ATMEGA8 ( hardware and firmware from fischl.de ) and use your software. After running software and try to erase or read etc, fail : Autodetect programmer…, Found USBasp on USB Port, Power On… and Power on fail.
    What happen with my programmer ? Hardware fail or firmware fail or target fail ?

  • By Nachiket - Reply

    Indeed with a very supportive vision for the amatuers as well as experienced people , you have done a very appreciable job.
    I wish you best of luck.
    Thank you so much.
    Nachiket Kalantre

  • By M.Rishi Kanth - Reply

    i would like to have some tutorials on image processing using open cv ,i wish u publish them as soon as possible

  • By Fairuz - Reply

    great work,, good post…

    keep posting broo!!

  • By Kumar Lomash - Reply


    I am new to MCUs. I am currently learning with Atmega8L but soon want to move to a more advanced/current MCU.

    Which MCU is the current multipurpose common IC everyone is using? I know the answer would be “It depends on the need of the circuit”. But, I want to know the one which will get most of my robotics devices running and is not very expensive or hard to use. something which has a lot of compatible h/w s/w available.


    • By Avinash - Reply

      @Kumar Lomash

      Go for PIC32 from microchip, fits all your need.

  • By Kumar Lomash - Reply

    Thanks Avinash. I will certainly give it a try in my next project.

    Just one question though, I have heard that PIC micro controllers have multi-cycle instructions vs. Amtel’s MCUs which are generally single cycle instruction. wouldn’t this make Amtel’s products faster MCUs?

  • By ANOOP KR - Reply

    Hai Avinash
    i saw your tutorial about the graphical LCD interfacing with ATmega32.Its amazing.I have one doubt in the circuit diagram is that could i change the connections of the port pins that interface with the LCD.Please give me a reply. Thank you.

  • By Nitish Kumar - Reply

    Sir i want to make line follower but i dont know how to make ir sensor for detecting line can u please help me in making ir sensor part.I want to make ir sensor using TSOP17,NE555 so please mail me some tutorial .

  • By shahid - Reply

    i am electronic engineering final year student i need atmel mega 32 microcontroller for my final year project.
    can i purchase that microcontroller from india and kindly tell me process.

  • By Victor Borah - Reply

    Hi Sahid,
    Why don’t you have a look at the Online store here ? ๐Ÿ™
    I request you to go through any website throughly before posting a comment or request ! Reading such silly things is like hell for us. Sorry if I am rude.

  • By adhiraaj - Reply

    I have gone through your tutorials regarding temp sensor using LM 35 , AT mega8 and 7 segment displays. What modifications have to made in program to make it run on mega32

  • By Arvind - Reply


    You mean you need spoon-feeding?

    You got the code still you want someone else to modify it for you. Quit making this type of silly requests.

  • By sachi sahu - Reply

    hi sir.i want to interface ultrasonic sensor with avr atmega16.can u send some article about this sensor to my mail-sachi059@gmail.com

  • By manu - Reply

    i am now planning to make โ€œinterfacing Ds1307 with Atmega8?.
    but i have avr development with me.so wat all changes that i should make so as to do the same using avr development board.i am having atmega32 on ma board.also i am planning to use a eeprom ic to use the facilities of on timer & off timer.In one of the replys by kunal,i have saw the code for that.bt iwant to know if any library is needed for reading/eriting into the eeprom memory.i am using the eeprom 24C64.

  • By manu - Reply

    i am now planning to make โ€œinterfacing Ds1307 with Atmega8?.
    but i have avr development with me.so wat all changes that i should make so as to do the same using avr development board.i am having atmega32 on ma board.also i am planning to use a eeprom ic to use the facilities of on timer & off timer.In one of the replys by kunal,i have saw the code for that.bt iwant to know if any library is needed for reading/eriting into the eeprom memory.i am using the eeprom 24C64.

  • By navdeep - Reply

    hii..m a student of BITS pilani dubai … i hav placed an order for pic usb programmer (extreme burner pic).. i wanted to know about the shipment … can u ship in dubai …??

    • By Avinash - Reply


      Sorry. Do delivery to Dubai.

  • By varun - Reply

    great work avinash keep going and hope to see more tutorials

  • By nikita - Reply

    your work is great! thank you.

  • By Victor Borah - Reply

    Hi Avinash,

    Thanks, I received my consignment (my second purchase from your website)today. There is one thing I would like to tell you. Your Goods are really of very HIGH quality and the packaging is eXtremely very nice. I have bought quite a bulk of goods from many different companies and amongst them, your quality and service was the best. You may be a bit harsh to silly people (like me) but you are a good fellow, keep up the good work & God Bless You,

    Victor Borah

    • By Avinash - Reply

      @Victor Borah


      I am glad that people like our quality. I was on holiday that is why I replied late.

  • By Victor Borah - Reply

    Oh, I almost forgot, Thanks for the New Year Gift too !

  • By maxmiaggi - Reply

    Hi Avinash

    Awesome tutorials! You are an awesome teacher! The materials posted here is amazing!! I have referred your web portal to many of my friends. Actually, they are kinda interested to learn things. So, I was wondering if I could use the materials posted here to illustrate the basics to them…

    • By Avinash - Reply


      “So, I was wondering if I could use the materials posted here to illustrate the basics to themโ€ฆ”

      Please clarify how you intend to use the material.

      As all the material in my website is Copyrighted.

      Instead you can just give them the original links to they can read themself (hope they are not spoon-feeding babies)

  • By chandu58 - Reply

    Hii avinash your site was really helpful

    CAN YOU HELP ME OUT plssss….! basically i’m a beginner (my first robot)
    i’m trying 2 built remote wireless stand with 4 wheels n servos
    operating with remote controller can you help me
    pls let me now i want to connect with 6-channel receiver with 9v battery remote controller total weightage of the stand is like 4kgs load to carry
    i find some of the shops but its too cost
    if you have any of those products pls intimate with cost too n your valuable guidance
    thanks for helping
    keep rocking

  • By chandu58 - Reply

    Hi avinash ,
    Thanks for your comments actually
    i would like to start with one lightweight material n ofcourse strong for base and 4 wheels i’m using omni wheels 4cm with respect to 4 servos for multi directions and also one velcro sheet it should be a best thing to stick both sides and one remote controller with 9v nimh battery its very gud one when compare with alkaline/other & 6-Channel reciver as i searched and with 6-channel receiver why six channel reciever/pinner means 4-servos +battery pin to insert
    and also
    please have a look @ this
    i have searched about the motors n batteries

    and avinash my research was not completed here i need a rc controller with 6-channel reciever n 9v nimh battery i dint find a u
    thanks for helping

  • By chandu58 - Reply

    pls can you tel me if you have products or suggest me

  • By maxmiaggi - Reply


    I will prepare a ppt with some of your informations and illustrations. Before starting, i will inform them about the sources and give them the links, and then start off. I will also be adding some illustrations of my own, but you will get the credit, the link will be given to them before i begin.

    Hope its okay…

  • By chandu58 - Reply

    Avinash ,
    Its good to start with you … actually i drawn a plan(my imagine) if there is chance here i’l upload the image here lemme know
    i’m happy with your guidance
    thanks in advance
    looking forward

  • By Victor Borah - Reply

    Hi Avinash,
    Please tell me whether the xAPI will work for the 20×4 LCDs that I purchased from you ? Actually, my 20×4 LCD cannot display the Last two Lines ! I added the necessary source files and the Header files from the API and all the connections are Correct too ! For example, if I write something like this :
    Do I have any mistake here ? or did I damage my LCD ? Should the xAPI be modified to run with these 20×4 LCDs ? Kindly advise me!
    Victor Borah

  • By Martin Shoebridge - Reply

    ;Addresses for column 0 of each row are 00h, 04h, 14h and 54h respectively
    EQU Ln1Col1,H’80
    EQU Ln2Col1,H’C0
    EQU Ln3Col1,H’94
    EQU Ln4Col1,H’D4

    Routines for displaying stuff on a 16 column x 4 row LCD:-

    MOVC A,@A+PC
    .DB H’00,H’40,H’14,H’54

    MOV LineNo,#1
    AJMP WriteLn
    MOV LineNo,#2
    AJMP WriteLn
    MOV LineNo,#3
    AJMP WriteLn
    MOV LineNo,#4
    MOV A,#Cur1Pos-1
    ADD A,LineNo
    MOV R0,A
    MOV A,LineNo
    ACALL GetFirst
    ADD A,#20
    XRL A,@R0
    JNZ NotEOL
    MOV A,LineNo
    ACALL GetFirst
    INC A
    SETB ACC.7

    PUSH B
    MOV B,#19
    MOV A,#’ ‘
    DJNZ B,NxtBlank
    POP B

    MOV A,LineNo
    ACALL GetFirst
    MOV @R0,A
    MOV A,@R0
    SETB ACC.7
    INC @R0

  • By Victor Borah - Reply

    @ Martin
    Thanks For The Info

    Victor Borah

  • By Victor Borah - Reply

    However, I await Avinash’s response to the xAPI with 20×4 LCD !

  • By praneeth varma - Reply

    Hey Avinash

    I am calling you today….but i couldnt found no phone is answered. I want to buy low cost avr develpoment board. Is stock present now? what are your contact timmings

  • By Avinash - Reply

    @praneeth varma

    How many ?

    Please don’t call me on SAT or SUN!

    Better if you call me after 10:00 AM Morning till 1:30 PM

    Much faster response if you use email! I am online most of the time.

  • By Dietrich Schnabel - Reply

    Hi Avinash,

    thank you for the… “AVR Graphic LCD and Accelerometer” Demo.

    Unfortunately the code from the website is unavailable.

    where can I get it.

    Best regards D.Schnabel

    AVR Graphic LCD and Accelerometer Demo

    • By Avinash - Reply


      The codes (both hex and source) are available for download! Please go try them.

  • By Dietrich Schnabel - Reply

    Hi avinash,

    Thanks for the fast answer.

    Your Graphic LCD library is great. But with a flexible pinout configuration ( in a headerfile ? ) it would be super great.

    Best regards Dietrich

    • By Avinash - Reply


      I have hardcoded the PIN mapping because. I wanted the end applications to be portable. So that applications created by all peoples are compatible with hardware of other people. So they can be shared and run with minimal efforts. Also the library is well ahead of other available and I have many plans to make it even more powerful. But to keep it free of charge I have made is closed source.

  • By Dietrich Schnabel - Reply

    Hallo Avinash,

    too bad, with your configuration C0 C1 are not available for using the Hardware I2C.

    Best regards Dietrich


    Avinash Ji, hello!
    First of all I thankyou for early replying and uploading the status of my ordered products. I have assembled remote controlled fan regulator, and want to share a problem with the circuit which i have faced. The problem was that when running the fan/bulb(60W) on dim the R13 resistance starts getting heated and within 5 to 10 minutes the capacitor C3 gets shorted and the fan/bulb starts running/glowing at full. I have replaced the resistance R13 with 39 ohm/ 5W and capacitor C3 with .47/ 400V and tested the circuit for an hour and every thing was OK.
    Thanks and with regards,
    GURJEET SANDHU (Amritsar – Punjab)

    • By Avinash - Reply


      Thanks for sharing the info. It will lots of other people.

  • By rafi - Reply

    Hi,Avinash……dude r u ok?????No recent update about AVR?????.No more Tutorial?????R u ill or something????

  • By Avinash - Reply


    Me busy with business. Hardly have time for anything.

  • By rafi - Reply

    Thanks god u r ok.Hope u will be free again.i m thankfully waiting for ur next tutorial.Take care dude.God bless u………………………….

  • By Hemanth Kumar - Reply

    hi Avinash,

    Good work from your side and I appreciate ur eforts and expecting more from u.Also let me know how u receive payment if I order one.Accept cards or ??let me know

    Thanks& Regards

  • By ChuRui - Reply

    hi Avinash,
    i am using your LCD interfacing in your xAPI Lib, but i made a mistake in my PCB,i used the wrong data port on it like fallow:
    Port PB3-PB7 are connected to D4-D7

    but in your lib the port is:

    Port PB0-PB0 are connected to D4-D7
    how could i change the code to fit my board?

  • By Pro2xy - Reply

    Hey avinash… nice work.
    It would be better if you could sort these post according to time of post: most recent first. So the latest ones come to the top.. ๐Ÿ™‚


  • By Dilip - Reply

    I have purchased extreme electrnics USB burner for 8051 and AVR. they were working well. first of all, I like to appreciate ur eforts. good work Avinash.
    but the software for 8051 burner is lost and the CD send by you is not recognised by my DVD player.i think CD is being corrupted.
    so can I know from where i can download the same again.

  • By Eaglemount - Reply

    I am interested in developing a moisture sensor for use in soil beds in a greenhouse. Sensors would send wireless data to remote control panel.

    Anyone knowing of availability of off-the-shelf IC’s or interested in development please respond with information.
    Thank you
    Norm Norton

  • By Raman - Reply

    Hi Avinash,
    I saw a website which says USBASP programmer by Fischl can be used to burn AT89S series of controllers. If this is so, can you please try it out and help all the customers who bought the USB programmer from you in updating the frimware.
    The link is given below.

  • By Rafi - Reply

    hi avinash,
    no recent post, no more tutorial ?????? what happen bro???? i hope u r fine.and also pray to my god to bless u,if u r ill.
    hope that u will start writting again.


  • By rajam - Reply

    hi avinash,
    ur products are of really good quality and ur service is also very fast.keep up the good work.
    well i am curious to know,is it possible to interface a camera
    to any atmega or pic microcontroller’s.if yes than what all things r essential for such a project?i know it sounds a bit amature type of question,but i am just too curious to know about it.

    • By Avinash - Reply



      “possible to interface” is too broad to be answered. The answer can both yes and NO.

  • By mubin sheikh - Reply

    I have usb pic programmer v 1.0 and I have download extreme burner2.0 of pic from your website when I load a hex file and click writeall option then a problem occure show as a “programmer not responding” in progress window can u help me
    what is the problem?

  • By Robert Young - Reply

    How about doing a tutorial on I2C interfacing between AVR mcu’s.
    Really like your website! Keep up the good work………..

    • By Avinash - Reply

      @Robert Young

      Coming soon …

  • By Murali - Reply

    Hi sir,
    i want to buy a GSM SIM300 module can u tell me details about this,Thanks.

  • By Kent McNaughton - Reply


    Your tutorials are superb! Best thing I’ve seen for AVR; and all in one place! Good job!

    I like Robert Young’s suggestion on doing a tutorial on I2C (maybe include SPI?).

    I’m just starting on MCUs with an AVR32 on at Atmel AT32UC3A3256 development board, together with an AVR Dragon debug board and a 9DoF sensor board. My development system runs Ubuntu 10.10. First project is motor control of four small DC motors for a quad-copter. Since the motors will only run in one direction, does it make sense that I can control them all with just one L293D? I’m thinking of using the Enable1/2 to control the ground legs to the motors and Input1/4 to control the Vss legs. Is this reasonable?

  • By suresh - Reply

    dear mr. Avinash, i am professhnal electronics tv,dvd eng.But my knowledge about micro tecnology is too less. i have want to upgrade with advance tecnology .how can i learn&study microcontroler,microprosser,eprom,ram,dram and much more. ihave too crazy about it. Sir please-please help me iwill thankful to u.

  • By mohan chaudhari - Reply

    Dear Sir,I want to purchase Xboard mini & Usb AVR programmer v2.0, can i do payment thru AXIS bank ATM to you?.

  • By vikas - Reply

    i like to purchase only ir remote control from ur store help me

  • By Asif Mahmud - Reply

    hi.. i am in a bad need of a good avr usb programmer… i am from Bangladesh. do you have any option for me ? i wanna buy one . what will be the cost ? Please email me . how can i get one .

  • By Rafi - Reply

    No tutorials and No projects since a long period avinash.hope u will write again such nice tutorials and projects.
    take care my fr.

  • By nesta - Reply

    Avinash,I was hoping you could recommend some tutorials and e-books on micro-controllers.I only just discovered the awesome world of micro-controllers and there so much stuff on the net that I cant seem to make any headway in learning about them.I would greatly appreciate any assistance you can give me.

  • By ItsMeFurZy - Reply

    great work and nice work..
    thanks you

  • By nitin - Reply

    DUde i want 2 learn graphics lcd interfacing and programming.
    Can u suggest some referrences or provide them.
    PLS reply…..

  • By Hari - Reply

    This is really a good website to learn micro-controller based programming. Thanks a bunch Avinash!!! Keep it up!!!

  • By Ritesh Kumar - Reply

    Great Job this is the one place where we learn about micro controller.

  • By Uttam Dutta - Reply

    Mr. Avinash,

    It is long long time, we are not getting any tutorial, any project,
    We want to see new exciting tutorial/project soon,
    advance thanks
    Uttam Dutta

  • By Avinash - Reply

    @Uttam Dutta,
    Lots of tutorial will follow in coming months.

  • By mehane canaria - Reply

    were designing a ckt.anti pilferage power detector device.?we need a help from you to how to make it…we dont have enough knowledge about it

  • By mehane canaria - Reply

    pls help us to design a gadget a detector againse tapping

  • By mehane canaria - Reply

    were to design power detector…wiould you help us

  • By aakash - Reply

    Mr. Avinash,

    sir i have eXtreme Burner 51 v2.0 – USB Programmer for 89S52 89S51 Micros

    but i have a problem regarding with its software that is not installed in window 7 so please mail me its software as soon as possible my mail id is “m.aakashthukral@gmail.com”

  • By Neha - Reply

    Hi there

    I am new to the world of micro-controllers. I am working on a project where i have to sample voltage of a circuit , using PIC micro-controller. Got any links to relevant simple tutorial?


  • By Albin - Reply

    I have a suggestion in the Xboard2.I think that you may integrate the heat sink for the voltage regulator. Otherwise it will burn after some time.


  • By ishaan kakar - Reply

    hey avinash!!
    i am using a ATtiny 2313 microcontroller and using a ultrasonicr range finder SRF04 for obstacle detection and distance measurement….can u please help with interfacing the sensor with microcontroller and using it to determine obstacle distance…

    • By Avinash - Reply

      @ishaan kakar

      What will I get in return ???

      And don’t clutter the comment space.

      Why will any one write code for some unknown guy???

      Why don’t you ask the guy from where you have purchased it ???

  • By Martin - Reply

    Its all here, but you will have to put in some work…


  • By ?? - Reply

    I would just like to let ufo know how much I learn from your website Bookmarked book . be back fast for some more good articles.

  • By raghav - Reply

    where can i purchase it.

  • By AJAY JAIN - Reply

    Please reply from where can I get usb to uart

  • By Pragyan - Reply

    Pragyan 2012

    International-Technomanagement festival


    Engineering is all about imagination and ingenuity. Rather than just theories and their application, it revolves around simpler domains such as indigenous thinking, common sense and elementary logic, all of which arise from the Supreme Intelligence, the “Pragyan ” in us. Technology, as we know it today, is the manifestation of millenia of Pragyanic thought and action, which has unflinchingly served and enthralled mankind since the invention of the Wheel.

    Pragyan, the annual Techno-Management festival of NIT, Trichy is a humble attempt to promote and foster this co-existential relationship between Man and Technology. The insignia, insinuating Man’s eternally progressive leap over the Wheel of Technology, is symbolic of Pragyan?s endeavour to inculcate the spirit of engineering, innovation and forward thinking among the youth. For over half a decade, Pragyan has worked tirelessly towards this goal, by churning out seven memorable editions, each of which has enlightened, emboldened and inspired an entire generation of engineers.

    To the freshers, welcome! To the seasoned, welcome back, to this journey of exploration, revelation and awe. Come February 2012, NIT, Trichy will be the epicenter of a scintillating Celebration of Technology, and you are invited to the party!

  • By Arsalan - Reply

    Hi Avinash
    I want to do In circuit Programming of 89s8253. I used your board and software. But sotware is giving me error “Burn process incomplete”. sometimes it is Burning successfully but on verification its not working.

    Please Suggest any idea… its urgent
    Thanks in regards

  • By Aditya - Reply

    Hello Avinash,
    I tried to use the C6 pin of Atmega-8 as an input just to try for the first time and hence set the fuse RSTDSBL for that.
    The code run well and C6 is working as an output.
    But after that the IC was not able to get programmed again however the earlier program is still running fine.
    I thought the IC would have gone bad so I burned the same program in another chip and again set the fuse for programming C6 as input and it also succeded but this one also is not getting programmed now.
    Both the chips are new and their program runs well but when I program them again it doesnt work

  • By P R G Reddy - Reply

    Dear Mr. Avinash,
    I recently purchased 40 pin AVR development board with Atmega 16A. When I tried to read Fuse bits through Extreme Burner and studio 5 They gave different result.
    Extreme Burner : Low Fuse 0xFF High Fuse 0xC9and Incase of Studio5: Low Fuse 0x99 High Fuse 0xC1. Why this difference.
    Secondly, I purchased ATmega 16 and 32 Mcs. When I plugged in these Mcs in that board and tried to read fuse bits, the burner says power-on failed.
    As there is no provision to attach files here I sent separate e-mail attaching the snapshots. Can U pl solve my problem. I am new to embedded system and since 2 months I stared this. Thanks. PRG Reddy

    • By Avinash - Reply

      @PRG Reddy,

      In Atmel Studio you are using AVR Simulator as the tool which us reading the simulated AVR chip and not the real chip. Thus it is returning the default values of the fuse bytes.

  • By Nadim Mostafa - Reply

    I programmed my Atmega16A fuse bits with HIGH byte = 11000001(C1) and LOW byte = 11101111(EF). But my micro-controller don’t working now. What is the problem with this, please anyone can give me some advice.

    • By Avinash - Reply

      What was the reason to program the fuse bytes like that?

  • By Gaurav - Reply

    any one have extreme burner 51 software? please

Leave a Reply to praveen Cancel reply

Your email address will not be published. Required fields are marked *

3 − one =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>