Programming leads

No Commercial sellers please, unless of particular interest and with permission!

MAIN WEBSITE: www.wheelchairdriver.com

Re: Programming leads

Postby gcebiker » 20 Feb 2017, 05:28

Looks like its the deadman code kicking in to fast, any ideas woody ?

i am right next to the chair and the remote is line of sight to the phone. On/Off works so i think its got good enough signal being so close.
http://greenmobility.com.au/rc-wheelchair-controller/
My YouTube Ch -- https://www.youtube.com/user/gcebiker
User avatar
gcebiker
 
Posts: 879
Joined: 11 Jul 2015, 14:20
Location: Gold Coast, Queensland, Australia.

Re: Programming leads

Postby woodygb » 20 Feb 2017, 10:19

Did we not alter the deadman timeout?

Do you still have the Arduino code?...if you have then you could alter the deadmaninterval.

long deadManInterval = 110; // milisecs interval between


more code.

Code: Select all
  if(mySerial.available())  {     // data received from smartphone
    deadManTimeout = false;
    delay(2);     
    cmd[0] =  mySerial.read(); 
    if(cmd[0] == STX)  {
      int i=1;     
      while(mySerial.available())  {
        delay(1);
        cmd[i] = mySerial.read();
        if(cmd[i]>127 || i>7)                 break;     // Communication error
        if((cmd[i]==ETX) && (i==2 || i==7))   break;     // Button or Joystick data
        i++;
      }
      if     (i==2)          getButtonState(cmd[1]);    // 3 Bytes  ex: < STX "C" ETX >
      else if(i==7)          getJoystickState(cmd);     // 6 Bytes  ex: < STX "200" "180" ETX >
    }
  }
  if(deadManEnabled)    checkDeadMan();
  sendBlueToothData();
}
void checkDeadMan()  {                                                  // stop chair if signal is lost
  static long previousMillis = 0;                             
  long currentMillis = millis();
  if(currentMillis - previousMillis > deadManInterval) {                // send data to smartphone
    previousMillis = currentMillis;
    if(deadManTimeout)  {       
      BT_Steering = 127; //neutral
      BT_Throttle = 127;
      Rapidity=127; // Set to HALT value ...                                                     
      buttonPresses=1; // Arduino and Android phone defaults to HALT after signal loss.     
      displayStatus = "***!HALT***"; // for debug only       
      digitalWrite(BTled,LOW);   
      int joyX = 200; // Offset to avoid     
      int joyY = 200;     
      delay(2);
    }
    else
      digitalWrite(BTled,HIGH);   // BT Connected indication.
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby gcebiker » 20 Feb 2017, 11:10

I have the code you sent me last year.

The code is the same as you posted above.
The code on the Arduino is what ever you put on it before sending it, which i figure is the same.

I will reflash the Arduino in case the code on it is not the current iteration.
http://greenmobility.com.au/rc-wheelchair-controller/
My YouTube Ch -- https://www.youtube.com/user/gcebiker
User avatar
gcebiker
 
Posts: 879
Joined: 11 Jul 2015, 14:20
Location: Gold Coast, Queensland, Australia.

Re: Programming leads

Postby woodygb » 20 Feb 2017, 11:15

You could .... if re-flashing doesn't work ...try reducing the deadmaninterval even more..
As a test you could reduce it to zero or one just to see the affect.
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby DaveRV8 » 12 May 2017, 09:16

Hi
How do I go about buying a programming lead for a Quickie Salsa M2 with VR2 controller?
Dave
DaveRV8
 
Posts: 8
Joined: 10 May 2017, 13:13

Re: Programming leads

Postby woodygb » 12 May 2017, 09:36

I can make one up for you .

viewtopic.php?f=1&t=5488#p82437

Note that the email address in the first post of this thread is DEAD.

USE..... nala_doow AT hotmail dot com
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby DaveRV8 » 12 May 2017, 16:35

Hi, email sent.....
DaveRV8
 
Posts: 8
Joined: 10 May 2017, 13:13

Re: Programming leads

Postby DaveRV8 » 26 May 2017, 08:13

Many thanks to Woody for the lead and help and advice.
It all works perfectly and the chair is greatly improved.
Happy wife = money well spent!
Dave
DaveRV8
 
Posts: 8
Joined: 10 May 2017, 13:13

Re: Programming leads

Postby woodygb » 04 Jun 2017, 22:36

woodygb wrote:NOTE:- That FTDI has recently updated it's driver and the Chinese copies will not work with it ... you need to use an earlier version of the driver.

https://blog.adafruit.com/2016/02/08/ex ... -adafruit/


https://www.youtube.com/watch?v=ZXz51jeSLSI
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby steamtrain » 09 Aug 2017, 14:11

Hi Woody, when you encounter a "failed leads" situation, do the drivers install? I have attempted to make a cable using a few types of PL2303 converters and a CH340, but so far I can't get rid of the "coms inactive" on the software. Thanks to you guys, I get all the cables to install properly without the "error triangle", so I don't think it is the usual driver issue.

I just wondered if the cables can still fail if the drivers install properly?
steamtrain
 
Posts: 2
Joined: 22 Jul 2017, 14:33

Re: Programming leads

Postby woodygb » 09 Aug 2017, 14:28

The PL2303 Driver can be a PITA.

Try this guide.

http://www.miklor.com/COM/UV_Drivers.php

You could try adding in a resistor as shown in the following pic.
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby woodygb » 09 Aug 2017, 14:32

I now recommend an FTDI Lead.

SPECIFICALLY a FT232R-3V3-WE... this lead can also be configured to work with many Curtis controllers but NOT for wheelchair controllers that use CAN Comms.


Image
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby Burgerman » 12 Aug 2017, 17:44

Very clear!
User avatar
Burgerman
Site Admin
 
Posts: 65050
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Programming leads

Postby Noeldavis » 01 Nov 2017, 19:57

Hi Woodygb
Are these leads the dongle for programminga P&G vr2 controller?
Noeldavis
 
Posts: 1
Joined: 31 Oct 2017, 13:57

Re: Programming leads

Postby woodygb » 02 Nov 2017, 00:50

It will program a VR2 ...but it is NOT A DONGLE ....the R-net uses a dongle.
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby Burgerman » 16 Jan 2018, 12:42

Woody, could you do me another RC interface please? Same as last one. Tor connect to the IOM module, (same as omni). A 1.2v swing.

https://www.google.co.uk/url?sa=t&rct=j ... fniVtetl-4

2 input channels only. The r-net grabs whichever input is first out of the deadband area. So always on.

5v supply.

PM me a bill!
User avatar
Burgerman
Site Admin
 
Posts: 65050
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Programming leads

Postby woodygb » 16 Jan 2018, 12:57

Always ON ...So an ON/OFF not required?

I will look at the pdf.

EDIT ...Looked ...seems exactly the same as the OMNI build.
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby Burgerman » 16 Jan 2018, 13:01

No its always powered, no on off I think. So the reciever will always be on. But in fail safe mode at zero, zero. I use recievers with programable fail safe on all channels. So the R-net system will ignore it when transmitter is off. See pdf for input details.

Once used to shifting chairs about by RC you cant live without it. Its too useful.

THIS IS INCORRECT -- I READ THE MANUAL!
User avatar
Burgerman
Site Admin
 
Posts: 65050
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Programming leads

Postby Burgerman » 16 Jan 2018, 13:10

I missed the on off jack... Yes it is the same as the omni.
User avatar
Burgerman
Site Admin
 
Posts: 65050
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Programming leads

Postby woodygb » 16 Jan 2018, 13:50

I'll P.M. you when one is made.
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby Burgerman » 16 Jan 2018, 14:04

Thanks!
User avatar
Burgerman
Site Admin
 
Posts: 65050
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Programming leads

Postby Rolf,Meier » 10 Apr 2018, 20:21

Hello woodygb,

I've read the whole report so far. I need a cable for my VR2 controller. If I take this right out of the drawing I need a USB cable with FT232RL chip then a 47KOhm resistor and a diode and the XLR 3 pin connector.

On XLR plug:
pin 3 to RXD
Pin 3 to 47KOhm to 3,3V or 5V
pin 3 to diode to TXD
pin 2 to ground

On 4 Pin Molex Plug

Pin 1 Ground
pin 3 TX
pin 4 RX

Since my VR2 controller has no Molex connector. Do I have to use XLR plugs?
I also read that you do not send any software. is okay too. but maybe you can write me yes what software it is then I can search for myself.

So far I have found PGDT Rnet Programmer and PG Drivers Technology - Mobility Service PC Programmer.

If you prefer to make the cables yourself, I would buy one too

MFG Rolf


Image[/quote]
Rolf,Meier
 
Posts: 1
Joined: 10 Apr 2018, 19:49

Re: Programming leads

Postby woodygb » 11 Apr 2018, 10:33

Hi Rolf,

You will need the 3 pin XLR for the VR2 and the MOBILITY Software but NOT the SERVICE Version & not R-net.

The end of this thread has a better pic.

viewtopic.php?f=2&t=2111&start=1160#p117017
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby CPguy » 15 May 2018, 10:06

Dear woodygb,

can you also make programming leads for DX2 systems please? One end can be a serial port (as I have a serial port on a win7 prof machine) or an usb port whichever is easier.

What is the price please?
My rides:
1 BM2/BM3 with 120 A R-Net and Odessey (Lithium in 2016)
1 SKS Swiss VIVA (spare, as only NF22 size battery)
2 Progeo YOGA (for traveling)
CPguy
 
Posts: 610
Joined: 22 Jan 2010, 14:20
Location: Vienna, Austria (Europe)

Re: Programming leads

Postby Burgerman » 15 May 2018, 10:23

You need an orange gadget called a DWIZ too. And a lead with no components that you could make yourself with a serial/usb cable. See PM.
User avatar
Burgerman
Site Admin
 
Posts: 65050
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Programming leads

Postby woodygb » 15 May 2018, 11:49

I can supply the various interfaces.

Top right is a HOMEBREW "DWIZ-ADAPT" based on a electronic sketch supplied by Anubis... the other... top left is the Rhino 2 adapter..

NOTE:- You WILL need the modified Wizard 5 software .

DYNAMIC LEADS.jpg
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby elryko1992 » 15 May 2018, 18:08

woodygb wrote:I can supply the various interfaces.

Top right is a HOMEBREW "DWIZ-ADAPT" based on a electronic sketch supplied by Anubis... the other... top left is the Rhino 2 adapter..

NOTE:- You WILL need the modified Wizard 5 software .

DYNAMIC LEADS.jpg


You are a really expert Alan :thumbup:
User avatar
elryko1992
 
Posts: 385
Joined: 05 Aug 2016, 21:08
Location: Romania

Re: Programming leads

Postby calabash » 17 Sep 2018, 09:50

Hello Woody

Just bought a quickie salsa R2 with a VR2 joystick, will this lead work? If so yes I will have one please then just need to be pointed to the software.....

Cheers.
calabash
 
Posts: 118
Joined: 05 Oct 2013, 16:06
Location: Essex. UK

Re: Programming leads

Postby woodygb » 17 Sep 2018, 09:54

calabash wrote:Hello Woody

Just bought a quickie salsa R2 with a VR2 joystick, will this lead work? If so yes I will have one please then just need to be pointed to the software.....

Cheers.


Yes I can supply a lead that will work.
An expert is a person who has made all the mistakes that can be made in a very narrow field.
Niels Bohr
User avatar
woodygb
 
Posts: 7068
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Programming leads

Postby calabash » 17 Sep 2018, 10:36

Thank you woody, tried a pm but I must be doing something wrong...... just tell me how to pay you.

Cheers
calabash
 
Posts: 118
Joined: 05 Oct 2013, 16:06
Location: Essex. UK

PreviousNext

Return to Buy/Sell Mobility Equipment

Who is online

Users browsing this forum: No registered users and 34 guests

 

  eXTReMe Tracker