Code: github.com/TomStanton/VESC_LC... 3D printer STL files: Parts VESC: trampaboards.com/vesc--c-1434... Arduino Nano: amzn.to/2RTGK92 LCD I2C Display: www.banggood.com/IIC-I2C-1602...
Жүктеу.....
Пікірлер: 56
@MrSolidGeek4 жыл бұрын
Thanks for the mention, very nice project! Glad you could use my VESC library :-)
@Staphylokocke4 жыл бұрын
At 2:27 I'm quite sure that your code has some issues there. You do integer divisions where you really should be using float. The expression (16/185) results to 0 as the result of an integer division is always rounded down to an integer. If you want proper floating point division, you need to make your input to be a float or double. E.g. you could write (16.0 / 185.0).
@LewisRawlinson304 жыл бұрын
OH MY GOD THANK YOU SO MUCH! I've built an electric scooter based on a decathlon scooter, vesc 6+ and lipo batteries and I've been trying to figure this out for AGES!
@nemoaspieman3694 жыл бұрын
You're a champion, straight forward and to the point, perfect tutorial, 10/10.
@joaopedroLajoso4 жыл бұрын
NOTE: ADC is Analog to Digital Control, that's for reading the throtle like a potentiometer. He selected with UART for data transfer between Vesc and Arduino.
@VoltageGuy20004 жыл бұрын
I really love this channel and your main channel! Thanks for making my childhood
@iamkian3 жыл бұрын
Just tested this in a Flipsky FSESC75200 VESC, and it is working fine!
@fynnsteenhoff96454 жыл бұрын
I really enjoy watching your videos pleas never stop!
@a1d0t6
4 жыл бұрын
Not to be t h a t g u y but its i not I
@BloodAsp4 жыл бұрын
Who is this Tim Station bloke? He seems untrustworthy, and might be stalking my deer friend Tom. *gets out the base ball bat.
@williamcorkey30834 жыл бұрын
Loved the wiring diagram you did. Could you do a similar one for the entire project?
@niki1234894 жыл бұрын
Awesome tutorial. One day I'll modify my old bike if I have to money! :)
@fftrader20084 жыл бұрын
You are The Best!
@Rouverius4 жыл бұрын
Hey, a (somewhat) related questions about battery percentage. At the 100% range and almost 0% range, the ratio of voltage difference to discharge rate seems (on paper, at least) rather non-linear. First, is this what you have seen too? And in real life testing, has this presented you with any issues when estimating how much range you have left?
@iBlaze69 Жыл бұрын
Very nice
@PKMartin4 жыл бұрын
Is this library any good for making the Arduino control the VESC's throttle? I'd like to build a road legal ebike, so 250W/15.5MPH limited with pedal rotation sensors, and having an Arduino between the throttle lever and the VESC seems like a good way to do this.
@goosemaster16544 жыл бұрын
thanks, tomathy
@EBIKESBR7 ай бұрын
which parameters to use so that I can read the speed using an external sensor, connected to the rear wheel, because my project will use a 6384 engine, with a vesc 75100 mid drive, and because it has gears, I would need to measure the speed directly from a sensor connected bike wheel, thanks for the video!
@charclo864 жыл бұрын
Could you show some more photos of the inside of the case? How the arduino and LCD are mounted inside?
@benriefourie1155 ай бұрын
Thank ypu so much Tom. Have you figured a way to get a better battery % ? Voltage drops with power demands, meaning it will have big fluctuations. Perhaps adding a average value, but still. Using Ah used should probably be a good way to go? Saving the values for each ride to an SD and resetting it once battey is charged again. Your input would be very valuable.
@robonut63583 жыл бұрын
Nice
@maal3204 жыл бұрын
Hi Tom, looks good. I build an Beer Box with electronik Drive. Is it possible to get the STL Files for the Displayholding?
@RobertKreegier4 жыл бұрын
Egad. Declare individual variables for those values you talk about, and give the variables descriptive names. It’ll make the code easier to read and modify.
@vexx85633 жыл бұрын
Is it possible to use the program without the filter? Im not good at programmaing so i might need some help...
@Ratfatbig-fg9ln4 жыл бұрын
how can i get other values like temperature and others?
@burhanshahid54 жыл бұрын
You're Beard changed from 2017 XD;
@her0z217 Жыл бұрын
Could this work with an Uno? I've had a starter kit for a while and haven't been able to decide what I want to do with it, but if I could save $25-50 on a display using it then I know what I'll be doing.
@MohakB3 жыл бұрын
Does this work with a normal VESC or does it require a VESC SIX?
@user-wi8ib7ew8i4 ай бұрын
Could you help me please Is there a way to connect a rpm guage to ?
@reddcube4 жыл бұрын
How easy is it to read the display in direct sunlight?
@JamiePineappleWyatt3 жыл бұрын
anyone find a way to add the 750c display protocol to these vesc? imagine that.
@ruedogs3 жыл бұрын
9 months on from this video is this vesc still a good option .. i have a 1kw ebike with a poor quality esc on it but great everything else eg a king meter lcd and bayfang hub motor and want the best out of it
@spcolsson
3 жыл бұрын
vesc is an amazing controller if you know what your doing with it and u understand its limitations. its not like almost any ebike controller you have ever seen as it is ment as a genral esc for motors and was more geared to eskate when it was first invented. it has come a long way now though and they have ones that can handle up to 100v at 250a contunious.
@Anomalous4174 ай бұрын
So, he said he wired the coils 2 in series and 4 in parallel. I see 8 coils, am I missing something or are there 2 unaccounted for?
@don.s_a_l_v_a_t_o_r_e4 ай бұрын
Hello! 🙂 Question: I have the VESC 75100 with Bluetooth module and everything works But question: I have a VSETT display and I can upload this Lisp file for the VESC and VSETT display but it says ; no paired! I would have to connect the VSETT display to the VESC so that it switches on the VESC and then I can upload the Lisp file for the VSETT display and the Erorr 10 error on the display will then disappear and the kmh display will then also work. PLEASE can you tell me because the VESC does not have a power cable that you can switch on the VESC with the display because normally there is a red power cable, a GND minus cable and a blue cable, all of which the VSETT display has but the VESC does not because the blue cable is normally there With the standard controller, return the strim to the controller and then switch it on immediately. How can I do this with the VESC so that I can switch it on with the display? I have now only connected VSETT display with VESC Rx to Tx and Tx to Rx but that is not enough because I still have to be able to set the controller with the display somehow. Can you please tell me how and which two cables can I use to switch on the VESC with the display? Because it doesn't have a power cable, Sonett only 5V + cable and GND cable. I only connected the gas that is connected to the display to the VESC on Adc1 with the Hall voltage cable and everything works. Just please can you tell me can I connect the display to the VESC with 5V and GND cable using the display power cable and GND cable?! But when I now connect the battery with the VESC XT60 connector, the controller is immediately switched on! Hmmm... I have now closed the VSETT display on the battery permanent plus and minus, but where do I have to connect the plus and minus cable from the display to the VESC so that the display switches on the VESC? Please can you just tell me this and help me? I beg you very much! Because you are probably a professional in electronics and have managed to connect the display to the VESC. PLEASE!
@vexx85633 жыл бұрын
My setup only outputs voltage and a wrong wattage, but there is no km/h and ah..
@464497714 жыл бұрын
:o you have a second channel!?
@frankvanmierlo98182 жыл бұрын
The 3D printer STL files are missing in the description:(
@dawidh64223 жыл бұрын
Hi ! Can you post the STL files to the 3D printer? There is no link in dhe description above :/
@jaylpatigas Жыл бұрын
Can this be used for Flipsky 75100 FOC VESC?
@SparkyLabs4 жыл бұрын
So is it Tom or Tim and how did I end up subscribed to a channel under a different name with the same bloke on it.....
@zsds8455 Жыл бұрын
could i use a different display? as long as its lcd?
@robymacgyver374423 күн бұрын
can you help me set up my display?
@lorddeysel79153 жыл бұрын
Would you be able to supply the STL files please
@aryangandhi33113 жыл бұрын
I have tried this code but the lcd freezes after 10-15 seconds any idea why ?
@leohogg13 жыл бұрын
Would it be possible to switch profiles on the VESC remotely via UART?
@spcolsson
3 жыл бұрын
yes and no... you can change any setting i beleave in the vesc on the flu thru uart. the vesc does not have profiles built in. what you would have to do is have a microcontroller with set profiles in it and have it wright them to the vesc
@mlgoverrated7453 жыл бұрын
What if it’s a hub motor
@burhanshahid54 жыл бұрын
Hello Tom, How are you, Thank You very much, I will build my own e bike after this pandemic ends.
@larsreinken91354 жыл бұрын
I would like to give you a Coding tipp. Those lines calculating the distance and velocity are way easier to read if you break them appart. something like: pi = 3.142; wheelDiameter = 0.72; gearRatio = 16/185; distanceInKm = tach * pi * wheelDiameter * gearRatio * 1000; distanceInMiles = distanceInMeter / 1.609 velocityInKMh = rpm * pi / 60 * wheelDiameter * gearRatio; btw. isn't there missing a times 2? I guess the rpm/7 instead of 14 is making up for it. Either way, I think you get the point. This way the comments are unnecessary and the code is way easier to read and adapt.
@michaelpalma72312 жыл бұрын
my mph gauge is not moving only my power is
@michaelpalma7231
2 жыл бұрын
I FIXED IT, YOUR CODE IS CONDUCTING INTEGER DIVISION. ADD .0 wherever you are dividing.
@MarcAntoineBvl4 жыл бұрын
Si des français veulent imprimer en 3d, hésitez pas à me mettre un message ici ;)
@joda4894
4 жыл бұрын
I am half french and do understand everything but unfortunately, i can't write it. Could you send me the files, please?
Пікірлер: 56
Thanks for the mention, very nice project! Glad you could use my VESC library :-)
At 2:27 I'm quite sure that your code has some issues there. You do integer divisions where you really should be using float. The expression (16/185) results to 0 as the result of an integer division is always rounded down to an integer. If you want proper floating point division, you need to make your input to be a float or double. E.g. you could write (16.0 / 185.0).
OH MY GOD THANK YOU SO MUCH! I've built an electric scooter based on a decathlon scooter, vesc 6+ and lipo batteries and I've been trying to figure this out for AGES!
You're a champion, straight forward and to the point, perfect tutorial, 10/10.
NOTE: ADC is Analog to Digital Control, that's for reading the throtle like a potentiometer. He selected with UART for data transfer between Vesc and Arduino.
I really love this channel and your main channel! Thanks for making my childhood
Just tested this in a Flipsky FSESC75200 VESC, and it is working fine!
I really enjoy watching your videos pleas never stop!
@a1d0t6
4 жыл бұрын
Not to be t h a t g u y but its i not I
Who is this Tim Station bloke? He seems untrustworthy, and might be stalking my deer friend Tom. *gets out the base ball bat.
Loved the wiring diagram you did. Could you do a similar one for the entire project?
Awesome tutorial. One day I'll modify my old bike if I have to money! :)
You are The Best!
Hey, a (somewhat) related questions about battery percentage. At the 100% range and almost 0% range, the ratio of voltage difference to discharge rate seems (on paper, at least) rather non-linear. First, is this what you have seen too? And in real life testing, has this presented you with any issues when estimating how much range you have left?
Very nice
Is this library any good for making the Arduino control the VESC's throttle? I'd like to build a road legal ebike, so 250W/15.5MPH limited with pedal rotation sensors, and having an Arduino between the throttle lever and the VESC seems like a good way to do this.
thanks, tomathy
which parameters to use so that I can read the speed using an external sensor, connected to the rear wheel, because my project will use a 6384 engine, with a vesc 75100 mid drive, and because it has gears, I would need to measure the speed directly from a sensor connected bike wheel, thanks for the video!
Could you show some more photos of the inside of the case? How the arduino and LCD are mounted inside?
Thank ypu so much Tom. Have you figured a way to get a better battery % ? Voltage drops with power demands, meaning it will have big fluctuations. Perhaps adding a average value, but still. Using Ah used should probably be a good way to go? Saving the values for each ride to an SD and resetting it once battey is charged again. Your input would be very valuable.
Nice
Hi Tom, looks good. I build an Beer Box with electronik Drive. Is it possible to get the STL Files for the Displayholding?
Egad. Declare individual variables for those values you talk about, and give the variables descriptive names. It’ll make the code easier to read and modify.
Is it possible to use the program without the filter? Im not good at programmaing so i might need some help...
how can i get other values like temperature and others?
You're Beard changed from 2017 XD;
Could this work with an Uno? I've had a starter kit for a while and haven't been able to decide what I want to do with it, but if I could save $25-50 on a display using it then I know what I'll be doing.
Does this work with a normal VESC or does it require a VESC SIX?
Could you help me please Is there a way to connect a rpm guage to ?
How easy is it to read the display in direct sunlight?
anyone find a way to add the 750c display protocol to these vesc? imagine that.
9 months on from this video is this vesc still a good option .. i have a 1kw ebike with a poor quality esc on it but great everything else eg a king meter lcd and bayfang hub motor and want the best out of it
@spcolsson
3 жыл бұрын
vesc is an amazing controller if you know what your doing with it and u understand its limitations. its not like almost any ebike controller you have ever seen as it is ment as a genral esc for motors and was more geared to eskate when it was first invented. it has come a long way now though and they have ones that can handle up to 100v at 250a contunious.
So, he said he wired the coils 2 in series and 4 in parallel. I see 8 coils, am I missing something or are there 2 unaccounted for?
Hello! 🙂 Question: I have the VESC 75100 with Bluetooth module and everything works But question: I have a VSETT display and I can upload this Lisp file for the VESC and VSETT display but it says ; no paired! I would have to connect the VSETT display to the VESC so that it switches on the VESC and then I can upload the Lisp file for the VSETT display and the Erorr 10 error on the display will then disappear and the kmh display will then also work. PLEASE can you tell me because the VESC does not have a power cable that you can switch on the VESC with the display because normally there is a red power cable, a GND minus cable and a blue cable, all of which the VSETT display has but the VESC does not because the blue cable is normally there With the standard controller, return the strim to the controller and then switch it on immediately. How can I do this with the VESC so that I can switch it on with the display? I have now only connected VSETT display with VESC Rx to Tx and Tx to Rx but that is not enough because I still have to be able to set the controller with the display somehow. Can you please tell me how and which two cables can I use to switch on the VESC with the display? Because it doesn't have a power cable, Sonett only 5V + cable and GND cable. I only connected the gas that is connected to the display to the VESC on Adc1 with the Hall voltage cable and everything works. Just please can you tell me can I connect the display to the VESC with 5V and GND cable using the display power cable and GND cable?! But when I now connect the battery with the VESC XT60 connector, the controller is immediately switched on! Hmmm... I have now closed the VSETT display on the battery permanent plus and minus, but where do I have to connect the plus and minus cable from the display to the VESC so that the display switches on the VESC? Please can you just tell me this and help me? I beg you very much! Because you are probably a professional in electronics and have managed to connect the display to the VESC. PLEASE!
My setup only outputs voltage and a wrong wattage, but there is no km/h and ah..
:o you have a second channel!?
The 3D printer STL files are missing in the description:(
Hi ! Can you post the STL files to the 3D printer? There is no link in dhe description above :/
Can this be used for Flipsky 75100 FOC VESC?
So is it Tom or Tim and how did I end up subscribed to a channel under a different name with the same bloke on it.....
could i use a different display? as long as its lcd?
can you help me set up my display?
Would you be able to supply the STL files please
I have tried this code but the lcd freezes after 10-15 seconds any idea why ?
Would it be possible to switch profiles on the VESC remotely via UART?
@spcolsson
3 жыл бұрын
yes and no... you can change any setting i beleave in the vesc on the flu thru uart. the vesc does not have profiles built in. what you would have to do is have a microcontroller with set profiles in it and have it wright them to the vesc
What if it’s a hub motor
Hello Tom, How are you, Thank You very much, I will build my own e bike after this pandemic ends.
I would like to give you a Coding tipp. Those lines calculating the distance and velocity are way easier to read if you break them appart. something like: pi = 3.142; wheelDiameter = 0.72; gearRatio = 16/185; distanceInKm = tach * pi * wheelDiameter * gearRatio * 1000; distanceInMiles = distanceInMeter / 1.609 velocityInKMh = rpm * pi / 60 * wheelDiameter * gearRatio; btw. isn't there missing a times 2? I guess the rpm/7 instead of 14 is making up for it. Either way, I think you get the point. This way the comments are unnecessary and the code is way easier to read and adapt.
my mph gauge is not moving only my power is
@michaelpalma7231
2 жыл бұрын
I FIXED IT, YOUR CODE IS CONDUCTING INTEGER DIVISION. ADD .0 wherever you are dividing.
Si des français veulent imprimer en 3d, hésitez pas à me mettre un message ici ;)
@joda4894
4 жыл бұрын
I am half french and do understand everything but unfortunately, i can't write it. Could you send me the files, please?
I'm so early!
Obama prism