Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [serial]

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.

0
votes
3answers
2k views

LG RS232 Commands partially working

I have a LG TV (32SL8000), which has a RS232 Control Port. I tried to control it with an Arduino and a TTL to Serial Converter (MAX3232). I looked up the commands from the manual. ...
1
vote
3answers
7k views

Extract 12V from USB port

I wish to drive a 12V stepper motor with a USB port as the source of power. However, the USB port only outputs only 5V as output. This will obviously not work. I had thought up of several ways to ...
0
votes
1answer
2k views

How to interface SIM800L to UART on STM32F103

I have problem to interface SIM800L with STM32F103. I just read SIM800L datasheet that UART logic level is on 2.8 V. But the STM32F103,can be operated in 3.3 V. I connected my TX RX pin directly to my ...
3
votes
1answer
1k views

FTDI chip returns descriptor of unknown device

I would like to debug the kernel of my nexus 5 and I sent to a fab the design for the debu cable that uses internally a FTDI chip that creates a ...
2
votes
0answers
118 views

Sending Serial Data Over FTDI causes loop

I'm trying to send and receive serial data from an atmega328 (using the arduino library) over an FTDI (FT232R) chip. I can send data to my pc and view it in a serial monitor. I can send data from my ...
1
vote
3answers
1k views

Open Drain Serial TX output on Arduino

I have been trying to implement an open drain Serial output using a Arduino Nano. In the following example I have used 2 Arduino Nanos (both operating at 5V Vcc), using one Arduino as the transmitter ...
0
votes
2answers
143 views

Sending data from MCU to PC with 1.5 Mbaud using FT232R

I have an issue using FT232R to communicate with my PC. I have two bytes of data that I need to transfer every 50 us. The frame size is 20 bits, including two start and stop bits for each byte. I've ...
0
votes
1answer
477 views

Connecting Garmin 18x 5hz GPS to PC via Serial TTL-232 USB cable

I want to connect Garmin 18x 5hz GPS (this) to computer via FTDI Serial TTL-232 USB Cable (this). But once I try to update the GPS via Garmin updater, I get framing error. "A communications error has ...
1
vote
4answers
930 views

Serial Monitoring of DB25 Parallel Port Data

I would like to examine the string of data being outputted from an industrial equipment's DB25 connector that is being sent to a printer. I was thinking I need to convert this 25 pin parallel ...
0
votes
1answer
76 views

Can I use LT5400 as a single resistor? Can I connect the 4 resistor in series?

Can I use the LT5400 as a resistor? I would like to connect series the resistor for example LT5400-1 to receive 10k - 20k - 30k - 40k in series?
0
votes
1answer
537 views

Atmega328p RS232 communication what's wrong?

I'm trying to connect Atmega328P to PC via RS232, the Microcontroller code is basically a : Serial.write("Greetings !"); inside the loop function. I've tried the following circuit but it doesn't work ...
1
vote
0answers
651 views

Serializing and Deserializing data

I am trying to develop a data link on FPGA. The transmitter combines 8 channel input to single output. The Rx has to de multiplex the single channel to 8 bit parallel output. presently the system is ...
0
votes
2answers
109 views

Protocol used by IR LED reciever (50W driver)

I have a 50W LED driver with a IR remote control that i want to controll with a microcontroller. I hooked it up to my oscilloscope to try to decipher the data sent between the IR reciever and the ...
2
votes
2answers
272 views

developing simple serial link on FPGA

I am trying to develop a digital data link based on FPGA (spartan 3E) where the transmitter serializes 8 bit parallel input to single channel. At receiver side I want to get the data back by de ...
0
votes
2answers
185 views

RS232 - Send Packets of Data [duplicate]

There is a need to send 32 bit numbers between two DSPs in my application. The receiving and transmitting devices are MCUs supporting 8-bit messages. Is there a standard way to packetize the data? ...
1
vote
1answer
88 views

UART continues to receive despite cable is unplugged!

I have a custom DSP board which has a UART port to send data to PC. Strange thing is when I stop the UART port on DSP, PC still continues to receive data. Even stranger, I unplugged the USB cable from ...
1
vote
1answer
467 views

Understanding 8b10b

I am trying to develop a serial link with 8b10b protocol. As per my understanding after every conversion I need to send a comma character to identify frame boundary. If things are done in this way ...
2
votes
1answer
543 views

PCIe link training

I got few questions about PCIe link training procedure. For Gen3, will the host and device link to each other with Gen1 speed first, and when link up, host will look for device's capability register ...
2
votes
3answers
161 views

Opening serial port for reading, when data is already flowing

I have a drummachine (Roland TR505, but all of this would be true with any other device) sending a byte 11111000 (Timing Clock MIDI message), 48 times per second, ...
0
votes
2answers
1k views

IR data from Landis+Gyr E350

I have purchased a ir->serial port cable for reading from the IR-port on electrical meters. With the included program meter.exe, I can only get this: ...
0
votes
1answer
180 views

Serial DB9 to Serial 3.5mm over HDMI cabling

Good afternoon everyone. I am trying to control a Samsung TV via Serial from a remote processor and I am trying to use spare installed HDMI cabling to do it. Samsung does not have an open API for IP ...
0
votes
2answers
1k views

Difference between PuTTY Serial and Modbus

I am trying to communicate with a PM810 power meter using Modbus-RTU protocol with the RS-485 standard over 175 meters of CAT5e STP cable. It's less than ideal, but it's the situation I'm working with....
0
votes
1answer
369 views

Serial communication with microcontrollers AT89S52

I have a problem, I need to connect two microcontrollers and programming one of those as a transmitter and the other as a receiver, I've tried to do this but it's not working, and I don't know why. ...
0
votes
2answers
7k views

Understanding the serial transmit buffer in Arduino [on hold]

From a different question that I posted, I realized I am having a hard time understanding what exactly is happening in Serial.print, Serial.read, etc and the buffer. I'll use my code as a specific ...
0
votes
1answer
244 views

Random output when reading AVR UART transmission

I'm trying to learn how to use the USART interface on an Atmega328p. For now, I just try to send a 'c' character bytes every 500 ms and read it on my computer using a PL2303 USB-serie TTL converter. ...
1
vote
2answers
2k views

Scrambler vs 8b/10b encoder

I was going through SATA3 spec. As per the spec, both scrambler and 8b/10b encoder are used in its design. Scrambler helps randomizing the data while 8b/10 encoder creates enough transition for DC ...
5
votes
1answer
510 views

What does the FPGA do with unreferenced I/O pins?

Here's one thats been puzzling me for a while. I have an FPGA design in Altera, driving an audio chip and programmed through its serial interface. I monitor and debug this with an oscilloscope/...
2
votes
0answers
634 views

How to figure out the correct serial port parameters?

I am trying to listen to a device which communicates via a serial port. I've built a monitoring adapter and set up a python script, which works really well. I just don't know the exact length and ...
0
votes
3answers
853 views

Can I directly connect GPIO to RS232 RXD and TXD?

Is it okay to connect a 3.3V GPIO pin to the RXD and TXD pins of the RS232 port and supply it with 12VDC from an external source for serial radio? Or would I need to step up the voltage to 12VDC on ...
0
votes
2answers
437 views

Which communication system would you choose for the elevator? [closed]

The communication system is used to connect the floor fixtures (e.g. elevator diplays, elevator call butons) to the control panel which is existed in the elevator machine room. Please look at the ...
1
vote
1answer
186 views

Binary Display with LEDs

I tried an example of code to display serial output on an array of LEDs. ...
0
votes
3answers
259 views

Controlling hardware with serial port [closed]

I initially posted this in SuperUser SE Site, but it was recommended that I bring it here instead. So, here we go :) We have a 'dated' security system at the office. It is a model that was made (or ...
0
votes
0answers
1k views

Arduino TTL level converters 5V -> 3.3V

I am trying to interface a WRT54G serial port directly with an arduino pro micro's hardware UART by connecting RX to TX and TX to RX between the devices. I have a simple code running on the arduino ...
5
votes
4answers
263 views

Device discovery on simple bus

I am currently facing following problem: there is a system, which consist of one master device and some number of slave devices (all those devices have tiny MCUs). They communicate with some custom ...
-1
votes
1answer
58 views

Raspberry Pi not receiving Arduino traffic

I have a Arduino programmed to be ADC via serial commands for a Raspberry Pi, and I'm having problems establishing a link between the Raspberry Pi and the Arduino. When I hold reset on the Arduino, ...
0
votes
1answer
345 views

UART Tx stops working without UART Rx connected

So my problem is that when I have both Tx and Rx connected to an FTDI cable with ground connected as well. When I have both cables connected I can send message as expected. But as soon as I disconnect ...
-3
votes
1answer
106 views

Microcontroller design [closed]

I would like to use ATmega 328 micro-controller to perform the following functions: 1) UART connection to GSM modem 2) Serial connection to the single board computer's power reset pin 3) Serial ...
1
vote
2answers
259 views

Determine direction of RS485 communication

I got two devices communication serially with RS485. I got a serial analyzer with which I am able to listen to the whole communication but I am unable to determine which bytes come from which device. ...
1
vote
1answer
412 views

Configure Serial with registers on STM32l073RZ

I'm trying to configure the Serial of my STM32L073RZ with registers to send datas on the PA_9 pin. Currently I have this script ...
0
votes
3answers
441 views

How to mount a DB-9 adapter to an enclosure

I have a DB-9 connector that needs to be mounted to an electronics enclosure. This hole for the DB-9 connector will be manually cut out. Question: How can the DB-9 connector be secured to the ...
0
votes
0answers
71 views

How fast can I pipe data through a TI Delfino in 1.5 KB chunks?

Say I program a Delfino with this C snippet: ...
1
vote
2answers
321 views

How, could hardware write protect be implemented for flash media?

I come from a software background, but feel this is a hardware/electronics question. Looking for a way to hardware-write-protect on flash media, I bought an SDHC card (with a tiny switch labelled "...
1
vote
1answer
578 views

STM32F4 serial RXNE flag

I am trying to receive serial on a stm32f411. I decided to monitor the the RXNE flag to check the serial buffer. I can get the flag to work, however, the issue is that I do not think it is working ...
0
votes
1answer
52 views

Error with Serial Communication between Processing and Arduino

I have a sensor which can give information about X and Y position movement, and I want to create a simple interface in which a circle on the screen will move in the same direction as I move the sensor....
1
vote
1answer
290 views

Silly serial adder design with control unit

I have designed a serial adder, with a small control unit which is supposed to synchronize all the ff states. I'm specifically interested in the state machine that does such stuff (you can see a block ...
5
votes
5answers
2k views

Start bits in asynchronous serial communications

I understand synchronous serial communication conceptually but I'm having trouble with how asynchronous works. Specifically in this situation: Let's say I want to send a byte: 0x03. We have a start ...
3
votes
5answers
3k views

Serial.begin on ESP8266 not working

I am trying to use the Arduino IDE to program an ESP8266 (ESP-12F). I am able to upload a simple program that blinks the built-in led. As soon as I put a reference to ...
1
vote
1answer
109 views

How to read timing diagrams: ak4554 audio serial interface

As a newbie I struggle to understand interface timing diagrams of AK4554. I am asking this particular example but I believe your answers will enlighten me about how to read any timing diagram. It is ...
-1
votes
1answer
90 views

Accessing the filesystem of a modem

My goal is to access the file system of a modem/router i have. On the circuitboard i found connectors (refdes J13 and J203) that the factory likely used to program or test the device. J13 has solder ...
0
votes
0answers
55 views

Make Si4703 evaluation board Bluetooth capable

While looking for a Bluetooth RDS-TMC receiver which could be queried with FOSS software, and after realizing there’s probably not too much on the market, I stumbled across Si4703 evaluation boards ...