Let there be ESK8 lights

Ok, so a few things to unpack here

That first link never actually seemed to test the final product. It’s the Servisas guys, so could be great. But likely it will require software fine tuning, as all projects do. Also the buck converter he chose is only rated for 1A, so if you recreate it anyway, I hope you’re not planning on more than one board length strip of LEDs. You’ll want to check your current calcs.

The second link uses a custom pcb with an ESP32 (not quite Arduino, but close). Have you ever ordered a fully assembled custom pcb before? Additionally, if you dig deeper, most of the components on the BOM come up as question marks by that particular shop, so you’ll have to substitute or find similar parts. Again, hope you have some EE experience. The project hasnt been updated in some time, but you may be able to reuse the code.

Next - yes, you can use an Arduino to control individually addressable (“digital”) LED lighting. It’s a good, common solution. However, you probably don’t want to power your LED strips from the ubox spintend. If i remember correctly, its 12V port is rated at something like 3A. That could be enough, depends on how wild you want to go. If not you’ll need a dedicated buck converter rated for your battery’s voltage and higher current.

To get info from the uart, no matter the way you go about it, you’ll need to tap the RX pin of your VESC (like the first link).

With space inside an Esk8 enclosure at a premium, rather than buying an accelerometer breakout board and wiring it to the Arduino, just buy an Arduino with an IMU already on it. There should be a couple out there - one at least is the Nano 33 IoT.

With individually addressable LEDs, you can… individually… address… each pixel. So, yes, you can make half do fun glowy patterns and the other half react to uart inputs. It will take some work on the coding side of course. Any Arduino can easily control digital LED strips, if that’s all is doing.

If you’re not comfortable programming an Arduino you’re going to have a hard time making all of this happen. And definitely if you’ve never designed pcb schematics, don’t go ordering that custom pcb and expect it to work.

I’m happy to be wrong, but if you’re just starting out I would recommend start with a digital LED strip like Adafruit’s Neopixel or Dotstar, a run of the mill Arduino Nano / Micro, and get that glowing before going deeper.

4 Likes

I wont be able to make my own pcb, im considering that as an alternative only if b264 or someone else were to make a guide. My uart is full with the davega so the unclejohn recommended putting the ubox in ppm+uart mode and then I can get the signal for my break light and led strip from the servo line on the ppm port and this would reduce the burden of the esc’s transmission of throttle signals. Id go ahead and just use the other project but that uses uart so I need to figure out how to read from the ppm port instead and ill use the rest of that code.

I was initially going to get a 4-6 channel with remote but if I can just connect a reciever/transmitter to the Arduino uno then that would be nice. I have 6 different lights I want to control. (+1 horn connected to ubox). I will use the 12v light port of the esc output controlled by to turn off the dc-dc converter with a mosfet so it doesnt waste with quiescent current. This will turn of all lights and arduino. Alternatively, I can have it just turn off all lights but then power the arduino with 5v from ppm if I want the arduino to remain on whenever the vesc in on. The arduino transmitter receiver has 4 buttons so I will control 4 of the 6 lights with this extra remote. For the other 2 lights, could I use the throttle like a button to turn on/off the lights? Like if I pull on the breaks all the way 4x in a row it will turn on those 2 lights?

All the lights will be powered by the battery through the dc-dc converter (12v10a but can get 12v20a if needed) but they will be controlled by the arduino using mosfets. I have no idea where all this will connect on the arduino so will it have enough ports for me to also add the rf-reciever module?

1 Like

No vesc ever will produce a ppm signal for you. It only listens to a signal coming from a ppm receiver, meaning you’re stuck to ppm-only remotes

1 Like

What! :sob: Here’s is the message from spintend.

Again, a remote must produce that ppm signal in the first place. I really don’t know how his remote works but i doubt he can make the lights/horn thing with just ppm signal.
Your best bet might be to learn to listen to the canbus connection as that contains everything needed to drive any number of vescs with just 2 wires

2 Likes

Alternatively, get more UARTs:

4 Likes

Shipping is as much as it costs! That’ll end up costing me $100cad. Is coding with ppm possible? Also it doesn’t say it supports ubox and fw 5.1, he doesn’t have that to be able to fix a bug if one arises.

That is an unfortunate reality for international shipments I am not able to get around at the moment and one the stands in the way of many people from ordering.

Just to add some clarity here, FW 5.1 is supported by the uSplit. The uSplit supports the general VESC UART communication scheme which does not vary between VESC based ESCs. It could vary between FW versions but that is unlikely at this point in the project’s life. You are correct that I do not have a ubox ESC to test with if something specific to that goes wrong, but it is also unlikely that there would be an issue specific to that particular ESC.

5 Likes

Thoughts on this? Nlpearl 4'' Light Bar/Work Light 72W 126W Led Work Lights for Off road Tractors SUV Trucks Spot LED Light Bar Fog Lamp 12V 24V|Light Bar/Work Light| - AliExpress
I want to run 2 of these 72w (36v 2a?) ones in series (72v 2a?) for my 16s battery (67.2v).
image

Depending on where you read those lights have a 30V, 32V, or 36V limit…be careful.
Depending on the circuitry inside you might not be able to run them in series successfully.

Bottom line…not worth the risk IMHO.

4 Likes

Yeah I was confused. Would it be worth it if I message the seller to double check? They usually respond

If you are going to buy those then I would think it would be a very good thing to find out if they will burn out if you use them. :grin:

3 Likes

They said it can’t be used at 36v. Their 126w 4 inch leds are only 20-18w. How disappointing. I think I will go with auxbeam straight from their website. I will also get 2 additional mounts so hopefully with 3 it will be okay on a skateboard. The 3 will be connected to a 3d printed mount I will make to attach to the truck.
I’m not worried about 9 inch wide because that’s the same as the warren deck and I’ll use mbs ii trucks.


These look almost too bright! Probably be less if I hook up to 12v instead of 24v (guessing the video was 24v).

1 Like

alright who can ID a smallish footprint HV buck for me? all those small ones on AZ can’t handle 75V from what I can tell

thanks in advance to anyone that helps

There are some here that go up to that voltage

2 Likes

those are all relatively big no? like def gunna need to externally mount them I think

This one is 58 x 40 x 22mm

https://fulree.en.alibaba.com/product/62152877158-805343022/Shenzhen_Manufacturer_30_90V_to_12V_3A_5A_DC_DC_Step_Down_Power_Converter_36V_48V_60V_72V_to_12V_for_Golf_Cart_Car_Radio.html?spm=a2700.shop_plgr.41413.28.386554bfM9WQ1r

2 Likes

thanks man!

1 Like

Yep, I was going to point to this Fulree:

90V in, 12v 3A/5A out, potted IP67. May need the heatsink version if you pull a lot of current

1 Like

high voltage buck converter, see posts above :arrow_up:

(for ease of searching this giant thread)

4 Likes