Search the Community
Showing results for tags 'rs232'.
Hi everybody, I have an RFID module which can be controlled through an RS232 communication. I have tested it with a rs-232 connection with a PC and with an also with an usb-serial converter. I can connect with the RFID module an receive its data through a terminal emulator such as Teraterm, PuTTY, etc. The data are simply ASCII strings of codes. The module can also be configured by sending some ASCII commands, this is also tested. Now I want to do the same with a microcontroller (Arduino, Lopy, etc.), i.e., the microcontroller would act as the PC, getting data from the RFID reader. I have acquired a Pmod rs232. The needed connection with the RFID module is shown in the attached image. The RFID module comes with a rs232 wire with the connections made. I connected the d9-female side connector to the Pmod rs232 through a female-male gender like this one. My understanding is that the RFID module is a DTE since RXD and TXD are crossed as can be seen from the image. I have connected the Pmod rs232 to Arduino but I am not able to see anything. So the scheme is: Arduino UNO serial connection --> Pmod rs232 --> rs232 wire --> RFID module. The connection is 9600 8N1. I tried some code such as "if some character is received activate internal LED", or getting the data through a configured software UART and sending data through the USB and see them in serial monitor. So far with no success. I have some questions: 1- My understanding is that this Pmod rs232 is a max232. Can be any problem if I am doing a DTE-DCE connection or DTE-DTE? I seem to understand I just would have to connect the TTL pins accordingly. Pins 1 and 2 are unconnected. 2- How can I test the Pmod rs232 is working? This is connected to arduino 1, on the ttl side pin 6 is connected to 5V, pin 5 to gnd, and 4 and 3 to RX and TX respectively. 3- Is there any other way to check where the problem is? Any advice will be very welcome, I am stuck with this. Thanks in advance. PS: Long time ago I designed a PCB based on a PIC and a max232 and I could succesfully communicate with the RFID module.
Hello, I am currently working on refurbishing an existing programming bench using the Nexys Video™ FPGA Board Development Kit. Requirements for the test station require that I must use direct Tx/Rx RS232 data communication to the Artix-7 FPGA without the use of the FTDI FT232R USB-UART bridgeUART/Serial Converter Interface as described in the user manual. This used to be achieved with a now obselete Spartan-6 FPGA development board that provided a direct RS232 Serial Port on board. I cannot recall the exact model # for the retired board. Is there any way I can input RS232 data directly into the Nexys Video FPGA Dev Kit without the use of a USB/UART Bridge? Thank you