S-drive 70A programming -- it's ignoring me

Power wheelchair board for REAL info!

POWERCHAIR MENU! www.wheelchairdriver.com/powerchair-stuff.htm

S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 22 Sep 2019, 14:26

Made up a programming cable per this illustration with a USB-serial module. The one I had on hand is CH340 based but the operation is the same as the FTDI FT232L based units. I use the CH340 units in several applications, mainly amateur radio digital modes, have found them to be very reliable.

plugs pgdt 2.jpg


Connected the TTL output gnd to pin 1 on the 4-pin Molex, data to pins 3 & 4.

moby_programming_006.jpg


No problem getting my USB-TTL module recognised as a COM port. The port settings are 19200, 8N1.

moby_programming_004.jpg


When I run the mfr programming utility, we can see activity on the data line. Sending a packet like this repeatedly, probably trying to wake up the S-Drive unit.
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 22 Sep 2019, 14:29

When I run the mfr programming utility, we can see activity on the data line. Sends a packet like this repeatedly, probably trying to wake up the S-Drive unit.

moby_programming_005.jpg


The scooter is powered up, but the controller does not want to talk to the programming utility. COMMS INACTIVE message.

Have tried the cable with a 47K, 33K & no resistor.

Any hints? Should the port be set for a different speed?

Can't get 'em to talk.

Thanksabunch :thumbup:

-Brian
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby woodygb » 22 Sep 2019, 14:30

Have YOU told the software what Port number your CH340 is using?

NOTE:- This assigned number MUST be between 1-8 inclusive.

EDIT ...Your CH340 appears to be assigned COM PORT 8 ....have you told the programming software that it should look at COM Port 8?

Tools ...Comms ...select.
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: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 22 Sep 2019, 16:49

Yes, the software is using COM 8. It's the only serial port on the machine. Otherwise, it would throw a 'port not found' error & not send the data that I'm seeing with the sillyscope.
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby woodygb » 22 Sep 2019, 17:39

Try with separate TX and RX lines... NO resistor or diode required....... as I recall pin 3 of the Molex is RX and pin 4 is TX.
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: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 22 Sep 2019, 22:42

Ah! That sounds like a better way to go. That's what you typically see in these sorts of applications. Will have a try in a few.

Thanks!

-Brian
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 06 Oct 2019, 03:05

Unfortunately, I could not get the S-Drive to talk to the PC.

At the same time, I appear to have induced a problem. Now the scooter is stuck in charging mode with no charger connected. The LED bar display constantly scrolls and the scooter will not move.

I have gone through the tiller circuit board, replaced a couple of 2SD313 transistors (probably pass transistors for the turn blinkers) because I had them on hand, checked a couple of 2SD4091, both good, and replaced the LM324N quad op amp (because I had them I could not test the one on the board in circuit), but still have the problem. All I can figure is that I somehow hurt the speed controller.

Any advice?

Thanks

-Brian
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby woodygb » 06 Oct 2019, 09:32

Seems that you have caused an inhibit condition inside the S-drive ....possibly one of these ( not sure which type they are ) has blown and shorted to ground.

You will find them / it on the S-drives board connected as I recall to the Molex RX - TX.


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: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 06 Oct 2019, 09:39

Excellent, Woody, thanks for that. Most appreciated.

Cheers

-Brian
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby Burgerman » 06 Oct 2019, 10:37

It may be possible to reverse the inhibit, or disable it in programming. It is with most chairs. But never looked at any scooters. But... Err... banghead You cant!
User avatar
Burgerman
Site Admin
 
Posts: 65050
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 06 Oct 2019, 10:52

Thanks for that!

There's a paucity of data around for the S-Drive controllers, no doubt by design to protect IP. A pinout would be nice, a schematic & parts list for one would be even better.

Cheers

-Brian
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 06 Oct 2019, 12:21

OK, easily found, catastrophically cooked a SOT-23 xistor.
cooked_transistor_Sdrive_01.jpg


Now to find out what it is (was) because there's not much of it left. Very hard to photograph but may have been a silver topped package with a type number beginning with 'B'.

As if that narrows it down a lot. :roll:
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby woodygb » 06 Oct 2019, 12:30

I'll open one up and have a look ...
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: S-drive 70A programming -- it's ignoring me

Postby woodygb » 06 Oct 2019, 12:41

VND5N
Image from web...
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: S-drive 70A programming -- it's ignoring me

Postby woodygb » 06 Oct 2019, 12:45

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: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 06 Oct 2019, 13:37

OK, that's not the part that's cooked. It's the SOT-23 device northwest of it.

cooked_transistor_Sdrive_02.jpg


Thanks much for your help!
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby woodygb » 06 Oct 2019, 13:47

OK...I will need to drag out the microscope for that.

As I recall it's essentially 2 diodes end to end.

BRB
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: S-drive 70A programming -- it's ignoring me

Postby woodygb » 06 Oct 2019, 14:03

BA25 ...Pics of before cleaning and after.
BA25.jpg
ba25a.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: S-drive 70A programming -- it's ignoring me

Postby woodygb » 06 Oct 2019, 14:26

Multimeter suggests that it is just a diode.

So ...you could try this ..
ba25 diode.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: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 06 Oct 2019, 15:22

Excellent, thanks for that. Over & above the call of duty, Woody!

Searching for BA25, I find a ROHM low drop out 2.5V voltage regulator by that designator in a variety of packages, current sourcing increasing with package size, but none in SOT-23.

https://au.rs-online.com/web/c/semicond ... hTerm=BA25

Really weird, not used to not being able to easily find a component by the printed designator.

Getting a bit late here in eastern Aus, but in the morning I'll try to sus out more. If it's a vreg, there's a few ways to skin this cat.

The scooter is wired such that if a charger is plugged in to the charge port, movement is inhibited, whether the charger is on or off. I believe that's because the inhibit line is tied to gnd in the charger. If that's the case and the component (or remains thereof) on my controller is shorted, then removing it may resolve the inhibit condition. If I do need a 2.5V signal, I can certainly find another vreg to do that even if I can't find the part the OEM used.

Thanks so much for your help, Woody!

Cheers

-Brian
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby woodygb » 06 Oct 2019, 15:33

Doubt it is reg ...it's only connected on 2 legs and multimeter suggests it's a simple diode...unless the other leg is connected thru the board.

http://www.mouser.com/ds/2/348/dan217-210030.pdf
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: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 06 Oct 2019, 19:51

Ooh, good score. Sometimes a Google search can lead you down the rosy garden path. I'll poke a 1N4148 in there & see how we go.

Really appreciate your help, Woody!

Cheers

-Brian
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 06 Oct 2019, 21:38

I removed the remains of the burned component. Found that there's 3 lands for the device, so whatever it is, it's a 3 leaded device, whether a transistor, vreg or perhaps a dual diode.

cooked_transistor_Sdrive_03.jpg


While I had no component in the position, I connected it to the scooter. The bar display began blinking. 8 of the LEDs blinked 8 times in a row. Presume this is an error code, but I haven't got a list of them.

8led_blink_8times.jpg


I put in a 1N4148 per Woody's suggestion.

cooked_transistor_Sdrive_04.jpg


This returned the behaviour to a scrolling LED pattern which is normally displayed when charging.

Hoping that BA25 might be a dual diode package and that one more diode might be the fix.

Thanks a bunch, fellas!

Cheers

-Brian
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 06 Oct 2019, 21:43

Oh, hang on, it is a dual diode package (duh, Brian, look at the datasheet banghead)

dual_diode.jpg
dual_diode.jpg (4.07 KiB) Viewed 2971 times


I'll go rework it with 4148s per that pinout & see if that sorts it.
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 06 Oct 2019, 22:38

Put two 4148s on the lands per the line card (not really a datasheet) illustration.
cooked_transistor_Sdrive_05.jpg

Nope. 8 Bar flash code.

sdrive_8bar.jpg
sdrive_8bar.jpg (9.61 KiB) Viewed 2968 times


Sensing that since I'm looking at a line card & not a specific data sheet (still haven't found a datasheet for BA25 in a SOT-23), I swapped the orientation of both diodes. Same, 8 Bar code.

Welp ¯\_(ツ)_/¯
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 06 Oct 2019, 23:23

I'll probably keep trying to repair this controller to have as a spare, but I really need this scooter to work, soon. I am stuck in the house without it & am dumping all the shopping, errands etc on my beloved Trophy Housemate.

Wheelie Good Mobility in Kent UK had several of these controllers on hand, so I've ordered one in.

#sigh

Thanks for your help anyway, Woody, most appreciated. :thumbup:

Cheers

-Brian
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59

Re: S-drive 70A programming -- it's ignoring me

Postby woodygb » 06 Oct 2019, 23:59

The diode orientation that I posted was correct according to my multimeter test of an intact BA 25 ...thus the other is as per the pdf diagram..you should put it across the Molex pins.

This is ...I.M.O Correct ... 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: S-drive 70A programming -- it's ignoring me

Postby woodygb » 07 Oct 2019, 00:08

Image
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: S-drive 70A programming -- it's ignoring me

Postby vk2aaf » 07 Oct 2019, 00:41

Thanks much for the schematics. I've been diligently squirrelling those away as I've encountered them on this board but the more places they can be found, the better.

Unfortunately, there appears to be more bad stuff happening on this controller than a blown dual diode package.

#sigh

Thanks again! :thumbup:
User avatar
vk2aaf
 
Posts: 30
Joined: 04 Sep 2019, 03:59


Return to Everything Powerchair

Who is online

Users browsing this forum: No registered users and 255 guests

 

  eXTReMe Tracker