EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
You are here: Home / Topics / PROBLEM IN RECEIVING DATA FROM AVR IN LAPTOP

PROBLEM IN RECEIVING DATA FROM AVR IN LAPTOP

|

Microcontroller › AVR › PROBLEM IN RECEIVING DATA FROM AVR IN LAPTOP

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 3 months ago by AJISH ALFRED.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 5, 2013 at 6:39 pm #2373
    arash
    Participant

    Hi anybody

     

    I have problem in receving data from Atmega16 to my laptop. I just receive 0. I am useing FT232rl for communication between MCU and USB port. I am naive and i need to do it as soon as possible due to doing my M.S.c project.

     

    PLEASE HELP ME

    May 6, 2013 at 5:32 am #9640
    AJISH ALFRED
    Participant

    Hi Arash,

    Please post your code, may be we can find some bug in it.

    May 6, 2013 at 7:21 am #9641
    arash
    Participant

    Thanks Alfred for your attention. 

     

    I have used AVRCodevision for preparation of my code. I choose 16MHz for CPU clock, a range between 600 to 57600 for baudrate, and official datasheet of my MCU (atmega16A) for transmit data code  printF(x) in various source codes. I could see the output of TXD port on oscilloscope but nothing have been transmitting to computer. I have used Matlab, Simulink , and realterm for data capturing in laptop.

    May 6, 2013 at 12:46 pm #9644
    AJISH ALFRED
    Participant

    Hi Arash,

    Reduce the baud rate to 9600 and try again. Make sure that you are keeping the baud rate, no. start bits, no. stop bits, no. data bits etc same on both the sides. Better you first try with the hyperterminal first then go for matlab and all those.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Washing Machine motor August 14, 2022
  • arduino help needed August 14, 2022
  • Looking for amplifier ic August 14, 2022
  • Light Automation via mqtt August 14, 2022
  • Right channel distortion on vintage fisher rs-2010 August 14, 2022

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools