Quantcast
Channel: Question and Answer » uart
Browsing all 57 articles
Browse latest View live

BeagleBone Serial Communication

I have a problem seeing characters written in /dev/ttyS8 on my PC terminal with this C code: void main (void) { int file, i; unsigned char receive[100]; // declare a buffer for receiving data char...

View Article


Is UART necessary to send AT-commands to Bluetooth module?

I’m looking to alert a connected device over Bluetooth when an accelerometer detects motion. I’m thinking of using the HM-10 Bluetooth module and an ATtiny for controlling the accelerometer. The doc...

View Article


Input and UART error in PIC32

I have a PIC32 starter kit and I am making a program such that when I apply input 1, MCU will send this data to my PC using UART and INPUT 1 ON will be displayed on terminal, same goes for input 2...

View Article

Make Arduino and 89C52 talk to each other

I am trying to create a project in which I am required to make Arduino and Atmel 89C52 talk to each other. I know this can be achieved via UART but the problem is my Arduino is already using its TX/RX...

View Article

USART RX interrupt racing condition

I am designing an RS-485 interface with STM32F0xx series MCU. The scheme uses USART RX interrupt. I am wondering, if I set up the baud rate as certain value(for example, 9600), is there possibility...

View Article


Need a robust way to change uart lines

I’m working on a project where I am sending data from an msp430 to an atmega328 through regular tx/rx lines. My board will also need the capability to perform software changes on the atmega through...

View Article

RS422 to uart interfacing

I am trying to interface an RS422 to the UART on my MCU. Now, RS422 is differential. So, I understand that I need to have a differential to single ended converter IC. This is followed by a voltage...

View Article

UART DTE with multiple stop bits

I have a system (call it a DTE system). It sends me data (UART) which I receive at a DCE(LPC4337). Now, DTE transmits with 2 stop bits where-as it receives with just 1 stop bit. How is that possible....

View Article


Image may be NSFW.
Clik here to view.

Xbee UART small signal drop

I have designed a circuit for wireless communication using an Xbee 900HP and a PIC16F1847 using UART. The circuit works and successfully sends data over UART, however when I scope the UART RX and TX...

View Article


Image may be NSFW.
Clik here to view.

FIFO-related data transmission problems between microcontroller and PC

I have a situation in which a microcontroller is to perform a large number of ADC conversions and format the results into commands (or data packages) and send these to a PC using the UART. In order to...

View Article

How to make UART-UART cable

I am software developer and I need to make cable to connect this http://lib.chipdip.ru/036/DOC001036112.pdf usb adapter (which I connect to USB port of my PC) to UART port of my A13 Olinuxino. As I...

View Article

How to calculate the TH1 TL1 value for baud rate 38400 at 11.059mhz?

Hc-05 is needed to be access in AT command mode using Microcontroller .as per datasheet default baudrate is 38400.so TH1 TL1 TMOD AND SCON value is need to access it.

View Article

Intel 8051 UART mode 0 doesn't work in Proteus (clock impulses on TXD occur...

I think that I’ve read everything about 8051′s UART but I can’t understand what goes wrong even in this simpliest example. According to literature in mode 0 MCU transmits byte only when we write it...

View Article


Not able to perform operations based on the data received to MCU through UART?

I have been trying to do a simple operation based on the data byte received by the MCU(pic18F) from the PC terminal through UART. The operation is turning ON an LED depending on the content of the...

View Article

Image may be NSFW.
Clik here to view.

Getting [VTERM] Parity Error when simulating USART connection in proteus

I’m trying to simulate USART connection between atmega32 and a virtual terminal. But when I push the button to start the transmission, I always get [VTERM] Parity Error I’ve set even parity from the...

View Article


AVR Atmega164P UART / ISP programmer problem

I am having a problem with the USART on an Atmega164P. When the ISP programmer is connected everything works fine. If I disconnect the programmer then all I get is garbled serial and the chip won’t...

View Article

Image may be NSFW.
Clik here to view.

STM32 UART reliability with high baud rate

I am using STM32F4 (bare metal with HAL library) as an HTTP Server. I don’t implement TCP layer, because that is done for me by the WiFi232 D2 module – all I receive in the uC through UART is a string...

View Article


Transmitting PWM binary at 400kbps (or 800kbps)

I need to send a string of bits to a chained set of RGB LEDs, each of which have their own controller IC. The datasheet for that IC, the WS2811, is here. The protocol is quite simple: each bit, both 1...

View Article

Can i directly connect a gsm shield to a computer without using arduino?

Ok, i’ve bought a gsm900 in alexan, and what i bought was a gsm shield thinking that it is really just the same only that shield can be placed directly in an arduino. The problem is that, im trying to...

View Article

Serial Communication Rx ISR logic design

If im not wrong, an ISR is supposed to do minimal processing when it receives a data serially(via UART). Im planning on implementing such a protocol for communication between 2 systems via uart. This...

View Article
Browsing all 57 articles
Browse latest View live