Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by a4arijit

  1. A

    Help for programming USART

    Actually using the getchar and putchar was stupid..I used printf("%0.1f",temperature)..but still its not printing any data..I used the functions printf and while inside "void main(void)"..
  2. A

    Help for programming USART

    I mean I've tried to print the data "temperature" which contains the ADC result with "printf" inside the "void main(void)" but its not showing any result..whereas I printed a string on Termite 2.6 to test the USART using printf and it was a success.. ---------- Post added at 23:18 ----------...
  3. A

    Help for programming USART

    Can you kindly name a function that calls on a "while" loop and also sets up the registry???
  4. A

    Help for programming USART

    Hi, Once again I'm back with my stupidity..I'm working on a project that process an ADC data and transmit them to the PC using a DB9 COM port.For that I need the USART working.For testing purposes I'm using HyperTerminal 7 .I came up with a program (its worse enough to laugh) but its highly...
  5. A

    [SOLVED] Help for interfacing LM35 on atmega16

    Thanks again alexan_e...It worked.Changing the variable types at project configuration did the job...I am posting the final code which actually works along with all the settings.. Settings:: Chip:Atmega16 Clock:16MHz ADC Channel:2nd ADC channel is used ADC frequency:250KHz (Use this frequency...
  6. A

    [SOLVED] Help for interfacing LM35 on atmega16

    #include <mega16.h> #include <delay.h> #include <stdio.h> #include <math.h> // Alphanumeric LCD Module functions #asm .equ __lcd_port=0x18 ;PORTB #endasm #include <lcd.h> #define ADC_VREF_TYPE 0x00 //Internal unsigned char buffer[16]; //To the buffer sprintf int temperature; //For the...
  7. A

    [SOLVED] Help for interfacing LM35 on atmega16

    /***************************************************** This program was produced by the CodeWizardAVR V2.03.4 Standard Automatic Program Generator © Copyright 1998-2008 Pavel Haiduc, HP InfoTech s.r.l. HP InfoTech, Development Tools for Microcontrollers, C Compilers, In-System Programmers...
  8. A

    [SOLVED] Help for interfacing LM35 on atmega16

    http://www.8051projects.net/e107_files/public/1288161733_30870_FT37769_cd.png[COLOR="Silver"] ---------- Post added at 11:59 ---------- Previous post was at 11:58 ---------- I compiled it with CVAVR...the error its generating is that "pointer to the function 'adc_val = read_adc(i);' must...
  9. A

    [SOLVED] Help for interfacing LM35 on atmega16

    Hi, I am presently trying to build up a project on a temperature sensor with the help of LM35DZ using an atmega16 uC and trying to display the result on a 16x2 LCD...I have compiled a code but its not working(since I'm a complete noob)...I am posting the code in this thread..Please correct...
  10. A

    Erasing the Programming of Locked Atmega ...

    The 1 MHz internal oscillator is too slow for usbasp, unless the jumper is installed. Newer versions of usbasp code do not need the jumper. If an updated avrdude.exe is used, you can control the sck frequency right from the command line. An example command line:avrdude -c usbasp -p t45 -C...
  11. A

    Erasing the Programming of Locked Atmega ...

    I faced a similar problem like this...But mine was stupid..I accidentally configured the fuse bits to use its internal 1 Mhz clock..And thus was unable to reprogram the mega16..but after closing the "slow sck" pins of the usbasp which by the way uses atmega8 with a jumper enabled me to access...

Part and Inventory Search

Back
Top