Turtle/Rabbit mode with Nunchuk buttons

Are there any features that you would like to add to the VESC?
E-CON
Posts: 6
Joined: 23 Dec 2015, 19:42
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Turtle/Rabbit mode with Nunchuk buttons

Postby E-CON » 23 Dec 2015, 20:09

I would love to see a possibility to reduce the speed of my board with a simple button code, for example to let children give a try on my electric longboard. Like already available it should be possible to change ERPM. But now, during the ride without computer only with nunchuk. The value for ERPM should be set up in the configuration tool before (F.e. rabbit=100% turtle=50%). As the buttons are already in use, it would be nice to combine the buttons (f.e. hold c button + 1. nunchuk left + 2. nunchuk right + 3. nunchuk left + 4. nunchuk right) to change from rabbit to turtle once. Button code one more time and it change back from turtle to rabbit. I would love to do this on my own, but i am not good in coding. Please help me!

benjamin
Site Admin
Posts: 280
Joined: 15 Dec 2015, 08:38
Location: Sweden
Contact:

Re: Turtle/Rabbit mode with Nunchuk buttons

Postby benjamin » 24 Dec 2015, 00:56

It shouldn't be too difficult to implement something this for the nunchuk app. I will have a look at it soon.

Exactly how would you like to toggle between the modes? An exact description of the procedure would help since I'm not very good at making intuitive user interfaces.

E-CON
Posts: 6
Joined: 23 Dec 2015, 19:42
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: Turtle/Rabbit mode with Nunchuk buttons

Postby E-CON » 24 Dec 2015, 08:28

That sounds fantastic! I will try to describe it as detailed as possible, how I think it should work:
First of all there needs to be a new Category in the nunchuk view in the config app. It can look like the "RPM Limits" with the possibility to activate the mode and to set the ERPMs. I would name the mode "turtle mode". If we enable the "turtle mode" in the config and set the ERPMs in the config and everything is written to VESC, we are ready. The function code can be identical to the "RPM Limits". Difference is: RPM Limits is active, when Turtle mode is off. When turtle mode is on, it will overrule the RPM Limits. The temperatur and voltage limits do overrule both, RPM Limits and turtle mode. When the board gets power, it will set up the last used mode (if turtle was active last time, turtle mode is also active this time. if turtle mode was deactivated last time or never used before, it is deactivated.) Now we can ride our board. Then there comes a child and wants to try the board. Because we do not want to let it ride the board with 30 kmh, we want to activate the turtle mode. Here my proposals, all are perfect for me, choose the easisest way for programming or what you prefer:
1. The board has to be activated (power on) but without speed to change from turtle on to turtle off. You push and hold the c button and move the nunchuk left, then right, then left, then right within 5 seconds. The mode change and so the ERPMs. Child can test it. After that we use the brakes to stop the board and deactivate the turtle mode again with the button code.
2. The board has to be activated but speed doesn t matter. You move the nunchuk again left+right+left+right within 5 seconds (but without c button, othwise you are forced to drive instead of getting slower). The motor goes zero torque. To slow down the board you use your feet or the brake. Brake is still useable but not the throttle up. Until you reach the turtle ERPM which was set in the config. Then you are able to use throttle again but with turtle ERPM limit. To change back to normal mode we use again the button code and are able to throttle to ERPM set up in RPM limits.

I hope this is detailed enough. Otherwise you can write me any time. THANK YOU!!

david
Posts: 36
Joined: 15 Dec 2015, 13:19
Location: Hamburg, Germany
Contact:

Re: Turtle/Rabbit mode with Nunchuk buttons

Postby david » 24 Dec 2015, 12:10

That's a great idea, me and some others were thinking about that as well. It could be also very useful to limit speed in case one of those officials would stop you. :)

I was starting working on it but my programming skills are a little bit outdated and I got nowhere until now. So any help is really appreciated!
VESCs made in Germany

barney
Posts: 22
Joined: 23 Dec 2015, 08:21
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: Turtle/Rabbit mode with Nunchuk buttons

Postby barney » 25 Dec 2015, 11:35


barney
Posts: 22
Joined: 23 Dec 2015, 08:21
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: Turtle/Rabbit mode with Nunchuk buttons

Postby barney » 01 Jan 2016, 17:07

Attachments
None Linear Joystick.png
None Linear Joystick.png (22.83 KiB) Viewed 4658 times

trbt555
Posts: 3
Joined: 21 Dec 2015, 12:52
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: Turtle/Rabbit mode with Nunchuk buttons

Postby trbt555 » 10 Jan 2016, 17:07

I already had a post in "custom applications" about the reduced/full speed feature request.
I would have liked a toggle switch but I came across this thread and I think a software implementation on the nunchuck makes more sense.

Perhaps you could add a "reduced speed" parameter tot the BLDC tool, which would indicate which % of max ERPM is desired as reduced speed.

Then you could have a configuration process like the one described above, or perhaps an unlikely combination of buttons.
For example: push Z & C button together with joystick pulled back for toggling reduced speed/full speed.

E-CON
Posts: 6
Joined: 23 Dec 2015, 19:42
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: Turtle/Rabbit mode with Nunchuk buttons

Postby E-CON » 14 Jan 2016, 09:47

Hi Benjamin, any updates so far? Is there a schedule plan? Would love to use this as soon as possible :)

benjamin
Site Admin
Posts: 280
Joined: 15 Dec 2015, 08:38
Location: Sweden
Contact:

Re: Turtle/Rabbit mode with Nunchuk buttons

Postby benjamin » 15 Jan 2016, 14:07

Not yet, I have been working on the FOC implementation and making the nrf nunchuk work better. I will let you know when I have some updates.

E-CON
Posts: 6
Joined: 23 Dec 2015, 19:42
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: Turtle/Rabbit mode with Nunchuk buttons

Postby E-CON » 26 Jun 2016, 21:09

Push :)
Summer is coming in Germany, please implement something like turtle rabbit, this would be awesome! Current law: if your board is faster than 6kmph then police takes your board and destroy it :/


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest