Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rs232]

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

-1
votes
1answer
35 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
0answers
113 views

Controlling slide projector with Serial

Edit 2: The problem with the RS232 to TTL converter is that pins 2 and 3 are switched, so rx is on pin 3 and tx is on pin 2. This appears to be common and can be solved by either rewiring the DB9 ...
0
votes
1answer
51 views

communication with ardiuno 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 ...
0
votes
1answer
271 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
22 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 ...
1
vote
1answer
419 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
0answers
176 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 ...
2
votes
2answers
1k 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
361 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
93 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 ...
1
vote
1answer
41 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 (+,...
3
votes
3answers
7k 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 ...
3
votes
1answer
399 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
2answers
3k 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. ...
0
votes
1answer
104 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 ...
2
votes
0answers
74 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 ...
0
votes
1answer
407 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
1answer
511 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 ...
0
votes
2answers
7k 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
219 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
716 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 ...
-1
votes
1answer
430 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
1answer
489 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
3answers
381 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
vote
1answer
198 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 ...
1
vote
2answers
217 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
1answer
477 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: /** ...
0
votes
1answer
556 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 ...
1
vote
0answers
286 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 ...
1
vote
1answer
327 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 (...
1
vote
1answer
114 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 ...
1
vote
2answers
1k 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
683 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*...
4
votes
2answers
4k 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
1k 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 ...
0
votes
1answer
583 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 ...
3
votes
1answer
609 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
2
votes
3answers
9k 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 ...