Lynxmotion Tech Support

www.lynxmotion.com
It is currently Sat May 25, 2013 11:10 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Trouble shooting
PostPosted: Sat Sep 12, 2009 2:59 pm 
Offline
Roboteer

Joined: Mon Dec 29, 2008 8:34 pm
Posts: 21
Just a heads up, if your ps2 receiver only has a dim green light on it and the red one isnt blinking, the receiver is plugged in to the wiring upside down, it still fits and youd never notice if you were plugging in the receiver in dim light, this drove me nuts for 2 days


Top
 Profile  
 
 Post subject: Re: Trouble shooting
PostPosted: Fri Jan 08, 2010 10:40 pm 
Offline
Roboteer
User avatar

Joined: Fri Jul 31, 2009 10:43 pm
Posts: 63
Hello,

My receiver was working fine, then today, the red light stopped blinking. The green light is on strong, but the controller and the receiver don't sync up. I did not change any wiring.

Did the receiver go bad?

The only action I've taken on the bot is to re-solder a broken wire from the 9v connector (shouldn't be any issues with that).


Top
 Profile  
 
 Post subject: Re: Trouble shooting
PostPosted: Mon Jan 11, 2010 10:56 am 
Offline
Lynxmotion Founder
User avatar

Joined: Mon Oct 31, 2005 10:46 am
Posts: 9325
Location: my quiet place
Double check the battery. If nothing changed then it could be low. The PS2 controller and receiver will link up when powered on. They do not require code on the Atom to link up.

_________________
Jim Frye, the Robot Guy
http://www.lynxmotion.com
I've always tried to do my best...


Top
 Profile  
 
 Post subject: Re: Trouble shooting
PostPosted: Mon Jan 11, 2010 1:59 pm 
Offline
Roboteer
User avatar

Joined: Fri Jul 31, 2009 10:43 pm
Posts: 63
The green light is on, but the red light no longer comes on. Before it would blink, until synced with the controller. Thats what leads me to believe that reciever is bad.


Top
 Profile  
 
 Post subject: Re: Trouble shooting
PostPosted: Sun Feb 07, 2010 12:24 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
I thought I would also mention something I ran into this last last week while troubleshooting why my Lynxmotion wireless controller was not syncing up properly. Note: this was when I was developing code for a different processor but the same thing can hit you with the Basic Atom (pro) code.

That is if your code looks something like:
Code:
Loop:
    gosub ReadPs2Data
    if (something has changed then
        process the new data
    endif
goto loop

The PS2 will most likely not work? Why I did not provide enough time in between doing the query for the wireless receiver/transmitter to talk to each other... So make sure you have a delay between readings. Not sure of what the minimum is but 20ms appears to work.

Side Note: On the other processor I am able to use the built-in pull-up resistors on the DAT line and it works fine. Sometime I may try that on the BAP28, to see if you can simply move the PS2 controller down to another group of pins and simply enable the built-in resistor without having to solder something onto the BB2...

Kurt


Top
 Profile  
 
 Post subject: Re: Trouble shooting
PostPosted: Mon Feb 08, 2010 2:18 pm 
Offline
Roboteer
User avatar

Joined: Thu Dec 01, 2005 7:37 pm
Posts: 628
Location: Temecula CA
You should be able to use the internal pullups on the AtomPro, however they are VERY weak pullups. This may mean that only some PS2 controllers will work.

_________________
Basicmicro


Top
 Profile  
 
 Post subject: Re: Trouble shooting
PostPosted: Sun Jun 06, 2010 1:26 pm 
Offline
Robot Guru
User avatar

Joined: Sun Aug 27, 2006 11:26 pm
Posts: 2757
Location: Directly above the center of the Earth
I'm trying to get my wireless PS2 controller connected up to the Atom Pro for WALTER now. The controller has fresh batteries, and the receiver has power from the BotBoard II. Is the LED on the receiver supposed to blink all the time, even after the light on the controller has gone out? When I turn the controller on, I have a blinking light and then it goes off after a time. Does this mean it has paired up with the receiver? I've got the receiver plugged into P0 - P3 with the initialization shown by Kurte for that configuration.

8-Dale

_________________
I can usually handle complexity. It's the simple things that always confound me..
Open your mind, Read, Learn, Think, Apply..


Top
 Profile  
 
 Post subject: Re: Trouble shooting
PostPosted: Sun Jun 06, 2010 2:09 pm 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Hi Dale,

I have my CHR-3 currently setup using P0-P3 (although at this moment it is running my C version...) With My receiver I have two LEDS one that comes on solid and the other one blinks until the PS2 transmitter is turned on and then the light that was blinking, stays on solid. So not sure what it means when it turns off?

You have enabled the pull up on P0? Also make sure that P0-P3 or wherever your power connection to the PS2 receiver, is configured for +5v and not VS. Also make sure there is some delay in your program between queries... I found that if I did not delay the receiver and transmitter did not have time to talk to each other, which caused problems

Kurt


Top
 Profile  
 
 Post subject: Re: Trouble shooting
PostPosted: Sun Jun 06, 2010 2:19 pm 
Offline
Robot Guru
User avatar

Joined: Sun Aug 27, 2006 11:26 pm
Posts: 2757
Location: Directly above the center of the Earth
kurte wrote:
Hi Dale,

I have my CHR-3 currently setup using P0-P3 (although at this moment it is running my C version...) With My receiver I have two LEDS one that comes on solid and the other one blinks until the PS2 transmitter is turned on and then the light that was blinking, stays on solid.

That's what I have now. I didn't have P0 - P3 set for +5V. After I switched the power jumper, things started working.

kurte wrote:
You have enabled the pull up on P0?

I copied your init code for the P0 - P3 configuration. :)

My plan is to copy some existing PS2 controller code and edit that for the way I want the controls to work on WALTER.

8-Dale

_________________
I can usually handle complexity. It's the simple things that always confound me..
Open your mind, Read, Learn, Think, Apply..


Top
 Profile  
 
 Post subject: Re: Trouble shooting
PostPosted: Sun Feb 20, 2011 6:30 pm 
Offline
Roboteer
User avatar

Joined: Wed Jan 05, 2011 4:51 pm
Posts: 158
Location: Halmstad, Sweden
so, if i understand this correctly:

If the receiver (this is, not the handunit) is comfirmed to be in a 5V outlet (on my ARC32), all other cables are disconnected, and only the green light is on, this meen i have a deffective receiver ?

or is the handunit somehow involved in this ?
if i turn it on the only thing is that the red ligt starts blinking some time, and sometime later it turn of compleately

_________________
PS
As i am Swedish, you may laugh at my spelling and grammar, but please please don’t comment it if you understand what i mean
DS


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group