Questions tagged [rs232]

it refers to the standard for serial communication transmission of data.

Filter by
Sorted by
Tagged with
0
votes
1answer
138 views

Communicating with Arduino Mega 2560 Serial ports through x2 RS232

I am trying to driver a stepper motor using an Arduino Mega 2560. There will ideally be two RS232 signals being read into / written from the Arduino, each using male USB 3.0 connectors; one of these ...
0
votes
1answer
80 views

Communication with Arduino and electronic device(for example tv or computer) through rs 232 cable

Say some electronic device (TV OR Computer) has an inbuilt program. Depending on received data from Ardiuno, it displays some text based on requirement. For example, if it receives 1 it should display ...
1
vote
2answers
343 views

Particle Electron to RS232 Serial gibberish

I've spent all day trying to monitor serial console output of a router. I'm using an "ebay" MAX3232 RS232 to TTL converter connecting only GND, TX and RX to the Electron. Trying to simply monitor the ...
0
votes
1answer
38 views

Pressure Gauge analog reading via RS232

I am trying to read the analog signal from a Pfeiffer TPG 261 Single Gauge (https://www.idealvac.com/files/brochures/Pfeiffer_Single_Gauge_TPG261.pdf) The pin assignment of the connector I am using ...
0
votes
1answer
657 views

Connect Arduino to PLC (Data Exchange)

The Arduino should read data from a PLC. Has anyone experience with this? What would be possible interfaces? I would prefer OPC-UA, but all the research I did, only OPC-DA was mentioned. Thanks in ...
0
votes
0answers
15 views

Serial throughput using AltSoftSerial on Arduino

My project involves a commercially available device that can be remotely controlled by a computer over RS232. I'd like to put an Arduino Pro Mini, which has a second serial port provided by the ...
0
votes
1answer
99 views

NodeMCU: Wiegand not working for one device, while working for another

I'm using a NodeMCU, and a working code for reading Wiegand data, with this library. I managed to successfully read the Wiegand signal from this device. However, I also have this new AR-721H device, ...
1
vote
1answer
785 views

Reading Arduino Serial Input

I am reading an input from my Ohaus weighing scale using it's RS232 output using this code: #define HWSERIAL Serial1 void setup() { Serial.begin(9600); HWSERIAL.begin(9600); } void loop() { ...
1
vote
1answer
83 views

Arduino USB host + RS232

I'd like to get a word of advice regarding the subject. Basically there's a COM port based device which I need to connect to an Android tablet via USB. The tablet will be exchanging data packages with ...
1
vote
0answers
481 views

Cannot upload to otherwise working bootloaded ATmega328P via RS232: “programmer is not responding”

I have an ATmega328P on a breadboard with the following circuitry around it: The ISP is a Tiny AVR Programmer. The RS232 to USB converter is this thing. Following is the test program I use: void ...
0
votes
1answer
614 views

Talking to Eurotherm 2416 temperature controller over modbus rs232

I am trying to implement the modbus library written by smarmengol to read process values and to set new setpoints (e.g. temperature) on a Eurotherm controller. The Arduino sketch looks like this: /** ...
1
vote
3answers
466 views

Garbled serial from GPS device

I'm using an Arduino Uno. "Regular" serial is plugged into my computer, and I can receive just fine. I'm using AltSoftSerial (tried SoftwareSerial, same results) with RX and TX on pins 8 and 9 to ...
-1
votes
1answer
45 views

Transmitting serial data over Wi-Fi [closed]

I have a device that outputs a TX RX RS232 serial string. Is there a way I can take this locally to an Arduino and send over Wi-Fi to another Arduino? I'm relatively new to all of this so any advice ...
0
votes
1answer
497 views

How to send IR data from Arduino to USB-TTL

I have a led receiver KY-022 and led emitter KY-005, I also have a PL2303 (USB-TTL). This is the code of the issuing LED: #include <IRremote.h> IRsend irsend; void setup() { Serial.begin(9600)...
0
votes
0answers
25 views

Can I use an atmega32u4 like an ftdi232rl?

Hey all since the 32u4 has built in USB I was wondering if I could make it into a FTDI232rl so I can send serial to usb commands. What I am looking to send it this: Any info on if and how I can do ...
5
votes
3answers
14k views

Major difference between DTR signal and RTS signal?

I actually had a doubt about what is the difference between the RTS signal and DTR signal ? I already know this that the DTR signal is used to auto reset when we use Arduino and similar MCUs. Can ...
1
vote
2answers
255 views

Arduino 2560 as an Interface to 4 Serial Hardwares

I am writing a software that runs on the PC that has a Arduino 2560 connected to it via USB. This PC needs to communicate with multiple devices through RS232. Is it possible to use the Arduino's 4 ...
0
votes
2answers
10k views

Arduino to read from RS232 converter to TTL serial module (updated)

Here's the system I want to work on: The weight controller device detects weight which can transfer data via RS232 serial connection I used RS232 converter to TTL serial module to connect the weight ...
1
vote
1answer
502 views

Slice byte-stream into bit pieces

I receive byte data from a RS-232 device with Serial.read();. Now I need to slice this down in bit-pieces: value1: 15bits value2: 7bits value3: 9bits value4: 12bits and so on Data from the stream (...
0
votes
1answer
145 views

Sparkfun OpenLog both lights flashing

I'm building a simple RS232 data logger with the Sparkfun OpenLog and a SEEED RS232-TTL adaptor. I'm powering it with a 9 volt battery and a 7805 voltage regulator. It's dead simple. I built it on a ...
1
vote
1answer
751 views

Error while updating ThingSpeak using SIM808

im trying to update ThingSpeak from a SIM808 but I'm getting a network error. Please check below and let me know if there is anything wrong in my methodology. I'm using terminal.exe to send commands ...
2
votes
2answers
2k views

How to listen for an incoming serial string inside loop with long delay?

I'm trying to build a datalogger using Arduino UNO, I'll use RS232 for the communication between PC and Arduino, the problem I'm facing now is that I'm using delay(10000) : 10 seconds as a timestep ...
1
vote
1answer
526 views

Arduino PC to RS232 not reading data

I am trying to read data from RS232 Shield with an Arduino Mega. This is the schematic pin, TX is 3 and RX is 2. Wiring: PC > USB-RS232 cable > Arduino RS232 Shield. Software to send/receive data: ...
0
votes
0answers
130 views

Arduino RS232 Shield with SD Card conflict

I have an Arduino Mega with a Ethernet2 Shield + RS232 Shield SD Card works well with Ethernet2 Shield, but it get a conflict when I add the RS232 Shield. Both hardware use the same PIN: #define ...
2
votes
1answer
564 views

Serial Port configuration with asio C++ library

I've made a small interface using the asio C++ library to open serial ports and do I/O from/to them. It works with my Arduino Uno and other hardware as well (industrial weighing machines), but I only ...
1
vote
1answer
53 views

Is there any option to connect XDTouch IrTouchScreen to Arduino?

Is there any option to connect XDTouch IrTouchScreen with USB interface or RS232 to Arduino board? At the cable of this touchscreen i have something like at the photo. At the top of the photo pins (+,...
0
votes
1answer
640 views

Arduino Control TV over RS232

I have a LG TV(LG 32SL800 ZB), which has a RS232-Port for Control and Service. And I am wondering if I could control this port with my Arduino (NODE-MCU) and a module like this one RS232 Board? How ...
1
vote
2answers
4k views

How do I connect Arduino to RS232 via USB? [closed]

I have a device that takes commands in the form of RS232 communication. I've connected the Arduino's USB port, through an adapter, to the device's 9-pin serial port, but no communication has happened. ...
2
votes
0answers
106 views

How do I Continuity Test/Troubleshoot a Linksprite RS232 V2 Shield?

I have a Linksprite RS232 v2 adapter (which uses a MAX232 chip), as per this image. I have soldered on the headers and tested the pins to make sure there are no solder bridges. I have set the jumpers ...
1
vote
1answer
303 views

RS232-TTL Data Transmission

I'm developing an computacional module to create risk maps in agriculture, I am using one arduino mega as "GreenSeeker", generating "fake" data to transmit via RS232 connection to one Raspberry PI, ...
0
votes
2answers
1k views

Arduino-RS232 converter baud rate problem

i have built a TTL/RS232 converter to send strings via RS232 using an Arduino nano, following the tutorial:Arduino-RS232. My problem concerns the transmission baud rate, because in the tutorial it is ...
0
votes
1answer
599 views

USB Communication like serial RS232 with an Attiny

Basically I want to use an Attiny running an Arduino boot loader as an usb device. I'm not sure how to even start or what phrases to search for. So here's what I ultimately wish to do. Load a ...
1
vote
1answer
216 views

Connect to Arduino 2560 using a RS232 Connection

Is it possible to connect to an Arduino 2560 using a RS232 (DB9) connection rather than the regular connection using USB cable? I am thinking of this connection scheme: PC -> USB cable -> USB ...
0
votes
1answer
775 views

Interfacing to scale over RS-232

Objective: interface and Arduino MEGA to a Mettler Toledo SB32001 using the RS-232 communication protocol described in the manual. Equipment Used: SB32001 Mettler Toledo 32 kg scale Arduino MEGA ...
2
votes
3answers
10k views

How to get serial data in Arduino from a barcode scanner?

I want to interface my barcode scanner with an Arduino using RS232. I have connected 2 (RX), 3 (TX) and 5 (GND) of the RS232 with the corresponding pins of MAX232. I am taking TTL outputs on Arduino ...
1
vote
1answer
135 views

No response from device when trying to communicate with it via RS-232

I have an Arduino Uno with an RS-232 shield, and a servo drive that communicates via CAN or RS-232. I'm trying to communicate with this drive using an RS-232 cable, but I'm getting no response. I'm ...
0
votes
1answer
679 views

Arduino ethernet shield not responding to every request because it is busy

I have a simple HTTP server that monitors a serial port and responds to HTTP requests by sending the value. The serial port constantly outputs data, so that apart from a brief moment when the device ...
1
vote
2answers
2k views

Controlling HDMI Switch via RS232/UART

Problem: I have an HDMI switch that is controllable via RS232 Scenario 1: Setup: PC connected to HDMI switch using USB -> serial adapter Test: Opening PuTTY on COM port and sending command "sw ...
1
vote
2answers
836 views

Baud rate Arduino/Linux

I'm trying to communicate some numbers between a Linux program and my Ardunino Uno. To this end I wrote a C++ program which somehow contains: #include <stdio.h> int a,b; a = 1; b = 2000; File*...
3
votes
2answers
5k views

Long Distance Communication with Arduino

I am reading the value of six potentiometers with a TX Arduino and receiving that data and applying those numbers to a motor using serial. It is working fine through TTL but I am going to need to do ...
0
votes
1answer
2k views

Problem in RS485 Communication between Arduino and PC

I'm trying to sending and receiving data via RS485 communication. Interfacing Arduino and PC(laptop) using SN75176 RS485. I wrote a program to send a string "Hello" from arduino via Tx pin. My ...
3
votes
1answer
1k views

What does serial data look like on an oscilloscope?

How I can find the data field on oscilloscope at 300 baud or at 9600 baud? Could someone show me picture on oscilloscope plase. This is the picture at 9600 Baud