• Hello ES! We could use some help to get us past the finish line on building the new knowledgebase for the forum.
    Can you donate? Please see our fundraising page. Thank you!

3D printed in-frame Motor

Föppel

Established
Joined
Apr 23, 2013
Messages
181
Location
cyberspace
Hey Folks!

its been a while since i posted here. In the meantime i learned some CAD and got into 3D printing. Here's what that led to...
A mostly 3D-printed mid-drive motor which I can quick and easy install and remove from the bike with 4 snap-lock pins.

12ddb7_477be81b093b4a3a8823f7d639d7ed87~mv2.jpg


I'll try to update this first post with all the fotos and important information. I'll publish the finished video about the motor on my YouTube channel “Dirt-E-Bikes” www.youtube.com/@Dirt-E-Bikes when it is up and running. Lately, I've been posting a lot about 3D printing there, including reviews of the 3D printers I use, take a look, if you are interessted in that ;)


this 3D-printed Motor goes in the Frame of a Kona Cowan...

12ddb7_08ff7bd237ad4a37a7c10c726b230768~mv2.jpg



here is the reason why i wanted it to be a Kona Cowan (again)...
12ddb7_d0bc3a70a358462888812d68e4d27b64~mv2.jpg

This one i built around... 2015 or so?
at some point i changed the wheels to 24" and it felt amazing. Not sure if it is the geometry (i guess) but i also really like the "kind of BMX"-look of it.

i frame-mounted a LR small block kit but had several problems with it, regarding things that bent and also the chain (not installed on this foto) that runs to the BB was way to long for my likings.

The Bike (frame) itself was/is solid, i rebuilt it several times with BMC and Bafang motors, and it was the perfect size for my Girlfriend, she loved it, but do to reasons, we had to sell it at some point.

Now 10 Years later, i wanted to build the exact same Bike but better for her again, and here we are.



It gets mounted with 4 Pins directly on to the downtube and seat-tube...

12ddb7_68a89176d2f14ee7b36c4ebed4de9240~mv2.jpg



1. stage reduction is LR-Smallblock style with a 3D-printed 90T pulley on a freewheel.

12ddb7_88307d9d90e54de89bce65d26631dc9e~mv2.jpg


As you can see, i also made parts from metal...
12ddb7_83bf978c17d241eda1e8bd7b6bee272e~mv2.jpg

Jackshaft axis is made from D2 Toolsteel, motorplate is aluminum as well as the plates that connect the motor to the frame. for this i use these 4 Pins that can be found in nautical applications; pressing the button unlocks them at the other end.

12ddb7_0752899ce1cc492a9398569c9c2e2613~mv2.png

just some of the prototype parts... 3D printing makes it so easy to make these... as you can see, i also did a lot of the big 90T Belt pulleys. i printed them from PLA (most affordable and easyest to print) and the final parts from more rigid materials like ABS, ASA, PETG. I will have to make some parts from so called "advanced filaments" like PET-carbon fibre and Nylons. These Materials can withstand very high temperatures, i will use them to make a turbine like structure that mounts directly to the outrunner motor, to add air cooling. Not sure how much power i will use in the end, but allways nice to have the motor running as cool as possible.


here is a photo of the 219 chain and the chain-tensioner
12ddb7_add1fc8ad2c847eb92a754b2df3ff2c5~mv2.jpg



This one here was also a bit of a pain to design...
12ddb7_c055928436834f35af7f3f16cb48d1fc~mv2.png

it is the adapter for the freewheel on the side of the 1. reduction (Belt-Side)

"in the old days" i ordered and built 5 LR small block kit (-Bikes) for me and friends, and had some spare parts extra that i wanted to use...
But these were made from aluminum and after some time with 2000-3000 watt, they showed some play, resulting in wobbling Belt-Pulleys... so this one is made from D2 tool-steel, that should work.

I also tried to design it in a way so that it has a maximum possible contact area with the axis. It will be held in place by a 4mm key and 2 C-clips ( i think that is what they are called). Not 100% sure if these clips will hold it in place... Another thing that remains to be seen. I had all the metal parts made by PCBWay.com and they came out great.
To be transparent here, PCBWay is a sponsor of my YouTube channel, just to say...

In the background you can also see a blurry 3D-printed prototype of this part

-------------------------------------------------------------------------------------------------------------------------------------------

As for the controller, I wanted to try out an ESC and decided on the FS75100 from VESC. It's rated at 100 A... I think that's phase amps and the battery output is around 30 A (?).

In any case, it looks nice and is small enough for my intended use.
i hooked it up to the motor and to my Laptop by USB, run the calibration, and everything seems to work.
I tested it with a 52V Battery from EM3EV. But I'm not sure yet what kind of battery I'll ultimately use. Maybe I'll even try power tool batteries, as they are small and light... 2x 20 volt packs in series... Not sure if that would be enough power for me...
any suggestions?


12ddb7_27c9e16fe5404d09889b468dd3bf70d0~mv2.jpg



I ordered a BMS for 10-14S and plan to re-use some of my Samsung 30Q to make a 10-14S 1P pack. I want it on top of the Motor assembly, together with the Flipsky controller. So that everything can be removed and mounted with only the 4 "Butten-Bolts" (?).

if money would not be a problem, i would go with some high discharge 21700 5Ah. That would be optimal, but i will use what i have for now. For longer rides i can hook up a bigger pack when it is needed, but i want something as small and light as possible for this this to begin with.

As you can see, i already hove some holes at the top of the Motor assembly. They are meant to hold the Controller and Battery... in some way that i have to figure out

12ddb7_28ed228397d94b9ba1b723336a18159e~mv2.jpg


so here we go, starting with the battery for this Bike, or should i say for this Motor-Kit… because as i wrote before, i want both, the bike going 1500 - or even 2000 Watt, and the battery beeing as small and lightweight as possible. Here are the components i bought to make a small battery (probably 10s1p) that should fit on the motor kit in the bikes frame.

12ddb7_fc0a658eb528428595a8cada13071da9~mv2.jpg

BMS with bluetooth for 10-14s battery

12ddb7_c6371c513f664118ba857e7c1325881f~mv2.jpg

quite small, and 40A discharge will be way to much for 1p, but that should work.

then i also wanted to have the charger as small and light as possible, so i found this cheap one here:
12ddb7_baa312c63b0d44fd8a7e6c6dc4bb95f8~mv2.jpg

… that one comes with a 5.2mm charging plug

12ddb7_f593e5cfdbad49a9adc805fee77df9bf~mv2.jpg


so i bought some of these female 5.2mm plugs to solder one to the BMS and integrate the plug on the side of the battery.

12ddb7_980bf61972914da8b8acf3fb49af1e77~mv2.jpg


i started drawing some battery Ideas in CAD, but had not much time to really work on it, e.g. printing some prototypes.
In the upcoming weeks i will work on that and post some pictures of the progress.

It is clear that the motor will not run on more than... lets say 250 watt or so with this kind of battery, but that is okay for its intended use (of this battery, not on the motor kit itself). For the testing with higher power, i will probably just make a XT60 connector on the Controller to hook up a 14S5p battery that will go in my backpack for the fun rides ;)

the reduction of the motor is more set to a 10s pack than to 14s, but i think (hope) that in the highest gear it should be fine 😅

Some progress;

12ddb7_33505e348d4a4f6cb86e433789aa43a8~mv2.jpg


i was finally able to get the ACS Freewheel removed from the old and meshed up Axle-Adapter (made from Aluminum) and install it on the new one that is made from D2 Tool steel and is also way beefier and with smaller tolerances, to get rid of the wobble i had when using the Adapters from GNG and LR.
everything fits well, and is now secured by C-Clips with almost zero play :)


12ddb7_1f7fce8b589f425ab5f6bf783033c881~mv2.jpg


then i drilled out the holes of the 3D printed parts that hold the motor kit to the frame by these "Nautic push button pins" .
The tolerances on these 3D printed parts were a bit to tight for getting the Pins in and out easy. Not sure if - and what kind of - oil i could use there with the PETG Material used there, if you know this, please let me know.

12ddb7_880506bab92f48cc8d18e026e74646c0~mv2.jpg


Now i can start working on the controller mounting, soldering cables and connectors and all that funny stuff ;)

As i am pretty sure that i want to test the Motor Kit with an 52V battery from my backpack, i thought to just mount the controller on top of the Motor-kit, something like this.



unfortunately i can only post 20 pictures in one post - my plan was to insert every new post here in the first one, so people can see/read it all in one go. That does not seem to work, so i just insert a picture of the current status of this project here:

12ddb7_f5d34cbc68f74d58b15a9a520ca62b7c~mv2.jpg




About the 3D-Printers i use to build this;
I like to use the Qidi Q2 for all the "advanced materials" (ABS,ASA,PC,Nylon and all the carbon-fiber reinforced stuff)
For everything else, i use the P2S from Bambu Lab. Both great printers with strengts and weaknesses in different areas. I Made a Review/Comparison Video about them, if you are interessted in this topic, you are welcome to take a look ;)



now one more question;
does someone know where to get Freewheels like the (old) ACS ones i am using? I think they are not being made anymore... White Enos would be an alternative, but way to expensive. Are there any alternatives that are "okay/desent"?

answered questions: I used to build freewheel cranks with parts from Sickbikeparts.com. Unfortunately, they no longer exist... Does anyone know where you can get pedal arms with threads for a freewheel these days?
--> question answered by A-DamW, thanks a lot 👍

i wish you all a good time building sick bikes
Cheers
 
Last edited:
Pulleys and motor block are 3d printed?. What material you using?
 
As you can see, i also made some parts from metal...
12ddb7_83bf978c17d241eda1e8bd7b6bee272e~mv2.jpg

Jackshaft axis is made from D2 Toolsteel, motorplate is aluminum as well as the plates that connect the motor to the frame. for this i use these 4 Pins that can be found in nautical applications; pressing the button unlocks them at the other end.
 
How do you tension the belt? What about the chain going to the BB?
good question... this was not as easy as i thought... i stated with a online tool from Mädler.ch to match the axle distance for using a standard length HTD 5 belt. I thought the value I got from this would be a perfect fit, but unfortunately that wasn't the case. The belt was very loose with the calculated values, and I started printing one prototype after another. To avoid having to adjust and print the entire motor housing for each prototype, I designed the motor mount on the motor plate with an offset and tried it out until I was satisfied. Once I had determined the correct value for the center distance, I adjusted it on the motor housing so that I could use the motor plate again without any offset.
 
@ thepronghorn
...for the chain going to the BB, i use a "219 silent chain" i think KWS made these, not sure if they are still available, i bought a bunch of these 12 years ago...
I will use this with a tensioning system, as i was not able to get the distance right, but in my opinion that should be fine.
I use a 12T sprocket on the Jackshaft and a 73 Extron sprocket (made from kevlar) on the Freewheel crank. The Extron sproket should make it running a bit smoother and more silent, but i never heard much of a diffenrence using these over aluminium ones... its just that i have many of these liying around ;)
i will add some fotos to show these parts mentioned, just one moment...
 
just some of the prototype parts... 3D printing makes it so easy to make these... as you can see, i also did a lot of the big 90T Belt pulleys. i printed them from PLA (most affordable and easyest to print) and the final parts from more rigid materials like ABS, ASA, PETG. I will have to make some parts from so called "advanced filaments" like PET-carbon fibre and Nylons. These Materials can withstand very high temperatures, i will use them to make a turbine like structure that mounts directly to the outrunner motor, to add air cooling. Not sure how much power i will use in the end, but allways nice to have the motor running as cool as possible.
12ddb7_0752899ce1cc492a9398569c9c2e2613~mv2.png
 
just some of the prototype parts... 3D printing makes it so easy to make these... as you can see, i also did a lot of the big 90T Belt pulleys. i printed them from PLA (most affordable and easyest to print) and the final parts from more rigid materials like ABS, ASA, PETG. I will have to make some parts from so called "advanced filaments" like PET-carbon fibre and Nylons. These Materials can withstand very high temperatures, i will use them to make a turbine like structure that mounts directly to the outrunner motor, to add air cooling. Not sure how much power i will use in the end, but allways nice to have the motor running as cool as possible.
What printer(s) are you using?
 
What printer(s) are you using?
i like to use the Qidi Q2 for the "advanced filaments" (dont like that term, but meaning everything that likes it hot in the build chamber). Most of the Prototype stuff i printed on the P2S from Bambu Lab, both great printers imo...

I saw that you also printed like a template for the motor plate on your 1986 Daelim Trac-Build, very impressed by that how you gave that Motor a second life (y) What printer are you using?

By the way, i have Review and Comparison Videos about both, the Q2 and the P2S on my YouTube channel, just if someone else here is interessted in this Topic - you are very welcome to take a look there ;)

 
Last edited:
I saw that you also printed like a template for the motor plate on your 1986 Daelim Trac-Build, very impressed by that how you gave that Motor a second life (y) What printer are you using?
I printed that and plenty of other parts for both my motorcycles on a tricked-out Ender 3. Recently, a couple months ago, the printer finally died enough that I didn't want to repair it, and i got a K1C to replace it. The Ender 3 got converted into a PET puller.

I like your approach, printing fast and ugly with PLA until you get it right, then switching to the better plastics for the final build
 
its been a while since i posted here. In the meantime i learned some CAD and got into 3D printing. Here's what that led to...
A mostly 3D-printed mid-drive motor which I can quick and easy install and remove from the bike with 4 snap-lock pins.
Wow, beautiful work!

Are you going to open source the design?

I have some 6368 motors that would work perfectly with this design.

now one question; I used to build freewheel cranks with parts from Sickbikeparts.com. Unfortunately, they no longer exist... Does anyone know where you can get pedal arms with threads for a freewheel these days?
Threaded crank arms are commonly used on trials bikes, sometimes also on tandem bikes for the rear "stoker".

Here are some links I've collected over the years for threaded crank arms:
(I think Pablo (Paul) at Sickbikeparts sourced his from cyclone-tw)
 
Last edited:
I printed that and plenty of other parts for both my motorcycles on a tricked-out Ender 3. Recently, a couple months ago, the printer finally died enough that I didn't want to repair it, and i got a K1C to replace it. The Ender 3 got converted into a PET puller.

I like your approach, printing fast and ugly with PLA until you get it right, then switching to the better plastics for the final build

haha... finally died enough... 😁
Nice idea with the PET puller! I want to try that too at some point. PET seems to be quite heat resistant, i planed to use PET-CF for the cooling fins that go on the housing of this outrunner motor to air-cool it... we will see how that goes.

The K1C looks like a nice machine, are you happy with it? I feel like 3 years ago, there was so much tinkering involved in almost every 3D-Printer, and nowadays most of them just work fine and even get to a point where they are just convenient to use them.
 
Wow, beautiful work!
Are you going to open source the design?
I have some 6368 motors that would work perfectly with this design.
Threaded crank arms are commonly used on trials bikes, sometimes also on tandem bikes for the rear "stoker".

Hi A-DamW,
first; thanks a lot for your kind post!
Also a big thank you for all the links and insight, yes the ones from cyclone look exactly like to ones i bought from Paul 👍

I really like to open source it, but also not sure at the moment. I first want to check if everything fits and works before sharing it to the public. Also, this design will only fit that exact bike (Kona Cowan, size M(?)) so anyone who wants to use it would have to do a lot of CAD and prototyping until it fits another frame. Also the Metal parts would cost about 500$ to make...

It was a long time dream of mine to make such a motor-assembly myself, with repairability and customizability in mind. So this one will be kind of a "proof of concept", from which i already learned a lot 😅

Next one (if this one even works as intended) would be a Motor Kit that is mounted on the BB, with less special made metal parts (because these are quite expensive). So i think that then it would be more interesting for others to build, and if there would be enough interest, we could even coordinate a larger order of special parts to bring costs down... but that is another dream of mine, and will take some time ;)

Cool, did you already built something with the 6368 Motors? i chose this kind of Motor as there are so many of these available from different manufacturers. Even saw some more expensive ones from Flipsky (?) with lower KVs that would maybe even be a better fit.
 
haha... finally died enough... 😁
Died enough, because everything on an ender 3 is repairable/replacable, but this time it wasn't worth it.
Nice idea with the PET puller! I want to try that too at some point.
It was easier and more satisfying than I thought it would be.
The K1C looks like a nice machine, are you happy with it? I feel like 3 years ago, there was so much tinkering involved in almost every 3D-Printer, and nowadays most of them just work fine and even get to a point where they are just convenient to use them.
That's how I feel too. Back when I started, the ender 3 was an acceptable, but not great, machine to print with, though it did require a lot of user input. None of it was difficult work, if you were into it, and I was very pleased with the results of my $50 printer that had $100 of piecemeal upgrades and a ton of time spent getting it to print juuuuusst right.

Now, I have an enclosed printer, a few 3d-printed mods on it suggested by the internet, and it prints out of the box better quality, with 2-5 times the speed of the ender. The difference is insane. It absolutely has a bunch of little flaws here and there, but that's just consumer products for you, everything has flaws if you analyze it enough. And when anything breaks on it, I know from my multiple years of repairing and replacing parts on the ender, I shouldn't have too much problem repairing it.
 
Died enough, because everything on an ender 3 is repairable/replacable, but this time it wasn't worth it...
Very cool! thanks for the video-link.
Is it difficult to print with the PET? i mostly find PET to buy with added CF or GF, so i guess there is some warping potential when no such fibers are added?

Absolutely, i also think that starting with these older Printers helped me to understand to whole thing a bit better, and when problems occur on the newer machines, i know how i can fix it :)
 
Is it difficult to print with the PET? i mostly find PET to buy with added CF or GF, so i guess there is some warping potential when no such fibers are added?
I only just started, and it's with homemade filament, so I'm hesitant to offer advice on it. But it does work ok
 
Nice work! How do you get the tooth profiles for your cad models of the belt pulleys?

I find those formulas to be closely guarded by gates.
 
I only just started, and it's with homemade filament, so I'm hesitant to offer advice on it. But it does work ok
i see, just watched the video you linked, it is an impressive project, not sure if i could do that (even if i would have an Ender 3 lying around)
 
Nice work! How do you get the tooth profiles for your cad models of the belt pulleys?

I find those formulas to be closely guarded by gates.
Hi DanGT86, thanks :)
for the belt pulleys, it was a lot of try and error... i designed it in Fusion 360, found some measurement data online on the website of Mädler.ch and started designing from there. It took me like 15 attempts, printed form PLA, and every time a new one was finished, i hold the belt against it and checked the fit. Then i moved on to print it in ASA, which then also created some trouble because my printer (Bambu Lab P2S) could not handle that and the part always warped a little since it was printed solid and without an actively heated print chamber. Fortunately at that point i got a new printer (Qidi Q2) that can heat its chamber up to 65°C, and that did the trick.

But for the CAD-part of that process, i just started with a circle (OD of the Pulley), removed the round cutouts for the teeth and arranged them all around.
 
Back
Top