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
0answers
4 views

Serial communication between pc and arduino via RS232 using c++ [migrated]

I am trying to communicate with my arduino duemilanove via an RS232 cord. I simply want to be able to send a byte (or char) to my arduino from a desktop application. The Arduino is plugging into USB ...
1
vote
1answer
85 views

Why usb to serial port converter can’t program avr microcontroller?

With a serial port or parallel port in pc programming avr microcontroller is very easy and cheap. Problem is, no modern computer come with serial or parallel port. So, usb to serial converter should ...
0
votes
1answer
49 views

Is an USB-to-UART converter different from an USB-to-RS232 converter? [duplicate]

I have a USB-to-RS232 converter. The GND, TX and Rx pins of the RS232 I connect to GND, Rx and Tx on a development board I have. I've set the right baud rate, flow control and other settings in my ...
0
votes
1answer
55 views

How to ensure serial transmission and reception of required data without any garbage values in the 8051?

I'm trying to continuously transmit the character 'L' from the microcontroller 8051 to the PC at a baud rate of 9600. The frequency of the 8051 is 16 MHz, and I accordingly loaded the BRL register ...
1
vote
1answer
65 views

C# & CCS File Transfer

I need to send/receive files from/to SerialPort and MSP430F5438A, by clicking a browse button in C# interface, selecting a file (like text, notepad, etc.), and in receive case, to save the file which ...
0
votes
2answers
78 views

I want to send data to seven segment display without micro-controller

I'm new to embedded systems I want to send data to seven segment display from my pc could i connect the seven segment display to my pc via serial or usb port or i have to use a micro-controller ...
0
votes
0answers
25 views

BT to CDC serial over USB [closed]

There are plenty of BT to serial (DB9) products. Plenty of USB to CDC serial products. But does anyone know of a module that can interface between BTLE, and CDC serial over USB? Yes, it means it's ...
3
votes
1answer
50 views

PIC datasheet is unclear on clearing framing error

On the PIC16F1829, FERR reflect the framing error status of the top byte in the two byte serial receive FIFO. Thus, assuming no new bytes arriving with framing ...
4
votes
2answers
200 views

Cascading several SPI devices

Is it possible to cascade several different ICs on the same data line, in order to use less CS pins, by tying the digital output of each to the digital input of the next? I am familiar with this ...
0
votes
1answer
40 views

L2 Bridge over Asynchronous Serial line [closed]

I am using pppd (in linux) to send ethernet data over a serial line to another computer. How can I preserve L2 headers while sending Ethernet frames over serial line? It seems the ppp protocol sends ...
0
votes
0answers
40 views

GPS Not Working

I'm working with Venus 638 GPS and trying to get my current location. All the documents of it (datasheet, scheme, etc) can be obtained here. To deal with it, I'm using codevision avr and monitoring ...
1
vote
3answers
62 views

How to call void function in response to receiving serial data (Arduino)

I'm new to Arduino, and I'm trying to decipher this code. There are various void functions that I am trying to call in response to receiving serial data (the Monitor outputs "Please enter valid ...
-2
votes
4answers
90 views

Baud rate calculation

I have an exam tomorrow and I'm confused on the following question, that may be asked in the exam: One byte data with parity bit by using asynchronous serial transmission with two stop bits. For ...
3
votes
0answers
63 views

For which type of serial communication is Arduino Severino designed? [migrated]

Arduino has become quite costly where I come from (2/3 of the price of Raspberry PI) so I have created an Arduino Severino clone. I had used the device with the RS-232 Usb-Serial converter. But after ...
-1
votes
2answers
63 views

serial to parallel lcd converter

Im looking for some information on a serial to parallel lcd converter. Im trying to retro fit a 240x64 led lcd with a 8 bit paralell in a machine with serial pixilated data. I have been searching ...
0
votes
3answers
64 views

Olimex/ATMega328 Reading from UART and sending to USB

I'm getting frustrated with my electronic knowledge, because I want to do this simple thing: Olimex 328/ATMega328 reads data from UART (Olimex MOD-PULSE or whatever) and forwards it to the USB Port ...
3
votes
2answers
350 views

Can I split one RS232 output signal into two signals? [duplicate]

I have one controller which processes data from a weigh scale. With it I can capture data using hyper terminal on a PC (RS232 communication - standard DB9 connector). Now I want to analyze it on ...
0
votes
1answer
116 views

Why signal deteriorate in half-duplex UART communication in long wire (6 meter)?

I am doing project on half-duplex UART communication between two AVR microcontrollers. I am using n-mosfet based push pull circuit in both transmitter and receiver side. 3.3 V signals transmission is ...
0
votes
0answers
44 views

Embedded host driver or RS232 host-side converter for CP210x USB device?

I currently have a device that uses a CP2102 UART-to-USB converter to send information to a PC. Now I want to instead have it send information into a dongle (not part of the actual device), which will ...
1
vote
2answers
93 views

Is it possible to program a AT89S51 chip with a USB to TTL(UART) converter cable or Arduino?

Recently, a have a chance to get a AT89S52 chip, but I do not have a suitable programmer for it. I am new to microcontrollers, especially the MCS-51 series , but I've heard that MCS-51 is the "right ...
0
votes
2answers
40 views

MCU cannot communicate with Bluegiga WT12 module

I have the evaluation kit EK-WT12 for Bluegiga WT12 module being controlled by a TI Launchpad. I have used the evaluation kit to communicate to a computer with SPP profile and I have sent and received ...
1
vote
1answer
75 views

Something I don't understand with electricity and my circuit

My title is strange, but my circuit is acting weird and I hope someone can explain me this strange behavior. I have made a simple circuit with an ATmega which send output to the TX pin, and my USB to ...
1
vote
2answers
76 views

Arduino + LS7407N to shift logic levels in serial communication

I'm trying to drive a device that uses 12-0V levels for serial communication. I decided to use LS7407N, a buffer with open-collector, so that I can use Arduino's TTL levels to send commands to the ...
1
vote
1answer
67 views

USB to Serial cable and VCC current output [closed]

I have question about generic USB TTL Serial cables, FTDI FT232R-based. The cables differ in voltage, 5V, 3.3V and output current. USB TTL Serial Cables I need a cable for a USB to serial ...
1
vote
1answer
52 views

Interfacing a serial DAC

I am trying to make a use of AD5612 DAC. It has a serial interface and I can not fully understand how to properly drive it. Given that I will be using only one DAC in normal operating mode with ADDR ...
1
vote
1answer
73 views

How to connect with and use a USART to USB converter (CP2102 by Silabs)?

I figured since this is a very specific problem with a hardware device that many on SuperUser might not be familiar with, I would try posting here. I searched around on the net a bit and found a ...
2
votes
1answer
195 views

How does the Arduino do serial communication with a PC?

I am trying to develop a program such that I am able to communicate over USB to a PC. I have developed a usart library that I can use for such a purpose, but the problem in-lies with the conversion to ...
0
votes
1answer
125 views

Max Distance for 5V serial communications

I have an application where two different microcontrollers need to communicate. I was thinking that for simplicity, just use 5V instead of converting to RS232 levels. What in good practice would the ...
0
votes
1answer
95 views

Multiplexing TTL serial lines with transistors

A master controller talks to multiple slave devices using TTL async serial. Instead of implementing software broadcast codes, slave select codes, etc, I want the slave select to be wired. I use a ...
-1
votes
1answer
203 views

Unreliable Serial Communication between Arduino serial and Android via HC-05 Bluetooth SPP

I have an Andriod APP which connects to Arduino UNO over bluetooth( HC-05), and receives sensor readings using Serial.print() command in Arduino sketch. The App is made using APP inventor and uses ...
0
votes
1answer
67 views

Data packet format when USB initialized as COM port

Does anyone know how the data in data packet looks like when the USB is initialized as COM port? I have a Arduino Mega 2560. I have initialized COM port with a baud rate of 9600. I know that there ...
0
votes
0answers
42 views

Can't establish GPRS connection from controller command

I am posting this question out of frustration and i lost hours to figure this out. I got a GSM module that works fine and can be commanded with AT commands. When i command it from REALTERM it responds ...
0
votes
3answers
263 views

Converting serial signal (12V-5V) and reading it using Arduino

I'm trying to read some commands from a device that uses non-standard voltage levels for serial communication. It uses 0V for 0 and 12V for 1. For all I know, TTL levels are 0-5V, so if I want to ...
17
votes
3answers
2k views

Difference between UART and RS232?

Most of the time RS232 and UART come together in serial communication theories. Are they both the same? From my readings I concluded UART is a hardware form of RS232 protocol. Am I correct?
3
votes
3answers
112 views

How would I software-decode this 260KHz serial stream?

I've probed this serial stream coming out of a scoreboard controller and it seems like a proprietary protocol. How would I go about trying to software-decode this? The start bit is 7.8us long. All ...
0
votes
1answer
107 views

74HC595 sharing SPI data line

I want to have my Arduino control several SPI slave devices, among them a 74HC595 shift register. I've having some trouble understanding how to properly handle communication - I get that the Slave ...
1
vote
0answers
22 views

J-Link bad data transfer for STM32F40x ARM CPU

I am programming a modem driver for an STM32F40x ARM CPU http://www.st.com/web/en/resource/technical/document/datasheet/DM00037051.pdf. I am using a Segger J-link to download the program. ...
1
vote
1answer
220 views

Can I use ATmega328 TX/RX pins to drive an R2R network and still use the serial port to program the MCU?

Background I wanted to make a simple function generator with an ATmega328 and an R2R resistor network, similar to Jesper Hansen's Mini DDS (Direct Digital Synthesis). To make the function generation ...
1
vote
1answer
131 views

How to connect an extra serial port of Arduino Mega to computer?

As you know Arduino Mega has 4 serial ports. I need one extra serial port besides the one which is connected to computer via usb cable. So I want to use one of the other 3 serial ports. But they are ...
1
vote
1answer
33 views

Reset the timer counter before the overflow in ATXMEGA64a1

I want to reset the timer before the timer interrupt. In my case, I will use the Mod bus protocol for serial port. I had to reset the timer for each byte sent and send data if the timer reach 3.5 ...
0
votes
1answer
38 views

Controling an XD-40 LCUS USB relay

I recently got a USB controlled relay which is designed to show up as a serial port on a PC, and accept commands. It's recognized just fine by my computer, but I can't seem to get it to actually do ...
0
votes
1answer
59 views

Read / write hardwares values for FSUIPC (module for FS)

I'm building an auto-pilot module for FSX (flight simulator) with push buttons and rotary encoders. My micro is one ATmega88. My question is how I do the communication with FSUIPC (software to read ...
1
vote
1answer
125 views

Bluegiga BLE112: Serial Debugging

It's my first time to post my question to this electrical engineering. Anyway, I'm trying to make a BLE gadget using a BLE112-A BlueGiga. I could update a firmware of BLE112 but I'm stuck with ...
0
votes
2answers
116 views

Xbee packets giving Incorrect values

I am trying to extract analog sample data from an xbee packet that are present in the 20th and th 21st bytes. However after extracting them into the serial monitor the garbage value that is received ...
4
votes
4answers
142 views

Reconstructing Clock for Serial Signal

Suppose that I have a serial signal (example below), which is transmitted without an accompanying clock signal, I would like find a circuit (using discrete components / ICs, possibly an FPGA, but not ...
0
votes
0answers
55 views

MikroC could not detect the serial programmer

I know I'm doing something wrong I use serial PIC programmer with a serial to usb converter but the mikroC doesn't seem to identify it. What extension should I do for it to work (from the serial PIC ...
0
votes
0answers
90 views

Which serial protocol or encoding scheme does this scoreboard use?

I am trying to decode a signal stream coming from a Nevco scoreboard controller: Packets like this are sent every ~2.7 ms. I suspect it is some sort of UART signal because it is on the RX line of ...
0
votes
1answer
68 views

Arduino Serial connection

I've written a small program for Arduino, in which it receives a two digit number from serial, for example ""26". Then it set's HIGH voltage to pin 2 with the duration of 6*100. That works fine, ...
0
votes
1answer
69 views

Save variable between loops in Arduino IDE

I have this code: ...
0
votes
3answers
109 views

convert USB to RCA phone plug in order to close a switch

I would like to know if it is possible to convert a USB signal to a RCA phone plug signal in order to close a switch contact. There are pushbutton switches that can remotely close a switch by means ...