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.

Filter by
Sorted by
Tagged with
1
vote
1answer
423 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
0answers
237 views

Convert parallel LVDS to csi-2

I have a camera outputing parallel data and I want to interface it with iMX6 module which accepts CSI-2 camera data. Are there any ready & cheap solutions to convert parallel into CSI-2. Lattice ...
1
vote
3answers
408 views

Why does voltage stay the same regardless of resistor connect to the source

I'm learning about clipping circuits, and I have hit a road block with my understanding of one particular problem. The circuit in question is a serial limiter. My issue is why does the output voltage ...
0
votes
1answer
774 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 ...
0
votes
1answer
375 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
1answer
42 views

How come serial cables LEDs don't get dimmed instead of switching on and off when sending serial data?

This is I would say less researched question because I couldn't really find any interesting on net and I am noob and people around me are not so resourceful when it comes to electronics hardware. I ...
0
votes
2answers
163 views

A basic question about output rate and sampling rate in serial communication [closed]

This is a very beginner question. And below is an arbitrary made up example: Imagine you established communication with a USB device through your PC's USB COM port. The USB device is measuring the ...
2
votes
3answers
12k views

how to connect relay and physical switch to control light

I am new in this kind of stuff so please excuse me for my lack of knowledge. I have successfully connected blackwidow (wifi + arduino) with a relay to control a 220V light bulb. Now, I want to embed ...
8
votes
4answers
15k 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)? ...
1
vote
2answers
325 views

NUL character in an ASCII-Based protocol over UART

I am developing a UART protocol based on ASCII encoding. Communication is between a PC and an STM32 board. Packet format is like this: Packet: {STX,DATA,ETX} Where STX and ETX are ...
0
votes
0answers
51 views

resistor at external clock source line [duplicate]

im reading a arm based mcu board schematic and there is 100R resistor (R30) at external 25MHz oscillator source. What is the main reason of using serial resistor at clock line ?
0
votes
1answer
284 views

Unreadable characters over UART

I am using USB-TTL converter (PL-2303 XA/ HXA chip) to make serial communication between STM32L476G-Eval board and my laptop. I didn't find where to connect TX and RX wires in the eval board because ...
22
votes
5answers
8k views

Why do people use AT commands in serial communication?

I need to know why people in embedded systems use AT commands? When I have asked people say that it is a standard. So my question is: What does "AT" means? Why do people keep saying it's a standard?
2
votes
2answers
521 views

FIFO circular buffer size in over UART

I am trying to implement an UART protocol to make communication between two boards. data are ascii encoded and messages length's are variables. I've chosen to implement a packet in order to "...
7
votes
2answers
58k views

Arduino: What is the best way to receive and read Data with SoftwareSerial?

I have Arduino connected to a HC-06 bluetooth module. I wan't to send data from some Android-Application I wrote to the Arduino and let Arduino do stuff depending on the received data. So far I'm ...
3
votes
3answers
803 views

Do I need to program a USB-Serial FTDI chip before using?

I'm building a PCB with an ATMega chip. In the past, I've used Sparkfun's FTDI breakout board to program the ATMega. However, I'd like to implement the FTDI chip and USB port on my own PCB, ...
0
votes
0answers
57 views

SDI 12 interface

I have a sensor that use SDI-12 communication. I want to connect it to a a µC. I'm looking for something like RS232 <-> SDI-12. Or USB <-> SDI-12 the only schematics I've found use buffer. Do ...
1
vote
2answers
91 views

Virtual port for serial communication

This s a newbie question. When receiving serial data from a microcontroller by a PC program I need the microcontroller to be nearby and it needs to be connected to a USB port and send the data via ...
1
vote
2answers
2k views

Control an UART protocol with FreeRTOS or Interrupts [closed]

I am trying to develop an UART protocol to allow communication between two boards Master_Board and Slave_Board. Master_Board shall send commands over UART to Slave_Board and the latter shall answer. ...
0
votes
1answer
841 views

Baudrate calculation

I am having a hard time to calculate the baud rate for the following: Needed baud rate for 2 bytes data at 1KHz over an UART port with a 8N1 protocol Thanks
1
vote
1answer
327 views

Low level details for serial communication between UART of a microcontroller and PC [closed]

I want to understand how exactly full duplex serial communication between UART of a microcontroler and PC com port actually happen ? I have used applications where a single UART( single Rx, Tx pins) ...
0
votes
0answers
923 views

STM32F4-Discovery reading Serial Data

I have an STM32F4-Discovery Board with an attached STM32F4DIS-BB Base Board attached, giving me access to a Serial Port to use for the Discovery board. I am trying to program the board to read data ...
0
votes
1answer
74 views

Jitter measurement in High speed serial link - Random jitter mean not 0

I made some jitter measurements of my high speed serial link yesterday. Now i'm analysing the jitter sources, and found out, my random jitter is often not around zero, most time about -1 .. -0.5ps. ...
0
votes
1answer
198 views

deserializing high speed data

I am trying deserialize data that come out of a LM98640 into 14 bits words: Attached you can find a figure of the signals out of the LM98640. http://www.ti.com/lit/ds/symlink/lm98640qml-sp.pdf (...
0
votes
0answers
109 views

ICSP, Debugging, UART and SPI on same pins, dsPIC30F4011

In my project I plan to use SPI1 module of the dsPIC30F4011 (datasheet pdf) micro-controller. The pin-out makes pins 1 and 44 both PGC/PGD and serial COM pins for UART1 and also SPI1 modules. I can ...
0
votes
1answer
119 views

Trying to program a DSD TECH SH-A10 iBeacon with Sparkfun FTDI Basic [closed]

I ordered some fairly random iBeacon (DSD TECH SH-A10), and I didn't realize that its configuration software is Windows only (http://www.dsdtech-global.com/2017/11/dsd-tech-bluetooth-config-tool.html),...
0
votes
3answers
1k views

AVR USART sending garbage

I'm trying to make an ATMega328P to send serial data to my computer and print onto Putty using an arduino board to do the USB to serial conversions. The data that's printed, however is garbage data. ...
0
votes
1answer
37 views

Maximum voltage in series circuit

I have a set of laser-modules with integrated drivers that I want to setup in series. The datasheet says the maximum voltage for a module is 3.3V. Two run two modules in series I doubled the voltage ...
1
vote
1answer
81 views

USB Serial Adapter Unintentionally Powering RS232 TTL Converter

I have a programming setup where I plug in a GoldX USB cable plugged into my programming laptop (in this case a MacBook Pro). Cable picture: This is plugged into an eBay sourced RS232 TTL converter: ...
1
vote
1answer
93 views

About Microcontroller having many SPI controllers

I would like to ask if anyone had an experience of using more than 1 SPI controller/channel on a project? I had this pyboard where it has up to 3 SPI controllers though i think only 2 SPI controllers ...
0
votes
1answer
119 views

PIC18F4550 and Sparkfun RFID Starter Kit with ID-12LA RFID Module, TAG Reading Problem

Recently I bought a SparkFun RFID Starter Kit with ID-12LA RFID Module. Similar to the one in the following Link: https://learn.sparkfun.com/tutorials/sparkfun-rfid-starter-kit-hookup-guide. I tried ...
1
vote
2answers
832 views

STM32F0 discovery serial

Is there a way to use the TX/RX on the STM32F030 Discovery board? The User's manual says "reserved", but since the Cortex M0 doesn't have an ITM, I'm looking for another way to get data out of this ...
0
votes
1answer
55 views

convert from serial modbus to ethernet through plc?

can I use a plc as a converter to convert from serial modbus(RS485) to either ethernet or usb using code ? , the plc is modicon m340 without communication module but the cpu has serial port , ethernet ...
1
vote
2answers
2k views

USART interrupt not working as expected [STM32 Nucleo]

could someone explain why i can only receive 13 chars with USART interrupt? I use '\n' to detect the end of string. ...
3
votes
2answers
594 views

shift by 1 bit error in SPI

I am trying to implement the SPI communication on TM4C123. I have 1 board and try to send data from SSI1(master) to SSI0(slave) but i observe that the received value is always shifted to left by 1 ...
1
vote
1answer
223 views

How to program/configure ADF5356 with out using the evaluation board?

I understand how to program ADF5356 on the evaluation board http://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/EVAL-ADF5356.html Using http://www.analog....
2
votes
1answer
226 views

Asynchronous serial inversion logic

I am using Saleae logic analyzer to reverse a console port. Saleae is able to successfully decode the signal (asynchronous serial) after performing an "invert" operation on the received signals. I ...
-2
votes
5answers
2k views

Using smartphones' serial buses (e.g. USB, SD Card, etc) to control Servo motors

The issue: I want to use Android smartphones to control servo motors. I do NOT want to use external modules like IOIO or any other. The Proposal: use whatever serial communication channels available.....
0
votes
2answers
1k views

How to Make DB9 F/F serial RS232 mini gender changer?

I want to connect My "USB to RS232(Male end)" to my NanoVolt Meter having RS232 male port. To make both communicate i need to make DB9 F/F serial RS232 mini gender changer. Any Circuit or suggestion ...
0
votes
1answer
49 views

Can I use SLIP on the same line as DMX?

I have a CAT 5 line with 12 DMX devices, each taking 4 channels. I also have a CAT 5 line with 8 microcontrollers (ex. Arduinos). These controllers need to send back data, and require error detection....
0
votes
1answer
451 views

Use RS232 - RS422 Converter with Encoder

Problem I am trying to communicate an incremental encoder (TTL/422) with a PC, however, the PC is modern (correct me if I am wrong, It is a Sabertooth Z77) and doesn't have parallel ports... I found ...
1
vote
0answers
106 views

Shift Register with non sensical output

So I have two daisychained 74HC595 Shift Registers driving 16 low current LEDs, and the shift registers are wired to an Arduino Mega. Initially the ciruit worked perfectly, the test code scanned left ...
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 ...
8
votes
2answers
1k views

Does a baudrate in serial communication (USB or RS232) need to be exact?

In serial communication, does the baudrate mean we have to use the exact clock speed or is it a range of speeds that we can use? and if it's an exact value, how exact should it be ? for example, can ...
9
votes
6answers
10k views

Good RS232-based Protocols for Embedded to Computer Communication

I'm working on a project that involves a good bit of data communication between a remote Arduino and a computer. The wireless connection is through a pair of XBees, so we have a RS232 link between the ...
1
vote
1answer
144 views

Memory dump size does not match size of MTD partition

Device with Linux embedded system on NAND flash memory. I did memory dump of some MTD devices partitions use serial console, from U-boot bootloader use available commands. First I read MTD partition ...
0
votes
2answers
685 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 ...
5
votes
6answers
2k views

Use UART Tx as digital output?

Would it be possible to send a 5 V "true" signal from the Tx of a UART dongle? As if it were a digital output? Here is the UART adapter I purchased.
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
0answers
267 views

RJ11 pinout (serial) for Amplus AM03128-H11 LED display

I've got an Amplus AM03128-H11 LED display, without the documentation and serial cable. I found the programming manual online, but I have no idea what the pinout on the serial RJ11 connector is ...