Connect with us

Serial data decoder using Arduino Uno

Discussion in 'Microcontrollers, Programming and IoT' started by Rabiya, Feb 20, 2017.

Scroll to continue with content
  1. Rabiya

    Rabiya

    2
    0
    Feb 20, 2017
    I've been using ATmega328. I need to serially recieve data of upto 16 bits (along with latch pulse and clock pulse) and based on this data, the microcontroller needs to give a specific output. For example, if the input serial data is 0001, the microcontroller should interpret it and generate a 5V pulse of certain length as an output. There are several modes which need to be selected based on the serial data. How do I program an Arduino to do this?
    (Particularly how do I use the USART to do this?)
     
    Last edited: Feb 20, 2017
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    9,883
    2,096
    Nov 17, 2011
    Which serial data format do you use? UART, SPI, I²C, ...?
     
  3. Rabiya

    Rabiya

    2
    0
    Feb 20, 2017
    USART
     
  4. Harald Kapp

    Harald Kapp Moderator Moderator

    9,883
    2,096
    Nov 17, 2011
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-