
Lumpy
Canada
Asked
— Edited

Hey all,
I'm trying to get my Dimension Engineering KangarooX2 module to work with my Syren10.
I can link/tune via the USB connection. It allows me to move and control the Syren10 no problem.
I'm having troubles sending and getting the SendSerial command to work with my EZ-B.
The the module is setup to communicate 9600/8N1 and plugged into my D3 port on my EZ-B.
The command for the module is
1,p2450 s200
I've tried the following:
SendSerial(D3, 9600, 1,p2450 s200) SendSerial(D3, 9600, '1,p2450 s200') SendSerial(D3, 9600, "1,p2450 s200")
None have worked so far. Not sure if I'm just messing up the string format or what?
Anyone?
Have you tried the code without the return and just the newline? I've only messed with send serial a very little bit and it was months and months ago but as far as code goes, I know that having the return then the newline, the device could see nothing as the command.
Command, return, newline could be interpreted as:
Command, return newline
Therefore there is nothing before newline so there is no command.
So try Command, newline. I can't say it will work but it will only take a few seconds to try.
Yep, I did try that but will give it another go. Maybe after power cycling everything on and off it may work.
:) I wish you luck my friend.
I haven't read the last few posts properly, only skimmed over them as I've literally just got back home after a weekend out doing some crazy stuff
Lumpy's code which worked was;
So, Dave your code should be like;
Which is what you have. It should work. If not then you could try substituting the ascii characters for their decimal and hex values...
So...
Where 0x2c is the comma, 0x50 is the P, 0x53 is the S.
It is also normal for the blue light to flicker when sending serial commands, while this video is for a different issue I was having take a look at the blue light (or the glow from it at least).
Thanks for the info and vid Rich. That answers my flicker question.
I'm going to go over all my wiring and replace all boards just in case I screwed something up. I'll also try to use the decimal and hex values and see where that sends me.
Thanks for taking the time Rich and glad you made it back home alive after a crazy trip. eek
OK, I got it working. I'm not really sure what I did. After I realized things were running properly I tried adding and removing the 0x0d, 0x0a entries. I found it didn't matter. I could leave both in or take any one out and the command statement still worked. However I did have to have a least one of them in the sentence.
I also was able to test the servo controls with the Kangaroo x2 and they work great! So it looks like I can use either SendSeriel commands or servo commands. The response is quick and smooth.
Sadly I now have a different problem now. I went ahead and wired the setup in permanently and now I cant get the it to start again. However now I have a different error code. Right away on power up I get three continually blinks of the Kangaroo's LED. I have everything wired up properly I think and I have no idea what changed. I have a e-mail sent in to Dimension Engineering to see if they can tell me what this error code means.
whew! Glad things worked out well with the serial code and the EZB....now Kangaroo error code..perhaps it require some sort of internal "boot" or reset!
Sorry, late to the party.
Seems like you got it going but it's being finnicky after the permanent install.
Hopefully DE can help you straighten it out.