Questions tagged [rs232]

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

In telecommunications, RS-232 is a standard for serial communication transmission of data. It formally defines the signals connecting between a DTE (data terminal equipment) such as a computer terminal, and a DCE (data circuit-terminating equipment or data communication equipment), such as a modem. The RS-232 standard is commonly used in computer serial ports.

59 questions
11
votes
3 answers

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 anyone say what is the major difference between these…
Sagnik Pradhan
  • 520
  • 2
  • 7
  • 17
5
votes
2 answers

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 USB converter (without Arduino). Now I also want…
Joost
  • 75
  • 1
  • 1
  • 6
4
votes
2 answers

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, when I say "Arduino", I mean TTGO btw... I have…
3
votes
0 answers

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 so that D2 is set to TX and D3 to RX. However, I…
Agi Hammerthief
  • 139
  • 1
  • 8
3
votes
2 answers

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 this over a 60 ft tether. I have done a little…
mpgiii
  • 63
  • 2
  • 7
3
votes
1 answer

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
MANSOR
  • 59
  • 2
  • 8
2
votes
1 answer

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 also send commands to the ECU to control the…
Atharva
  • 53
  • 8
2
votes
1 answer

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 and end with CC 33 C3 3C. This sample reading code was…
mehmet
  • 297
  • 2
  • 19
2
votes
3 answers

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 pins 6 and 7. This is the code of the Arduino…
explorer
  • 379
  • 2
  • 5
  • 17
2
votes
1 answer

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 for configuring and controlling the driver of…
2
votes
0 answers

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 setup() { Serial.begin(28800); DDRC =…
Niko O
  • 151
  • 4
2
votes
2 answers

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 for data acquisition. however, I can't find any…
2
votes
1 answer

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 specify the port and baud rate. The following…
Turambar
  • 51
  • 6
2
votes
2 answers

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 i01" from my PC Results: HDMI switch input changes…
john
  • 21
  • 1
  • 4
1
vote
1 answer

Interpreting Analog Output from Aalborg Mass Flow Meter GFM

I am attempting to connect this device to my computer via RS232. I am debating the simplest way of going about this and was inquiring if my Uno R3 could come into use, turning the analog symbols of 0-5 Vdc and 4-20 mA from the GFM into an output in…
1
2 3 4