Questions tagged [protocol]

A protcol is a ruleset for formatting and exchanging messages.

Filter by
Sorted by
Tagged with
2
votes
2answers
366 views

When do you release and re-aquire control over SDA around an i2c Ack?

I am having odd behavior with Energia's Wire library, so I figured that I would attempt to do i2c myself. I'm writing my own (bit-bang) implementation if i2c and keeping it pretty simple. For now, I ...
0
votes
1answer
660 views

How do wiegand device really works?

As far as my understanding, wiegand device should be connected to wiegand controller so they can communicate in wiegand protocol which is 2 parity bit and the 24 data bit (the Standard wiegand 26). ...
0
votes
2answers
322 views

in host to device communication protocol, what does high and low mean?

I'm trying to learn about the PS/2 protocol from here. At about 4:00 he talks about low and high values. This part is to let the host send data to the device but the clock should come from the device....
1
vote
1answer
414 views

Is there a common message protocol for sensor data on top of MQTT-SN?

I want to communicate various sensor data in a network of sensors. I found MQTT and MQTT-SN as suitable protocols for that. The latter being better suited for sensor networks with support for ...
2
votes
1answer
2k views

Using ESP32 as a wifi/bluetooth modem? [closed]

I'm would like to make a connection between a ESP32 and a Allwinner A20 CPU in which the ESP32 would provide the Wifi/Bluetooth connectivity for the rest of the system. They both mention ...
7
votes
2answers
4k views

Is there a standard I2C/SM bus protocol for laptop battery packs

I'm building a laptop with a custom battery pack. I know that the pack has to communicate through an I2C/SM port on the motherboard, but I don't know how to make the bios/os recognize it. Is there a ...
1
vote
1answer
547 views

I2C slave compatible with SMBus protocol?

I do have some inquiries regarding using an I2C slave controller (from Arria 10 FPGA). We are currently assessing MCTP protocol support in our device, whose physical layer is built upon SMBus/I2C, ...
-2
votes
1answer
129 views

floppy drive try to read directory and fail [closed]

Equipment: NFA HP/Agilent/Keysight N8973A With 3.5 floppy disk drive I replaced by an emulator and the result is "bad or missing disk" after a trying to read the directory. Reinstalling the original ...
0
votes
2answers
258 views

Can I guess 5/3-wire RS-232 pins from voltages?

Objective: interface to an HPLC pump via the RS-232 interface described in the manual. Communication protocol is well described. Pinout is not described at all. Can I guess the pinout based on ...
3
votes
1answer
662 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
329 views

Since SPI contains data and clock, this makes it “source synchronous” doesn't it?

I read in a Xilinx application note that as data rates became faster became developed source synchronous transfer technique and later came the self-synchronous methods that make use of 8b-10b or some ...
2
votes
4answers
872 views

Using CAN bus tranceivers with custom data link layer

We needed a noise immune, low cost, multidrop, multi master (realtime and distributed) protocol and there is only CAN bus seems to meet with these requirements. Since there are no can controllers (...
4
votes
1answer
2k views

How to reverse-engineer a remote control?

I purchased a few bulbs which are manged via a wireless remote control. I would like to use them with my RPi (to which I would add the relevant transmitter-receiver module). Is there a way for a ...
0
votes
1answer
163 views

GSM Frequency Hopping

with System information Type 1 and Immediate Assignement, How can I find frequency of hopping channel in GSM? So I'd like to print frequency of hopping channel
1
vote
3answers
303 views

Lightweight point to point communication protocols

I'm working on designing a point to point communications link for a cubesat. I just want to confirm some of my understanding. In my opinion it is only necessary to have physical layer and data link ...
2
votes
1answer
69 views

Common way of describing a “double-sided wait”

Is there a commonly used name to describe a "double-sided wait" data transfer protocol? This is a uni-directional scheme in which data is transferred on the clock edge if both the sender and the ...
2
votes
2answers
446 views

What Transfer Protocol for “Streaming over USB”

I'm programming the FPGA on the Red Pitaya and I'm using it for gathering datas and generating images with those datas. Then, I need to transfer the images to an Android device. I so need to use the ...
3
votes
4answers
449 views

Dealing with signal noise over 50 foot communication link

Situation: Connecting a motor controller to an MCU. Motor controller is about 50 feet away from MCU. Connected via a single conduit (buried), containing the following cables: (There is no other ...
-4
votes
1answer
1k views

Can I2C work without pull up resistor?

I'm working with nrf51 board, I'm using I2C to communicate with an accelerometer (see the scheme), the communications are successful but I dont see any pull up resistors in the lines ...
29
votes
8answers
4k views

When should one switch from ASCII to advanced serial protocols?

All my microcontroller devices that communicate with the PC via UART use ASCII strings for sending commands and receiving data (as implemented in Arduino). That's what I learned when I began digging ...
2
votes
0answers
222 views

can i interface profinet protocol to ethernet interface?

i have a profinet device and an Ethernet port which is dedicated for KNX protocol. can i connect my profinet device to this Ethernet port?
24
votes
6answers
10k views

Serial protocol delimiting/synchronization techniques

As asynchronous serial communication is widely spread among electronic devices even nowadays, I believe many of us have encountered such a question from time to time. Consider an electronic device <...
2
votes
3answers
1k views

Understanding IR Protocol Checksum generation

To control my AC with an Arduino, I'm trying to emulate the IR Remote. Not with another IR LED, but directly connected to the IR Receivers Signal wire on the board. Using the Arduino as a Logic ...
1
vote
2answers
145 views

Create a new wireless protocol for industrial

I'm working on project that lets industrial machines communicate to each other wirelessly. It seems that Zigbee at 868MHz is the best choice (if you have any other suggestion it would be great), ...
0
votes
2answers
2k views

PCIe DIY protocol analyzer / packet spy / monitor - project [closed]

I'm interested in making a device that I can plug into a PCIe slot that can capture PCIe protocol packets. Along the same lines find a low cost solution so a hobbyist can make their own PCIe interface ...
1
vote
1answer
159 views

Where can I find correct documentation of old floppy drive formats?

I have an old drum machine with an ancient proprietary 3.5" SONY floppy disk drive with no information on the device itself that I have seen. The performance is spotty and it's very picky about disks. ...
1
vote
1answer
1k views

Home automation on Cat5e again: is this a reasonable multidrop protocol?

Previously I have asked about running I2C over CAN PHY over Cat5e cables for my home automation project. Now after a round of money saving and experimenting, it seem to me that abusing RS485 chip <...
2
votes
1answer
7k views

Difference between SPI and CSI?

I want to know the difference between Serial Peripheral Interface(SPI ) and the Clocked Serial Interface( CSI).I know that both the protocols are serial in nature and differ in number of signal lines....
-2
votes
1answer
65 views

ADC ic's for SPI protocol [closed]

I want to know what are the ADC Ic's is suitable for SPI protocol? because i cant find MCP3008 ic in shops? No one having this IC. Thanks.
0
votes
2answers
79 views

Protocol design in a steel conductor

I was wondering what energy efficient protocol should I use for a FSK modulation in a steel conductor. My limitation is on the number of continuous bits I can transmit due to the charging and ...
3
votes
1answer
240 views

Okay for USB to send data without specific OUT command first?

I have been going back and forth between writing software for my device and the PC application trying to get the protocol right. I have a pic18f4550 talking over interrupt transfers. It needs to ...
0
votes
2answers
1k views

How to deal with start sequence in payload of communication packet?

Basic serial messages are being transferred between an embedded device and a PC app. MCU UART Peripheral -> FTDI cable -> PC USB Serial Library The ...
1
vote
1answer
5k views

How to interface with credit card terminals?

I am considering doing a project that involves a machine that can accept credit card payment automatically from customers. Think of it as a vending machine, that accept credit card. I want to out-...
8
votes
8answers
11k views

What is the name of the protocol(s) used to let an automatic garage door opener know which button I've pushed on the wall control panel? [closed]

The wired wall control panel in my garage has only 2 wires connected to it. Yet somehow it acts different when I push the big "door" button than when I push the "light" button or the "lock" button. ...
8
votes
1answer
5k views

Transceivers in the field of FPGAs: When and why will we use them?

I am recently getting myself into the field of FPGA design and development, and lately I've found myself hearing a lot about transceivers. I tried searching the net for some answers about these ...
1
vote
1answer
468 views

Making Device to Send Data to Smartphones: 100m range, 1kb/s bandwidth, low power

What I want to make: A device that immediately sends a notification if the device incurs a moment of high acceleration. The notification needs to denote the acceleration. There is no guarantee that ...
5
votes
1answer
642 views

DMX512 packet issue (no break?)

I'm not sure if I'm reading this wrong or something, but this is a trace of the DMX packet that's coming from my USB-RS485 module then being converter to UART logic levels for my microcontroller. ...
2
votes
1answer
141 views

Dynamic switching of radio: Change between wireless protocols in the 2.4GHz

I want a radio core (transceiver). I want it to work on both the protocols. 802.15.4 and 802.11 I already know of some SoC which has both the PHY layers to work that up. http://www.gainspan.com/...
3
votes
2answers
369 views

Can several bluetooth devices be seen as one unique device from the point of view of an Android smartphone?

I need to put multiple bluetooth modules in various places so that they trigger something on a smartphone. Of course the smartphone has to grant access to the bluetooth device at some point, but I ...
9
votes
4answers
32k views

LVDS vs MIPI, what's the difference?

What are the practical differences between LVDS and MIPI? A little background information: I am attempting to build my own projector on the cheap and want to use a nexus 10 LCD panel (2560 X 1600 ...
2
votes
1answer
4k views

CAN Bus Off when operating with two nodes

I have two nodes A and B operating on a CAN bus. I have cut the bus off and Node A reached the error passive state due to the lack of ack from ...
0
votes
1answer
210 views

Does there exist a digital wireless broadcast protocol?

EDIT: Thanks very much to @pjc50, @dave-tweed, and @MoJo For their valuable comments. I apologize for the ambiguity of the original question. I've made edits below to clarify. I am in search of a ...
1
vote
1answer
63 views

Sliding protocols c code explanation?

While studying the Go back n protocol,in a part of the C code its written : ...
1
vote
4answers
3k views

Maximum frame sequence number in sliding protocols

I am reading about sliding protocols and in almost every book its written this: Frames have sequence number 0 to maximum \$2^n - 1\$. Why is the maximum \$2^n-1\$?
0
votes
1answer
156 views

Designing a simple energy-efficient communication protocol?

What is the required background knowledge in order to be able to understand and work on the design of a communication protocol which has to be robust, simple and capable of coping with short contact ...
7
votes
1answer
765 views

MIPI RFFE software implementation

I'm currently trying to implement the MIPI RFFE (As master) protocol on a simple AVR microcontroller, the specs says that the clock frequency can go down to 32 kHz, so I guess this it should be ...
4
votes
3answers
263 views

How would I software-decode this 260KHz serial stream?

I've probed this serial stream coming out of a scoreboard controller and it seems like a proprietary protocol. How would I go about trying to software-decode this? The start bit is 7.8us long. All ...
3
votes
3answers
445 views

Existing methods for bi-directional data transfers using no more than 4 wires?

I want to be able to exchange data between two units (in my case, two AVR processors), and I want to get away with using no more than 4 wires. So what are the existing methods for doing this? I know ...
2
votes
1answer
2k views

SWD and i2C hardware layer differences

Both I2C and SWD are two-wire protocols. I wonder what are the main differences of the hardware layer of these protocols and what are the pros/cons of each one? It's also interesting that the maximum ...
1
vote
1answer
235 views

Help with this protocol - LCTC

I have a 640x200 monochrome display from a HP 200LX palmtop computer. On its PCB I can see two types of ICs: HD66204TFL and HD66205TFL from Hitachi. Here is its schematic (it has 200 px not 240 as in ...