Raspberry Pi Endeavors 8 – Headlights and New Interface

Finally got the 20,000 mcd (micro candles?) super bright white LEDs from eBay, and attached them to the solder board in two sets of 3 LEDs. I have wired these up to seperate GPIO pins for now, in case I want to control the left / right headlights¬†separately¬†- but might change this as I’m rapidly running out of GPIO pins.

Headlights on Pi Car

 

I have also got round to redesigning the UI, which previously was all stock HTML buttons, stock jquery slider etc. Designed a few buttons on Fireworks, got some JavaScript to make the hazard warning lights button flash when they are on using setInterval and setTimeout (similar to sleep();).

Updated UI

Updated UI, with headlights on

Matt