I've put 2 arduinos in.
A
Mega to control the lights, and any future bits and bobs I think of. I didn't want the power consumption of a touchscreen though, so my buttons are on the lights. They work like this;
- Multiple clicks cycle through 3 brightness levels.
- A single click turns a light on or off.
- Bed lights turn on dim first press, kitchen lights turn on bright first press.
- If a light is on, a long press will turn ALL lights off
- If a light is off, a long press will turn ALL lights on
I put a 4 core to each light;
- 12v,
- PWM for the light,
- Pushbutton input
- PWM for the pushbutton led (these glow dimly at night)
I built a 8 channel MOSFET power board as I couldn't find an off the shelf one.
And lastly, all the PWM has 'soft' switching, so the lights turn on and off gradually
If I get time & inclination, I may ditch the little cheap looking crappy LED gas-it display that came with my LPG tank and fit an arduino OLED display, for this I'll need to figure out how the tank sender works. I think it's 0 to 90ohm when the tank is full/empty, but I've no idea if its linear, or maybe 20-90ohm??
At some point i may fit a water tank level sensor, and put this on the OLED too.
And I have a
Nano33BLE with 3.2"OLED for display in the front. This talks to my renogy DCC50s to get all the DC/DC and solar data over Modbus485 and display it on the OLED. I also found the Nano has an accelerometer, which I used to calculate and display van level, side to side, and front to back, in units of mm at the wheels, so I can see what size chocks I need for camping! I haven't fitted this yet, but will post some pics when it's done.
I had thought about hooking up to CAN, with ideas like turning all the lights off if the van gets locked, turning the slide door light on when that door is opened etc. So I'm interested in how it goes if you do this. I have a CANbus analyzer which I use at work, so I can see the CAN traffic if need be.