A UART (Universal Asynchronous Receiver Transmitter) is a piece of logic that sends and receives data on a serial port.

learn more… | top users | synonyms (1)

0
votes
1answer
52 views

Will the PIC18F14K50 perform well as a CNC machine micro-processor?

The data sheet can be found here. I'm trying to select a micro-controller which will eventually run a Wireless 2D Laser Engraver/3D Printer/CNC Machine. I have very little experience in selecting ...
0
votes
2answers
30 views

74HCT244 UART level translator, how would the circuit look?

I am building a UART 3.3V to 5V Level translator between a Raspberry Pi and a ATMega328. The 74HCT244 is my choice of translator but I can't find a good example of of hooking it up. Am I right that ...
1
vote
1answer
38 views

SLEEP_MODE_ADC interfering with USART (and beep)

On an AVR ATmega328P, once per second I am doing 3 AD conversions immediately following each other with 16x oversampling using SLEEP_MODE_ADC like this: ...
0
votes
1answer
45 views

Alternative to AM and FM transmitting for data transmission?

So, I need to communicate wirelessly between a micro-controller and my computer. I'm building a radio receiver circuit, and a radio transmitter circuit that works on FM transmission. However, I had an ...
0
votes
3answers
45 views

How to send string in serial communication in AVR-C

So as the title states, instead of sending a byte of information at a time, I would like to be able to send a whole string. What I tried to do was that I tried to put the user input in an array and ...
0
votes
1answer
59 views

How to debug UART?

The firmware of my module supports UART printf() which I think could be good for debugging, but how could the messages be read? I'm currently using just a USB-to-Serial cable. I've tried using PuTTy, ...
0
votes
1answer
27 views

DMA on Cortex M4 for continuous UART transfer

I've never used a DMA before and I'm reading the datasheet for the Atmel SAM 4E This question does not necessarily have to pertain to this device, it can apply to any device that supports DMA if they ...
1
vote
1answer
18 views

How to reset MCP2200 to default settings?

I designed a simple USB to UART coverter using Microchip's MCP2200 microcontroller. worked nicely for a while, but while i was trying to Update configuration using supplied config utility... the ...
0
votes
0answers
22 views

USB->UART cp2102 module tx lines keeps dying

I had two usb->uart modules with cp2102 IC on them bought on ebay. I used those modules with some custom board to communicate with MCU. Everything was fine, but suddenly I noticed that one of them no ...
-5
votes
0answers
52 views

what application uses UART the most? and can you please explain how that application works with the UART [closed]

for example an LCD is most commonly used in computer monitors. computer monitors are the applications that use LCD's the most, this is my opinion. then LCD most used are for tvs. 1.so can you tell me ...
1
vote
1answer
45 views

UART: two transmitters, single slave

simulate this circuit – Schematic created using CircuitLab My circuit is shown above - where I have the TXD pin of an ATMEGA connected to the RXD pin of a BT slave. Both devices operate ...
1
vote
1answer
44 views

Store consecutive UART inputs to register

I have implemented a UART receiver/transmitter (8-bits) in VHDL for use on a Digilent Nexys 3 FPGA. So far I have managed to read inputs in a FIFO, process each byte individually and write the output ...
0
votes
2answers
54 views

UART interrupt problem on LPC1788

I wrote a code ...
0
votes
0answers
15 views

communication between ATmega88 and LPC2138

I am trying to communicate between ATmega88 controller and LPC2138 by sending some text on UART lines from ATmega to LPC. UART lines are connected through 100 ohm resistor on hardware.  Currently I ...
0
votes
1answer
66 views

UART Interrupt won't work

I have a problem when trying to test send and receive lines on RS485 communication, anyone know what may cause a problem here? It works without interrupt but with interrupt won't work. I am working on ...
3
votes
1answer
74 views

MIDI IN : many circuits

I'm building a MIDI IN to serial port RX cicruit (for Raspberry Pi, or Arduino, or anything else...) using a 6N138 optoisolator. But I find many different circuits, I don't know why there are so ...
1
vote
1answer
154 views

Gibberish output from an ESP8622 WiFi module

Recently I've got myself a couple of ESP8266 modules. I flashed the latest NodeMCU firmware, and tried to communicate with a PC using UART. Here's how I wired my circuit: Using a simple USB to ...
-2
votes
2answers
77 views

UART voltage on RX pin?

I bought an uart ttl to usb 2.0 adapter on ebay which I tried out yesterday with no luck. I measured all the pins and found to my surprise that the RX pin actually carries 3.3V. This can't be right as ...
0
votes
0answers
18 views

Pc to stm32 mcu usart port

I have an adafruit ttl cable to communicate between an mcu uart port and pc. Can ths same cable communicate between an mcu uSart port and pc? I have read some dicumentation that indicates their is an ...
0
votes
0answers
37 views

Problem to do programming for “TI-CC2538” using UART

I can not do programming for TI-CC2538(Texas Instrument controller) using UART, even they have mentioned in his datasheet, UART0 can be use for programming but they haven't given boot or ISP pin. Give ...
0
votes
1answer
40 views

can't get PORTB value in pic18f2550

I'm trying to send The PORTB to the serial port and receiving the data on pickit2 UART mode.. ...
1
vote
0answers
57 views

Can't run 460800 baude rate on Nexys2

I have Nexys2 Spartan 3E board and I am running Ken Chapman's UART IP core, I need to transmit data to another device at a baude rate of 460800. I was successful in sending data at 115200 and 9600 ...
0
votes
0answers
31 views

Measuring if a transistor can work for SPI/UART when doing logic level conversion

I need to convert 3v3 to 5V and 5V to 3v3 for SPI/UART. I found many options. But I'm still confuse whats good for me. Because Transistors and few other components has rise and fall time. I want to ...
0
votes
2answers
50 views

Convert ASCII represented HEX into HEX

I have a question which I was unable to solve but it seemed trivial. I am getting a stream of characters from a processor over UART and this stream represents a JPEG file. I captured this stream, as ...
2
votes
1answer
323 views

UART as logic analyzer?

I'd like to reverse-engineer a certain 2-wire digital circuit. I'm looking for the cheapest possible logic analyzer. I don't know the exact frequency of the circuit, but it's sub-1MHz. (Likely in the ...
1
vote
0answers
38 views

FTDI2232d + TM4C1294 configurations

I posted this question before, but I am still struggling with this. I captured a schematic and others in this time so it should be more clear to see what's going on. I was given a custom board ...
0
votes
1answer
77 views

Receiving a whole string from USART on ATMEGA16?

I am trying to receive a string from USART but failed , i want to receive char by char and store them in an array until the user enter '\n' and finally display the string to LCD , here is my code: ...
1
vote
1answer
205 views

STM32F205VC: USART framing error?

I'm trying to use USART in my program on STM32F205VC, but instead of sending my data I get some weird chars in PuTTY. I've used a Saleae Logical Analyzer and the result looks like this: This is my ...
2
votes
1answer
110 views

STM32F3 Discovery reading values from sensor using I2C

I need to read values from on-board LSM303DLHC (connected via I2C) sensor and send them through UART. UART part is working but PuTTy shows: "S▒▒" every restart... Can anyone tell me what's wrong? I ...
1
vote
0answers
183 views

STM32 with FreeRTOS: using RS485 on USART with interrputs

I've got simple task in my project using usart and interrupts. It's works by receiving anything, and sending back "12345" string (I'm preparing project for something more complex). In task I have ...
0
votes
1answer
83 views

problem of transmitting data from serial device to bluetooth on Arduino

I am using an accelerometer which uses serial communication on Arduino (UART), I wish to transmit the data to a bluetooth module (blusmirf gold) using I2C and finally read it from my android ...
0
votes
0answers
38 views

Communication between two Beaglebones together using UART, RS232 Microserial capes

I am having trouble getting my two Beaglebone Blacks to communicate over UART0. The gist of the program is I am running a node server so that users can connect to a webpage and send commands to one of ...
1
vote
1answer
52 views

Having trouble synchronizing serial data from FPGA to python script

I have a Spartan 6 that's collecting some data I need to send over serial to a python script where it can be displayed on my PC. This is actually the first time I've ever dug into serial ...
2
votes
1answer
52 views

scoping a UART interface

I'm using a known good FTDI USB -> UART bridge to talk to a 3rd part module on my board. I've just assembled the board, and it's not impossible that I fried a component in the process (it's what I'm ...
0
votes
0answers
21 views

Connect/Pair two BCD210 Bluetooth modules

I'm trying to connect my two Parani-BCD210 bluetooth devices. I'm using them through a UART connection from a micro-controller(ATMEL AT89C5131 ). The problem is, I can connect my devices with my ...
-1
votes
2answers
54 views

PIC18f45J50 2nd Serial port?

I am working on a GPS tracker Project where i need to interface with a GPS module and a UMTS module for 3g connectivity. with this i need 2 serial ports on a single microcontroller. For this ...
5
votes
3answers
588 views

How to read whole data sent to USART with interrupt?

I am currently able to read byte by byte from USART with this code ...
-3
votes
1answer
47 views

Unable to connect UART/USART2 in STM32F407ZG

When I try to connect to PC using UART/USART2 on platform STM32F407ZG is not working, Here is the following code which I used, ...
2
votes
1answer
200 views

What is a UART?

I'm taking an EdX class in embedded systems and I'm having a little trouble fully grasping what a UART is. The UART has been used as a means to an end, so it hasn't been described well yet. A UART ...
1
vote
1answer
65 views

Duplicate RX in uart (two devices listening one of which is data-logging)

I am not too familial with UART yet, and was wondering if I could some how duplicate the stream of information going to a microcontroller from a GPS. My application will be using a msp430g2553 ...
0
votes
0answers
58 views

USB to RS485 converter: Auto enable control

I have been trying to program infineon mcu via usb to rs485 converter. Procedure to check mcu is working fine: Query command sent using hercules : 0x80 Response sent by mcu : 0x55 (correct response) ...
0
votes
2answers
92 views

Is it possible to convert SPI to UART without a microcontroller?

I was wondering about converting SPI to UART only in that direction, not the other way around, without using any microcontroller or bridge. If synchronous can be seen as a particular case of ...
0
votes
2answers
43 views

How to deal with start sequence in payload of communication packet?

Basic serial messages are being transferred between an embedded device and a PC app. MCU UART Peripheral -> FTDI cable -> PC USB Serial Library The ...
0
votes
0answers
117 views

ATmega328p hc-06 writing correctly but reading gibrish

Last week i have been strugling with getting the hc-06 bluetooth module working on my ATmega328p. Whatever the ATmega sends to the bluetooth module comes correctly on my phone. But everything i write ...
1
vote
0answers
44 views

Is there a way to disable an UART terminal? [closed]

I have an embedded PC running Linux (master) and communicating with an external board (slave) through an UART terminal. Only 3-wires are used: RX, TX and ground. The power of the slave board is also ...
0
votes
1answer
51 views

Reception of data using pic12f1822 UART

This is the code ...
0
votes
1answer
74 views

Switchable serial bridge (Bluetooth or USB -> Telemetry)

So I've got a simple serial bridge (wireless telemetry -> bluetooth). Now what I would like to do is to be able to use either USB or bluetooth to access the telemetry module (Not at the same time). ...
0
votes
1answer
91 views

PIC 16F877A interrupt handling [closed]

I am trying to write a simple code to receive and resend data using USART but the code is not working. Could someone give suggestions on possible flaws in the code? I am using USART at baud rate ...
1
vote
2answers
176 views

PIC24F UART Rx Interrupt not firing

I am currently trying to write code for a 48 channel DMX controlled dimmer using a PIC24FJ32GA002. Using a scope I have confirmed that there is a DMX signal reaching the Rx pin of the UART which has ...
2
votes
4answers
110 views

Why there are data bit lower than 8 data bit of uart

Our group are creating a UART IP Soft Core with Wishbone Wrapper and we are using 5,6,7 and 8 data bit. I just want to know what are the use of the 5, 6 and 7 data bit? In addition to my question ...