I have put a debugging Led on the tx pin of the TTL-RS232 board but although it flashes when data is sent, nothing appears at the Pc end. It seems as though nothing is being sent. Tried to print data from the arduino using same serialsoft code as before and trying to read what's is being sent on the Pc using either hyperterminal / python. To test the output of the TTL-RS232 board and arduino I have attempted to connect them to the Pc using the RS232-usb cable (attached photo no. The equipment does what's it's told and serial communication is behaving. I can write the commands using either hyperterminal or a custom python script and it works fine. To rule out that maybe the commands given by the manufacturer aren't working I connected the stirrer directly to the Pc using a USB to serial cable. Tried to alter the way the command is sent (with carriage returns etc) still nothing. Tried to send the commands to the stirrer using the software serial example given in the arduino IDE (changing rx and to pins to 6 and 7).Nothing happens. 1) and connected to the stirrer with a straight through serial cable. I connected this up to the uno (attached drawn schematic no. I researched online and purchased a TTL-RS232 board that can connect to the uno board. I thought (perhaps naively) that I could send the required commands to change the rotation speed etc by printing to the serial port of an arduino. The piece of equipment I'm trying to control via RS232 interfaced with Arduino is a mechanical stirrer (link to follow).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |