Putting robotics at your service™

Free shipping on orders over $200

Multiple Lynxmotion Wireless Controller Problems

Print view Share :
Previous topicNext topic

Page 2 of 2 [ 18 posts ]

1, 2
New ( offline )
Posts: 9
Posted: 2012-04-09 12:47 
I'm just letting you know that Webbot is currently aware of the problem and will be looking into it.

More info here:
http://www.societyofrobots.com/robotfor ... ic=15507.0

New ( offline )
Posts: 9
Posted: 2012-04-09 13:37 
Well, I tried using Kurte's code to resolve this wireless controller issue. The wireless controller still does not work, but the red LED on the receiver did stay lit this time while the controller had the sequenced blinking LEDs (when pushing the analog button) as mentioned before. The wired controller continued to work properly.

I'm not sure if this make any difference, but I just want to provide some previously unmentioned details. I said earlier that I have the control lines plugged into E4, E5, E6, and E7. More specifically, the layout is: MOSI is E5, MISO is E6, SCK is E3, and Select is E4. It is within a software SPI bus with the Master Mode box checked.

Kurte, you mentioned that your attempt to use a software SPI bus did not work at all. As of now, I have not tried using a hardware bus per the statement in the webbotlib docs (http://webbot.org.uk/WebbotLibDocs2/46240.html) about using a software bus over a hardware one. Just for the heck of it, I will try a hardware bus, but I am not exactly sure what lines gets plugged into what pins.

In the meantime, Lynxmotion has sent me another wireless controller to replace the defective unit that I previously mentioned in the thread. I will try it out when I get home tonight.

User avatar
Guru ( offline )
Posts: 4859
Posted: 2012-04-25 09:56 
Thought I would give an update here. I have been hacking on this and doing updates up on the forum: http://www.societyofrobots.com/robotfor ... opic=15507

As I mentioned previously, I confirmed that the Wireless controller was not working with Webbotlib on an Axon2. I never noticed it before as I had not used my Axon2 for awhile and when I developed my Brat code for the Axon2, webbotlib did not have any support for it so I rolled my own...

What I found out yesterday is that with the Software SPI (have not tried hardware), the Wired PS2 appears to work when you do the transitions on the trailing edge of the clock and the wireless appears to work when you do it on the leading edge. I hacked up changes in the ps2.h file (part of each release) and was able to get the wireless to work. Should be a way to get both to work.

Webbot has not been able to test this as he does not have a wireless controller. I will see if having two different macros and options in his definition software is sufficient, or if I can find a way that works for both without changes.


1, 2

All times are UTC - 5 hours [ DST ]. It is currently 2014-07-14 04:45
Feedback Form
Feedback Form