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
2
votes
6answers
50k views

Arduino serial.read to int

I am trying to read a serial string which comes through as "R0123" for example then I need the 0123 to be in an int. to send out through another method Here is my code it is not working the way that ...
0
votes
3answers
1k views

How to find out whether serial standard is RS232 or TTL when stated as “serial(RS232/TTL)”

I am recently moving from C programming into automation engineering. I have learned about RS232 and TTL standards, and I understand that they are based on the same concept of serial communication, ...
-2
votes
1answer
421 views

Using Adafruit Trinket M0 (SAMD21) as a USB to Serial converter

I wanted to know if it is possible to use SAMD21 as a USB to Serial converter like the usual FTDI chips ? If yes could you please point how to achieve that. I believe that Adafruit Trinket was used ...
0
votes
1answer
315 views

Enabling and disabling serial device connected to the Arduino HardwareSerial by software

I want to use the hardware serial port (pin 0 RX and 1 TX) to connect a MAX485 IC. Internally these pins are also connected to the onboard USB to serial converter microcontroller which is used to ...
1
vote
1answer
156 views

Do I need an impedance controlled connector for RS422?

I've never implemented RS422 before (crazy right?). Since the impedance of the line is controlled to 120Ω do I need an impedance controlled connector for that? If anyone has implemented RS422 which ...
0
votes
1answer
66 views

Adapting an older schematic for use with recent components: How might this circuit need to change?

The schematic below is a bidirectional bluetooth-to-infrared serial device. Computer sends bits to device via bluetooth virtual COM port. Device re-transmits bits via 950nm IR w/ 38khz carrier ...
-2
votes
1answer
112 views

Why is a new 16550 $4? [closed]

I can't imagine that the 16550 hasn't made back its design costs by a factor of at least 10 by now, why does it cost $4.32 in quantity? That makes no sense. http://www.ti.com/product/PC16550D/...
1
vote
1answer
1k views

Can I covert a 3.3v/5v USB TTL Serial device to 1.8v using a LM1117 1.8v regulator?

I have a HDD which has serial access but needs 1.8v TTL serial. I only have 3.3/5v serial devices. The standard PL2303, A UART Usbbee, and a generic serial adapter. The PL2303 & generic have 3v/...
-3
votes
2answers
4k views

What is difference between USB and TTL? [closed]

I have one question about USB and TTL. Both USB and TTL works on the same voltage range (0 to +5 V), both are serial protocols. From my point of view, they are the same. Why then we have USB to TTL ...
0
votes
3answers
244 views

How can I see an output from SCL?

I am new to electronics, circuits, etc. Currently I am reading I2C and synchronous serial communications. As I understand, two devices must be connected to the same CLOCK wire so that the slave knows ...
2
votes
2answers
278 views

How to open up serial terminal for my USB device converter (or, how to enable VCP in linux)?

I am using a new Cyclone V SoC board by Enclustra (Mercury+ SA2) mounted on their PE-1 BaseBoard. To connect to the board serially on Windows platform, I have to connect the board which is detected ...
0
votes
2answers
396 views

CP2102N Not Working

Solution: Cable didn't have data lines... I have a custom board with a CP2102N on it to go from 3.3V UART to USB via a virtual COM port. I followed the data sheet for the design, as well as ...
4
votes
3answers
2k views

MSP430: how to let the timer ISR interrupt the Serial RX ISR?

I am working on a MSP430 connected to the PC via serial. The MSP430 also communicates with some other boards using a bit-banged serial interface. I'm using the timer peripheral to bit bang the serial, ...
1
vote
2answers
277 views

Bidirectional (opto?) isolators for any protocol?

I would like to isolate digital serial communication between 2 circuits. I don't know much about the protocol between two circuits. It is not a common protocol such as SPI or I2C. Shortest pulses are ...
5
votes
2answers
302 views

What kind of serial communication is this?

I am trying to reverse engineer a serial communication between to microcontrollers (1 device & 1 microcontroller on a board). One MCU validates the other MCU and I want to crack the validation and ...
0
votes
1answer
548 views

ESP32 AND CP2102 Serial data reading issue

I have a PCB on which i am taking a 5v - 1A DC power supply , and again providing 3.3v to ESP32 through AMS-1117 3.3v. Basically things are not working on when i solder the esp32 on my pcb but things ...
14
votes
3answers
24k views

UART receiver clock speed

I was trying to understand UART fundamentals.It is understood that It is an asynchronous communication protocol and hence the TX and RX clocks are independent of each other The data reception is ...
0
votes
0answers
185 views

RS-232 signals on Bluetooth modules like HC-06, HM-10, etc

I would like to access any I/O pins of a bluetooth module of the likes of HC-06, HM-10 or their clones from both a Windows PC and/or Android system connected wirelessly to the module. I need Windows ...
-1
votes
2answers
184 views

Hot switching between RS232 ports

I have a system with two serial devices (Arduino uControllers) connected to a single FTDI (USB-to-Serial) chip through a silicon switch. Each devices works fine on its own. I would like to be able ...
0
votes
0answers
68 views

Serial baud calculation without using serial interrupt - 8051

Here's the situation. I have a project which utilizes multiple sensors and connects to another unit through standard UART (8N1). Because no data needs to be missed from any device, I made the ...
2
votes
2answers
1k views

Help connecting custom ATMega328PB using serial FTDI

I built this ATMega328PB circuit. It runs at 3.3v from 1.5v battery using booster and 8MHz from external resonator (CSTCE8M00G52A-R0). Using USBTinyISP I set fuses: Low-FF (for 8MHz), High-D8 (Boot ...
0
votes
0answers
125 views

How to wire RJ12 to db9f modular adaptor?

I have a RJ-12 to DB9f modular adapter. There are 6 wires that come out of the adaptor (White, Black, Red, Green, Yellow Blue) - these, as I gather from pin out diagrams, correspond to the 6 jacks of ...
3
votes
1answer
674 views

Reverse-engineering asynchronous serial protocol for EcoSmart Tankless Water Heater

I am trying to reverse-engineer the remote control protocol for my EcoSmart Tankless Water Heater. Unfortunately, the remote control device is no longer available for purchase, and the manufacturer ...
0
votes
1answer
133 views

Several MIDI over USB Device

I'm looking at creating a "specialized" MIDI over USB device for a project I'm working on and my requirements have gone beyond that of the Arduino/Pi/etc, due to limited I/O. I am very much a beginner ...
6
votes
4answers
1k 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
1answer
34 views

Two devices on Y 9pin Serial cable to 25pin printer input - Data Corruption

I have't been able to find a solution, and was hoping for some clarity. I have 2 machines (one is a bill counter, one is a coin sorter) that both support printing over DB9 serial connection, and one ...
1
vote
1answer
725 views

Communication between different Baud rates [closed]

I am totally new to just about all of this, first off. I have two boards that I want to be able to communicate. Both are using half-duplex serial connection, but one is fixed at 4800bps, and the ...
2
votes
2answers
19k 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 (obviously)...
2
votes
2answers
437 views

Best board-to-board low latency protocol/interface

I've been asking similar question which received some downvotes, so I'm reformulating my task (hopes this one gives more clarity). I'm planning to establish a high-speed (3 Gpbs full duplex) serial ...
-3
votes
3answers
3k views

What is a FTDI chip? How does USB communicate with Arduino?

What is a FTDI chip? Is this used in Arduino to communicate to the laptop? I think that the voltage levels are different on USB and Arduino?
2
votes
2answers
2k views

Upgrade user application using custom bootloader via UART (STM32)

I'm using an STM32L4 board and my flash memory looks like this: |______________ | | USER application | | |______________ |Vector table(UA) |______________ 0x8000 - 8000 | | ...
0
votes
2answers
182 views

How can I convert from 12v serial to 5v serial?

I am attempting to recreate the project detailed here: http://amiga.robsmithdev.co.uk/instructions . The important part is that a USB FTDI adaptor with the CTS pin broken out is required, and that ...
3
votes
1answer
8k views

Serial Adder vhdl design

I've a design problem in VHDL with a serial adder. The block diagram is taken from a book. Since i'm not skilled enough in design with clock (except some silly flip flop i've found on the web, and ...
2
votes
4answers
2k views

Questions regarding using an HDMI cable to transmit SPI, I2C, and UART serial data?

I'm currently working on a design in which I need to transmit serial data over 3 different serial channels. I won't be transmitting data far (1" - 1') but I didn't want to use plain wires. Instead, I ...
0
votes
1answer
400 views

Can I use a MAX232 to communicate between a PIC and a Raspberry Pi?

I would like to send serial data at 9600 baud between a PIC and a Raspberry Pi. Both circuits are powered by a 5V wall charger. The distance shouldn't exceed 15cm. They don't currently share a ...
0
votes
0answers
58 views

USB serial enumeration with different power source

I am working on an evaluation board that is powered off of a micro-b USB port. This also serves as a serial port (through an FTDI chip). There is a jumper that allows to choose to power the system ...
0
votes
1answer
94 views

Talking to Logic Motion Controller (LMC 300) via USB

I have a Nilan Compact-P heating system in my home and it has a USB connector. When I plug it in my Windows Laptop automatically the driver for "lmc 300" is installed and a COM Port opens up. This is ...
0
votes
1answer
505 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 ...
5
votes
1answer
2k views

STM32 USART loopback

Is it possible to connect the Rx and Tx pins of the same USART or on two different USARTs on an STM32 discovery board to make a loopback and test the USART?
8
votes
1answer
229 views

Unexpected Atmega16 response over UART

Unexpected Atmega16 response over UART Brief problem summary I have flashed an Atmega16 with code that should result in the Atmega16 sending back whatever character I send to it via a terminal. I ...
1
vote
1answer
892 views

Windows 10 updates drivers for FTDI

I have one question about the following products: foca-v2-2-ft232rl-tiny-breakout-usb-to-serial-uart sparkfun-ftdi-basic-breakout-3-3v I bought them last year and after time without using them I ...
0
votes
2answers
61 views

In UART serial, do some devices not have an RX connection?

I am using this ultrasound sensor with a Pi. As far as I can tell, it only has a TX connection, and no RX, is this correct? I suspect it is the case, but still want a second opinion. Also, the sensor ...
6
votes
1answer
20k views

HC-05 Bluetooth module not recognized by mobile phone

What is happening with the bluetooth module is a bit weird. It apparently works perfectly, it gets recognized by my desktop computer and my laptop, but never gets listed on my mobile phone. I've ...
5
votes
2answers
1k views

Half duplex: How to prevent shorting?

Consider two Arduinos (ATmega328P), with pins 2 connected for half-duplex communication (e.g. using SoftwareSerialWithHalfDuplex): Both Arduinos may be transmitting at the same time, either for logic ...
1
vote
1answer
459 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
323 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
654 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
880 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
435 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
44 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 ...

1
5 6
7
8 9
23