GoldenMotor.com Forum

General Category => Magic Pie & Smart Pie Discussions => Topic started by: GM Canada on August 03, 2015, 08:05:23 PM

Title: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on August 03, 2015, 08:05:23 PM
In case you are Unaware!

(https://arhservices.co.uk/GoldenMotorCanada/MagicPie5%20Kit_zpsjnu0dswm.jpg) (http://www.goldenmotor.ca/products/Magic-Pie-5-%28VECTOR%29-26-Inch-Rear-Conversion-Kit.html)

.(https://arhservices.co.uk/GoldenMotorCanada/SmartPie5%20Kit_zpsxi5hxrxa.jpg) (http://www.goldenmotor.ca/products/Smart-Pie-5-%28VECTOR%29-26-Inch-Rear-Conversion-Kit.html)

See my Video (https://youtu.be/szbR5GFmNds)

Golden Motor never stops improving its products!

Gary





Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Mikalow on August 04, 2015, 12:56:55 AM
Will this controller work in Magic pie 4
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on August 04, 2015, 03:16:02 AM
YES! Upgrading from MP4 to MP5 can be done by replacing the controller.

That is the greatest thing about it and why I described in some detail about the different controllers in the video. The video is in the post above.

If you have a controller before v 5.3.1 you can replace it easily. If you have v5.3.1 your likely bluetooth ready now. You just need the device. If you have the original solid silver controller you will need a plug and screw packet for changing the plugs.

Gary
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Flipseth on August 05, 2015, 10:34:56 PM
Have you tried the Bluetooth dongle on the other vector controllers to see if it works?
i need to check my sp4 to see what version it is....

Phill
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Supchrgamx on August 06, 2015, 06:54:31 PM
can you use the mp4 software to adjust parameters on the mp5, or will you be able to access all  parameters on phone

Laurence
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on August 06, 2015, 07:14:14 PM
Have you tried the Bluetooth dongle on the other vector controllers to see if it works?
i need to check my sp4 to see what version it is....

Phill

Hi Phil,

Still waiting to try it for the first time, so the answer at this point is "No I have not tried it".

Gary
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on August 06, 2015, 07:18:09 PM
can you use the mp4 software to adjust parameters on the mp5, or will you be able to access all  parameters on phone

Laurence

From my understanding the Bluetooth device just replaces the Smart Display. So judging from that I would say you still need the USB cable to program the motor. The device would only be used for reading speed, power, etc. One thing you will be able to program would be the pedelec setting if you are using one. Once I receive the devices more videos will follow. Stay tuned :)

Gary
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Bikemad on August 06, 2015, 11:40:24 PM
I received a recent email from Philip at GM and he says that the Smart Phone app can be used to program the controller's parameters.  ;)

I have asked Philip if the existing USB programming lead can still be used to program the controller, but I haven't had a reply yet.

Alan
 
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on August 07, 2015, 01:44:55 PM
Yes, I have been told that as well but still have not seen any screens in the app supporting this so I go by my standard rule of not confirming anything I have not personally experienced. I do however see the settings Icon in the top right corner and am hopeful.

(https://arhservices.co.uk/GoldenMotorCanada/GM-Meter_zpsrpl5ctdr.jpg) (http://s1121.photobucket.com/user/GoldenMotorCanada/media/GM-Meter_zpsrpl5ctdr.jpg.html)
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Supchrgamx on August 08, 2015, 06:57:40 AM
can it now do firmware upgrades
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on August 08, 2015, 10:27:06 AM
Not that I am aware of.
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on August 09, 2015, 01:03:31 AM

I have asked Philip if the existing USB programming lead can still be used to program the controller, but I haven't had a reply yet.

Alan
 


Hi Alan,

I was thinking about this and it would seem obvious the USB programming cable would still work as you can't program the controller with the smart display.

Gotch ya!

 8) 8)

Gary
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Bikemad on August 09, 2015, 12:06:51 PM
Hi Gary,

Just because you "can't program the controller with the smart display" it doesn't necessarily mean that you can program the MP5 controller with the MP4 USB cable.
It's a bit like assuming that the MP4 controller can be programmed with the MP III USB cable simply because it fits into the same connector. What may seem obvious is not always guaranteed to work. ;)

However, as the MP4 and MP5 both have vector controllers, I am expecting the MP4 USB programming cable to work with the MP5, but rather than just take it for granted that it will work, I simply wanted confirmation. 

Have you tried to program one of the MP5 controllers with the MP4 USB programming lead to check that it works?

Also, if you are using the BAC-601 Smart Display with the MP5, it means that you cannot use the Bluetooth device at the same time for monitoring trip mileages, speed, motor rpm, current, voltages, battery levels, etc. as you can only use one or the other.
So you would still need to carry the plug-in Bluetooth device with you if you wanted to change any of the program parameters via your phone while out riding.

For those who still want a fixed display on the bike (and an easy to reach button for selecting the PAS levels) the obvious solution would be a display unit similar to the BAC-601 but with integrated Bluetooth to allow data monitoring/capturing along with additional programming options to be accessed via a smartphone.

One useful option I would like to see added to the app would be an "Off Road" mode that would instantly switch to pre-set higher speed and higher power settings for off road use which could simply revert back to street legal settings for highway use (and also disable the throttle if required).

It might be a good idea to have this function hidden and/or user password protected to avoid accidentally selecting the "Off Road" mode whilst riding on public highways.
I would also suggest having a quick and easy fail-safe way of exiting the "Off Road" mode like simply pressing and holding anywhere on the screen, just in case you find yourself being stopped by the police while accidentally riding on a public highway in "Off Road" mode.

(http://www.arhservices.co.uk/GoldenMotor/emoticons/everyday_wink_230608.GIF)

Alan
 
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on August 10, 2015, 01:36:02 AM
Hi Gary,

However, as the MP4 and MP5 both have vector controllers, I am expecting the MP4 USB programming cable to work with the MP5, but rather than just take it for granted that it will work, I simply wanted confirmation. 


So we are both cautious and rightfully so. The introduction of new products, changes to design and new features are always a surprise to everyone. It is like ok we have something new, so how does it work?

Quote

Have you tried to program one of the MP5 controllers with the MP4 USB programming lead to check that it works?


Yes I have and I'll make a new video soon. We seem to have got passed the quirky connection method we used previously in the MP4.

Quote

Also, if you are using the BAC-601 Smart Display with the MP5, it means that you cannot use the Bluetooth device at the same time for monitoring trip mileages, speed, motor rpm, current, voltages, battery levels, etc. as you can only use one or the other.


True. One connection at a time. I intend to zip tie the Bluetooth device to the bike. You can see from the picture it would be quite simple to do. Sorry about the logo. I don't know what I did with the original picture.

(https://arhservices.co.uk/GoldenMotorCanada/Bluetooth_device-MP5__13538_zoom_zps4jsuizc7.jpg) (http://s1121.photobucket.com/user/GoldenMotorCanada/media/Bluetooth_device-MP5__13538_zoom_zps4jsuizc7.jpg.html)

This does make the Bluetooth device the less expensive route not requiring both a smart display and USB cable. But then you have to buy a mount for the device on your bike.

I made a short video to help people understand their options. Click here to see the VIDEO (https://youtu.be/Lu3E46fLdao)

Quote

For those who still want a fixed display on the bike (and an easy to reach button for selecting the PAS levels) the obvious solution would be a display unit similar to the BAC-601 but with integrated Bluetooth to allow data monitoring/capturing along with additional programming options to be accessed via a smartphone.


Agreed. I am sure its just a matter of time until we have this or something similar.

ONE LAST COMMENT!!

I should add. And its a bit of an apology to people trying to contact me. I just returned from vacation. This year due to family scheduling conflicts I had a week off, a week back at work and another week off. Now I am back at it. So  if I missed your email or phone call just contact me again. I don't think Ill be able to catch up on the hundreds of emails I missed as I have a huge shipping backlog to clear.

One last little note: I'm finally giving up the day job. I can no longer work two full time jobs so now I'll be dedicating all my time to servicing customers needs!


Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Supchrgamx on August 10, 2015, 03:45:37 AM
hey Allen
I agree with the offroad switch , that why I asked about the firmware upgrade
seems to be a max km\hr thing in Canada
that would be the only hurdle for me producing a world class bicycle with their system
still would want tail lite ,tell tail ,solid on street mode flashing on of road, no tail lite -no off road
even the 2nd version that I built , more so to test the technology has great reviews  and have had offers to buy it,or build one for them. seems like I'm to busy riding to have time building, its an addiction

Laurence
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Bikemad on August 10, 2015, 12:14:34 PM
One last little note: I'm finally giving up the day job. I can no longer work two full time jobs so now I'll be dedicating all my time to servicing customers needs!

That's great news Gary, and as a Golden Motor Canada customer myself I am particularly pleased because I really need to have my house completely redecorated inside and out, and I also need the garden hedges trimming as well, and I would appreciate it if you could get this done as soon as possible as my wife is looking forward to having the house and garden clean and tidy again!!!

And don't forget that my utility bills need paying every month too!

                (http://www.arhservices.co.uk/GoldenMotor/emoticons/10_small.GIF)
Just let me know when you intend to start servicing my needs and I will make sure that I am available to supervise. (http://www.arhservices.co.uk/GoldenMotor/emoticons/snicker.GIF)

Alan
 
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Chris2015 on August 10, 2015, 08:28:12 PM
Is the bluebooth the only improvement to MP5? Have there been other improvement (like the efficiency)?
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Bikemad on August 10, 2015, 10:36:54 PM
Yes, the only difference between the MP4 and MP5 is the addition of the Bluetooth connectivity, which can be used in conjunction with a Smart Phone for programming and monitoring.

The motor itself remains unchanged.

Alan
 
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on August 10, 2015, 10:58:24 PM
There have been continuos improvments in the controller and now that it supports both the smart display and the bluetooth device it is officially V5.

Gary
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on August 16, 2015, 01:09:35 AM
Hello all,

I created another short video the other day showing the wire harness. This time before they shipped I insisted they add plugs to the wire harness. Seems they added wires for the lights and pedelec, but not the reverse. I imagine the blue and black wire are buried in the cable for the pedelec. I was also thinking the pedelec wire will be too short for a front wheel but will work on the back. I guess you can extend it for the front.

I guess to summarize if you want to use the GM Lights or pedelec, the plugs are there. If you don't want them you can always snip them off and you will be back to the MP4 wire harness. Just be sure to separate and waterproof the ends.

See my video about the plugs here.

http://youtu.be/uY4MC8LHT5c

Gary
Title: Re: Magic Pie 5 Bluetooth Update Tool. Solid blue light? Use this tool!
Post by: GM Canada on September 05, 2015, 01:10:13 AM
Another video.

This one on how to do a flash update to the Magic Pie 5 and Smart Pie 5 Controllers

If you turn on your battery and get a solid blue light on the bluetooth device watch this video. You an get it to blink once and be ready for Bluetooth.

https://www.youtube.com/watch?v=UD8_zPrg6wQ

Gary
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Mgizen on September 07, 2015, 02:56:30 AM
So I feel I have to ask if anyone has considered trying the firmware update on older mp4 controllers to see if this would work?
To be able to run the bluetooth technology dongle?
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on September 07, 2015, 10:35:26 AM
I would not risk that. You might screwup the firmware for your controller with no way to fix it.

Gary
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on September 07, 2015, 10:57:03 AM
Another video

Magic Pie Build part 1 - lets get the wheel on.

http://youtu.be/mvbfE_KEdD0

Gary
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on September 10, 2015, 04:46:23 PM
Two more videos

Programming the controller with Bluetooth app

https://www.youtube.com/watch?v=Z2EM2DLkr-o

Intro to my iOS app and MP5 Test Drive

https://www.youtube.com/watch?v=igqoekgFwHo

Gary
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: AdamB on September 14, 2015, 06:13:24 PM
Excuse me for interrupting but hopefully someone can direct me...

I was trying to confirm the max Continuous Amps & Max Amps on Start-up but the picture on the GM.CA site is a pain to see & down below in the description it starts the max continuous Amps is 25A...

That seemed off what I remembered, so I came back here to see what this page said & saw it says the max on startup is 80A & continuous (without specifically the word max) is 30A...

So which is right? Both of them or 1 of them?

I was doing some battery calculations & I need this info... Thanks in advance for any response!

Adam
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Bikemad on September 15, 2015, 12:58:15 AM
The Wattmeter on my MP4 records a very consistent maximum peak battery current of ~30 Amps and that's with the controller set on 30 Amps (which is the maximum available) I don't know what the maximum continuous current is likely to be (and there are no adjustable settings for this) as the current always drops very quickly as the speed increases.

A very long steep hill would be required to cause a continuous high current draw under maximum load for a reasonable length of time, but my wattmeter is not easily visible while riding so I have never actually monitored the current under these conditions.

The "Battery drawn current" can be set anywhere between 10~30 Amps and the "Rated phase current" can be set anywhere between 35~70 Amps.
I have both of these setting on the maximum available and the maximum battery current has always been around 30 Amps except for one ride which for some unknown reason I recorded a maximum current of 34.08 Amps.

The phase current is typically much higher than the battery current as the windings receive a rapid succession of high frequency/ high current discharge pulses from the controller.
The capacitors in the controller act like a buffer to help smooth out the continuous current being drawn from the battery.

For anyone who's interested, read on and I'll try to explain why the phase current is higher than the battery current, just think of it in terms of water flow instead of current flow and it might be easier to comprehend. ;)

Imagine there is a large water tank (Controller) that is being filled up at the rate of 30 litres per second (30 Amps) from a water supply (Battery) at a constant pressure of 48psi (48 Volts).
The tank has a very large tap at the bottom (MOSFETs) which is fed by a booster pump (Capacitor) which causes water to leave the tank (Controller) under the same 48psi pressure (48V) but with double the flow rate of 60 litres per second (60A).

If this tap (MOSFETs) is repeatedly turned fully ON for half a second and then turned completely OFF for half a second (Pulse Width Modulation controlled output with Throttle @ 50%) the volume of water leaving the tap (Power) would be identical to the volume of water feeding into the tank, but the peak flow rate measured at the tap (Phase current) would be twice that of the peak flow rate supplying the tank (Battery current).

I expect that after reading this weird explanation that you are probably still confused, I must admit that it took me a while to get my head around it as I simply could not initially understand how the peak phase current could be any different to the measured battery current.

Alan
 
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: AdamB on September 30, 2015, 08:55:30 AM
Good answer, Alan!!! That can make sense to almost anyone!

Btw- why is it that if I write something here & then say go to a different tab to grab a link or check something or just put the thing down for a bit... That when I return & open this page, my prior text is still there but moments later it erases everything & I've lost all my work? Anyway I can stop that?

Adam
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Bikemad on September 30, 2015, 09:55:14 AM
Btw- why is it that if I write something here & then say go to a different tab to grab a link or check something or just put the thing down for a bit... That when I return & open this page, my prior text is still there but moments later it erases everything & I've lost all my work? Anyway I can stop that?

I guess it must be something on your PC that periodically refreshes the page and clears the browser cache.
I always use Google Chrome and have the "On Start-up" option set to "Continue where you left off" and it saves almost everything I am typing into a "Post reply" even if I accidentally close the browser by mistake or the PC is subjected to a sudden power outage.

I used to get very frustrated when after spending considerable time compiling a post and being called away from the computer, I'd often return and find that Windows had either crashed, or performed an automatic update and restarted the system, resulting in the total loss of everything I had previously typed! >:(

The occasional problem I still suffer from is instinctively hitting F5 to refresh the page (instead of updating the preview) while I'm still in the middle of compiling a long post. ::)

Alan
 
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: AdamB on October 02, 2015, 04:51:01 PM
1st- I'm almost solely using Android (version 5) these days but all my machines are set up to save the last page like that & I totally don't have a problem anywhere else...

For example on other boards, I've partially completed posts that are many days old & survived multiple resets but are still intact but here they don't last long enough for me to check who just sent me a text message (though the longer I'm away, the more likely its going to disappear when I return)!

I've taken to selecting all & copying, all the time but I don't have a decent clipboard on this machine, so if I'm copying a link it overwrites, the prior copy & if the board uses that chance to delete my future post, then it's gone before I can do anything about it...

Also I know what you mean about refresh, on every other site if I refresh a page with text written on it, the newly refreshed page presents with all my work intact... But here it's just disappears! It drives me nuts, especially since it's usually the forum demanding I refresh in the 1st place! However at least now, I can predict that 1 & I know to select all & copy 1st...

Man, these boards are buggy! To be clear, I never have this issue on any other forums... At least I can be grateful this forum doesn't use ongoing spam protection where you have to enter what's in the picture... That's the worst, I usually need several dozen cycles before I get one that makes any sense!

Adam
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: MrBulp on October 18, 2015, 12:40:11 PM
im still waiting for Magic Meter iOS app............... :(
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Supchrgamx on November 12, 2015, 04:57:59 AM
guess I don't need a update
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: TJImagineer on January 13, 2016, 04:05:12 PM
still waiting on the IOS version, my buddy wants his android phone back  :( . any updates other than 2 more weeks?
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Ecobully on January 29, 2016, 11:16:43 AM
Does anyone know if the apk posted in the downloads section has changed at all in the past few days?

I had everything working on an older Android device (Amazon Fire with Cyanogenmod) with 4.4.2, but it will not run and closes down if BT is turned on stating, "Unfortunately, GoldenMotor has stopped." If BT is disabled, I will be prompted with, "An app wants to turn on Bluetooth." "Deny -- Allow"

It doesn't matter which I choose as it turns on BT (even if I choose "Deny"). Then once I tap the red "b" icon and search for "GM" I am faced with the same shutdown of the app with the same message, "Unfortunately, GoldenMotor has stopped."

I tried clearing, my cache for the specific app, clearing data, uninstall/reinstalling, factory reset on the handset and only installing the GM app to no avail.. same results. Seems like the app and my BT stack are not getting along.

** I had the exact same experience attempting to load the GM app on an Android 4.4.4, 5.1.1, and 6.0.1 device  (Samsung Galaxy S3, Samsung Galaxy S6, and Nexus 6P)
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Ecobully on February 02, 2016, 03:54:58 AM
TJI,

I believe that Apple implements a different way to achieve BT serial communications and might require some more time to certify (or get shot down and ask us to run jailbroken phones to achieve functionality). To keep the BT hardware the same for both Android and IOS, I see that the pairing method is not conventional and is accomplished solely though the app itself and not the BT settings manager.

It would be interesting (and sad) if someone can actually examine the packets and even change settings of someone else's bikes while sitting at the park and watching people ride their MP5 equipped ride. Default pairing code is '0' and not even '0000' Does that mean all bikes with this accessory have a common pairing code? Along with a default app settings password of... '0' ?

The above example is an extreme case, but one that can lead to casualties (and even death). Keeping things reasonably secure and thorough is probably a pretty high priority. But, in your case I feel that IOS should have never been advertised or marketed until it was available for actual usage. Vaporware is a tease that does not fulfill anyone's needs.

The Android side of things is not polished at all. And more of an alpha release--there are some bugs and processes to be worked out before it can be deemed a functional option worthy of dishing out cash for a proprietary BT adapter.

I have decided to spend more money and purchase a regular wired display unit. BT is nice and convenient, but I will use it to reprogram the controller whenever needed so it's not a complete waste.

I know this post sounds rather negative, but it is not intended to be. I feel that BT is very useful and a great feature for the MP5/SP5 once it is polished up and refined. I wanted to others that were looking into this feature a heads up as it's not perfect, yet.
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: MrBulp on February 03, 2016, 07:19:36 AM
Does anyone know if the apk posted in the downloads section has changed at all in the past few days?

I had everything working on an older Android device (Amazon Fire with Cyanogenmod) with 4.4.2, but it will not run and closes down if BT is turned on stating, "Unfortunately, GoldenMotor has stopped." If BT is disabled, I will be prompted with, "An app wants to turn on Bluetooth." "Deny -- Allow"

It doesn't matter which I choose as it turns on BT (even if I choose "Deny"). Then once I tap the red "b" icon and search for "GM" I am faced with the same shutdown of the app with the same message, "Unfortunately, GoldenMotor has stopped."

I tried clearing, my cache for the specific app, clearing data, uninstall/reinstalling, factory reset on the handset and only installing the GM app to no avail.. same results. Seems like the app and my BT stack are not getting along.

** I had the exact same experience attempting to load the GM app on an Android 4.4.4, 5.1.1, and 6.0.1 device  (Samsung Galaxy S3, Samsung Galaxy S6, and Nexus 6P)

hi Ecobully,

the same things happen when I try to connect BT to my Asus Zenfon phone.. the Magic Meter app stopped working only when I setting the controller to 24v & use the Magic Pie as Power Generator..

the app works flawlessly when I set back to 48v & use Magic Pie as elektric motor.. :).
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Vanarebane on March 13, 2016, 06:56:47 AM
Does anyone has a information in what state has a Smart Meter app for IOS? Does anyone already developing it or not?
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Lioelec on April 08, 2016, 07:57:55 PM
Since average 1 years IOS app shoud be "comming soon". Could you inform when it will be avalable?? 2016,2017,2018 ?? :-\
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Dan77062 on October 03, 2016, 09:48:13 PM
I have installed the bluetooth device and app and it is working fine.  I'm interested in monitoring the data directly to use the motor in a robot and the data as encoder data.  With an oscilloscope I can see that the data exchange with the app is 9600 baud.  Data comes through with that setting but the characters are random-looking, so something is wrong with the settings (9600,n,1).
I tried other common baud settings but they don't work, so I think 9600 baud is correct.  I can see that the app sends a request and the controller responds with data, but I can't read the data.

Has anyone else decoded the serial data?
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Dan77062 on October 05, 2016, 09:20:15 PM
Serial data question resolved.  The data does come across at 9600,n,1.
The data is in integers, not characters, which had me baffled for a while.  The data is issued in response to a serial input sequence of 7 numbers.  The response is a sequence of 15 numbers.

Within those 15 values are high and low bits for voltage, current, and time delay.  The time delay corresponds to the time between hall sensor pulses, so the inverse of that value corresponds to rpm.
A simple arduino sketch commands the response, receives it, and calculates voltage, current, and speed (rpm calibrated with wheel diameter).

Unfortunately, there is no output bit for reverse, which makes sense since all the controller can sense is hall pulses, so if the wheel is moved passively, there is no way to know if it is going forward or reverse.
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Mac5 on October 09, 2016, 03:48:15 AM
Is there a way to reset the bluetooth dongle? When I first got mine it would flash rapidly then go solid once connected to the app, but now no matter what I try when I turn on the battery I get a constant light and the app cant find the dongle. I've tried flashing the controller with the latest firmware update with no luck. I've actually been in contact with Gary about returning it but I would like to try and make it work. Also when it did work for the brief period at the start  I could change parameters in the controller but it would not save them.
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Bikemad on October 09, 2016, 09:56:06 AM
Hi Mac,

My Dongle just flashes once when I initially turn the power on, the blue LED only stays on continuously while it is connected to my phone, so it definitely sounds like you have a problem with either the Bluetooth dongle or the controller itself.

If you are able to program the controller and correctly save the settings using the USB programming cable (and then leave the dongle disconnected) if the motor still runs correctly and does not lose settings, then the controller might be OK.
However, if the motor does not run, (assuming the controller voltage is correctly set for your battery) then the controller will need to be replaced.  :(

When you say that you "could change parameters in the controller but it would not save them", was it actually making a difference to the controller operation?

If the parameters are changed, but are not saved to the controller, they will have no effect on the controller's operation. But if they were initially saved correctly to the controller and they did make a difference, but the settings were not being retained after being powered off and back on again, I would say it was a controller fault rather than the Bluetooth dongle.

When you originally changed the settings with the Bluetooth App (which I fully understand you are no longer unable to do) and tried to save them to the controller, did you receive an error or confirmation message?

(http://www.arhservices.co.uk/GoldenMotor/Bluetooth%20app/success_zpspujst7l4.JPG)

And were you able to read the parameters from the controller to check that the settings had been saved correctly?

(http://www.arhservices.co.uk/GoldenMotor/Bluetooth%20app/Setting%20Options_zpskxoqyvvk.JPG)

One other thing to check that can cause problems with the programming is the unused wires for the pedelec and reverse.
If these are exposed and allowing the copper wires to touch against each other, this can prevent correct programing of the controller

For anyone who has a reverse switch fitted, please note that the switch must always be in the OFF position while saving parameters to the controller.

Unfortunately, I'm not sure that you will be able to cure the problem without replacing either the controller or the dongle, so it looks like you will need to contact Gary again. 

Alan
 
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Mac5 on October 09, 2016, 11:40:52 AM
My Dongle just flashes once when I initially turn the power on, the blue LED only stays on continuously while it is connected to my phone, so it definitely sounds like you have a problem with either the Bluetooth dongle or the controller itself.
When it actually worked it would flash rapidly and then go solid when connected and it's a lime colour rather than blue. Now its solid all the time and unreachable by the app.

When you say that you "could change parameters in the controller but it would not save them", was it actually making a difference to the controller operation? No

When you originally changed the settings with the Bluetooth App (which I fully understand you are no longer unable to do) and tried to save them to the controller, did you receive an error or confirmation message?
No nothing at all happened. I've watched Gary's video's on programming with the app and nothing like that happened. The (modify parameter success) never appeared.

One other thing to check that can cause problems with the programming is the unused wires for the pedelec and reverse.
If these are exposed and allowing the copper wires to touch against each other, this can prevent correct programing of the controller
That wire has a silicone cap on it so no problem there. If there's no way to factory reset the dongle then it must be faulty which is a pain in the ass considering I'm in Australia and it will be a drawn out process for return and then purchase a cycle analyst instead.
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Asterix on November 13, 2016, 03:46:47 PM
Serial data question resolved.  The data does come across at 9600,n,1.
The data is in integers, not characters, which had me baffled for a while.  The data is issued in response to a serial input sequence of 7 numbers.  The response is a sequence of 15 numbers.

Within those 15 values are high and low bits for voltage, current, and time delay.  The time delay corresponds to the time between hall sensor pulses, so the inverse of that value corresponds to rpm.
A simple arduino sketch commands the response, receives it, and calculates voltage, current, and speed (rpm calibrated with wheel diameter).

Unfortunately, there is no output bit for reverse, which makes sense since all the controller can sense is hall pulses, so if the wheel is moved passively, there is no way to know if it is going forward or reverse.
that is an interesting experiment.
You can also log the communication at bluetooth level.
If you have an android phone with CyanogenMod, there is a nice feature of the OS that traces all bluetooth communication (it just requires to set a checkbox).
See my findings at http://goldenmotor.com/SMF/index.php?topic=6104.0 (http://goldenmotor.com/SMF/index.php?topic=6104.0)
You can then compare the data with your hardware spy at serial line.
We may wait a long time until the bluetooth APP is fixed, so may be it could be interesting to have some DIY-alternative based on a small microcontroler that does very simple things (display data, change PAS level...) .
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Adamsavage79 on December 03, 2017, 06:05:46 PM
Couple questions in regrads to this motor. The website states the motor can go up to 1,000 watts, yet says it's top speed is about 45kph. I have a 500 watt motor, and I don't know it's top speed. I have gotten it close to 60 kph once. Is the 45 kph speed, based on Gary riding the bike ? If so, then it could be different for each person ?

Also, I watched a You Tube clip on the bluetooh device, and from what I understood. You would need to have both the USB cable and Bluetooth device to use the BT ? The video mentioned it might need a firmware update.
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GoldenMotor on March 06, 2019, 07:35:35 AM
iOS App for iPhone and iPad is available now in Apple Store. You can search App name: GoldenMotor from App Store to find and install it in your iPhone or iPad easily. It is only for meter display right now, not for parameter programming.
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Bikemad on March 06, 2019, 09:53:17 PM
Although this iOS release is not able to alter the programmable parameters, I decided that I would still try it out using my wife's iPhone 4S to see what functions were available, and compare it to the Android version.

I was disappointed to find that it was not even possible to connect the iPhone 4S to my Magic Pie Edge via Bluetooth.
The screen on the iPhone 4S is so small that the displayed information does not fit on properly:

(https://i.imgur.com/47C6SO5.png)

I was also unable to click on the Bluetooth symbol (which on the Android version allows me to select the GM bluetooth device) as the symbol is almost completely missing from the bottom of the screen, along with the TRIP END button.

As a comparison, this is what the display looks like on my Samsung Galaxy Core Prime with the Android App:

(https://i.imgur.com/p3BG4Wb.png)
I eventually worked out how to unlock the portrait orientation lock on the iPhone to allow the display to work in landscape, and then I could access the bluetooth symbol to connect.  :D

(https://i.imgur.com/nHrxuNE.png)

With the controller finally connected, I was able to set the correct wheel diameter size, and there is even an option to change from Km to Miles:

(https://i.imgur.com/YFk2puc.png)

I still prefer the look of the Digiface/Transistor font style digits used on the Android app display, but this won't really affect me as I have no intentions of owning either an iPhone or an iPad.  ;)

Although this current iOS version only works as a speedometer and trip counter etc., let's hope that the functions used to adjust the programmable parameters will be made fully operational soon.

(https://i.imgur.com/FnmD5lE.png)

Alan
 
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Vanarebane on April 30, 2019, 08:42:57 PM
Today was published a new version for IOS GoldenMotor app and now there also possible to change the parameters.
The only problem is that the iPhone screen turns into sleep.
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on May 16, 2019, 03:35:49 PM
Hello to all,

I have thoroughly tested the iOS app and it works great! I am very impressed and thankful it is finally here.

Two things mentioned above

1 - On iPhone 4 you have to landscape it to see properly. The app recommends iPhone 5 or higher, iOS 9 or higher. It works great on my iPhone x
2 - The phone goes into sleep mode when using the app. I have brought this to the attention of Golden Motor and a new version is out already to fix that. It may take a few days to be updated in the apple app store

Gary
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Vanarebane on May 16, 2019, 04:02:16 PM
Great news!
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on May 20, 2019, 06:28:42 PM
I shot a quick video here of my first look at the iOS app. Here I am learning to program the motor and how to detect what settings I like for speed.

So far it is awesome! I love it.

https://www.youtube.com/watch?v=h8B0RD2aMW4 (https://www.youtube.com/watch?v=h8B0RD2aMW4)

Gary
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: eGhostRider on June 02, 2019, 03:11:49 PM
Hi Gary.  I downloaded the Apple App, beside PAS the Rest Workshop Fine. It is up and downloading the correct  changes made in the App. PAS can be openend and closed. After download to the controller it stays changed, but PAS is not working. The same issue with Android.
Anything that need to be fixed?
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: GM Canada on June 02, 2019, 03:48:41 PM
Have you installed the GM pedelec ring?

https://www.goldenmotor.bike/product/pedelec-2/ (https://www.goldenmotor.bike/product/pedelec-2/)
Title: Re: Magic Pie 5 Vector with Bluetooth for Android/IOS
Post by: Aum on September 13, 2023, 05:09:50 PM
using android 12, Magic Pie 1.9 apk, I get 'app stopped working' notification, or, when launched, the app shows notification in chinese language, and closes immediately

update working on android 12 would be welcome

aum