RC throttle interface build tutorial........

Discussions related to motors other than hub motors.
This includes R/C motors, botttom bracket, roller and geared drives.
User avatar
AussieJester   100 GW

100 GW
Posts: 8736
Joined: Mar 11 2008 3:33am
Location: Perth Western Australia

Re: RC throttle interface build tutorial........

Post by AussieJester » Sep 20 2010 8:06pm

Hillhater wrote:
Jeremy Harris wrote:OK, I've had a go at making a simple Picaxe interface this morning.
...... Here's a quick description of what I did.
Jeremy
Your knowledge and abilities exceed even my capacity to understand WTF you are saying !!! :shock: :lol: :lol: :wink: )

.... but it sure sounds like a good idea !

ROFL...don't worry...Jeremy's words and actions have that effect on alot of people, in fact hahaa, I should probably
be the president of the 'WTF is Jeremy Saying' club :mrgreen:

Keep up the good work Jeremy....i think, your not making weapons of mass destruction are you? :shock: :mrgreen:
You remind me of this chap you have something else in common
too, he was also on a episode of Scrap Heap Challenge, he helped one of the teams build a pulse jet.

KiM

User avatar
Jeremy Harris   10 GW

10 GW
Posts: 4208
Joined: Oct 23 2007 4:15pm
Location: Salisbury, UK

Re: RC throttle interface build tutorial........

Post by Jeremy Harris » Sep 21 2010 1:29am

Thanks for the kind words and sorry for the furrowing of brows I've caused................

In essence, all this chip is doing is reading the value of the voltage from the Hall throttle and directly converting it into the right type of pulsed signal to drive an ESC. It helps not to think about the chip as a microcontroller, but just think of it as a very versatile electronic building block that can convert signals from one form to another, in pretty much any way you want, just by changing a few lines of code, rather than by changing components.

BTW, I know Bruce. As well as being a fellow Scrapheap expert, he's also done some pretty remarkable stuff with pulse jets. I managed to scare the **it out of some folks where I used to work when I showed the anti-terrorist team his 'Build a cruise missile for less than $5000' site a few years ago. Even better are some of his other pulse jet projects, like the pulse jet powered go kart. I bet his neighbours love him as much as the CIA and NZ government (anyone who's heard a pulse jet run will know what I mean.........).

There must be something about Kiwis that makes them even more eccentric than us Brits, this guy: http://www.asciimation.co.nz/ for example, is another Kiwi with way too much time on his hands and some truly brilliant projects (check out the turbojet-powered beer cooler...........).

Jeremy
Please ask questions on the forum, rather than by PM, as it helps others and you'll get a better range of answers.

User avatar
AussieJester   100 GW

100 GW
Posts: 8736
Joined: Mar 11 2008 3:33am
Location: Perth Western Australia

Re: RC throttle interface build tutorial........

Post by AussieJester » Sep 21 2010 1:41am

^^LOL i spotted the jet beer cooler few years back
such a complete waste of money and time...i so want it hahaha

KiM

User avatar
full-throttle   10 MW

10 MW
Posts: 2013
Joined: May 07 2009 8:21pm
Location: N-E Victoria, AUS

Re: RC throttle interface build tutorial........

Post by full-throttle » Oct 06 2010 8:09pm

Looks good Jeremy,

I would right-shift by 7 (essentially divide by 128) instead of

Code: Select all

ppm_output = ppm_output / 130
ie

Code: Select all

ppm_output = ppm_output >> 7

User avatar
Jeremy Harris   10 GW

10 GW
Posts: 4208
Joined: Oct 23 2007 4:15pm
Location: Salisbury, UK

Re: RC throttle interface build tutorial........

Post by Jeremy Harris » Oct 07 2010 2:15am

full-throttle wrote:Looks good Jeremy,

I would right-shift by 7 (essentially divide by 128) instead of

Code: Select all

ppm_output = ppm_output / 130
ie

Code: Select all

ppm_output = ppm_output >> 7
Shift right isn't a valid operator on the 08M Picaxe, plus the divisor needs to be 130 to get the correct value of pulse width.

Jeremy
Please ask questions on the forum, rather than by PM, as it helps others and you'll get a better range of answers.

User avatar
full-throttle   10 MW

10 MW
Posts: 2013
Joined: May 07 2009 8:21pm
Location: N-E Victoria, AUS

Re: RC throttle interface build tutorial........

Post by full-throttle » Oct 07 2010 11:04pm

You right - had a quick look at the instruction set, my bad.

User avatar
bandaro   10 kW

10 kW
Posts: 526
Joined: Jun 01 2010 2:17am
Location: Canberra, Australia

Re: RC throttle interface build tutorial........

Post by bandaro » Oct 14 2010 11:49pm

ok, got my throttle up and running, and i can confirm that for the electrics i got it works. i used the same jumper method in the picture a page or so ago on a turnigy servo tester, and the cheapest hall effect throttle i could find.

throttle i got (10 bucks posted on ebay):
http://cgi.ebay.com/ebaymotors/Razor-El ... 4496wt_939


servo tester (the turnigy one for 6 bucks, jeremy said they may change the electrics, but the ones they were supplying a month ago work):
http://www.hobbycity.com/hobbycity/stor ... oduct=8296

am yet to test the final rpm (need a few more parts as i only have the cycle computer to measure speed, then deduce rpm) but the esc has a little led in it that lights up at about 90% of the twist, so i am taking it this led means that the esc is full throttle. otherwise it seems smooth and consistent with the more twist it gets.

total cost for parts shipped to your door would be less than $20, then you will need a 4-6v power source (ubec) for the servo tester, as you would if using the magura throttle. for any interested i am just using the cheapie k-force 120 esc for now, see how it holds up for my first build.

Hillhater   100 GW

100 GW
Posts: 9248
Joined: Aug 03 2010 10:33pm
Location: Sydney ..(Hilly part !) .. Australia/ Down under !

Re: RC throttle interface build tutorial........

Post by Hillhater » Oct 15 2010 12:38am

Bandaro,
just a tip ...
on the Turnigy servo tester, i "clipped" off the top of the "mode" button (so that it is below the surface of the enclosure),to prevent accidentally engaging "Auto" mode when you are running ! :shock:
This forum owes its existence to Justin of ebikes.ca

User avatar
bandaro   10 kW

10 kW
Posts: 526
Joined: Jun 01 2010 2:17am
Location: Canberra, Australia

Re: RC throttle interface build tutorial........

Post by bandaro » Oct 15 2010 1:39am

lol, good to see your on the ball hillhater, but dw, i already trimmed that button off and taped the whole thing up ready to shove into a box :D

User avatar
Hardcarve1   100 W

100 W
Posts: 125
Joined: Dec 22 2008 3:08pm
Location: Brisbane, Australia

Re: RC throttle interface build tutorial........

Post by Hardcarve1 » Oct 15 2010 2:50pm

If I want to use the turnigy ST on a CC 110 HV using a hall thumb throttle I will need to use a BEC. How would we wire the BEC into the servo tester? would it be similar to how Matt has done his?
I got lost in what Jeremy was saying which I think was about this. If anyone could do give some explanation as I have ordred the turnigy and would like to have a go at wiring it up.

Cheers
When in doubt, REV!! it out.

MTB commuter Black Surley troll 26' 9C HUB Vented & upgraded phase wires, 16s A123 11.5ah
MTB commuter Orange Surley troll 26' 9C HUB Vented & upgraded phase wires, 16s A123 9.2ah
MTB - HXT80-130 direct drive through staton 1:18.75 gerbox, HV160 ecs, Nuvinci hub, 12s A123 9.2ah (retired)
MTB - 9C stock, 12 fet Lyen, 9 speed, 16s A123 20.0ah, 2000lm LED ebike lights.[retired]

Line trimmer - HXT80-130, HV110 ecs 12s A123 2.3ah

User avatar
bandaro   10 kW

10 kW
Posts: 526
Joined: Jun 01 2010 2:17am
Location: Canberra, Australia

Re: RC throttle interface build tutorial........

Post by bandaro » Oct 16 2010 2:15am

for mine i simply plugged the bec into one of the 3 servo places, right under where the esc went in.

means the power is being put in "reverse" direction but it is all the same.

User avatar
Hardcarve1   100 W

100 W
Posts: 125
Joined: Dec 22 2008 3:08pm
Location: Brisbane, Australia

Re: RC throttle interface build tutorial........

Post by Hardcarve1 » Oct 16 2010 4:56am

I see it now, I thought their was just one input & output but I can see the multiple plug points.
Thanks
When in doubt, REV!! it out.

MTB commuter Black Surley troll 26' 9C HUB Vented & upgraded phase wires, 16s A123 11.5ah
MTB commuter Orange Surley troll 26' 9C HUB Vented & upgraded phase wires, 16s A123 9.2ah
MTB - HXT80-130 direct drive through staton 1:18.75 gerbox, HV160 ecs, Nuvinci hub, 12s A123 9.2ah (retired)
MTB - 9C stock, 12 fet Lyen, 9 speed, 16s A123 20.0ah, 2000lm LED ebike lights.[retired]

Line trimmer - HXT80-130, HV110 ecs 12s A123 2.3ah

User avatar
Wheazel   10 kW

10 kW
Posts: 966
Joined: Nov 02 2010 2:30pm
Location: Sundsvall, Sweden

Re: RC throttle interface build tutorial........

Post by Wheazel » Dec 03 2010 11:16am

This thread is full of awesomeness. Thanks for the tutorial.
Input regarding availability in Europe is appreciated. Only seem to find american sites selling the throttle.

Brushlessboy16   100 mW

100 mW
Posts: 40
Joined: Oct 06 2010 4:44pm

Re: RC throttle interface build tutorial........

Post by Brushlessboy16 » Dec 03 2010 9:38pm

Depending on your input voltage

This unit is good for 10s Lipo input
http://www.hobbyking.com/hobbyking/stor ... duct=10313
Very cheap site and they have many warehouses around the globe :)

User avatar
recumpence   100 GW

100 GW
Posts: 5286
Joined: Apr 19 2008 8:33am
Location: On Earth right now. That can change at any time, though..........

Re: RC throttle interface build tutorial........

Post by recumpence » Dec 05 2010 2:36pm

Hey Guys,

I wanted to post a quick update..........

I spent the morning building a bunch of throttle interfaces. All pending orders are filled and I have two throttles finished in stock. :)

Sorry for the delay. I had an issue with regulators and a couple other minor details. I am up to speed again, however. :)

Matt
1% of the world's population can think "Outside the box". The rest are firmly stuck within the box. Where are you?

deVries   1 MW

1 MW
Posts: 1545
Joined: Jul 10 2008 11:29pm
Location: Solar Powered 3000w Texas

Re: RC throttle interface build tutorial........

Post by deVries » Dec 05 2010 4:44pm

bandaro wrote:ok, got my throttle up and running, and i can confirm that for the electrics i got it works. i used the same jumper method in the picture a page or so ago on a turnigy servo tester, and the cheapest hall effect throttle i could find.

am yet to test the final rpm (need a few more parts as i only have the cycle computer to measure speed, then deduce rpm) but the esc has a little led in it that lights up at about 90% of the twist, so i am taking it this led means that the esc is full throttle. otherwise it seems smooth and consistent with the more twist it gets.

for any interested i am just using the cheapie k-force 120 esc for now, see how it holds up for my first build.
Hi Bandaro, just thought I'd check-in to see how the rpm range worked with this setup? You got full range & good control w/throttle you bought? Also, how is that 120 k-force ESC working? Did you add extra caps or mod it?

Thanks! :mrgreen:

HumboldtRc   100 W

100 W
Posts: 262
Joined: Aug 22 2010 3:50am

Re: RC throttle interface build tutorial........

Post by HumboldtRc » Dec 05 2010 10:41pm

recumpence wrote:Hey Guys,

I wanted to post a quick update..........

I spent the morning building a bunch of throttle interfaces. All pending orders are filled and I have two throttles finished in stock. :)

Sorry for the delay. I had an issue with regulators and a couple other minor details. I am up to speed again, however. :)

Matt
What all do your throttles consist of? What features do they have?

I just finished mine, with a 0-5k sliding pot (in a custom cable throttle box) to a Turnigy servo tester to a servo speed regulator then to the esc's.

Hillhater   100 GW

100 GW
Posts: 9248
Joined: Aug 03 2010 10:33pm
Location: Sydney ..(Hilly part !) .. Australia/ Down under !

Re: RC throttle interface build tutorial........

Post by Hillhater » Dec 05 2010 11:42pm

HumboldtRc wrote:
I just finished mine, with a 0-5k sliding pot (in a custom cable throttle box) to a Turnigy servo tester to a servo speed regulator then to the esc's.
what does the .."servo speed regulator" ... do for you ??
This forum owes its existence to Justin of ebikes.ca

User avatar
recumpence   100 GW

100 GW
Posts: 5286
Joined: Apr 19 2008 8:33am
Location: On Earth right now. That can change at any time, though..........

Re: RC throttle interface build tutorial........

Post by recumpence » Dec 06 2010 8:19am

HumboldtRc wrote:
recumpence wrote:Hey Guys,

I wanted to post a quick update..........

I spent the morning building a bunch of throttle interfaces. All pending orders are filled and I have two throttles finished in stock. :)

Sorry for the delay. I had an issue with regulators and a couple other minor details. I am up to speed again, however. :)

Matt
What all do your throttles consist of? What features do they have?

I just finished mine, with a 0-5k sliding pot (in a custom cable throttle box) to a Turnigy servo tester to a servo speed regulator then to the esc's.
It is a simple PWM board with 5v regulator to power it in a water resistant heat shrinked package with a Magura twist grip throttle. :)

It is a tried and tested design. All units are hand built and bench tested before shipping.

Matt
1% of the world's population can think "Outside the box". The rest are firmly stuck within the box. Where are you?

LI-ghtcycle   1.21 GW

1.21 GW
Posts: 3813
Joined: Aug 29 2009 11:39pm
Location: Oregon City Oregon

Re: RC throttle interface build tutorial........

Post by LI-ghtcycle » Dec 10 2010 1:27pm

Wow, good stuff in this thread!

I wanted to get some advice on two parts however.

1) I had some real trouble removing the Servo Tester POT even with my 60W iron (I tired it first with my 30W to avoid getting things too hot) and I am still not 100% sure that I didn't damage the PCB in the process, I have been considering getting a "vacuum bulb" designed to suck away the solder, but for now I have been using the heat and tap method, and also tried by heating all three leads at once on the POT, but I REALLY struggled to get it loose even when I had all the leads just sitting on the PCB. Is there something I am missing? I have to work in a pretty cold (about 55 DEG F) garage, maybe that is part of the problem.

2) I am unclear about weather or not I should be fine using the BEC on my ESC to power the Magura Throttle, or if I will still need to add an extra BEC to power things?

Oh, one more thing, I got to wondering since using the extra POT that I removed from the ST, if I understand correctly using it as a "throttle limiter" restricts total voltage, and say if I wanted to run 8S and regulate down the speed, that although it wouldn't regulate amps, would I not be able to have it regulate the voltage down so that it could at as if I were just running 6S while under higher load (climbing hills) and then turn it back up for a long flat stretch. Am I correct in my understanding?

Thanks! :)
Thank you Justin_Le for your selfless act of kindness! We all are in your debt.
Back on track E-Bronco! Now with Cro Motor Mid-Drive Goodness!
https://endless-sphere.com/forums/viewt ... 28&t=44997

Vision R40 w/3000w MXUS as mid-drive, NuVinci N171B rear wheel as transmission, Silent yet powerful, running 72v 11.6 ah (20s 18650 Li-Ion) to climb hills, tow trailer with zero pedaling when needed!

https://endless-sphere.com/forums/viewt ... 28&t=75247[/size]

User avatar
adrian_sm   10 MW

10 MW
Posts: 2404
Joined: Feb 23 2009 12:54am
Location: Melbourne, Australia
Contact:

Re: RC throttle interface build tutorial........

Post by adrian_sm » Dec 10 2010 3:27pm

1) I am a soldering idiot, and couldn't desolder the POT. So I just got got some side cutters and cut each leg on the POT. POT fell off. Job done. :D

2) ESC BEC should be fine.

3) Give it a go. Put a POT on the 5V rail into the magura throttle POT (you can use the one you clipped off).
One thing to note is that your ESC will have a bit of a harder life, running at partial throttle on 8S, rather than full throttle on 6S, since it will be generating more heat by having to PWM more to reduce voltage at the motor.

Good luck.

- Adrian
Last edited by adrian_sm on Dec 10 2010 3:52pm, edited 1 time in total.
Build #1 ~28kg ~ 700w Avanti Hardtail Crystalyte 408, 48V10Ah Headway. ~5500 kms to date. (retired)
Build #2 ~30kg ~2000w Giant AC Dually Crystalyte 408, 48V10Ah Headway + 6s10Ah LiPo = 70V. ~15000 kms to date [SOLD]
Build #3 ~13kg ~2000w Commuter Booster <1kg Friction Drive in Beta testing (www.commuterbooster.com)
Build #??? ~21kg ~1500w Adrian's Bafang BPM Hardtail MTB Bafang BPM code12, 15s LiPo, ~40kph, ~30kms

User avatar
recumpence   100 GW

100 GW
Posts: 5286
Joined: Apr 19 2008 8:33am
Location: On Earth right now. That can change at any time, though..........

Re: RC throttle interface build tutorial........

Post by recumpence » Dec 10 2010 3:35pm

LI-ghtcycle wrote:Wow, good stuff in this thread!

I wanted to get some advice on two parts however.

1) I had some real trouble removing the Servo Tester POT even with my 60W iron (I tired it first with my 30W to avoid getting things too hot) and I am still not 100% sure that I didn't damage the PCB in the process, I have been considering getting a "vacuum bulb" designed to suck away the solder, but for now I have been using the heat and tap method, and also tried by heating all three leads at once on the POT, but I REALLY struggled to get it loose even when I had all the leads just sitting on the PCB. Is there something I am missing? I have to work in a pretty cold (about 55 DEG F) garage, maybe that is part of the problem.

2) I am unclear about weather or not I should be fine using the BEC on my ESC to power the Magura Throttle, or if I will still need to add an extra BEC to power things?

Oh, one more thing, I got to wondering since using the extra POT that I removed from the ST, if I understand correctly using it as a "throttle limiter" restricts total voltage, and say if I wanted to run 8S and regulate down the speed, that although it wouldn't regulate amps, would I not be able to have it regulate the voltage down so that it could at as if I were just running 6S while under higher load (climbing hills) and then turn it back up for a long flat stretch. Am I correct in my understanding?

Thanks! :)
If your ESC has a BEC that is functional at the voltage you are running, you do not need to add one to your throttle. You just need the PWM board (servo tester) and the throttle in place of the POT.

Oh, BTW, I just clip the POT legs too. Trying to desolder them is a pain..........

Matt
1% of the world's population can think "Outside the box". The rest are firmly stuck within the box. Where are you?

LI-ghtcycle   1.21 GW

1.21 GW
Posts: 3813
Joined: Aug 29 2009 11:39pm
Location: Oregon City Oregon

Re: RC throttle interface build tutorial........

Post by LI-ghtcycle » Dec 10 2010 7:04pm

Ahhh, that makes sense! Unfortunately my particular brand of ST wouldn't have made it any easier to clip the legs of the POT. Not enough room in there. I'll have to try again with one of the Turngy ST's like Hillhater bought from HK (assuming his one wire mod would work the same for a POT throttle?) if mine is too fried.
Thank you Justin_Le for your selfless act of kindness! We all are in your debt.
Back on track E-Bronco! Now with Cro Motor Mid-Drive Goodness!
https://endless-sphere.com/forums/viewt ... 28&t=44997

Vision R40 w/3000w MXUS as mid-drive, NuVinci N171B rear wheel as transmission, Silent yet powerful, running 72v 11.6 ah (20s 18650 Li-Ion) to climb hills, tow trailer with zero pedaling when needed!

https://endless-sphere.com/forums/viewt ... 28&t=75247[/size]

LI-ghtcycle   1.21 GW

1.21 GW
Posts: 3813
Joined: Aug 29 2009 11:39pm
Location: Oregon City Oregon

Re: RC throttle interface build tutorial........

Post by LI-ghtcycle » Dec 11 2010 1:19am

IT LIVES!!!! :D :D :D

I guess my solder torture wasn't too bad, I fired it up with the throttle and got a satisfying "turbine whine" from my new motor!

Thanks again everyone! 8)
Thank you Justin_Le for your selfless act of kindness! We all are in your debt.
Back on track E-Bronco! Now with Cro Motor Mid-Drive Goodness!
https://endless-sphere.com/forums/viewt ... 28&t=44997

Vision R40 w/3000w MXUS as mid-drive, NuVinci N171B rear wheel as transmission, Silent yet powerful, running 72v 11.6 ah (20s 18650 Li-Ion) to climb hills, tow trailer with zero pedaling when needed!

https://endless-sphere.com/forums/viewt ... 28&t=75247[/size]

LI-ghtcycle   1.21 GW

1.21 GW
Posts: 3813
Joined: Aug 29 2009 11:39pm
Location: Oregon City Oregon

Re: RC throttle interface build tutorial........

Post by LI-ghtcycle » Dec 12 2010 12:13am

Ok, now I'm puzzled, I have the ESC and motor wired properly, but the motor is going backwards. Could I have 2 leads reversed in the throttle interface? I guess I could always swap the neg and positive leads from ESC to motor, but I'd rather figure out what is causing this and fix it properly.

Any ideas?

Thanks!
Thank you Justin_Le for your selfless act of kindness! We all are in your debt.
Back on track E-Bronco! Now with Cro Motor Mid-Drive Goodness!
https://endless-sphere.com/forums/viewt ... 28&t=44997

Vision R40 w/3000w MXUS as mid-drive, NuVinci N171B rear wheel as transmission, Silent yet powerful, running 72v 11.6 ah (20s 18650 Li-Ion) to climb hills, tow trailer with zero pedaling when needed!

https://endless-sphere.com/forums/viewt ... 28&t=75247[/size]

Post Reply