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

-4
votes
0answers
29 views

How to drive ten sevos with an Arduino Due board [on hold]

I want to drive ten servos with an Arduino Due board. Can you guys help me with the code? It should: Ask to enter ten values ranging from 0-180 and 3 bits per servo. Save the value of all ten ...
2
votes
2answers
124 views

Reverse engineering old serial devices and cloning with Arduino

I guess this is a strange topic and might not be one anyone here could give any advice on but here goes... I have a piece of music equipment that uses a remote control. This remote control ...
0
votes
1answer
42 views

How to get 32u4 arduino to ignore DTR for USB Serial?

32u4 based "USB Serial Ports" refuse to send data to the PC unless DTR on the PC software side is set to high. If the PC software does not set DTR to true (high?), then Serial.print() on Arduino goes ...
-1
votes
3answers
49 views

Maximum cable length for 5V or 3.3V I2C, UART, or 1-wire signals over Ethernet and how to increase it?

I know similar questions have been asked before (Maximum cable length for 3.3V UART signals) but I would like to know the answer more specifically for a hobbyist. I've been experimenting connecting ...
1
vote
1answer
60 views

Possible to charge a LiPo battery with a 3.5mm headphone cable but also send/receive data?

If I have a device (Device A) that is plugged into a 120v wall outlet, and is connected to another device (Device B), that has a small LiPo battery, via a 3.5mm headphone cable (consider this a ...
1
vote
1answer
39 views

What should I do to have both the synchronous and asynchronous serial communications?

You know that ATmega32 supports Universal Asynchronous Receiver/Transmitter. with pins : RXD & TXD But it doesn't support Universal synchronous Receiver/Transmitter. with pins : RXD/TXD & ...
0
votes
1answer
38 views

Writing data over Serial comm //Arduino & MPU6050 gyro+accelerometer

I'm new to serial communication and I am just scratching the surface, therefore please bare with me. What I need to accomplish is the transfer of the gyroscope data I gather on my Arduino to ...
2
votes
0answers
75 views

Understanding timing constraints

I don't want an introductory text on timing constraints, nor an application note, an user manual, a webinar. I read them all, already, many times. The concept behind timing constraints is very easy. ...
0
votes
1answer
54 views

Convert FTDI USB signal back to serial

I have a data logger with a USB output (FTDI FT232RL) and I'm trying to get the information remotely using a XBee modem, but my problem is that I need to "convert" the USB signal back to serial to ...
3
votes
3answers
105 views

Selecting digital componentry in bulk [closed]

There are a ton of electronics retailers and suppliers on the internet, all selling components at (essentially) retail prices. But when big companies need to use digital components (batteries, ...
0
votes
0answers
27 views

smartcard and smartcard reader data transmission

I have a bunch of smartcards. I going to build a sniffer device that communicate with COM port to do MITM attack just for fun and for testing and upgrading my knowledge in this field. I appreciate if ...
-1
votes
0answers
65 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
58 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
67 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
62 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
37 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 ...
1
vote
1answer
101 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
95 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
53 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
153 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
79 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
76 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
69 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
327 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
75 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
62 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
79 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
90 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
62 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
236 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
51 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
102 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
117 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
72 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
107 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
487 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
167 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
65 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
209 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
69 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
78 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
82 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
98 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
56 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
132 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
312 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
139 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
108 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
381 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 ...