+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Newbie level 3
    Points: 30, Level: 1

    Join Date
    Sep 2013
    Posts
    4
    Helped
    0 / 0
    Points
    30
    Level
    1

    how to send adc value using uart

    guys help me how to send adc value using uart in avr microcontroller.

    •   AltAdvertisment

        
       

  2. #2
    Advanced Member level 5
    Points: 22,521, Level: 36
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    4,306
    Helped
    955 / 955
    Points
    22,521
    Level
    36

    Re: how to send adc value using uart

    write the adc value to the UART transmit register.



    •   AltAdvertisment

        
       

  3. #3
    Member level 3
    Points: 385, Level: 4

    Join Date
    Jun 2013
    Location
    Tamilnadu, India
    Posts
    66
    Helped
    7 / 7
    Points
    385
    Level
    4

    Re: how to send adc value using uart

    hello,
    first configure your UART for transmit, then just give the value of ADC out put in UDR.
    Last edited by vinothksr08; 11th September 2013 at 10:05.



    •   AltAdvertisment

        
       

  4. #4
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    830 / 830
    Points
    23,048
    Level
    36

    Re: how to send adc value using uart

    He has clearly mentioned AVR microcontroller.


    Edit: Post your adc code so that uart code can be added to it.
    Last edited by jayanth.devarayanadurga; 11th September 2013 at 11:59.



  5. #5
    Full Member level 5
    Points: 1,740, Level: 9
    Raady Here's Avatar
    Join Date
    Jun 2013
    Location
    India
    Posts
    244
    Helped
    26 / 26
    Points
    1,740
    Level
    9

    Re: how to send adc value using uart

    Put ADCL and ADCH – ADC Data Registers, on to UART, where your read ADC values are strored !



--[[ ]]--