Questions tagged as 'serial'

1
answer

Communication with baudrate 110

I have to receive data from an equipment that has a TTL interface that sends the data to 110 bits per second. In all the tests I performed when trying to reach this speed I have problems, for example: My program does not receive the 9 by...
asked by 23.01.2018 / 20:07
0
answers

(Java) Reading the Serial Port with the Jssc library

I have a java app that le in the serial port with 7 data from a rotation sensor coming from the arduino, via jssc. The code works, but the data is not formatted. I read 4 by 4 bytes, but sometimes it comes with numbers like 0080, 8000, etc. I ne...
asked by 27.10.2017 / 17:43
0
answers

Serial Communication Error ttyS0

I am using a TTL serial communication via the terminal with an Orange Pi One and a PIC16F628A. The program that is in the microcontroller is simple: if it receives the character '1' puts a bit in high logic level, thus turning on the LED and rec...
asked by 17.04.2017 / 21:04
0
answers

Read Arduino Serial with bluetooth 4.0 using Evothings

I'm developing an application, where I want my iPhone to touch information with the Arduino from bluetooth 4.0. I was able to connect to bluetooth and I can also send data through Serial, but I can not read Serial data. I used the example of...
asked by 09.11.2016 / 14:34
4
answers

Serial Communication With PHP and Arduino

I already have a code in the arduino IDE, in which when I pass the letter 'l', a led will be access, however, I can not access this serial port with PHP, I'm using Fedora 22, Arduino Uno, the codes are below: Arduino code, port used / dev /...
asked by 20.10.2015 / 21:13
1
answer

Problem configuring serial port in C ++ on Linux?

Description: I have a problem that is the port of a code in C # for C ++ not working because of the serial port. I also noticed that on device / dev / ttyS0 I am seeing the same bytes as in C ++ and not those that are read by C #. The ot...
asked by 13.07.2016 / 20:31
1
answer

JSF accessing serial port

I'm working on a JSF system and need to send data to the client (printer) serial port. The only way is even using Applets?     
asked by 23.01.2015 / 19:32
0
answers

Divergence in reading

I made a sketch for Arduino MEGA, where it receives data by Serial2 and displays in the Serial, the communication happens but the byte sent is not the same as received, for example: Send 0x01, receive 0x7F Send 0x99, receive 0x33 void s...
asked by 23.10.2018 / 21:54
0
answers

Serial interrupt problem USART UDRE for ATMega328p

I'm having trouble using a USART serial interrupt in a program made in pure C and run on Arduino (Atmega 328p). My application requires pure C for efficiency and speed reasons, but I still want to maintain serial communication for debugging a...
asked by 30.10.2017 / 02:12
0
answers

How do I access a serial port from a remote SSH server with PHP?

I found out about SSH and socket connections to remote servers and also connections to local serial ports, but I still have not found out how to put things together. Scenario: I need to access the / dev / ttyACM0 port of a TX modem (which I c...
asked by 16.08.2017 / 03:44