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
  • Advertise
You are here: Home / Topics / RECEIVE ARRAY OF DATA THROUGH UART

RECEIVE ARRAY OF DATA THROUGH UART

|

Microcontroller › AVR › RECEIVE ARRAY OF DATA THROUGH UART

  • This topic has 2 replies, 3 voices, and was last updated 11 years, 3 months ago by Ashutosh Bhatt.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 20, 2014 at 4:46 am #3358
    Y VENKATESWAR RAO
    Participant

    Hi, Friends!

     

    Actually I am doing one Project Based on Fingerprint Module. For this, I am facing problem on receiving the data in packet format from module.

     

    The array of data from the module is unable to store in an array register. Only the first value is storing.

     

    If any one have the Embedded C coding for receiving the array of data through UART, Kindly inform me or else guide me.

     

    Have a Good Day!

     

    Regards

    Y Venkateswar Rao

    Email: [email protected]

    December 20, 2014 at 6:26 am #12434
    AJISH ALFRED
    Participant

    Hi,

    One important thing that you need to take care when you try to store the data coming from uart to an array is that, the time taken to read a byte and store in in the array location should be less than the time period with which the uart send consecutive bytes.

    Remove all unnecessary delays and it will work fine. Suggest you to post the code snippest here for better help.

    December 21, 2014 at 6:13 pm #12439
    Ashutosh Bhatt
    Participant

    try to receive characters from UART in interrupt mode. 

    whenever data arives- interrupt generated- and in ISR you store data in next array position

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

RSS Recent Posts

  • ANOTHER OLD PROJECT REDO April 16, 2026
  • EasyEda program has a major bug April 16, 2026
  • How to set the OSCAL in a PIC 12F675 April 16, 2026
  • issues with level shifter driving a CGHV1A250F April 15, 2026
  • Drawing software April 15, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 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
  • Advertise