You are here

Breaking Light

6 posts / 0 new
Last post
vitormhenrique
Offline
Last seen: 2 months 20 hours ago
VESC GoldVESC Original
Joined: 2019-08-29 17:28
Posts: 24
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: 2 months 20 hours ago
VESC GoldVESC Original
Joined: 2019-08-29 17:28
Posts: 24

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 weeks 5 days ago
VESC Free
Joined: 2020-03-13 11:48
Posts: 2

Hey, have you figured out how to do this?

Kyroba
Offline
Last seen: 3 weeks 5 days ago
VESC Free
Joined: 2020-03-13 11:48
Posts: 2
Pimousse
Offline
Last seen: 5 days 10 hours ago
VESC Original
Joined: 2017-05-24 12:15
Posts: 100

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: 4 weeks 1 day 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?