Questions tagged [protocol]
A protocol is a ruleset for formatting and exchanging messages.
309 questions
-5
votes
1
answer
91
views
Serial instruction for USB with embedded SD card [closed]
I am thinking about buying a USB with SD card. I want to write a program in Python to read/write data from/to the USB/SD card.
In Python there is the library serial....
1
vote
1
answer
195
views
CAN Bus loop back mode. Is there need a connection of a transceiver and a termination resistor?
In a number of MCU families there are built in CAN bus controllers, which include self testing function of loop back. Loop Back mode can be configured as External Loop Back and Internal Loop Back. ...
4
votes
2
answers
317
views
Open-Drain Circuit Operation
What is a triangle and small square in this figure? What is this, and what is their function in this circuit?
Ref: Valdez, J., Becker, J., & Texas Instruments Incorporated. (2015). Understanding ...
0
votes
1
answer
89
views
Help with Implementation of proprietary UART single-master and multi-client protocol
The plan is to communicate with multiple client MCUs (Node-B, Node-C,...) where each transmission is initiated by ONE master MCU (Node-A). The underlying PHY will be UART, but each RX AND TX line will ...
0
votes
0
answers
80
views
Should a Modbus exception function code set the MSB or add 0x80?
Suppose a client initiates a transaction, sending a function code in the range 128..255. This function code is invalid, so the server should respond with an exception. However, to me it seems like the ...
1
vote
1
answer
120
views
I2C SSD1306: single vs double transaction
Based on answers to my previous post - I have a question about basic I2C transactions.
If a basic transaction has the following structure:
start
chip address
bytes to chip
stop
I am wondering if ...
4
votes
4
answers
612
views
How to encode information on top of a protocol?
I often build appliacations where a variety of information is exchanged on top of a protocol like UART, I2C, or CAN. For example: this could be a two-wheeled robot wherein the SBC and a slave ...
5
votes
1
answer
252
views
Identify protocol from logic analyzer data capture
I have a EG7500DH electric heater that I'd like to sniff the communication data between the display module and the main control board so that I can eventually capture the data with an esp8266 and send ...
1
vote
2
answers
172
views
I need advice for designing an interactive art installation. Regarding communication protocol
I'm a mechanical engineer with minimal electronics experience (yeah dangerous). I'd like to create an interactive art installation for my local community. I need help to find what direction I should ...
0
votes
3
answers
3k
views
Connect multiple SDA and SCL on ESP32
I was wondering if you could set a GPIO pin of an ESP32 to be SDA or SCL even though the pin is not really intended for that.
Here is the pinout of an ESP32 (Disregard the red rectangle):
Source of ...
0
votes
1
answer
228
views
Origin and underlying sense of the term "Posted" in PCIe
When PCI Express replaced the operation of reading directly from a PCI peripheral card over a bus, directly addressing its I/O ports, or performing a configuration cycle on it directly, with instead a ...
0
votes
0
answers
143
views
The maximum distance supported between two nodes in an ESP32 based mesh network
What is the maximum distance supported between two nodes in a network implemented using the ESP-WIFI-MESH protocol developed by Espressif Systems for their ESP32 modules? The documentation mentions ...
0
votes
0
answers
76
views
Help identifying protocol for Midea AC daughter PCB communication
I have a basic Midea AC unit that lacks Wi-Fi connectivity, and I'm interested in making it smart. It consists of a main PCB, which I prefer not to tamper with, and a smaller daughter PCB responsible ...
2
votes
1
answer
201
views
How to identify protocol of unknown 7 segment display chip?
I'm trying out logic analyser with digital clock I have laying around. The clock uses 7 segment display (4 digits) and consists of two parts: display with unknown chip inside and main board with two ...
5
votes
3
answers
3k
views
Best protocol for daisy chain communication between many small microcontrollers
I'm working on a project where I'd like a large number of small microcontrollers (100+, something like an 8-bit PIC, but flexible on what I use) to each perform audio synthesis behavior defined by an ...