Most voted "serial" questions
The serial interface or serial port, also known as RS-232 is a communication port that transfers one bit of data at a time.
Learn more…51 questions
Sort by count of
-
10
votes1
answer3855
viewsReceiving data via serial connection C#
I need to do a program that has to send a command to a radio connected via serial port and this returns your ID. The connection to the port and the sending of data is ok, when I send something the…
-
8
votes3
answers9428
viewsHow does serial communication work and how do I use C/C++?
I use the Debian 7.1 and need to make serial communication between a computer and a microcontroller using C/C++. I’ve done a lot of research on the subject, but the articles and examples I found are…
-
6
votes1
answer1179
viewsSend SMS via Php
I was using a gateway for texting (nowsms) however the evaluation period ended and I went to buy the license, U$995 to send 12 sms per minute, I did not find viable. Searching found a Php-Serial…
-
5
votes0
answers422
viewsProtocol NBR 14522
I am developing software for communication with meter via serial port, and I am able to send the commands via serial, follow the codes: int serial_open(const char *device, int baud) { struct termios…
-
4
votes1
answer2578
viewsRead serial port values using Pyserial
I created a plugin to monitor an Arduino presence sensor for Nagios. The plugin read values from the serial port in Arduino. The problem is that Nagios does not let the plugin running, it executes…
-
4
votes0
answers107
viewsDifficulties in the Scilab
I am communicating via USB -> Arduino Serial and receiving values from a sensor. But sometimes values have different sizes and the function used to receive the serial bytes needs a defined amount…
-
4
votes1
answer727
viewsError closing serial port in c#
I am new in C#. I made a program, which keeps continuously reading the data from the serial port and showing in a textbox. Until then, everything works well. The problem occurs when I try to close…
-
3
votes1
answer703
viewsSerial Communication with Precision Balance
I’m developing an application to measure the weld flow that passes through the plate on a production line, but I’m having a little trouble connecting the precision balance with the PC via serial…
-
3
votes3
answers2541
viewsRXTX: serial scale port connection
I’m trying to catch the weight of the scales, but I’m not finding success in this battle. As can be seen the connection to the SERIAL port (actually USB) is all ok: Stable Library…
-
3
votes1
answer533
viewsHow to store data from Arduino in a Java string?
I need to store data from Arduino in the Java via serial communication only the values sometimes not filled in completely. I am using the library rxtx. //trecho do código para leitura int available…
-
3
votes1
answer804
viewsReceive data from Alpha via serial in C#
I need to make an application that sends and receives data from an Aryan Eonard. I searched some examples of serial connection between c# and Arduin application and in all examples I had the same…
-
3
votes1
answer126
viewsLosing data while communicating with C#
Man Arduous sends data continuously to my C# via serial port. However, I understand that the first figures sent by Arduous are simply disappearing, sometimes disappear more numbers, sometimes less,…
-
2
votes1
answer135
views -
2
votes0
answers134
viewsRead Arduino Serial with bluetooth 4.0 using Evothings
I am developing an application, where I want my iPhone touch information with Arduino from bluetooth 4.0. I was able to connect to Bluetooth and also send data through Serial, but I’m not able to…
-
2
votes0
answers160
viewsttyS0 Serial Communication Error
I’m utilizing terminal serial TTL communication with an Orange Pi One and a PIC16F628A. The program that is on the microcontroller is simple: if it receives the character '1' puts a bit at a high…
-
2
votes0
answers638
views(Java) Reading the Serial Port with the Jssc library
I have a java app that reads on the serial port with 7 data from a rotational sensor coming from the Arduino, via jssc. The code works, but the data is not formatted. I read 4 in 4 bytes, but…
-
2
votes0
answers54
viewsRaspberry Pi3 + Raspbian - Python serial driver problem cp210x
Hello, I would like if possible, help/tips on the following problem: I am connecting my device using cp210x driver to my raspberryPi3 using Raspbian system, through USB-Serial communication, but…
-
2
votes0
answers50
viewsProcessing Data rs232
good afternoon! I need a help that would be another explanation in a certain way. I am doing homologation of an equipment that send data via rs232 however the equipment does not have a protocol that…
-
2
votes0
answers65
viewsProblems with python serial communication
So, I’m developing a project for the university, it’s basically the development of a supervisory. I have to read some I/O modules that communicate over an RS485 network. Communication with the main…
-
1
votes1
answer385
viewsJSF accessing serial port
I am working on a JSF system and need to send data to the serial port of the client (printer). The only way is even using Applets?
-
1
votes0
answers204
viewsjava.lang.Noclassdeffounderror: gnu/io/Serialporteventlistener communication with Rduíno
I’m trying to make a java communication with an Afghani but I’m having a problem when I invoke a Class that implements the SerialPortEventListener on my controller. Controllers This Java class is…
-
1
votes0
answers49
viewsDP-20 serial printer with PHP
I’m building a script that prints Cheque with the DP-20 printer using PHP. But I can only find tutorial using their DLL, nothing via serial port. Does anyone know how to do this only with the serial…
-
1
votes0
answers137
viewsSending string via Node by serial port to Arduino
I have a local server that keeps listening to the serial terminal of the Arduino and from certain data, he is able to make a select in a Mysql database to know if an RFID tag is registered (and…
-
1
votes4
answers2455
viewsSerial Communication With PHP and Arduino
I already have a code in the Arduino IDE, in which when passed the letter 'l', an led will be access, however, I can not in any way access this serial port with PHP, I am using Fedora 22, Arduino…
-
1
votes0
answers286
viewsserial port Node.js
I need to write a code for Node.js who receives a "post request" (in this case a word String), and pass this word forward to serial port. Then get another word from this serial port and put this…
-
1
votes1
answer131
viewsProblem configuring serial port on C++ on Linux?
Description: I have a problem that is the port of a code in C# to C++ does not work because of the serial port. I also noticed that on the /dev/ttyS0 device I am seeing the same bytes as in C++ and…
-
1
votes0
answers220
viewsHow do I access a serial port from an SSH remote server with PHP?
I found about SSH and socket connections to remote servers and also about connections to local serial ports, but I still can’t find out how to put things together. Scenario: I need to access the…
-
1
votes0
answers146
viewsProblem with serial interruption USART UDRE for Atmega328p
I’m having trouble using USART serial transmission interrupt in a program made in pure C and run in Rduino (Atmega 328p). My application requires pure C for reasons of efficiency and speed, but…
-
1
votes2
answers3397
viewsRead serial port data with javascript, Node
Problem : Search for an alternative to read data from a COM5 usb port, with bound 115200. I’m working with a libelium waspmote sensor, Alternating current meter, this sensor emits data via usb, and…
-
1
votes0
answers30
viewsDivergence in reading
I made a sketch for Arduino MEGA, where receives data by Serial2 and displays in Serial, the communication happens but the byte sent is not the same as the received, for example: Send 0x01, receive…
-
1
votes1
answer94
viewsValue storage problem of a variable in Arduino: it reads a value and saves for two cycles, is there any way to solve this?
My project consists of an Arduino program using the RFID module, to read card frequencies, to release a ratchet (similar to buses). A program in Python will read this frequency printed in the…
-
1
votes0
answers59
viewsESP32 - Hardwareserial 110 Baudrate
I can’t do the reading of Serial in baudrate 110. I tried some alternatives of changing processor clock, but it didn’t work. Does anyone have any idea or suggestion of what to do? Thank you. #define…
-
0
votes0
answers266
viewsTelephonymanager Android
I wonder what is returned on android in Class TelephonyManager when I call the method getDeviceId, the device has no chip. Because I need an identifier for the device and I thought about using the…
-
0
votes1
answer1388
views -
0
votes1
answer295
viewsRecovering serial from hard drive by C++ without using WMI
I need to get the MAC and Serial from the HD volume (in cmd is "vol C:"), I got the MAC by the code: private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { UCHAR…
-
0
votes1
answer201
viewsSpyder can’t read serial port
I created the following test program: import serial porta = '/dev/ttyUSB0' baud_rate = 9600 try: Obj_porta = serial.Serial(porta, baud_rate) valor = Obj_porta.read() print valor Obj_porta.close()…
-
0
votes1
answer5418
viewsRead serial port data with PHP
my situation is as follows: I have several scales connected to the server, each scale connects through a serial port, currently I am using the COM5 port (I have tried with other larger and smaller…
-
0
votes1
answer1081
viewsConnection portal serial scale using JSSC
I communicate with a scale via serial port, and today I use the library JSSC however the returns of the hour balance are of weight and time are of different characters, researching I have come to…
-
0
votes2
answers716
viewsConverts String to int Arduino in C
Good people, I will try to explain my problem. I am developing a little software in Netbeans that communicates with Arduino via Serial Port. My problem is that in Netbeans IDE I am sending String,…
-
0
votes0
answers250
viewsArduino and PHP communication via serial
Friends, forgive me for the post, but I don’t understand PHP. I’ve even read some other posts here on the site, applied some things but it’s become a mess. The idea is to have PHP send a letter that…
-
0
votes0
answers227
views -
0
votes1
answer235
viewsArduino serial communication
I’m trying to figure out a certain exercise my teacher gave me in class. Basically the exercise is: With two arduinos prepared to make the serial communication between TX and RX, this must transmit…
-
0
votes1
answer429
viewsPyserial library problem (PYTHON)
I am trying to control Arduino by a Python script through the "pyserial" and "serial" library. But every time I run the code it misses the first few lines: import serial ser = serial.Serial('COM7',…
-
0
votes1
answer146
viewsSerial Communication and Array Division with Comma
Hello, Good Night, today I came up with another problem, reading data generated by sensors of the Arduino, I was able to print them and save them in an array, but to really get good, I need to break…
-
0
votes1
answer71
viewsProblems with Decode and Arduino
Hello, People I have the following code on Arduino if((digitalRead(4) != 1)||(digitalRead(5) != 1)) { Serial.print("\t"); Serial.print(analogRead(A0)); Serial.print(","); Serial.print(millis());…
-
0
votes0
answers72
viewsProblem with serial reading
Guys, I’m trying to read data from a serial port in c#, but along with the data is being returned too "junk", which makes it impossible to convert the string to integer. Is there any way to make me…
-
0
votes1
answer38
viewsMonitoring Arduino analog inputs
I am monitoring more than one analog input of one Arduous at all times, that is, at all times I am sending data via serial to other software. What would be the best way to send this data so that I…
-
0
votes1
answer36
viewsRTS/DTR C++ control
Performing an integration of an RS232 device, we found an obstacle that is related to the flow control using the RTS and DTR with the equipment. Using the Escapecommfunction function to manipulate…
-
0
votes0
answers11
viewsAndroid serial communication
I have an Android app that does serial communication with an interface. The device I use has two serial ports: ttymxc0 and ttymxc4. When I try to access both ports at the same time, the library…
-
-1
votes1
answer1913
viewsC# Read balance weight Toledo Prix PS 600 line
Hi, I’m trying to get the weight of a Toledo Model PS 600 scale. I used the example of the link below to carry out the communication: rnmioshi Oil Github So far I can capture the COM port where the…