Mar-14th-2008

Welcome

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

avinash@extremeelectronics.co.in

News

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 ...

---------------

 

 

Jan 1, 2009

eXtreme Burner 51 : Preview

at89s usb programmer

eXtreme Burner 51 - USB Port based programmer for AT89S51 / AT89S52 MCU from Atmel

More Info ...

---------------

21 Aug 2008

xBoard - AVR ATmega32 Based Development Board Launched. xBoard is a powerful yet easy to learn Development Board powered by ATmega32 Microcontroller. It has many integrated features which make it far ahead of competitors. May be you are looking for a perfect board for robot control or just learning tool for AVR MCUs it right for you. Take a look at its official website.

xBoard - Ultimate AVR Devboard.

xBoard - AVR ATmega32 Based Development Board

More Info ...

168 Responses to “Welcome”

  1. 1
    subhankar Says:

    great work started
    continue with it

  2. 2
    Avinash Says:

    Thanx…
    …njoy

  3. 3
    Binu Says:

    Nice tutorials for AVR micros

  4. 4
    Avinash Says:

    Thanx Binu!

  5. 5
    Rajit Says:

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

  6. 6
    keshav dev singh Says:

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

  7. 7
    keshav dev singh Says:

    thank you lot

  8. 8
    Abhijeet Says:

    Great work… please carry on!

  9. 9
    gautam Says:

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

  10. 10
    bittu singh Says:

    Hi Avinash

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

  11. 11
    Avinash Says:

    Hi,
    Bittu

    ThanX

    see
    http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2725

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

  12. 12
    stef Says:

    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?

  13. 13
    rakesh Says:

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

  14. 14
    Avinash Says:

    @stef
    Hi,
    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.

    ThanX

  15. 15
    ronie Says:

    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.

  16. 16
    Avinash Says:

    @ronie

    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

    http://xboard.extremeelectronics.co.in/
    which is a readymade dev board with many features. And combined with our USB AVR Programmer you will jump start AVR programming withing hours!

  17. 17
    adhiraaj Says:

    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.
    regards.

  18. 18
    Avinash Says:

    Thanks Adhiraaj For you suggestions.

  19. 19
    adhiraaj Says:

    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.

  20. 20
    Felipe Uderman Says:

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

  21. 21
    Avinash Says:

    thanks Felipe !!!

  22. 22
    Atul Bishnoi Says:

    we required the burgstrip (male or femail

  23. 23
    Atul Bishnoi Says:

    can u suggest any part no.

  24. 24
    Avinash Says:

    @Atul

    See
    http://shop.extremeelectronics.co.in/index.php?cPath=24_28
    For Burgstrip Connectors

  25. 25
    OKORO CHARLES Says:

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

  26. 26
    Amol Says:

    nice work…keep it up

  27. 27
    deen Says:

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

  28. 28
    Avinash Says:

    Hi Deen

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

  29. 29
    raghu Says:

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

  30. 30
    Avinash Says:

    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.

  31. 31
    raghu Says:

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

  32. 32
    Avinash Says:

    Hello Raghu,

    Thanks a lot !!!

    Happy New year to all my friends.

  33. 33
    Rashed Says:

    I am very interest to microcontoller program

  34. 34
    Anthony Says:

    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

  35. 35
    kiran reddy Says:

    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..

  36. 36
    Avinash Says:

    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

    http://forum.extremeelectronics.co.in/viewtopic.php?f=2&t=24

    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 !!!

  37. 37
    adhiraaj Says:

    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…

  38. 38
    Avinash Says:

    @Adhiraaj

    Set crystal as 12MHz. Remember you also have to set the fuse bits see this :)
    http://forum.extremeelectronics.co.in/viewtopic.php?f=2&t=24

    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

  39. 39
    kiran Says:

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

  40. 40
    adhiraaj Says:

    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…….

  41. 41
    Avinash Says:

    @Adhiraaj

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

    So pls join
    http://forum.extremeelectronics.co.in

    :)
    A

  42. 42
    kiran reddy Says:

    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?

  43. 43
    adhiraaj Says:

    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.?

  44. 44
    Jo Says:

    Hi,
    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 ?
    Thanks
    Jo

  45. 45
    amarsesma Says:

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

  46. 46
    p_ppk Says:

    Hi avinash,

    Pls sendme your contact detail.

    Thanks,
    Kundan
    FAE
    Excel eltech India
    [Ph No Removed Due to security reasons]

  47. 47
    Abhishek Says:

    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
    Abhishek

  48. 48
    Avinash Says:

    Hello Abhishek,

    Please move this discussion to the forum
    http://forum.extremeelectronics.co.in

    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.

  49. 49
    Abhishek Says:

    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.

    Abhishek

  50. 50
    Avinash Says:

    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.

    NO NEED TO DEBUG THE CODE,IT IS 100% ALRIGHT.

    Only timing problem.

  51. 51
    Mika Says:

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

  52. 52
    http://rich-niche.info/cookie/img/smilies/happy.gif Says:

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

  53. 53
    Sandeep Duhan Says:

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

  54. 54
    Jayanth Says:

    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

  55. 55
    Alicia Says:

    Hi Avinash,

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

  56. 56
    chandan tiwary Says:

    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.
    bye
    regards.
    chandan tiwary
    9309234034

  57. 57
    chandan tiwary Says:

    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
    bye
    regards
    chandan
    9309234034

  58. 58
    Dhenashwar Gocher Says:

    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….

  59. 59
    chandan tiwary Says:

    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..
    regards
    chandan tiwary
    jaipur

  60. 60
    Dhenashwar Says:

    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….

  61. 61
    Dhenashwar Says:

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

  62. 62
    Dhenashwar Says:

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

  63. 63
    vishal Says:

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

    regards.

  64. 64
    Dhenashwar Gocher Says:

    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…

  65. 65
    kumbhat.abhay Says:

    hi
    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.

  66. 66
    Avinash Says:

    @Abhay

    “rest are showing errors”

    what do u mean by that?

  67. 67
    kiranreddy Says:

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

  68. 68
    Dhenashwar Says:

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

  69. 69
    Dhenashwar Says:

    My mail ID is dinesh.gocher@gmail.com

  70. 70
    kumbhat.abhay Says:

    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.

  71. 71
    chandan tiwary Says:

    Dear Avinash,
    i went through your avr tutorials.i found out the following lines..please go thru them
    if(PIND && 0b00000010)…..
    HERE WE ARE USING THE AND OPERATOR…THEN SHOULD WE USE
    “&” OR SHOULD WE USE”&&”.I THINK THEY ARE QUITE DIFFERENT.
    SHOULD THERE BE “&&” IN THE LINE ABOVE??
    I THINK “&” IS REQUIRED.PLEASE ILLUSTRATE ME TJE CONCEPT.I ALSO WENT THROUGH KANETKAR.THERE ALSO A SINGLE “&” IS USED.
    THANKS
    REGARDS
    CHANDAN TIWARY
    9309234034
    JAIPUR

  72. 72
    Jayanth Says:

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

  73. 73
    Jayanth Says:

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

  74. 74
    chandan tiwary Says:

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

  75. 75
    Jayanth Says:

    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…

  76. 76
    chandan tiwary Says:

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

  77. 77
    Avinash Says:

    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.

    :)

  78. 78
    chandan tiwary Says:

    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
    #include

    void wait()

    {

    char i;

    for(i=0;i<100;i++)

    _delay_loop_2(0);

    }

    void main()

    {

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

    while(1)

    {

    PORTD = 0B00010000;//clock wise

    wait();

    PORTD = 0B00100000; //anticlock wise

    wait();

    PORTD = 0;

    wait();

    }

    }
    plz reply soon..i m waiting
    bye
    regards
    chandan

  79. 79
    Avinash Says:

    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
    http://xboard.extremeelectronics.co.in/index.php?page=Motors

    Also please use the forum instead of this page for discussion

    http://forum.extremeelectronics.co.in/viewforum.php?f=2

    Pls refer to xBoard schematic.

    http://www.extremeelectronics.co.in/datasheets/xBoard_sheet2.pdf
    http://www.extremeelectronics.co.in/datasheets/xBoard_sheet1.pdf

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

  80. 80
    chandan tiwary Says:

    thanks avinash…
    thanks a lot for the help..
    bye

  81. 81
    chandan tiwary Says:

    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???

  82. 82
    chandan tiwary Says:

    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.

    thanks
    regards
    chandan tiwary
    9309234034.

  83. 83
    Avinash Says:

    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< Coz we want to set(make =1) CS02 and CS00
    The final result is
    00000101

    As CS02=2 and CS00=0

    but I have written

    TCCR0|=(1< WHICH ASLO GIVE EXACLY SAME RESULT
    00000101

    As CS02=2
    so, 1<

    AND CS01=1

    SO,

    00000100 |
    00000001
    ----------
    00000101
    ----------

    Got it.

    AND I REQUEST U PLEASE DON'T USE THIS PAGE FOR DISCUSSION

    USE THE FORUM !!! THE LINK IS

    :)

    http://forum.extremeelectronics.co.in/viewforum.php?f=2

  84. 84
    Pgt Says:

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

  85. 85
    kumbhat.abhay Says:

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

  86. 86
    rock Says:

    @Abhay

    See
    http://forum.extremeelectronics.co.in/viewtopic.php?f=2&t=126

  87. 87
    kumbhat.abhay Says:

    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.

  88. 88
    Supritha Says:

    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

  89. 89
    ashwin Says:

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

  90. 90
    Ashutosh Says:

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

  91. 91
    Aghust saman Says:

    Good avinas

  92. 92
    Rolf Says:

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

  93. 93
    chandan tiwary Says:

    HI AVINASH..
    ITS A GR8 WORK BY U…IT HELPED ME A LOT…REALLY A LOT!!
    BUT I WILL B GLAD IF U ADD MORE TUTORIALS ON ALL THE 32 REGISTERS OF AVR MICROCONTROLLERS.ITS A REQUEST.
    REGARDS
    CHANDAN TIWARY
    9309234034

  94. 94
    yasa Says:

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

  95. 95
    E.M.PIMENTEL Says:

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

  96. 96
    Alan Parekh Says:

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

  97. 97
    kunal Says:

    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.

    Kunal

  98. 98
    kunal Says:

    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.

    Kunal

  99. 99
    sri Says:

    hi
    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

  100. 100
    Avinash Says:

    @SRI :)

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

  101. 101
    sri Says:

    hi can we use ths burner for the given microcontroller pic16f876

  102. 102
    kumbhat.abhay Says:

    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?

  103. 103
    Salman Says:

    Hi,
    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?

  104. 104
    Avinash Says:

    @Salman

    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
    http://atmel.com/dyn/resources/prod_documents/doc1456.pdf

    SD Card Interfacing tutorial here
    http://www.dharmanitech.com/2009/01/sd-card-interfacing-with-atmega8-fat32.html

  105. 105
    Salman Says:

    @ 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.

  106. 106
    Avinash Says:

    @Salman,
    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)
    http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2680&dDocName=en023596

  107. 107
    Kapil Says:

    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.

    Kapil

  108. 108
    binal Says:

    hey waiting for ur tutorial on rf communication-part2…

  109. 109
    Krishna Kumar Singh Says:

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

    Regards,
    KK Singh
    BARC, Mumbai

  110. 110
    Selvam Says:

    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.]

  111. 111
    Avinash Says:

    @Mr Krishna

    Thanks for ur suggestions ! Sure I will come up with it. But it will take some time. :)

  112. 112
    ali asl fallah from iran Says:

    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.

  113. 113
    Quang Says:

    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,
    Quang

  114. 114
    Avinash Says:

    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.

  115. 115
    Tandy Says:

    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.

  116. 116
    sagar Says:

    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

  117. 117
    raaft Says:

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

  118. 118
    Avinash Says:

    @Raaft,

    Sorry no delivery in Iraq. :(

  119. 119
    Rahul Says:

    thanks avinash, your tutorials are very useful

  120. 120
    Ashutosh Upadhyay Says:

    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

  121. 121
    Sooraj Says:

    And your tutorials are really good.. :-)

  122. 122
    A. R. Khan Says:

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

  123. 123
    Martin Shoebridge Says:

    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 ??

  124. 124
    Martin Shoebridge Says:

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

  125. 125
    Martin Shoebridge Says:

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

  126. 126
    Martin Shoebridge Says:

    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.

  127. 127
    disha Says:

    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.

  128. 128
    Martin Shoebridge Says:

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

  129. 129
    Sudipto Says:

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

  130. 130
    Ent Says:

    Good job! your tutorials are great for me, i’m starting with embedded systems and your website is very helpful :D

  131. 131
    praveen Says:

    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)

  132. 132
    Martin Shoebridge Says:

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

  133. 133
    yousuf Says:

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

  134. 134
    Mehul Says:

    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

  135. 135
    Martin Shoebridge Says:

    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.

  136. 136
    Ravi Sharma Says:

    Hi Avinash,

    There a problem in your page

    http://shop.extremeelectronics.co.in/index.php?cPath=43

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

    include(DIR_WS_MODULES . FILENAME_PRODUCTS_SLIDER);?>

    Thanks

    Ravi Sharma

  137. 137
    praveen Says:

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

  138. 138
    chaitanya Says:

    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?

  139. 139
    gaurav Says:

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

  140. 140
    Avinash Says:

    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.

  141. 141
    gaurav Says:

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

  142. 142
    gaurav Says:

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

  143. 143
    kapil Says:

    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.
    kapil

  144. 144
    J.Kumar Says:

    Dear Mr Avinash Gupta

    There no any good tutorial on Microchip PIC for quite new
    beginers.

    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
    J.Kumar

  145. 145
    satyabrata Says:

    sir,
    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.

  146. 146
    Martin Shoebridge Says:

    Turn on the port pullups maybe ???

  147. 147
    satyabrata Says:

    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).

  148. 148
    satyabrata Says:

    sorry it is did not.

  149. 149
    Mehul Says:

    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()
    {
    cli();
    count = 0;
    TCCR0 = 0×01;
    TCNT0 = 0;
    TIMSK = 0X01;
    sei ();
    }

    ISR(TIMER0_OVF_vect)
    {

    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

  150. 150
    Martin Shoebridge Says:

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

  151. 151
    harpreet Says:

    great job huuuuummmmmmmm

  152. 152
    khaldoun bathich Says:

    hi

    every thing is OK if the flash size SMALLER than 32k ?
    WHAT IS THE SOLUTION,YOU MUST MODIFY THE SOFTWARE ?

    BEST REGARD

  153. 153
    PAVAN KUMAR Says:

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

  154. 154
    amar Says:

    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

  155. 155
    Alexis Says:

    Hi
    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

  156. 156
    FishBeast Says:

    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.

  157. 157
    Avinash Says:

    @FishBeast

    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

  158. 158
    Martin Shoebridge Says:

    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..

  159. 159
    Martin Shoebridge Says:

    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 !

  160. 160
    FishBeast Says:

    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.

  161. 161
    Martin Shoebridge Says:

    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?

  162. 162
    Fishbeast Says:

    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.

  163. 163
    TR159 Says:

    Hi
    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…

  164. 164
    lioaguila Says:

    hola

  165. 165
    ron george Says:

    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)!

  166. 166
    Sandeep Says:

    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.

  167. 167
    Dinesh Says:

    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

  168. 168
    Avinash Says:

    @Dinesh,
    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???

Leave a Reply

Comments

    • Del Chann: Hello is it possible to use this board to interface with a smoke sensor, motion sensor,...
    • Elijah Nicolia: May I consider part regarding your main guide to my personal site
    • Tifany Wiebusch: I go along with you actually, I believe! Might this become doable for you to have...
    • Sinopteek: When i try to run this software under OpenSuSe 11.2 (x64), i’ll have next error:...
    • kapil: @Dhananjay I used that its working and it can programme 3 to 4 times after that there is a...
    • Dhananjay: Sir, At present I am using progisp to flash AT89SXX with usbasp(with modified firmware)....
    • Shashi Jain: plz dont fight wid each other…k i accept my fault… neway m not a rich person...

Video