VESC LCD Display

Ғылым және технология

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

  • @MrSolidGeek
    @MrSolidGeek4 жыл бұрын

    Thanks for the mention, very nice project! Glad you could use my VESC library :-)

  • @Staphylokocke
    @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).

  • @LewisRawlinson30
    @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!

  • @nemoaspieman369
    @nemoaspieman3694 жыл бұрын

    You're a champion, straight forward and to the point, perfect tutorial, 10/10.

  • @joaopedroLajoso
    @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.

  • @VoltageGuy2000
    @VoltageGuy20004 жыл бұрын

    I really love this channel and your main channel! Thanks for making my childhood

  • @iamkian
    @iamkian3 жыл бұрын

    Just tested this in a Flipsky FSESC75200 VESC, and it is working fine!

  • @fynnsteenhoff9645
    @fynnsteenhoff96454 жыл бұрын

    I really enjoy watching your videos pleas never stop!

  • @a1d0t6

    @a1d0t6

    4 жыл бұрын

    Not to be t h a t g u y but its i not I

  • @BloodAsp
    @BloodAsp4 жыл бұрын

    Who is this Tim Station bloke? He seems untrustworthy, and might be stalking my deer friend Tom. *gets out the base ball bat.

  • @williamcorkey3083
    @williamcorkey30834 жыл бұрын

    Loved the wiring diagram you did. Could you do a similar one for the entire project?

  • @niki123489
    @niki1234894 жыл бұрын

    Awesome tutorial. One day I'll modify my old bike if I have to money! :)

  • @fftrader2008
    @fftrader20084 жыл бұрын

    You are The Best!

  • @Rouverius
    @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
    @iBlaze69 Жыл бұрын

    Very nice

  • @PKMartin
    @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.

  • @goosemaster1654
    @goosemaster16544 жыл бұрын

    thanks, tomathy

  • @EBIKESBR
    @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!

  • @charclo86
    @charclo864 жыл бұрын

    Could you show some more photos of the inside of the case? How the arduino and LCD are mounted inside?

  • @benriefourie115
    @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.

  • @robonut6358
    @robonut63583 жыл бұрын

    Nice

  • @maal320
    @maal3204 жыл бұрын

    Hi Tom, looks good. I build an Beer Box with electronik Drive. Is it possible to get the STL Files for the Displayholding?

  • @RobertKreegier
    @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.

  • @vexx8563
    @vexx85633 жыл бұрын

    Is it possible to use the program without the filter? Im not good at programmaing so i might need some help...

  • @Ratfatbig-fg9ln
    @Ratfatbig-fg9ln4 жыл бұрын

    how can i get other values like temperature and others?

  • @burhanshahid5
    @burhanshahid54 жыл бұрын

    You're Beard changed from 2017 XD;

  • @her0z217
    @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.

  • @MohakB
    @MohakB3 жыл бұрын

    Does this work with a normal VESC or does it require a VESC SIX?

  • @user-wi8ib7ew8i
    @user-wi8ib7ew8i4 ай бұрын

    Could you help me please Is there a way to connect a rpm guage to ?

  • @reddcube
    @reddcube4 жыл бұрын

    How easy is it to read the display in direct sunlight?

  • @JamiePineappleWyatt
    @JamiePineappleWyatt3 жыл бұрын

    anyone find a way to add the 750c display protocol to these vesc? imagine that.

  • @ruedogs
    @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

    @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.

  • @Anomalous417
    @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_e
    @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!

  • @vexx8563
    @vexx85633 жыл бұрын

    My setup only outputs voltage and a wrong wattage, but there is no km/h and ah..

  • @46449771
    @464497714 жыл бұрын

    :o you have a second channel!?

  • @frankvanmierlo9818
    @frankvanmierlo98182 жыл бұрын

    The 3D printer STL files are missing in the description:(

  • @dawidh6422
    @dawidh64223 жыл бұрын

    Hi ! Can you post the STL files to the 3D printer? There is no link in dhe description above :/

  • @jaylpatigas
    @jaylpatigas Жыл бұрын

    Can this be used for Flipsky 75100 FOC VESC?

  • @SparkyLabs
    @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
    @zsds8455 Жыл бұрын

    could i use a different display? as long as its lcd?

  • @robymacgyver3744
    @robymacgyver374423 күн бұрын

    can you help me set up my display?

  • @lorddeysel7915
    @lorddeysel79153 жыл бұрын

    Would you be able to supply the STL files please

  • @aryangandhi3311
    @aryangandhi33113 жыл бұрын

    I have tried this code but the lcd freezes after 10-15 seconds any idea why ?

  • @leohogg1
    @leohogg13 жыл бұрын

    Would it be possible to switch profiles on the VESC remotely via UART?

  • @spcolsson

    @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

  • @mlgoverrated745
    @mlgoverrated7453 жыл бұрын

    What if it’s a hub motor

  • @burhanshahid5
    @burhanshahid54 жыл бұрын

    Hello Tom, How are you, Thank You very much, I will build my own e bike after this pandemic ends.

  • @larsreinken9135
    @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.

  • @michaelpalma7231
    @michaelpalma72312 жыл бұрын

    my mph gauge is not moving only my power is

  • @michaelpalma7231

    @michaelpalma7231

    2 жыл бұрын

    I FIXED IT, YOUR CODE IS CONDUCTING INTEGER DIVISION. ADD .0 wherever you are dividing.

  • @MarcAntoineBvl
    @MarcAntoineBvl4 жыл бұрын

    Si des français veulent imprimer en 3d, hésitez pas à me mettre un message ici ;)

  • @joda4894

    @joda4894

    4 жыл бұрын

    I am half french and do understand everything but unfortunately, i can't write it. Could you send me the files, please?

  • @c-dawg2145
    @c-dawg21454 жыл бұрын

    I'm so early!

  • @greatnate3816
    @greatnate38164 жыл бұрын

    Obama prism

Келесі