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
30 views

How to build a contact smartcard sniffer

I want to build a sniffer for contact smart-cards. I searched in google for it and found some useful pages related to my aim (Such as This and This). but I have some question. 1- What is difference ...
0
votes
1answer
47 views

RS485 network failing on replacing SP485 chip with MAX485

I have created an RS485 communication network as shown below. {PC}->[FT232->RS485](120 ohm)<----twisted pair(2 wires)------>(120 ohm)[RS485 -> MSP430] Here PC acts as Master and sends the data ...
2
votes
1answer
49 views

STM32F10x SPI - No Clock

I'm trying to get basic SPI operation working on an STM32F107VC chip using the WaveShare Port107 development board. I'm trying to initialise SPI1 which resides on PA4-PA7. I'm attempting a simple ...
0
votes
1answer
59 views

What's the easiest way to get fast USB serial communications?

What's the easiest way to get fast USB serial communications from an Atmel SAM microcontroller? I consider fast to be faster than 1 Mb/s. In my previous projects I've used an FTDI module, but I've ...
0
votes
1answer
27 views

Board or product to drive 15 PWM/analog outputs from USB/serial connection

Ok, Let me explain: I would like to drive 15 analogs (0-12V) signal from my computer (based on user interactions/other not-so-cool stuff). This hardware has to be controlled over USB or Serial port ...
0
votes
0answers
8 views

arduino serial port programming [migrated]

I bought an arduino-on-breadboard kit. I have several pc with serial ports, now I'm being told I need a usb to serial converter? I thought I was ready to start uploading sketches, please advise. I'm ...
1
vote
1answer
86 views

How do I hook up an LED across the tx pin on my Atmega328?

I've built a standalone Arduino and upload sketches via this method From Arduino to a Microcontroller on a Breadboard. I would like to hook up an LED across TX like on the Arduino board, so I simply ...
0
votes
2answers
88 views

Identifying open switches in a serial circuit

I have an equipment that includes a circuit made of a bunch of NO switches arranged in serial. This circuit includes a LED that turns on when all the switches are closed. When one or more switches are ...
0
votes
1answer
41 views

Does BAFO “BF-810 USB to Serial Adapter (DB9)” supports full serial port?

Does BAFO BF-810 USB to Serial Adapter (DB9) support full serial port (hardware flow control) functionality? If not, how can I test full serial port functionality using serial port only with TX, RX?
0
votes
1answer
99 views

HC-06 Bluetooth module not responding to any AT commands

I am trying to interface with a HC-06 module but I can't talk to the module over serial. My VCC is connected to 5V (also tried 3.3V) of my Arduino Uno, and GND is connected to ground of it ...
0
votes
1answer
73 views

Serial Over IP or USB over IP?

Need to connect remotely to a device using cellular GPRS gateway. Device supports RS-232 and USB. It boils done to two options: 1.- Serial Over TCP/IP (Serial to Ethernet - to GPRS, or Serial to ...
0
votes
2answers
63 views

Pictures of different adapters, trying to understand how they work (PLC to PC communication)

I purchased the blue adapter in the picture as a USB/RS232 converter. It takes in the RJ12 cable from my PLC, and converts it to a USB input. Now when I try to use an RJ12-DB9 Female and then connect ...
0
votes
1answer
61 views

Can I transmit data over RJ12 to a PC from a PLC?

I have a Click PLC which has two RJ12 ports. I have successfully programmed it using C# and nModBus as a slave, but now I want to test the PLC as a master and the PC as a slave and noticed my laptop ...
1
vote
3answers
251 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
68 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
60 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
74 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
88 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 ...
3
votes
1answer
60 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
227 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
47 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
44 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
86 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
107 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 ...
-1
votes
2answers
70 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
92 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
439 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
155 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
60 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
166 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
59 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
77 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
81 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
83 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
55 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
102 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
259 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
133 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
102 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
308 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
72 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
45 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
405 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
3k 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
117 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
124 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
24 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
281 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
182 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 ...