I don't have a lot of experience with Arduino. I'm working on a project where I need to control four different syringe pumps. My plan is to use the RS232 port, an Arduino Mega, and RS232 Shield.
My question for you is:
Is it possible to stack 4 RS232 Shield on an Arduino Mega?
If it is not possible, how would you better approach this problem?
Is there anyone who has done a similar project? If yes, what problems did u encounter when doing your project?
Robin2:
A Mega already has 4 Hardware Serial ports. Why would you need RS232 shields?
The Serial ports on the Mega produce TTL signals and if you need to interface with RS232 signals you need a level converter such as a MAX232.
...R
I was thinking that using RS232 shield would make the connection much simpler because then I don't have to make the connection cable between syringe pump's RS232 port to Arduino.
teguhsam:
So I can stack 4 RS232 Shield on an UNO instead of Mega?
If you believe the documentation.
I don't have personal experience with the shield.
If you already have the Mega, you could buy a screw shield which will give you a much more robust connection. You can buy these assembled or unassembled.
@ieee488: 4 software serial ports on a UNO might not work that well; depends highly on the application.
@teguhsam: in the link that you provided, daisychaining is mentioned. That would only require the use of one serial port. See page 82 of the user's guide.
sterretje: @ieee488: 4 software serial ports on a UNO might not work that well; depends highly on the application.
@teguhsam: in the link that you provided, daisychaining is mentioned. That would only require the use of one serial port. See page 82 of the user's guide.
Note: I don't have experience with the pumps.
It is a test instrument, so the 4 software serial ports should not be a problem.
I have used other test instruments with RS-232 though not with the Arduino.
You simply send it sort commands or queries. Very simple actually.
There is actually no need to get any type of Arduino involved.
The OP could easily have used a USB to RS-232 converter and programmed the syringe pump in Python or VB.NET or C# or LabVIEW.
The instrument even comes with its own software, so I don't even know why the OP is trying to use the Arduino.