Hi am building a project using an ssc-32u. Could some one please tell me how I can connect my ardbox relay to send positions to the ssc-32u card and if certain dip switches or conditions are needed?. The Lynxmotion manual only show how to connect Arduino board to there controller. I Much appreciate any help
Hi,
Could you please provide us more information about your project ?
Are you planning to control your Ardbox’s relays through the SSC-32U Board ?
If that’s the case, you can use the SSC-32U TTL Interface and the Ardbox’s RS-232 Interface with a MAX3232 RS232 to TTL Adapter in between to convert the RS-232 signal to TTL and vice-versa.
Hi I am using an ardbox to control the ssc-32 robot. I have set the baud rate but and the Arduino program is sending out a serial command I checked it in the serial monitor option but I cannot get the robot servers to move. I have wrote a very basic program to move one server as I am very new to this and uploaded to an Arduino Uno and it worked first time.
I can not understand why is it will not work on the ardbox . This is my code
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
delay(1000);
Serial.println("#1P1500\r");
delay(1000);
Serial.println("#1P200\r");
}
Could you post a clear picture/diagram showing how are you connecting the SSC-32U Board and the Ardbox together ?
Hi Sorry for delay,
The image i have is too large so i made up a small diagram. I have tried connecting the ground to those shown in diagram but not at the same time. i.e i connected to ground pin and then tried the 24v gnd. i did this as when i run the program on uno board the led A on ssc boards flashs continuously ( which i presume means that baud rate is correct and then when ground is connected the Led A blinks in sync with the tx LED on the arduino uno board the robot moves in sync with these LED’s.
I have discovered that i had forgot to download the industrial shields boards on the ardbox , but i have now completed that and i am having the same issues. once the program is running the ssc boards A&B Led light up then go off ( which i believe according to manual on start up this indicates 11250). Once i press the baud rate button to set 9600 i get rapid green Led blinking then 1 red flash, after this i am getting one green flash every few seconds.
i have tried to relate as much information as i can , i have also attached screenshots of the industrial shield boards selections i used. i tried both Ardbox relay and ardbox relay HF with rs232. i have also attached an image of the code i used with the serial monitor showing that it is running. I am lost to what to do next and as i am new to arduino i really appreciate your help and thank you for your time in regard to this issue.
ardbox pin layout :
DE-D7/R2 OFF
RE-D4/R1 OFF
RX/I0.3 ON
Tx/I0.2 ON
SCL/I0.1 OFF
SDA/I0.0 OFF
R6 OFF
RO ON
R5 OFF
DI ON
Hi,
- Is there a specific reason that led you to use an Ardbox I/O Relay PLC to control your SSC-32U ? As it seems overkill for controlling an SSC-32U through serial communication, whereas, a simple Arduino UNO Board can do this perfectly as you have already experienced.
- As we have mentioned above, to be able to use the serial interface of the Ardbox to communicate with the SSC-32U, you will need to set its RS-232 Serial Interface (as seeing the datasheet, it doesn’t seem to handle TTL UART). Setting the Hardware Serial RS-232 of the Ardbox is explained in page 23 of the datasheet. However, very important to note (as indicated above) that you will need to use a MAX3232 RS232 to TTL Adapter. The RS-232 interface of the Ardbox outputs +/-9V and can accept +/-25V (see attached picture), whereas the TTL serial interface of the SSC-32U uses 0/5V logic level. Applying less than 0V or more than VCC(5V) has most probably destroyed the SSC-32U’s MCU chip. That’s why it’s very important to use an RS232 to TTL adapter between the Ardbox and the SSC-32U.