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
0
votes
2answers
70 views

SIM800L rarely responds to commands

I'm trying to get a SIM800L module working with a USB-to-serial adapter using this circuit: simulate this circuit – Schematic created using CircuitLab (All of those resistors are 1000 ohm.) I ...
5
votes
5answers
2k views

Why we need start/stop bit for asynchronous transmission

I was reading a book which says Asynchronous transmission is so named because the timing of a signal is unimportant. Instead, information is received and translated by agreed upon patterns. To ...
1
vote
2answers
75 views

Is there an industry standard serial hardware identification protocol?

Say I have several microcontrollers connected serially over several COM ports. I want to identify which microcontroller is on which port. Say, μC1 is on COM1 and μC2 is on COM2. Is there any industry-...
0
votes
1answer
63 views

Strange problem with Teensy 4.0 connected to external power only running code when serial connection is introduced

I am working on a project with an accelerometer and some LEDs, and I have encountered a strange problem getting everything to function while powered via battery. When I plug in the battery, the code ...
6
votes
3answers
1k views

Could Cat5e be used for RS485 [duplicate]

I'm working on a project that will be using RS485 to communicate between a bunch of modules and a master controller. Low baud rate, 9600, but a decent distance, like a couple of hundred feet. I'm ...
0
votes
2answers
41 views

RS232 RFID reader not working

I have purchased an RFID reader that communicates using an RS-232 cable. I have however used an RS-232 to USB adapter to connect it to my laptop. It is an ACM812A RFID reader. When I open the RFID ...
-1
votes
2answers
102 views

How to do serial communication between 3.3V and 5V devices using THT components?

I know that there are many questions dealing with logic level conversion/shifting between 3.3V and 5V devices, but my goal is to do do this with standard breadboard parts, so either discrete parts or ...
1
vote
1answer
50 views

Connecting a USB to UART converter to a computer's serial DB9 port

I have an APU2 that diverts any 'display' over a serial console (DB9F). For accessing the serial console, a null modem cable is recommended where the wires are crossed over. However, my computer does ...
1
vote
2answers
73 views

Sensor data transmission without using a microcontroller?

What is the most traditional approach to getting sensor data onto a radio from an embedded device pcb that doesn’t utilize a microcontroller? Up until now, we’ve been utilizing a convenient firmware ...
1
vote
0answers
28 views

Arduino UARTS Auto addressing slaves

i'm using this serial topology to connect my STM32F1 slaves together to a master ESP32. They are in total 10 STM32F1 slaves and one master: With this type of wiring i'm sure that only one slave per ...
0
votes
2answers
98 views

Flashing program into microcontroller, usb-ttl, idea behind?

I have limited knowledge on this topic(MCUs, communication protocols, etc.). I back then worked with an STM32 MCU and did some UART(or USART, can't remember) communication between a PC and the MCU. ...
1
vote
1answer
35 views

Cannot connect Arduino Uno REV3 ATmega16u2 serial connection to outside serial connection

I wanted to simply use the ATmega16u2 on my official Arduino Uno with a serial connection. I connected my Serial Board (where I can simply connect any serial connection and read it on my PC via Putty)...
1
vote
1answer
39 views

How To Read Serial Data From The Neurosky Chips

I recently bought a Star Wars Force Trainer II with the intention of using it to read the attention and meditation values. I looked at the Arduino brain library but that didn't work. I started reading ...
-1
votes
1answer
42 views

Initializing the serial ports for transferring data

I'm trying to use the serial port (COM) to send/receive data over the serial device and also want to use the serial port in polling mode. I use the following code to initialize the serial port. <...
0
votes
1answer
49 views

Long Range (100m) USB(PC) to USB (microController USB module) Communication

I have a system that communicates between PIC32MX250F256D (USB module) and PC via USB (2 meters apart). And I need to increase the range of this communication to 100 meters. Due to typical 5m limit of ...
0
votes
1answer
75 views

Sniffing an RS-485 communication

I am trying to sniff a serial communication between two devices. One of them sends a command (6 bytes + 2 bytes CRC), the other one responds (4 bytes + 2 bytes CRC). My computer monitors the exchange ...
0
votes
2answers
42 views

Serial Error Pololu Micro Maestro

I have build a solution that looks almost like this: The wires that does the communication between the Micro Maestro and the two Jrk's and the RoboClaw are not included, so this is not a perfect ...
3
votes
2answers
89 views

Why do most Arduino boards need a USB - serial adapter?

I know that some Arduinos have built-in USB functionality which means they can act as USB devices as well as being programmed directly. I also know that most Arduinos use an additional ...
0
votes
1answer
29 views

Viewing the Arduino Serial Monitor while ATMega328P is powered by batteries

Is it possible to view the serial monitor of the ATMega328P (with the Arduino Nano Bootloader) while the arduino is powered by an external power supply? I'm trying to troubleshoot my program, and it ...
-1
votes
2answers
58 views

How Serial Port Loopback Test work internally/underneath? [closed]

Actually I've asked my question on StackOverflow, but I really think it belongs here. Here it is anyway: When doing a Serial Loopback Test on a USB Port (assume COM1) using Hyperterminal or any other ...
3
votes
0answers
37 views

Does this digital line-encoding/keying scheme have a name?

"1" is a single low pulse of length T, followed by a single high pulse of length T "0" is a single low pulse of length 2T, followed by a single high pulse of length 2T This is similar to BFSK, ...
-1
votes
1answer
54 views

Would this circuit interface be a safe interface between full duplex and half-duplex UARTs of different logic levels? [duplicate]

I'm primarily a SW developer who dabbles with electronics. I needs to interface my SoC's HW full-duplex UART with an SDI-12 compliant sensor, without burning either of them and hopefully without ...
0
votes
1answer
49 views

Reading status of switches over LAN

I need to design a circuit that reads the status of 6 switches and makes the status available over LAN for a professional project. The design should be implemented in hardware (no microprocessor.) My ...
-1
votes
1answer
53 views

Communicating a microcontroller or IC with a computer without using serial communication [closed]

I want to be able to communicate any sort of microcontroller/ic with my computer without using the serial port. Such as consumer products like the logitech g502 mouse. It doesn't have any serial ports ...
2
votes
2answers
61 views

Can I improve serial data signal using reversed output on a twisted pair?

This is a serial data communication with one or several transmitters and one or several receivers. From the transmitter I have one serial data output (D+) and a second, reversed serial data output (D-...
2
votes
2answers
267 views

Are there any advantages to an inverted serial prototocol?

Why would someone implement an inverted serial protocol? Are there advantages in doing so? One obvious disadvantage seems to be that an extra device needs to be included in a circuit if the ...
1
vote
1answer
89 views

What kind of serial encoding is this?

I'm involved in some reverse engineering of a device I need to interface with. With what little I know, and being able to capture a single data transmission, I think I've narrowed down the encoding ...
0
votes
2answers
57 views

Can an ATMega328p be bricked such that it cannot be programmed but still works?

I cannot update the program on my ATMega328p-AU (with the old version of the Arduino nano bootloader burnt to it). Oddly enough I can still talk to the program running on the uC (query and read out ...
-1
votes
3answers
267 views

How to read serial data from usb device using arduino? [closed]

I am pretty new to programming and electronics. I have a orion star 211 pH meter with usb and rs232 outputs. I want to record the pH change with time using an arduino but the first problem is reading ...
0
votes
1answer
39 views

Unable to drive MCU pin high

I'm trying to drive a MCU input with a RS-485 driver chip, specifically the SP3485 on the SparkFun RS-485 transceiver breakout. When I connect the MCU pin directly to the 3.3V power rail, the pin ...
0
votes
0answers
39 views

How do I set up serial communication between two Holybro Telemetry Radios?

I have two USB Holybro 915 MHz Telemetry Radios. These are usually used with Mavlink for communication between drones and ground stations, but I would like to use them to send small amounts of data - ...
0
votes
1answer
88 views

How to convert from 2 data line full duplex to 1 data line half duplex?

I'm trying to design a circuit that can convert from a two wire full duplex (think SPI), with one transmit line and one receive line, to a one wire half duplex (think i2c), with bidirectional ...
1
vote
1answer
845 views

Making own Chromebook debug cable (SuzyQable)

I wanted to debug my chromebook so I was looking for SuzyQable which enables to activate debug features on chromebook. Unfortunately this cable is hard to get in my location so after noticing this ...
0
votes
4answers
84 views

What is the exact difference between synchronous and asynchronous serial transmission?

I'm having a hard time understanding the exact distinction between synchronous and asynchronous serial because different sources have confusing description. For example, some source say a separate ...
1
vote
1answer
44 views

Reading UART from device that has floating ground

I am powering an ESP32 over a less-than-ideal power line, that has 4 Ohms of resistance. In order for 5V to arrive at the device, I apply 7V to the power line, such that when 250mA of current are ...
0
votes
0answers
25 views

How to store data in Keithley2400 buffer during measurements and retrieve through rs232?

I am trying to do an IV measurement (source current, sense voltage) store into the Keithley2400 buffer and retrieve the measured data (voltage and current) into my python program variable 'data'. <...
-1
votes
1answer
77 views

Serial Communication between two Arduino not working

I'm trying to perform a simple communication sending two strings in two char arrays from an Arduino Uno to another one. My problem is that after the 5th or 6th iteration the two strings will mix. ...
0
votes
1answer
63 views

Which ASCII character could interrupt communication?

Which ASCII character could interrupt or terminate or otherwise disturb communication on the reciever part. Not including acknowledgment, handshakes, identification or other programmed protocols. ...
0
votes
1answer
78 views

Connecting Three 12V DC Water pumps to the same power source

I am new to all this and I am sure this is a very basic question, but wanted to ask before I fry some pumps up. I have a relay, which is controlled by my raspberry pi, switching the pump on and off. ...
1
vote
0answers
38 views

How to access Realtek SMI interface without a dedicated processor?

I'm working with Realtek's RTL8367 switch IC. Background: I am having trouble with throughput being unbalanced. If I run iperf between two ports in one direction I get a different throughput if I ...
0
votes
0answers
151 views

RS-485 Master -> Slave Arduino *not sending or receiving* **SOLVED - BROKEN HARDWARE**

I am using an arduino mega as a slave and arduino uno as a master in hopes to eventually make an ROV. But as of right now im having issues with getting the serial communication between the arduinos to ...
1
vote
2answers
298 views

Use half-duplex or full-duplex RS-485?

I have a master microcontroller that can control 4 slave microcontrollers. Each slave microcontroller is connected to 3 sensors. The master microcontroller asks to retrieve the value of a specific ...
1
vote
2answers
96 views

how to choose level shifters for serial / UART

I have so far been using some MAX3323EEPE chips for shifting between 3.3V and 5V logics on serial / UART communications. This is quite some stuff to solder on a PCB, and the chip is a bit expansive. I ...
0
votes
0answers
88 views

How to identify the serial console port pads on device

I want to identify the serial console port pads on the board. The place for male header connector(yellow arrow) have 6 pads. Usually it’s not difficult to identify Rx, Tx, GND pins with a multimeter, ...
0
votes
1answer
120 views

Multiple UART devices on Raspberry Pi

I want to connect multiple devices which are communicating through UART to Rapsberry Pi3b+. Given that Raspberry has only 1 set of Tx-Rx pins, I am unable to do so. I am designing a PCB so I have the ...
0
votes
1answer
33 views

NRF Uart With sim868

I have a problem in the UART communication between NRF52832 and SIM868 module. The problem is the data sent by NRF doesn't be interpreted by SIM868. To see that i did tow tests: First one, I added ...
1
vote
3answers
156 views

How does the UART communication detect the true idle in this case?

When explaining UART communication it is told that the receiver will start sampling the data one start bit after the first falling edge. The falling edge occurs when TX goes from idle state to zero as ...
0
votes
1answer
43 views

How to get a serial reading from an Ultrasonic Rangefinder on a Raspberry 3 B+?

I'm trying to set up a Maxbotix Ultrasonic Rangefinder (LV-EZ0) with a Raspberry Pi 3 B+. I've tried all the tips I could find: raspi-config disable serial interfacing for shell, but keep it on ...
0
votes
1answer
137 views

WAVGAT Pro Mini, no serial output

I ordered some Pro Minis however get some WAVGAT clone thingies. The first problem was it is running too slow (4x slower) when compiling with default "Pro or Pro Mini" board profile. Serial however ...
23
votes
3answers
4k views

UART signal is “rounded”

I am trying to debug a UART driver for the STM32F405. It does not work above a certain baud rate (about 50 kBd). I connected it to a logic analyzer with analog capability, and I saw that the signal is ...

1
2
3 4 5
24