Questions tagged as 'serial'

1
answer

Receiving data via serial connection C #

I need to make a program that has to send a command to a radio connected via serial port and it returns its ID. The connection to the port and the sending of data is okay, when I send something the light flashes. However I need your feedback and...
asked by 19.06.2015 / 20:49
3
answers

How does serial communication work and how to do it using C / C ++?

I use Debian 7.1 and I need to do serial communication between a computer and a microcontroller using C / C ++ . I have already done a lot of research on the subject, but the articles and examples I found are very confusing, unclear and not v...
asked by 20.03.2014 / 17:05
1
answer

Send SMS via Php

I was using a gateway to send sms ( nowsms ) but the evaluation period ended and I went to buy the license, $ 995 to send 12 sms per minute, I did not find it viable. Searching I found a Php-Serial class ( link ) but I can not send anything to...
asked by 11.06.2015 / 19:52
1
answer

Read serial port values using Pyserial

I created a plugin to monitor an Arduino presence sensor for Nagios. The plugin read serial port values in Arduino. The problem is that Nagios does not let the plugin running, it performs takes the values and shuts down. That way it does n...
asked by 26.11.2014 / 14:23
0
answers

Difficulties in Scilab

I'm communicating via USB - > Arduino Serial and receiving values from a sensor. But sometimes values have different sizes and the function used to receive the bytes from the serial needs a defined amount of input bytes. Example: data = reads...
asked by 09.09.2016 / 15:36
3
answers

RXTX: balance serial port connection

I'm trying to take the weight off the scale, but I can not find success in this battle. As you can see the connection to the SERIAL port (actually it's USB) everything is ok: Stable Library ========================================= Native l...
asked by 21.08.2015 / 12:54
1
answer

How to store data coming from Arduino in a Java string?

I need to store data coming from Arduino on Java via serial communication only that the values sometimes not completely filled. I'm using the rxtx library. //trecho do código para leitura int avai...
asked by 02.04.2017 / 14:07
1
answer

Serial Communication with Precision Scale

I'm developing an application to measure the flow of solder that passes through the board on a production line, but I'm having a bit of a hard time connecting the precision balance with the PC via a serial port. I'm using JAVA language and api j...
asked by 03.07.2015 / 15:55
0
answers

Receive data from arduino via serial in C # application

I need to make an application that sends and receives data from an arduino leonardo. I tried some examples of serial connection between C # and Arduino and in all instances I had the same problem, Arduino receives data sent by the application bu...
asked by 13.12.2018 / 23:00
0
answers

Protocol NBR 14522

I am developing software for communication with meter via serial port, and I am able to send the commands via serial, it follows the codes: int serial_open(const char *device, int baud) { struct termios tio; int fd = open(device, O_...
asked by 22.10.2018 / 13:05