You are here

Breaking Light

7 posts / 0 new
Last post
vitormhenrique
Offline
Last seen: 1 month 2 weeks ago
VESC FreeVESC Original
Joined: 2019-08-29 17:28
Posts: 25
Breaking Light

Has anyone tried to implement an simple "breaking" light on VESC firmware? 

I'm working on a onewheel now, and was thinking about having ws2812b on te front and on the back, illuminating them accordingly, and changing intensity to have a "breaking" light.

vitormhenrique
Offline
Last seen: 1 month 2 weeks ago
VESC FreeVESC Original
Joined: 2019-08-29 17:28
Posts: 25

Hello everyone, 

I did some more research, and I actually found a video and a firmware that Benjamin made using ws2811 for breaking lights and turn signals, the firmware name is VESC_ws2811.bin.

But, i noticed looking the source code that you can't use Hall sensors if the leds are enabled. 

I'm gonna keep studing the source code and see if I can figure it out.... I "need" to have both hall sensors and leds enabled, but no idea if it is possible.

Kyroba
Offline
Last seen: 3 years 6 months ago
Joined: 2020-03-13 11:48
Posts: 2

Hey, have you figured out how to do this?

Kyroba
Offline
Last seen: 3 years 6 months ago
Joined: 2020-03-13 11:48
Posts: 2
Pimousse
Offline
Last seen: 2 months 6 hours ago
VESC Original
Joined: 2017-05-24 12:15
Posts: 101

Hi,

Yes, using an Arduino and the VESC Uart communication, you can achieve a brake light system.

See here for an example : https://www.youtube.com/watch?v=wvjXEg_Xbv8

alex63610
Offline
Last seen: 5 months 1 week ago
VESC Free
Joined: 2018-06-08 14:38
Posts: 2

Hi,

I am trying to achieve the same stuff and I also want to keep hall sensors.

I am trying to control the ws2812b leds with the GPIOB 5 pin (ppm pin normally) but without success so far.

Have you find a way vitormhenrique?

 

FlawlesTurtle
Offline
Last seen: 1 year 3 weeks ago
VESC Free
Joined: 2022-09-15 00:49
Posts: 1

I've completed a arduino and mpu6050 set up that uses ws2818 leds for a passive brake light setup. Currently working on field testing. Here is the Gethub node. :

https://github.com/wildskydiver/Passive-Brake-Idle-LED