Maker Pro
Maker Pro

Serial data decoder using Arduino Uno

Rabiya

Feb 20, 2017
2
Joined
Feb 20, 2017
Messages
2
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:

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
Which serial data format do you use? UART, SPI, I²C, ...?
 
Top