Electronic experts - BLUETOOTH

Power wheelchair board for REAL info!

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

Re: Electronic experts - BLUETOOTH

Postby swalker » 13 Apr 2019, 03:18

You can use the AT commands to change the name of your HC-05 or HC-06 bluetooth device. I Have not needed to do this, but believe you must jump a certain connector on the HC-05/6 to enable name changes. I think the datasheet tells how to do it.

Steve
Permobil F5 Corpus 3G
Permobil C500s VS
Permobil C500 Corpus 3G
Permobil C350 Corpus 3G
Magic Mobility X4 with 176 Ah LiFePO4
swalker
 
Posts: 550
Joined: 23 Jul 2018, 22:57
Location: Vail, Colorado, USA

Re: Electronic experts - BLUETOOTH

Postby Burgerman » 13 Apr 2019, 08:19

Woody programed mine. I have PL8v2 and PL8v2 2 and 3 and 4 so I can see which is which.
User avatar
Burgerman
Site Admin
 
Posts: 65235
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Electronic experts - BLUETOOTH

Postby woodygb » 13 Apr 2019, 09:27

swalker wrote:More pictures


You will need to common up the GND's on every device.
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: 7070
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Electronic experts - BLUETOOTH

Postby ex-Gooserider » 16 Apr 2019, 02:17

I bought some bluetooth boards for doing this conversion on my Hyperion... I still have a couple of them left - will the same board work on the PL8?

ex-Gooserider
T-5, ASIA-B
Jazzy 1100
Jazzy Select 6
Quickie Q-7
Invacare Mariner
Want to make / get a better chair, ideally one that stands.
User avatar
ex-Gooserider
 
Posts: 5966
Joined: 15 Feb 2011, 06:17
Location: Billerica, MA. USA

Re: Electronic experts - BLUETOOTH

Postby snaker » 16 Apr 2019, 03:19

I think they will work. We need classic BT serial, all BT modules have it. Just, some are better than others.
User avatar
snaker
 
Posts: 1193
Joined: 23 May 2015, 10:45
Location: Vietnam

Re: Electronic experts - BLUETOOTH

Postby Burgerman » 16 Apr 2019, 15:36

Yep.
User avatar
Burgerman
Site Admin
 
Posts: 65235
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Electronic experts - BLUETOOTH

Postby snaker » 19 Apr 2019, 02:17

I am testing charge/monitor PL8 through a phone. It only works in about 10 minutes, then the BT connection is broken. I have to turn off then on BT in the phone's settings to make it work back. I bought a newer module HM-10 to test if there is any improvement. Sadly, HM-10 is BLE 4.0 and incompatible with the classic BT 2.0/2.1 that we need. As a warning: do not buy any BT 4.0 module. We only have choices of old modules HC-06 or HC-05 (HC-06 is preferred as it is simpler).
User avatar
snaker
 
Posts: 1193
Joined: 23 May 2015, 10:45
Location: Vietnam

Re: Electronic experts - BLUETOOTH

Postby Burgerman » 19 Apr 2019, 05:34

My laptop is BLE 4.0 built in and works fine. Maybe a firmware thing on your module?
User avatar
Burgerman
Site Admin
 
Posts: 65235
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Electronic experts - BLUETOOTH

Postby snaker » 19 Apr 2019, 09:26

BT on PC/laptop supports both BT 2.0/4.0. The BT in modules only supports either 2.0 or 4.0. If plugging a HM-10 to PC/laptop, it won't generate COM ports like HC-06. As I know, there is no way to manually create a COM port for HM-10 neither.
User avatar
snaker
 
Posts: 1193
Joined: 23 May 2015, 10:45
Location: Vietnam

Re: Electronic experts - BLUETOOTH

Postby woodygb » 19 Apr 2019, 10:14

Have you tried swapping out the HC-06 for another one ?
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: 7070
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Electronic experts - BLUETOOTH

Postby snaker » 19 Apr 2019, 10:45

I only have a HC-06 in hands, I have not tried another HC-06 yet. But it have worked properly and stably in months on PC/laptop. Maybe my HC-06 is not genuine (its price is now $2.5) or the BT on my phone is too weak or Android OS is not stable enough for a long time monitoring. I might have to check every possibility.
User avatar
snaker
 
Posts: 1193
Joined: 23 May 2015, 10:45
Location: Vietnam

Re: Electronic experts - BLUETOOTH

Postby Burgerman » 19 Apr 2019, 11:01

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

Re: Electronic experts - BLUETOOTH

Postby woodygb » 19 Apr 2019, 12:32

snaker wrote:I only have a HC-06 in hands, I have not tried another HC-06 yet. But it have worked properly and stably in months on PC/laptop. Maybe my HC-06 is not genuine (its price is now $2.5) or the BT on my phone is too weak or Android OS is not stable enough for a long time monitoring. I might have to check every possibility.


Use a process of elimination...so .... does it still work without failing when using the PC/Laptop?
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: 7070
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Electronic experts - BLUETOOTH

Postby snaker » 20 Apr 2019, 01:27

Yes, on PC/laptop it works very well, even more stably than using the original usb cable.
User avatar
snaker
 
Posts: 1193
Joined: 23 May 2015, 10:45
Location: Vietnam

Re: Electronic experts - BLUETOOTH

Postby Burgerman » 20 Apr 2019, 02:22

So it cannot be the module.
I agree. Its at least as good as the USB connection.
And thats with a BT 4.0 laptop.
Can it be that on some of my PCs, I MUST disable the serial port in device damager with the higher number (usually) of the 2 it always creates or that causes issues. And did you remember to set the ports to 19200 baud ?? Did you set the BT to never sleep, as on phones they try to save power?
User avatar
Burgerman
Site Admin
 
Posts: 65235
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Electronic experts - BLUETOOTH

Postby woodygb » 20 Apr 2019, 13:18

snaker wrote:Yes, on PC/laptop it works very well, even more stably than using the original usb cable.


Is your phone perhaps entering a power saving mode?

Check somewhere like ....settings, battery, App optimisation, Details
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: 7070
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Electronic experts - BLUETOOTH

Postby snaker » 22 Apr 2019, 01:07

I resolved the problem. The fault was myself :oops:
User avatar
snaker
 
Posts: 1193
Joined: 23 May 2015, 10:45
Location: Vietnam

Re: Electronic experts - BLUETOOTH

Postby snaker » 22 Apr 2019, 10:51

I successfully controlled PL8 through my phone to charge and monitor my 24V pack.
https://youtu.be/DvI7t_1luTo

I also uploaded the app on google play. You can install and run it for fun.
https://play.google.com/store/apps/deta ... .pl8remote

It still has problem when charging a SINGLE cell at a high current (e.g 10A). This problem is very similar when I used a normal diode (not schotky). After charging about 35 seconds, the app cannot communicate with the charger. I debugged the app to find out what happened. I saw BT connection was alive, the app could send commands and receive data from the charger. But that received data is not correct. E.g the expected returned data's length of a 'Ram' query is 153 bytes but it is in fact only 150 or less. This problem is also very confusing because it does not happens when charging a 24V pack at 20A. I am thinking about fitting a capacitor to improve signal as BM did. BM, can you give me a diagram of your BT? I like to learn the position where you fit the capacity.
User avatar
snaker
 
Posts: 1193
Joined: 23 May 2015, 10:45
Location: Vietnam

Re: Electronic experts - BLUETOOTH

Postby Burgerman » 22 Apr 2019, 11:12

Capacitors are on the input to the BT module. To filter noise. And a ferrite ring on the wire that comes with the hobby BEC voltage supply.
User avatar
Burgerman
Site Admin
 
Posts: 65235
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Electronic experts - BLUETOOTH

Postby snaker » 23 Apr 2019, 08:16

Do I put the capacitor at the right position? Why did you use 2 capacitors and where did you put the second one?
PL8Remote-6_bb.png
User avatar
snaker
 
Posts: 1193
Joined: 23 May 2015, 10:45
Location: Vietnam

Re: Electronic experts - BLUETOOTH

Postby Burgerman » 23 Apr 2019, 08:27

The ferrite ring filters RF frequencies that are caused by the PL8 or the main power supply, or by the BEC I used to give me the power to run the BT module.
The .1uf is used to filter high frequency electrical noise spikes from the typical BEC or other device. I fitted this across the input to the BT board. Think of it as a low impedance block to very high frequencies only. It does that better than a big electrolytic type.

The big electrolytic also goes across the input to the BT module, and it works to reduce ripple, longer duration spikes, or induced noise from the high magnetic currents inside the PL8 and close by. These are Both AC and DC components caused by the way the PL8 works. It also smooths out any AC or pulsed DC on the power supply to the BT module. Think of these as small batteries. They smooth out a supply and keep voltage steady. These should not be needed if fitted externally and powerd by a battery as yours is though.

I can confirm that mine is now fine charging at 40A and while doing buck or boost charging and works exactly the same as USB and FUIM3. Its impossible to tell the difference. That does not mean the capacitors were actually needed. I just added as a precaution. I think the low drop diode did the trick.
User avatar
Burgerman
Site Admin
 
Posts: 65235
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Electronic experts - BLUETOOTH

Postby Burgerman » 23 Apr 2019, 08:37

Image
User avatar
Burgerman
Site Admin
 
Posts: 65235
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Electronic experts - BLUETOOTH

Postby Dan » 29 May 2019, 14:49

Soldered power supply on to board. (nightmare BTW).
Got woody's BT module. Plugged into back of PL8.


I have to now feed the power from the PS to the BT. So just cut the red and black wires and to give it power from the PS? Leaving the white wire from the PL8 for the data signal.
Attachments
1212.jpg
I'm a dude playing a dude disguised as another dude.
Dan
 
Posts: 541
Joined: 10 Nov 2011, 03:03
Location: Northern Ireland

Re: Electronic experts - BLUETOOTH

Postby Burgerman » 29 May 2019, 14:53

I soldered the plus/minus to the 3pin connector already part of the PL8. At the rear. But you can solder them to the back of the BT board too. It really doesent matter. Then just bring the servo lead out of the case rear, and plug it in.
User avatar
Burgerman
Site Admin
 
Posts: 65235
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Electronic experts - BLUETOOTH

Postby woodygb » 29 May 2019, 14:58

I'm confused as to why you need to cut anything.

Let's see if we can get a handle on what you currently have.

You have added a 5v supply inside the PL8.
You now have a Plug/Socket with RED ( +5V) and Black ( GND )...Yes ?

The BT also has a 3 pins with a Socket pushed onto it ... RED ( +5V) and Black ( GND ) & White ( Signal ).

You wish to connect the power supply ( Plug/Socket ) to the B.T....Yes ?
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: 7070
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Electronic experts - BLUETOOTH

Postby Dan » 29 May 2019, 15:15

woodygb wrote:I'm confused as to why you need to cut anything.

Let's see if we can get a handle on what you currently have.

You have added a 5v supply inside the PL8.
You now have a Plug/Socket with RED ( +5V) and Black ( GND )...Yes ?

The BT also has a 3 pins with a Socket pushed onto it ... RED ( +5V) and Black ( GND ) & White ( Signal ).

You wish to connect the power supply ( Plug/Socket ) to the B.T....Yes?

Yes thats where I am up to, I have not cut anything thats why I posted. I was not sure how the power got from the PS to the BT.
I'm a dude playing a dude disguised as another dude.
Dan
 
Posts: 541
Joined: 10 Nov 2011, 03:03
Location: Northern Ireland

Re: Electronic experts - BLUETOOTH

Postby Burgerman » 29 May 2019, 15:43

Solder the diode etc to the BT module.
Connect a servo lead to it, so it can plug into the rear of the PL8.

Solder power supply 5v wires to the REAR of the PL8 3 pin connector. Inside the PL8.

Add a capacitor/ferrite ring/as needed. If needed.

Now the PL8 can have either the BT module plugged in externally, (or inside if you add a small 'nick' in the plastic case via your soldering iron) or can be connected to the FUIM3 if you wish.
User avatar
Burgerman
Site Admin
 
Posts: 65235
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Electronic experts - BLUETOOTH

Postby Burgerman » 29 May 2019, 15:47

Solder the diode etc to the BT module.
Connect a servo lead to it, so it can plug into the rear of the PL8.

Solder power supply wires to the REAR of the PL8 3 pin connector. Inside the PL8.

Now the PL8 can have either the BT module plugged in externally, (or inside if you add a small 'nick' in the plastic case via your soldering iron) or can be connected to the FUIM3 if you wish.


In other words. the PL8 has a beefed up power supply to its connector. The BT board just plugs in externally as per normal. But can also go inside.
Here, its tucked inside. And plugged in externally. If I unplug this plug, I can use the FUIM3 instead.

The power 5v and the 0V are connected inside to the hobbywing power supply.

The BT board just plugs in here. And lives inside, loose, in a little heatshrink.
Attachments
810_2750.JPG
User avatar
Burgerman
Site Admin
 
Posts: 65235
Joined: 27 May 2008, 21:24
Location: United Kingdom

Re: Electronic experts - BLUETOOTH

Postby woodygb » 29 May 2019, 16:03

Burgerman wrote:Solder the diode etc to the BT module.
Connect a servo lead to it, so it can plug into the rear of the PL8.

The diode and servo lead has already been done by me.

Solder power supply wires to the REAR of the PL8 3 pin connector. Inside the PL8.

Now the PL8 can have either the BT module plugged in externally, (or inside if you add a small 'nick' in the plastic case via your soldering iron) or can be connected to the FUIM3 if you wish.


In other words. the PL8 has a beefed up power supply to its connector. The BT board just plugs in externally as per normal. But can also go inside.
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: 7070
Joined: 12 Mar 2011, 18:45
Location: Bedford UK

Re: Electronic experts - BLUETOOTH

Postby Scooterman » 29 May 2019, 17:26

Over what 'reliable distance' does USB work?

I'm thinking long flying lead, or perhaps clipped lead as an easier solution?
User avatar
Scooterman
 
Posts: 2773
Joined: 03 Jul 2016, 10:11
Location: Camberley England UK

PreviousNext

Return to Everything Powerchair

Who is online

Users browsing this forum: daveonwheels and 72 guests

 

  eXTReMe Tracker