It seems like a classic case of "code porting without consulting the datasheet" :)) See the initialisation for the USART. To be more precise, see the value you...
Hi dears :) Dears, I am using ATmega16 microcontroller and I need help for about it. I have interfaced a sensor to portA0 and using ADC which is built in it i...
This might do it, #define U16_NIBBLE(val) ((uint_8)((val >> 12) & 0x0F)) /*! \note Hex_Ascii. \note Convert unsigned int value into ascii string. \param...
Stefan, you never fail to amaze me. If this code was written by you, I respect your knowledge in C coding, I myself understand pointer arithmetic but I am...
Hello every body I am working on project to control servo using atmega 16 , I am able to control it through at89c51 but i cant control it through 16l please...
Please help me, i had made the moving text using dot matrix 8x8, using shift register 74595, i want scanning row but i dont understand. Please give me...
Mihai, Â Thanks for the line, Hows it going out there ? well i hope, didn't realsie that pointers would be such a problem, sorry. It works fine though i am...
Instead of shift register, use 3 to 8 decoder. In moving display columns are scanned not rows. Select a particular column from decoder and apply value to row...
Dear Gaurav, Can you explain, How you have control the servo. By External pulse mode, Speed control mode or torque control. Whether you are control it by...
Hi dixit.......... Thanks for response. Actually i am new to this topic and I don't know which mode I should run. But the thing I want to do is to control;...
Hai, Â Â Â Â Â Â Â Â Thanks for the replay. I tried with the points which you told but now nothing happens, so it will be very help full for me if you can...
Hi, You have created a word variable but you are still returning a byte value from the adc process. Try the code with the changes highlighted, THIS TIME WITH...
Hello, Â Â Â Â Â Â Â Â Â Thanks for the code, it is working. Â Â Â Â Â Â Â Â Â If you dont mind I like to know how this "while(bit_is_ set(ADCSRA, ADSC));...
Hi, Glad to hear it is working. If you look in the file io.h there are a number of other header files included with this, one of the them is sfr_defs.h. In...
Hi, I am new to microcontrollers.I have just started a project on avr microcontrollers ATmega8 using a temp sensor and an led. I have written c program for it....
Hai, Â Â Â Â Â Â Â Yes, you can directly write c program in AVR Studio. I first installed WinAVR and then AVR Studio. Â Â Â Â Â Â Â You can start new project...
Hi, Yes you can write the code directly to AVR studio 4.create folder for ur project .all u have to do is to start a new project in Avr studio,Then show the...
the procedure is like this: start---->AvrStudio4-------enter click on 'New project' then 'AVRgcc' then give project folder name and click on 'Next' then select...
hi that right u can simulate c Program for AVR using AVR studio. But for that u hav to select the AVR GCC at the start wizard of the project. this is the GNU C...
Hi All,  I am designing a timer circuit and having difficulties, actually this circuit contains the 555 timer interfaced with avr controller and controller...
hi everyone, i'm new to avrs. i'm using an atmega8 to interface an rtc with an 16x2 lcd. i'm contemplating whether to use ds1307 or ds1302 as rtc chip. i'm...