Sunday, April 17, 2022

Batteries

i´ve recently ordered 6 Litokala 18650 x 3000mha from the aliexpress store (litokala official store) but I was disapointed, one of 6 batteries was about 2.45v and two other with 3.2v only 3 batteries got here with 3.6v. But testing it with my homemade 6amp/h arduino discharger tester shows an average of 2820 mha on all batteries. As it´s a home made tester it´s not precise maybe 10% accurate but it repeats withing 0.040 mv. not shure if I´ll keep buying batteries from the same supplyer as it should be withing 3.6v as arrived.

Videos

Saturday, April 16, 2022

Throttle

If you got all the step right your hoverboard will turn both motors in the same direction using only one gyro board.At this point you can hold the gyro board to the bike´s handle bar and tilt it to accelerate or run backwards the way i did for short time to see if the bike was strong enough to keep me moving, but its DANGER in this way as the bike can suddenly accelerate when going over curbs or a steep obstacle. I was looking on how to use a potentiometer in place of the gyro board and found a blog created by Drew dibble there he explains how the serial comm between the gyro board and the main board works. I modifie Drew dibble original arduino code to work with a arduino due and voala, it works nice no problems so far. So, i made a panel that holds a arduino due with front led lights , it takes the signal from a s41 hall sensor 0 to 3.3v and converts this signal to a serial communication that the main hoverboard board expects. I´ve made my own thumb trottle from the bike´s front shifter using a s41 hall sensor and 2 very small scrap magnets. It´s not a linear throttle but who cares.I can not post the code here , there is no option on this blog to do it. I still have to implement a speedometer lcd etc... the only down side is that i need to turn the controller on and off twice every time i turn the bike on to get the thumb throttle to work but is not a problem as it works like a anti theft device.

Wiring

First step is to get both motors in the hoverboard to turn using a single gyro board, to do that just wire one gyro board to both gyro board input on the main hoverboard board. you will see that motors run oposit direction to each other when you tilt the gyro board. Next step is to make both motors to run in the same direction, to do that you will need to switch 2 of the 3 wires that comes from the hall sensor and 2 of 3 motor´s wires,dont mix motors wires with the hall sensor wires or black smoke will be released. there is only one combination that works correct play with the wiring till you find out the correct one, the motors will not run or speed up or work rough if it´s not the correct combination. do this while the motors still in the hoverboard.dont mix motors wires with the hall sensor wires or black smoke will be released.

Motor mods.

Motors are hold backto back by 4 m4 screws on the inside of the housing but the magnets needs to be aligned to each other to work as a single motor, i´ve do that by using a scrap magnet to identifie the corret position on each motor than made a mark on each motor and joined the two into one by the 4mm screws.again take your time on this step as the 2 motors needs to work in sinc to each other.

Motor support

I had some scrap steel so i designed the motor support around it, L shape steel just bend to fit and welded to the frame, it is a nightmare to get everything aligned thou. take your time on this step. this concludes the mechanical part of it.

Gear transmission

this is how i´ve made the bikes main gear transmission, it´s a 3 sprocket standard main gear had to buy 2 sets i´had to drill out the rivets that holds it in place and place a 9mm spacer between the 48 tooth gears otherwise the chains will rube each other.I´m using the small gear e 2 large ones.than i´had to enlarge the center hole of the small gear to fit a stardard 16 tooth freewheel and hold it by 3 screws.The 3 main gears is hold by 5 6mm allen screws. Next was to machine a freewheel threaded holder, you can use a rear wheel hub to make it, it´s about 16mm long with a blind hole thru it, the thing here is to keep the chain line the same as the stardard chain line.Next was to make a spline shaft to hold a bmx 14 tooth freewheel to the motor, again i´ve machined one but you can get a spline shaft at your local bike store and bolt it to the motor housing.I had to replace the bike´s down tube by a 2mm wall 40mm square tube , bike´s frame was flexing too much with the original down tube.

What is needed

Here is what you need: CAUTION!!! do not attempt to load arduino code with the hoverboard board turned on or it might damage your pc! guess how i found that out. a working hoverboard a old MTB bike. a throtlle controller 0- to 3.3v a arduino due or other arduino that works with 3.3v. tools and a welder, and a 3d printer if you want to print bat holder.

here is why i´ve got interested in electric vehicles

04/16/2022 I´ve being thinking to build a electric bike for a long time but acquiring all the parts to make a full size motorcycle prove to be too expesnssive. As the gasoline price has gone crazy lately i had to find a solution that is to start small with a electric bike.i started with a old MTB size 26 that i´ve bought many years ago and was getting dust on the corner of my shop.next i had to find a cheap motor source, looking at my local newspaper i´ve found a cheap used hoverboard for sale, took the chance and bought it. Next the hard part, to fit everything onto the old bike,I´ll explain on a step by step on how I did it in the following days. If you like this show your appreciation and send me some 18650 cells even if it is one cell I´ll appreciate, i need more batteries to make a descent battery pack to get a descent range in the order of 20 km at least.Right now it does about 10Km if pedalling or 6km no pedalling using 2 old hoverboards battery packs.don´t rush to buy those chinese hoverboard battery packs , its only half the rated capacity, i´ve tryied 3 different brands and it´s all the same scamm. The ones i´ve came with the hoverboards and are LG 18650.Max speed is about 40kmh using the standard bike gear(48x14) and 48x14 on motor gear can do about 10km range this way if helping pedalling.i´ve used the hoverboard main board and the batteries that came with the hoverboard.It works just like the hoverboard but it drives the two motors in the same direction.

The code

// this code was adapted from Drew Dibble original code to run on arduino due //you´ll need a library called "soft_uart.h" ,elap...