Results 1 to 6 of 6

Thread: Analog-Digital Interfacing

  1. #1
    Member Advanced User
    Join Date
    Aug 2009
    Posts
    54
    Blog Entries
    1

    Unhappy Analog-Digital Interfacing

    Hello experts there,
    I am in quite a need of you all. I am new to Avr uc. I have a peizoelectric sensor that is analouge. I don't know how to interface it with my Atmega 128 development board.
    Is ther any website or weblink which you can suggest me.
    Please reply as soon as possible as i hv very little time left.

  2. #2
    Administrator T-1000 vikas's Avatar
    Join Date
    Feb 2004
    Location
    Delhi
    Posts
    1,922
    Blog Entries
    14

    Default

    I dont know about your Dev Board , but just interface it to the ADC on your Mega 128 and use simple polling to detect the changes in the sensor and sending them on serial. And move on from there.
    Vikas Patial

  3. #3
    Senior Member T-1000
    Join Date
    Jun 2007
    Location
    Jamshedpur/Bhubaneswar
    Posts
    421

    Talking

    Hello There,

    Please see this tutorial for using AVR ADCs

    http://extremeelectronics.co.in/avr-...tal-converter/

    Also you should have searched Google for

    "avr adc tutorial"

    or

    "avr adc"

    You should have already got to that page !!!

    Hope it helps
    Avinash Gupta
    ************
    www.eXtremeElectronics.co.in

  4. #4
    Senior Member T-1000
    Join Date
    Jun 2007
    Location
    Jamshedpur/Bhubaneswar
    Posts
    421

    Default

    Also one more thing

    You said you are new to AVRs then why are u usin ATmega128 ??? Its like the super-set of AVR features (and super-set of confusion for beginners).

    All I knew was that law of learning tells that "Go Step by Step"

    I think you should have used AVR ADC on some little brothers of ATmega128 (like a ATmega8)

    I bet you can't use more that 1% of the features Offered !
    Avinash Gupta
    ************
    www.eXtremeElectronics.co.in

  5. #5
    Member Advanced User
    Join Date
    Aug 2009
    Posts
    54
    Blog Entries
    1

    Default

    Thank you for the tutorial.
    Well, u r write actually. So can you suggest me some development board to buy so that i can work on Atmega8.

  6. #6
    Senior Member T-1000
    Join Date
    Jun 2007
    Location
    Jamshedpur/Bhubaneswar
    Posts
    421

    Default

    Hello

    Yes. You can go for xBoard MINI v2.0 + USB AVR Programmer

    It will give you complete startup with ATmega8 or ATmega168 MCUs

    xBoard MINI v2.0
    http://shop.extremeelectronics.co.in...roducts_id=107

    Help Files
    http://www.extremeelectronics.co.in/...docs/Index.htm

    USB AVR Programmer v2.0
    http://shop.extremeelectronics.co.in...products_id=28

    Avinash Gupta
    ************
    www.eXtremeElectronics.co.in

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •