serial-communication Questions

14

I am really having hard time understanding the difference. Some say they are same, while others say there is a slight difference. What's the difference, exactly? I would like it if you explained wi...
Weathercock asked 12/12, 2013 at 3:19

2

My recent project requires the use of i2c communication using a single master with multiple slaves. I know that with each data byte (actual data) sent by master,the slave responds with Nack\Ack(1,0...
Freehanded asked 5/5, 2016 at 1:13

3

Solved

I'm starting a new .NET Core 3.0 project in which I need to access the System.IO.Ports.SerialPort class. The documentation I'm reading on the class shows that it is applicable to .NET Core 3 ( see ...

1

I have 2 types of devices that have different protocols and are connected with a single serial port. By protocol, I mean that serial port configurations are different. I have a protocol id p_id by ...
Angell asked 5/10, 2020 at 6:27

2

Solved

Typically C# applications use System.IO.Ports like so: SerialPort port = new SerialPort("COM1"); port.Open(); port.WriteLine("test");` But Universal Windows Applications don't support System....
Midship asked 3/4, 2016 at 2:16

4

Solved

I want to learn and implement CAN BUS protocol. I have implemented UART,SPI,I2C and One Wire Bus protocol using MSP430 Launchpad in software. Now I want to learn about CAN Bus protocol. I have mBed...
Precessional asked 3/3, 2013 at 18:46

3

Solved

I am working on an Arduino Mega 2560 project. At a Windows 7 PC I am using the Arduino1.0 IDE. I need to establish a serial Bluetooth communication with a baud rate of 115200. I need to receive an ...

1

Background :I have tried finding help on stackoverflow, android developers, and various other resources on web. This is my last hope. I am new to communication and starting with implementation of U...
Fuge asked 20/7, 2018 at 7:50

5

Solved

I'm trying to write a C++ MFC application that uses the serial port (e.g. COM8). Every time I try to set the DCB it fails. If someone can point out what I'm doing wrong, I'd really appreciate it. ...
Tinderbox asked 15/11, 2010 at 21:1

2

Solved

I have to write a java program that receives G-Code commands via network and sends them to a 3D printer via serial communication. In principle everything seems to be okay, as long as the printer ne...
Ancestral asked 8/4, 2018 at 16:40

2

Solved

I am a complete noob at Android, only at the level of basic (1 or 2 line) Activities activated by buttons, but I would like to create a really simple app that, when I tap the app icon, it fires and...
Dingus asked 13/2, 2014 at 8:29

2

am new to Modbus and developing an application using Modbus RTU. I would like to know how to find out the RTU message frame separation time. In the Modbus RTU specification, It mentions 3.5 chars t...
Embrue asked 23/12, 2013 at 8:53

1

Solved

A PL2303 serial-over-USB device is configured to receive-only data. There is an explanation of tty vs. cu here: MacOS: what's the difference between /dev/tty.* and /dev/cu.*? That being said, w...
Fruitcake asked 7/6, 2016 at 19:59

4

Solved

I'm dealing with some legacy systems that are using RS232 to communicate with peripherals. I'm not very experienced with COM interfacing. I have some code that can open and use COM ports, but it ca...
Vitrics asked 27/5, 2009 at 14:5

1

What will happen if there is no Start and Stop Bit in Serial Communication? What is the use of Start and Stop Bit?
Guitar asked 5/3, 2016 at 3:26

1

Solved

I am currently working on a project which will allow different automates to communicate. To do so, I would like to create a client and a server that will talk using the modbus protocol. I am not su...

1

Solved

I am trying to do some serial communication through my usb port (named COM15), and I am getting an error. This is the code where the error is occurring: HANDLE myPortHandle = CreateFile("COM...
Nought asked 12/1, 2015 at 19:51

2

Solved

Not a whole lot to say here other than this doesn't work, and I have no idea why. The serial output on the Arduino is nothing. The output on the C# code goes down to waiting for a response and the...
Frisby asked 14/5, 2013 at 22:40

4

I would like to write a program in JAVA which can control LED lights connecting to "something" that is connected to the computer. JAVA program will consist of 8 toggle buttons in JFrame. The butto...
Nimiety asked 14/3, 2014 at 10:1

2

Solved

I have a small problem. I am passing information from an arduino attached 3 axis accelerometer + 3 axis magnetometer + compass heading. These are scaled to midi ranges (0-127). ARDUINO: This is p...

1

I am trying to use GPRS functionality of the GSM/GPRS modem for sending data to the remote server but i am unable to do so.I had posted a question on Arduino Forum but didn't get any reply.Here is ...
Energy asked 7/11, 2013 at 7:33

1

Solved

In a serial communication link, what is the prefered message framing/sync method? framing with SOF and escaping sequences, like in HDLC? relying on using a header with length info and CRC? It's a...
Polymer asked 12/6, 2013 at 19:3

1

Solved

So I'm working my way through kernel driver programming, and currently I'm trying to build a simple data transfer between application and kernel driver. I am using simple character device as a lin...

3

Solved

I have been tasked with the implementation of the ModBus protocol over a RS485 2-wire system. (Actually it's three wires, A/B and GND). ModBus is not the point though, but the step before that...si...
Nosewheel asked 21/9, 2012 at 13:11

2

Solved

I'm having a bit of a problem with the communication to an accelerometer sensor. The sensor puts out about 8000 readings/second continuously. The sensor is plugged in to a usb port with an adaper a...
Yellowstone asked 23/4, 2013 at 19:49

© 2022 - 2024 — McMap. All rights reserved.