AVR eqivalent of ardunio's serial port

Discussion in 'Embedded Systems and Microcontrollers' started by aditya369007, Oct 21, 2014.

  1. aditya369007

    Thread Starter New Member

    Jul 24, 2014
    15
    0
    Hey guys i was just wondering if there was any software that works the same way as the aurdunio serial port for a avr microcontroller such as Atmega8.
    I really want to make a catalog of the acclerometer readings that i get.
     
  2. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,815
    835
  3. MrChips

    Moderator

    Oct 2, 2009
    12,452
    3,371
    Serial communications on any microcontroller is a basic function.
    You can write your own drivers in ASM or C with about ten lines of code.
     
  4. aditya369007

    Thread Starter New Member

    Jul 24, 2014
    15
    0
    can we use a software called Hyperterminal to display the values incoming via USB onto the computer? We can configure the Atmega8 via V-USB firmware and make it a USB device
     
  5. MrChips

    Moderator

    Oct 2, 2009
    12,452
    3,371
    Yes, you can use Hyperterminal to show serial data coming from an Atmel ATmega8.

    Write software to send plain text to the serial port. Then use a SiLabs CP2102 serial to USB bridge to connect to Hyperterminal. The CP2102 will appear as a COM port on your PC.
     
  6. sirch2

    Well-Known Member

    Jan 21, 2013
    1,008
    351
    Termite and RealTerm are applications that you may want to consider as alternatives to Hyperterminal especially as Microsoft no long supply Hyperterminal from Win 7 onwards.
     
  7. Shagas

    Active Member

    May 13, 2013
    802
    74
    One of these guys
    + Hyperterminal(the easiest to use) and you are good to go. You just have to install the drivers for the cp2102 and you can communicate with it
    from the avr through UART.
    Go to youtube and type in ' Patric hood daniel avr UART' and you will find a few detailed tutorials which will help you understand things more.
     
  8. aditya369007

    Thread Starter New Member

    Jul 24, 2014
    15
    0
    If I use V-USB firmware on my atmega8, can i still use hyperterminal to get my values?
     
  9. Shagas

    Active Member

    May 13, 2013
    802
    74
Loading...