In serial communication data is transmitted as a sequence in time. Main advantage: much less wires needed. Main disadvantage: Higher bandwidth for the same throughput.

learn more… | top users | synonyms

0
votes
1answer
16 views

Xbee serial communication

I'm building a mesh network with xbees, arduinos and sensors. Right now I have 2 Xbee routers and 1 coordinator. Each xbee module has an arduino attached. To communicate from the router to the ...
2
votes
3answers
107 views

SPI interfaces on microcontrollers

My question is for microcontrollers in general. Can SPI be implemented with any 3 different I/O pins granted one is a clock signal? Is there anything special with certain pins that a datasheet ...
0
votes
2answers
67 views

Out-of-band communication between two PCs

I'm working on a little project. In the project, data must be sent from a PC to another device. Initially, I used a Raspberry Pi and life was good. I could communicate Python between the RPi and the ...
6
votes
5answers
904 views

Max Serial Cable Length?

What is the maximum length of serial cable I can use, to connection work properly? Is length of serial cable in connection with baud rate? I am using about 5 meter cable at speed 38400 bauds and RS232 ...
1
vote
1answer
39 views

J-link CDC serial port driver problem

I have an on board J-link debugger on my Infineon Relax kit. I'm trying to use my J-link as a serial interface to my PC. It requires CDC serial port driver and I have installed it. Problem is that, ...
6
votes
6answers
401 views

Serial protocol delimiting/synchronization techniques

As asynchronous serial communication is widely spread among electronic devices even nowadays, I believe many of us have encountered such a question from time to time. Consider an electronic device ...
0
votes
1answer
93 views

Has anyone built an rs232 to usb converter?

I want to implement serial communication into one of my projects, but I'm hesitant to use a serial cable due them them being exceedingly hard to find nowadays. I found an old converter and took it ...
0
votes
1answer
53 views

STM32 RS485 connection

I want to interface stm32f0 with rs422 (half duplex and full duplex). What I'm not getting how to connect RE and DE signals to rs 232. From UART I'll be having RX, TX, VCC and GND pins which i need to ...
0
votes
2answers
46 views

Serial, RS232, Modbus, UART and TCP

I want clearly know this, Serial is protocol right? Then what is the Modbus? Is it under serial. And what are RS232 and RS485? What is UART and serial and UART same? What about TCP? TCP and serial ...
0
votes
0answers
50 views

Is parity check hardware only or can I read it? ( Arduino Mega ) [migrated]

Maybe a simple question, but I can't seem to find it. Parity check is simple error detection. But is in done in hardware on the arduino and is the data discarded before i can read it from my ...
0
votes
2answers
69 views

Single wire two-way serial communication - hardware configuration

I have several servos that can give feedback data that I want to read. The servos use special protocol so I need to use Rx/Tx pin on my Arduino Mega to communicate with them. The problem is that a ...
2
votes
1answer
58 views

TM4C123 UART is always in busy state

I am trying to configure UART0 on TM4C123G launchpad. All of my configuration registers are perfect. They've been written with desired values. But somehow, my busy flag is always 1 after first write ...
0
votes
1answer
17 views

Can FTDI Basic Breakout and FTDI XBee Explorer USB be used alternatively?

I wonder if these two boards from sparkfun can be used alternatively for USB to Serial communication? The first: (FTDI Basic Breakout) https://www.sparkfun.com/products/9716 The second: (FTDI XBee ...
0
votes
1answer
69 views

How to transmit data from an analog multiplexer to an RS232 COM port on a PC

I am having trouble understanding how to design a circuit that will transmit multiple analog data signals to a computer through one RS232 COM port. The analog data is a simple voltage reading from ...
1
vote
0answers
73 views

How to troubleshoot serial communication?

I connected my computer to a RM-BR300 controller to read its data, to try and mimic its functionality in the future. I'm using RealTerm and a USB to RS422 converter for the job - here's the result: ...
0
votes
3answers
89 views

What is the maximum number of bytes that can be sent through USB-to-serial COM port at one go?

Suppose someone uses hyper-terminal to send a very long ASCII string at a COM port. This COM port is created by FTDI USB-to-serial port cable. The cable used is ...
0
votes
1answer
55 views

6Mbaud UART with Bus Pirate V4

I would like to sniff data on an SPI bus running at a clock rate of 6 MHz. I would like to use the Bus Pirate V4 for this task. The sniffing itself is supported up to 10 MHz, the problem is getting ...
0
votes
2answers
76 views

How do I tell a serial port settings, when the hardware documentation doesn't have any info about it?

Trying to get a program to work with a serial port, but there is no serial port configuration settings given. I have an old hardware board (a Stanley MC521 Controller) from late 1990s I guess. It ...
1
vote
2answers
65 views

AtTiny84 with USB

I am having some problems with the ATTiny84 and USB. I am creating an "arduino clone" but I want a simple (and especially compact on the board) way to implement a USB serial interface. This will only ...
0
votes
1answer
46 views

FT232RL TX/RX Direction

I want to basically embed an FTDI cable in my board to avoid confusion with the RX/TX pins, wrong cable, etc. I really want to make sure I choose the direction correctly though. I have ...
0
votes
0answers
37 views

Bluetooth serial to bluetooth audio module

I was looking to work with a bluetooth audio module but many of the available options are either very costly, unavailable in my region(India) or generally lack some features. What is commonly and ...
1
vote
1answer
47 views

Stm32f429 usb cdc to pc

I want to put together a simple library to communicate between stm32f429 and pc via usb cdc vcp. I noticed many examples from stm create a usb uart bridge on the mcu. I am trying to understand the ...
1
vote
1answer
78 views

Send alert tone to pc from microcontroller via serial communication

I am learning microcontroller for couple of weeks. Yesterday, I have learned how to establish serial communication between PC and microcontroller. I can send texts to pc's hyperterminal from mcu and ...
1
vote
1answer
47 views

How do i turn multiple usb ports off based on multiple sensors

I'm looking for a way to turn a usb port on an off from an Arduino, I'm looking at purchasing something like this and somehow using a pressure or light sensor to turn the usb port on and off. I was ...
0
votes
2answers
79 views

How do I wire a 9 pin serial connector into a RJ11 4pin connector?

I am working on a project, the door control system I am using is a bit old, and it works through a serial connector on a 4 pin RJ11 line. I am currently trying to wire an old serial wire into its RJ11 ...
0
votes
1answer
32 views

8-bit Serial I/O Parallel I/O Bi-Directional Shift Register [closed]

I am looking for a register that has as stated Serial In Parallel Out and Parallel In Serial Out modes and bi-directional shift functionality all in one IC. I want to use it with Arduino. Does ...
0
votes
0answers
49 views

How to wire this pn532 board to usb to serial converter?

I want to connect this board: To this Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter Which syslog says is ch341-uart converter (with a DB9 connector). On db9 ...
0
votes
3answers
98 views

What is a 3 wire type cross linked serial cable?

I'm trying to use a controller which uses Serial communication with the PC. The documentation says I need to get a 3 wire type cross link serial cable. Is this a null modem cable? The following ...
2
votes
2answers
61 views

Serial XOnXOff handshaking

I have the following code running on an atmega328 (ArduinoUno). ...
15
votes
7answers
2k views

Why is serial EEPROM preferred over parallel EEPROM?

In the wikipedia page for EEPROM: http://en.wikipedia.org/wiki/EEPROM it is given that "Parallel EEPROM devices typically have an 8-bit data bus and an address bus wide enough to cover the complete ...
0
votes
0answers
46 views

Help Designing Microcontroller 2xRj45 (RS232) + 1USB-Serial

I am trying to design a microcontroller that will have 2xRS-232 RJ45 ports (not PoE, just serial communication) and a 1xUSB Type B female (for 5V power and programming). I am not exactly sure, but ...
0
votes
1answer
39 views

How to transfer data between RS-422 and RS-485 ports? [closed]

I'm relatively new to behaviors of serial ports such as RS-232, RS-422, and RS-485. I'm wondering how do you initiate data transmission between a system and a device connected to each other thru one ...
2
votes
2answers
221 views

AC-coupling capacitors for high-speed differential interfaces

Can you explain me why and where I should put AC-coupling capacitors (usually around 0.1uF) on high-speed (1...5 GHz) differential serial interfaces (like SerDes for Gigabit Ethernet SFP modules)? ...
0
votes
0answers
50 views

Why is flow control adding bytes to my data stream?

I'm working with an mbed LPC1768 microcontroller and a BLE112 Bluetooth LE Module. I wasn't able to get the two to communicate, and I had a hard time figuring out why. However, when I hooked it up to ...
1
vote
2answers
149 views

I2C Module Not Responding

I am writing a basic I2C slave as part of my code on a 20-pin 8-bit PIC16f MCU. As best as I can tell, this microcontroller has a module that watches the I2C bus and only updates my registers if there ...
1
vote
1answer
75 views

Advantages of parallel over serial connections

As far as my understanding goes, parallel data connections are faster than serial at the same frequency. However, when you increase the frequency in parallel you start getting bits 'cross-talking' and ...
0
votes
0answers
19 views

What IRQ to use for USART transmission handling under SAM3x8e?

I've made the USART support for SAM3x8e arduino based board. The MCU has TXRDY, ENDTX, TXEMPTY, TXBUFE interrupts. What would be the best choice to be used in IRQ driven transmission handling? Now I ...
0
votes
0answers
41 views

SCL pin of MPU9150 not generating clock

Platform is Arduino Uno.I have worked for the whole day long and still could not access anything from MPU. I tried for the Arduino playground code as well as github code. Arduino playground code gives ...
0
votes
1answer
72 views

How to setup SAM3x8e IRQ handler for USART?

I'm making UART support for SAM3x8e based Arduino Due board. I would like to clarify questions I can't resolve by searching the web. Is it only one IRQ handler per MCU component like USART? This ...
0
votes
0answers
39 views

XBee Packet Buffer

I have an Xbee Pro Series 2. One is set as the coordinator and one as an end device. If I manually send a packet containing a one byte payload from the coordinator to the end device, I get an ...
1
vote
0answers
246 views

Serial AT commands with Bluetooth CSR8645 module

I bought a Csr8645 (bleutooth audio module). The module connect to my phone out of the box... It should support some AT commands. So I have tried some but I don't get anything in response. The only I ...
0
votes
0answers
25 views

XBee Pro 900 RPSMA not detecting

I bought 2 XBee Pro 900 RPSMA from Sparkfun.One of them is detected by XCTU but same other one is not detected by XCTU. so I tried recover faultly one by seeing this video ...
0
votes
0answers
31 views

Why are RI and DSR signal combined in TIA-561 (RS-232 over RJ-45)?

EIA/TIA-561 is the standard for transmitting RS-232 signals over an RJ-45 modular jack instead of the more familiar DB9 connector. I'm getting most of my information from here: Zytrax They have this ...
0
votes
2answers
191 views

Is it possible to send AT commands through TCP?

I have a SIM900 GSM/GPRS device, I can send AT commands through HyperTerminal and everything is fine. I can configure GPRS connection through AT commands: ...
8
votes
1answer
189 views

How serial resistors actually reduce EMI?

I am recently working with a GSM based system, and there was this advice in the datasheet of the GSM module: 22Ω resistors should be connected in series between the module and the SIM card so as ...
1
vote
1answer
65 views

Connect kindle 3 serial port to epson printer's 8 pin mini-din serial port?

I have a kindle 3 with a broken screen and an old EPSON stylus 1520. The kindle has a serial port with TX, RX, GND and 1.8v VCC (source). The printer has a mac compatible 8 pin Mini-DIN port. Would ...
0
votes
0answers
76 views

Programming FT232RL with ft_prog

I recently bought an FT232RL module and am trying to use it in one of my projects. I want to change the USB descriptors to be my company and description, but FT_prog is not working. It discovers the ...
1
vote
5answers
405 views

Low cost simple communication between two microcontrollers

What tradeoffs and connection options are there in low cost bidirectional communication between just two microcontrollers? In this case: Master/Slave relationship, bidirectional data flow Distance ...
0
votes
1answer
84 views

Can I use serial communication for audio amplifier remote turn on?

I have a cheap Chinese tablet/GPS/dash-cam in my car. The problem is that I can't hear driving instructions on GPS as the volume is too low. I don't want any external wires for additional speakers and ...
0
votes
1answer
73 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 ...