nikivanov / watney

Watney is a low-cost 3D-printable FPV rover
GNU General Public License v3.0
378 stars 39 forks source link

Feature Request: LED Headlights #16

Closed rtaylo closed 4 years ago

rtaylo commented 4 years ago

I'm not sure where to put a feature request in, but I'd be happy to help work on this. I think some bright LEDs in the front would be perfect for navigating dark spaces.

nikivanov commented 4 years ago

You'd need to figure where to get power and how to toggle the LEDs.

For power, you have a spare 3V output on the power board and a 5V pin on the raspberry pi. You'd have to measure the current on both to find where you have more headroom. 5V would be easier, but it might already be pretty taxed. 3V is safer but more complicated when it comes to toggling.

For toggling LEDs on and off you could use a relay/mosfet, or use an individually-controlled LED strip, like WS2801 that would allow toggling natively. I think WS2801 is the easiest approach, as long as there's some headroom on the 5V line. The power board max output at 5V is 3A, but they recommend not going above 2.2A.

nikivanov commented 4 years ago

I'm planning on adding headlights based on SK9822 LED strip. With 50mA per LED and 30/m strip, I think I can have 4 LEDs wrap around the front of Watney and provide enough illumination. Stay tuned! Closing this request for now.