Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [rs232]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
164 views

Communication between two ESP32, USART vs RS232 with MAX3232

I have two ESP32 that are communicating via USART (TTL) on the Serial2. The TX2 pin of ESP_Alice is connected with the RX2 pin of ESP_bob. The RX2 pin of ESP_Alice is connected with the TX2 pin of ...
Carlo Tavian's user avatar
1 vote
1 answer
44 views

Having issues with RS232 UART wiring to a physical PC connection

TL;DR: Attempting to connect UART2 on ESP32-WROOM to a physical PC RS232 results in odd behavior and ESP32 crashes or errors. Suspect electrical design problems. Wondering if I need special ...
Jason Rohm's user avatar
1 vote
0 answers
40 views

Incorrect HEX code from DMM IR RS232

I have an Amprobe 38XR-A (sometimes seen as a meterman), these DMM's have a IR RS232 port on top and transmit a HEX code. Using the official cable I get a hex value of: 08000400500A0 I am attempting ...
Ash_noob's user avatar
4 votes
2 answers
150 views

Arduino unable to read 0x41 and 0x42 (reads others just fine (ICT bill acceptor)

Here is my issue: My code successfully recognizes and accepts $1 (0x40) and $20 bills (0x43), but it fails to recognize, display, process, anything for the $5 bill (0x41), and $10 bills (0x42). Also, ...
Mappy Wilks's user avatar
1 vote
0 answers
96 views

Communication with scale via rs232

I need help with an Arduino project. I want to read values from a TCS150 scale using the serial port. The hardware I have is an UNO R3 board and a MAX3232 level converter. I have connected: MAX3232 ...
Konrad Morawiec's user avatar
-1 votes
1 answer
57 views

I cannot communicate using RS232 between Arduino and Lakeshore Fluxmeter. How do I get data back from the fluxmeter?

I am using an Arduino Leonardo and the DFrobot RS232 shield to try and communicate with a flux meter. I am trying to write "UNITS?", which would have the fluxmeter send back a single byte ...
Dominic Heye's user avatar
2 votes
1 answer
1k views

Using Arduino to read and write data to RS232 device

I have a micro turbojet engine (JetCat P100-RX) which is operated through an Electronic Control Unit (ECU). The ECU has a lot of information about the engine. I want to access that information and ...
Atharva's user avatar
  • 53
2 votes
1 answer
1k views

Read serial with header and end marker

I am trying to use Topway display for HMI lcd with Arduino. This display using RS232C protocol at docs it has a "Communication Packet Structure" like this. So my query should start with AA ...
mehmet's user avatar
  • 287
5 votes
2 answers
15k views

How to read from and write to rs232 device from/to Arduino

I would like to read data from a rs232 device (SL-5868P Sound Level Meter). protocol and more : https://sigrok.org/wiki/Colead_SL-5868P. I already have a Python script to read the data with a TTL to ...
Joost's user avatar
  • 75
1 vote
1 answer
102 views

Joy-IT RS232 Shield and RS232 voltage levels

First of all, sorry if this is a dumb question, but I'm pretty new to the whole Serial RS232 concepts. I do have an Arduino Board that, from what I read about, is not able to communicate via RS232 ...
Strohhut's user avatar
  • 113
1 vote
1 answer
299 views

Send data to Programmable Power supply from Arduino by RS232

I have a programmable power supply, which has serial communication port. If I send a string "VSET1:11.00" then power supply will be set to 11.00V. But, I need to write a program which will ...
Fatpanda's user avatar
1 vote
0 answers
1k views

How can i read and write the data from a Delta plc-s series through Arduino UNO?

I am trying to communicate PLC with arduino through rs232 as well rs 485. But, I am not able to read and write data. I can observe the data in PLC through ladder logic but not in arduino. I am trying ...
Mohit Tripathi's user avatar
-1 votes
1 answer
265 views

Reading data from an Ohaus Defender 3000 with a RS-232 shield

I have a project where we have to read the weight from an Ohaus Defender 3000 by using an Arudino Mega 2560 and a RS-232 shield. Right now we have the RX of the Arduino to the TX of the shield, and ...
Antonio Tanzella's user avatar
1 vote
1 answer
1k views

Flow control between ESP32 and RS323 device

I'm trying to communicate an RS232 device with an ESP32 (Heltec Wifi/LoRa 32 v2) my problem is that I don't receive any response from the device, doing some research, I'm thinking that the trouble can ...
user63626's user avatar
1 vote
0 answers
4k views

can ModbusRtu.h library send data from slave to master using modbus(RS485) module?

i am using ModbusRtu.h library for modbus protocol. it works for sending data from master to slave but it can not send data from slave to master. master code: #include <ModbusRtu.h> #define ...
MD Golam Morsed's user avatar
0 votes
1 answer
418 views

Connect Arduino to LiDAR via RS-232

Edit: We're so close! Update at bottom! I'm not sure if this is the right place to ask, but since you helped my so much in the past, I thought it's worth a try. So as I stated in my last question, I'...
MarayJay's user avatar
0 votes
1 answer
498 views

Arduino GPS Simulator: SoftwareSerial Issues

For my project, i need my Arduino Uno to simulate a GPS. To do this, I need to: Generate a 5V Pulse once a second (no problem) Send a $GPRMC NMEA sentence with the current time over RS-232 (i've got ...
MarayJay's user avatar
1 vote
1 answer
950 views

unable to read RS232 output on Arduino mega with MAX232 shield

I am trying to read data from an RS232 equipped sensor using a serial monitor connected to an Arduino Mega with RS-232 shield but I do not receive any data. I am unable to detect the exact cause of ...
Joost Keuskamp's user avatar
0 votes
1 answer
530 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 ...
Anthony Lethuillier's user avatar
1 vote
0 answers
147 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 ...
dcorsello's user avatar
  • 111
0 votes
1 answer
585 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, ...
Sir Rubberduck's user avatar
1 vote
1 answer
462 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 ...
Ivan's user avatar
  • 125
2 votes
1 answer
1k views

Communicating with Arduino Mega 2560 Serial ports through x2 RS232

I am trying to drive 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 is ...
Jackalakalaka's user avatar
-1 votes
1 answer
112 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 ...
William Etheridge's user avatar
-1 votes
1 answer
390 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 ...
jalath's user avatar
  • 1
0 votes
1 answer
2k 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)...
FrEqDe's user avatar
  • 127
1 vote
1 answer
1k 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() { ...
polyhedron's user avatar
2 votes
0 answers
991 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 ...
Niko O's user avatar
  • 151
2 votes
2 answers
3k 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 ...
mbarki mohamed's user avatar
1 vote
1 answer
695 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: ...
Marckaraujo's user avatar
1 vote
0 answers
170 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 ...
Marckaraujo's user avatar
1 vote
1 answer
136 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 (+,...
user avatar
11 votes
3 answers
43k 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 ...
Sagnik Pradhan's user avatar
2 votes
1 answer
1k 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 ...
Turambar's user avatar
1 vote
2 answers
6k 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. ...
SarcasticSully's user avatar
0 votes
2 answers
429 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 ...
marcp's user avatar
  • 111
3 votes
0 answers
150 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 ...
Agi Hammerthief's user avatar
0 votes
1 answer
1k 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 ...
Apatus's user avatar
  • 1
1 vote
2 answers
2k 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 ...
sankar's user avatar
  • 93
1 vote
2 answers
17k 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 ...
Radian Mass's user avatar
1 vote
1 answer
435 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, ...
user avatar
0 votes
2 answers
3k 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 ...
user117043's user avatar
0 votes
1 answer
1k 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 ...
eatumup's user avatar
  • 103
1 vote
3 answers
644 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 ...
Dallas Epperson's user avatar
1 vote
1 answer
305 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 ...
Nyxynyx's user avatar
  • 1,409
1 vote
2 answers
364 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 ...
Nyxynyx's user avatar
  • 1,409
0 votes
1 answer
1k 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: /** ...
Viktor Scherf's user avatar
0 votes
1 answer
2k 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 ...
Michael Molter's user avatar
1 vote
2 answers
476 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 ...
user1389579's user avatar
1 vote
1 answer
898 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 (...
jblaze's user avatar
  • 25