DIY Smart Camper Control
The electrical system control in our Peugeot Boxer Camper Van
=> Telegram support and info group for the project.
DIY build approx. 100 €
From the lighting control via the integrated alarm system right up to voice control - an innovative marvel of technology:
The control of the electrical devices in our camper is handled by a self-developed microprocessor control system consisting of several AVR microcontrollers and a Raspberry PI Zero. During development it was important to us that, besides the unbeatable low DIY cost of about 100 euros (depending on the expansion stage), really all electrical devices in our camper are integrated and that no additional lighting or heating control is needed. Even the alarm system is part of the DIY control and not an external component. The Smart Camper control can be configured completely freely and all supported components can also be deactivated. So only part of the control options can be used and later, as required, an extension can take place. Flexibility down to the last detail.
All critical control tasks - who wants the step to extend while driving? - are handled by the AVR controllers. These are very reliable, cannot be manipulated from outside and use virtually no power. The Raspberry PI serves as the interface to the outside world, prepares recorded data graphically and takes care of the software updates of the AVR microcontrollers. Apart from the small microcontrollers that provide the data of the Votronic components, all units can be conveniently updated via the network.
The DIY camper control may be freely rebuilt by anyone and thanks to the low entry price of under 100 euros the risk is manageable. You only ever know whether a system suits you once you have tried it, so it is of great importance not to have to invest four-digit amounts just to clarify this question. If you have questions, or would like to actively take part, simply get in touch with me.
All critical control tasks - who wants the step to extend while driving? - are handled by the AVR controllers. These are very reliable, cannot be manipulated from outside and use virtually no power. The Raspberry PI serves as the interface to the outside world, prepares recorded data graphically and takes care of the software updates of the AVR microcontrollers. Apart from the small microcontrollers that provide the data of the Votronic components, all units can be conveniently updated via the network.
The DIY camper control may be freely rebuilt by anyone and thanks to the low entry price of under 100 euros the risk is manageable. You only ever know whether a system suits you once you have tried it, so it is of great importance not to have to invest four-digit amounts just to clarify this question. If you have questions, or would like to actively take part, simply get in touch with me.


The control system has been split into several modules, which has the great advantage that the components can be adapted very easily to different conditions and that you are not tied to a fixed unit for one specific setup. This is also why all switching components are connected externally and you are free when it comes to the power rating of the switches - but more about that later.
The core of the control system consists of a main controller, an ATMega 1284, and a Raspberry PI Zero W*. Optionally a CAN module can also be plugged onto the main unit - more about that later as well.


Further components, which however were already developed specifically for our setup, are the extension unit, consisting of the communication with our Votronic components (MPP 430, 1212-50, as well as Smart Shunt), a capture of our Votronic tank sensors, a current monitoring, an audio output option, as well as an RF receiver for the short-range remote control. There is also a module for controlling our MaxxFan.


In the cab there are sensors for light, temperature and humidity, a motion detector and an electronic spirit level.

Besides mechanical operation via illuminated push buttons or the Votronic Jupiter system, the system can be operated over the network. On the one hand the Smart Camper control can be integrated into any MQTT-capable software (Home Assistant etc.) via the existing MQTT interface, and on the other hand there is the option to operate the camper system via phone or tablet. For this I wrote an Android software that prepares data graphically and allows operation via touch display. (The app has since been significantly extended, see link Software)


Another probably unique feature is the option to operate the smart camper control via a smart watch. For this I also wrote an Android WearOS software .

I deliberately decided against a hard-wired display, or one developed specifically for this purpose, because the "look and feel" of a camper control is as individual as the camper itself. Who wants to be forced into a fixed operating corset? Through the MQTT interface it is possible to put together your very own individual display, or you can rely on the ready-made Android solution. The Android program can be installed on a small tablet (we don't have one), on an Android phone or, as with us, on the Android car radio. The advantages are obvious, because the software can be updated centrally via the Play Store and Android devices are available in every size and performance class. You don't commit yourself and you have worldwide remote access to all information in the vehicle - but more about that later as well.
As already mentioned above, I deliberately separated the control electronics from the power electronics, so it is possible to connect suitable switches or relays depending on the power requirement (water pump, step etc.) without having to decide in advance. In our case FET switches* as well as a relay board* that we bought on Amazon were used.
The system has 52 ! freely usable IO inputs/outputs and connections for tank sensors and the Votronic components. In addition there is an I2C, RS232, Ethernet, Bluetooth, MQTT as well as CAN interface for communication with the outside world. A LIN bus and a free RS232 interface are available and could be adapted, but since we don't have any LIN bus devices such as a Truma heater, this was not needed in our case. Thanks to the open concept and the existing MQTT interface the possibilities are practically endless; only the software determines the functional scope of the overall system and, as already mentioned above, this can be conveniently updated via the Play Store.
Software features already implemented include:
- Vehicle lighting spots and ambient (dimmable + remote control)
- Water pump (garage, sink, shower)
- Step with LED lighting incl. automatic mode (door, D+, alarm, remote control)
- Lighting in the rain gutter (dimmable + remote control)
- Work lighting (floodlights on the roof)
- Sensors (brightness, motion, vibration, temperature, humidity, spirit level)
- Light and ventilation in the shower
- Fan of the TTT
- Comfort control of the MaxxFan ventilator (no oneway show)
- Control of the China diesel heater
- Tank heating incl. monitoring
- Grey water drainage (electric ball valve) as well as video camera under the vehicle
- Battery monitoring as well as warnings by SMS or email
- Recording of consumption and generation data (battery, PV, water)
- Temperature control as well as integration of the MaxxFan.
- Electronic spirit level for levelling the vehicle
- GPS tracker as well as worldwide data query of where the vehicle is
- Alarm system and monitoring of the vehicle CAN
- Integration and monitoring of the shore power connection (Victron MultiPlus)
Since we are still in the expansion stage, one or the other software realisation is of course still missing, but the nice thing about software is that all of it can be developed and/or optimised step by step, even while travelling, e.g. on rainy days. Probably also the biggest advantage compared to a ready-made solution, where you get something that cannot be changed and may ultimately even be unsatisfactory. Building it yourself is also much more fun!
In our camper there are no switches, the only exception being the switch for the electric water heating (230V); everything is realised with illuminated push buttons. In many cases the buttons also have special functions, e.g. for dimming the lights.

The functions in detail:
Hot water:
As already mentioned above, the only switch in the vehicle is intended for the electric water heating. But this switch also has a small special function.
- Switch switched on:
- Hot water is permanently heated with 230V via the inverter.
- Switch is switched on briefly and off again:
- Hot water is heated for one hour. (Follow-up control for 1 hour, which should be sufficient for most situations)
- Switch is switched on briefly again:
- If the follow-up control is active, it is deactivated by briefly switching on and off again.
Light and ambient lighting (or reading light):
At all important places there are push buttons for the lighting; there is always a button within reach and you don't have to search for where an input option is. That means on both sides of the pull-out bed, in the kitchen, at the entrance of the shower, at the sliding door and also at the front in the driver's cab. The buttons are illuminated and the brightness of the lighting is controlled via the brightness in the vehicle. If no motion is detected in the vehicle, e.g. while sleeping or when it is parked, the lighting switches off completely. The speed of the dimming function and the timeout for motion detection are freely configurable.
- Button pressed briefly:
- The light switches on or off. The brightness is saved when switching off and restored when switching on again.
- Button pressed long:
- The light is dimmed up or down.
- Button pressed briefly and then long:
- The dimming function is reversed.
- Button pressed briefly twice:
- The light is set to maximum brightness.
- Buttons light and ambient pressed long at the same time:
- The KeyPanic event is sent to the event handler.
Electric step:
At the kitchen block, to the left of the step in the entrance area, there are 2 illuminated buttons for operating the electric step. It has 3 modes (manual, automatic and fully automatic) which can be selected as required. In every mode the buttons have a freely configurable maximum action time, so they switch off automatically after this time and then have to be pressed again. This timeout prevents the step from driving against the stop for a longer period and blocking there. Our Thule step has no stop detection or limit switches. This freely adjustable time also affects the automatic mode. There is also another parameter that determines the time span when blocking - but more about that later. The step can be retracted but not extended while the engine is running. This prevents unintentional extension while driving, e.g. via an external control request (phone, touchpad, car radio etc.).
If the engine is started and the step is still extended, an acoustic warning signal sounds. In fully automatic operation the step retracts automatically when the engine is started (as long as it is not locked) and the warning signal switches off automatically again after the step has retracted.
(Mode manual)
- Button pressed:
- The step retracts or extends as long as the button is held down. The action time is limited by the configurable timeout, but can be extended by pressing again.
(Mode automatic)
- Retract button pressed briefly:
- The step retracts automatically. The action time is limited by the configurable timeout. If the step is already retracted no action is triggered. If the button is pressed again during operation the motor stops immediately.
- Retract button held down:
- As in manual mode.
- Extend button pressed briefly:
- The step extends automatically. The action time is limited by the configurable timeout. If the step is already extended it is locked in the extended state (see fully automatic operation). If the button is pressed again during operation the motor stops immediately.
- Extend button held down:
- As in manual mode.
(Mode fully automatic)
- Button control:
- As in automatic mode.
- Engine is started or sliding door is closed:
- If the step is already retracted no action is triggered. If it is extended and not locked (see automatic mode) it retracts automatically.
The ring, uuuhmmm, the button that enslaves them all:


In the entrance area of our camper there is a button that performs a "we are leaving the vehicle" function. What exactly should happen when it is pressed is of course configurable via the software. Currently it retracts the step (if extended), turns off all lights (if switched on), switches off the water pump (if it is still running), closes the hood of our MaxxFan (if it is open), switches the ventilation of our shower and the TTT into a power-saving mode and closes all ball valves (if they are open). IMHO this is really practical, because after getting out you simply have to press this one button and the camper then prepares everything for leaving and is put into sleep mode.
Like all our buttons, this button is illuminated. The brightness is automatically adjusted to the brightness in the vehicle, so when it is dark the button illumination is dimmed down as well and when it is very bright the lighting also becomes brighter. If no more activity can be detected in the vehicle, motion detector, lights etc., i.e. also while sleeping or when the camper is parked, the lighting switches itself off after a configurable time.
Camper van levelling - or simply put, a camper control should be able to do that:
As already mentioned above, we have installed an electronic spirit level in the cab. It consists of a small module with ADXL345 sensor* and a software that visualises the data. The camper control retrieves the data from the acceleration sensor, prepares it according to the saved settings and distributes it to the registered Android devices. These present it graphically in a nice way and allow a configuration to be saved. The sync data, i.e. the offset caused by the installation and the module itself, is not saved on the Android device but centrally in the camper control. This way everyone gets the same data thanks to real-time synchronisation. Before installation the module is swung in all directions for calibration; the camper control detects this automatically and also stores the calibration data centrally. A button for calibrating is therefore not needed. In the following video you can see the function in action; for better illustration the swinging is of course simulated with an identical module on the desk. You can't throw the vehicle around like that and you want to see something after all.
In the Android app you can set how the values should be displayed and it is also possible to configure the sensitivity of the virtual bubble. By default the values are displayed in degrees, but if the vehicle data, i.e. the axle distances, are known they can also be converted into height measurements. The display then switches to centimetres.

Camper van, GPS tracker and more:
After we looked at the electronic spirit level in the last video - I will come back to it when I present the integrated alarm system - I would like to venture on a trip into the GPS world this time. What would a modern camper control be without GPS integration?
I have again filmed a small video for this; that way many things can be shown better and you immediately see what it is about.
I have again filmed a small video for this; that way many things can be shown better and you immediately see what it is about.
As already said/shown elsewhere, the Android software can be installed on any number of devices and all devices are synchronised with each other in real time. So it is also possible to access the GPS data at home or wherever else. Perhaps at a nice meeting with friends, where you can underline the holiday photos you took with the corresponding travel route. Everything stays private and is not stored in a personalised way on some US servers. With the new possibilities of AI, probably nobody wants that.
If the vehicle is not where you would expect it to be, the position can of course also be found out quickly. ;-)
If the vehicle is not where you would expect it to be, the position can of course also be found out quickly. ;-)
Camper van control, the Camper Control Android app:
In this video I would like to present our Android app in a bit more detail; it is the remote control and central application for monitoring and remotely controlling what happens in our camper.
Integrating our PV system into the camper van control:
The following video is about the integration of the PV system that we have mounted on our camper roof. With that we can then also conclude the topic of energy management in our camper van.
Security and alarm system in and for our camper van:
Security is an important, if not the most important, property of our camper van DIY control. Besides security-relevant things such as the step control, see above, we have also made the communication with the control secure. So there are no entry points such as an unprotected web interface or similar access points that always bring dangers with them. The self-developed app for communication uses a protected communication path and the communication protocol is proprietary as well, i.e. not a standard like HTTP or similar. Since we don't use any radio connections - everything is safely wired (as you know it from professional vehicle electrics) - no security precautions are needed for the installed sensors and the system is protected against jammers etc.
Already when planning our security functions we did not want to settle for a "standard" alarm system, i.e. the typical black box system where you don't really know why something happens or doesn't, and we wanted to align the system more with everyday camper life. The security functions that I show in the following video are therefore not only aimed at theft attempts, but also at protection inside the vehicle and when preparing for departure.
Essentially the security system can be divided into 3 parts:
- Theft protection (all accesses incl. CAN bus, towing away etc.)
- Protection inside the vehicle (panic button, alerting in case of an attempted entry etc.)
- Checking the windows, doors, step etc. before departure
The highlights of our security equipment:
- All windows and doors are integrated into the system
- Real-time visualisation of all integrated components (also without an activated alarm)
- Interior monitoring via the motion sensor
- Monitoring of the vehicle CAN bus systems (break-in via the CAN bus etc.)
- Active and silent alarm configurable
- SMS notification to any number of devices (no limit)
- All times (alarm, quiet time, renewed alarm) are freely configurable
- The reason for an alarm is visualised in real time, no guessing about what triggered the alarm
- The attitude of the vehicle is monitored (theft of tyres, rims, towing away of the vehicle etc.)
- No additional key or control box, everything can be controlled via the smartphone (where the SMS notification also arrives).
Video presentation of the security functions in our camper van DIY control
Smart locking system for our smart camper van:
What is a smart camper without a smart locking system in combination with innovative security technology? Not smart enough for us, and exactly for this reason we of course thought about all these functions from the very beginning and designed our DIY control accordingly. It was never the goal to develop yet another lighting and temperature control - the internet is full of them and anyone can really gather that from the net - we want to develop an innovative and intelligent overall system, and here comes the next building block that makes our camper van a whole lot smarter.
Thanks to the hardware architecture, extending the functions is very easy and mostly almost free, as the alarm system presented here shows. Our smart locking system also only needs a small additional box that costs next to nothing. There isn't much inside it either and it doesn't say camping on it. :-D



The module controls the central locking at the front and rear, can control the hazard warning lights and, if desired, can also get really loud by controlling the vehicle horn. The hazard light and horn control is nothing special by now, you just need it for an alarm system, but the integration of the central locking into the smart camper control, in combination with the option of also combining it all with the remote key (without any modification to the original key itself!), really is something special.
In the following video I show you how we integrated the central locking and the remote key into our DIY camper control and what convenience this creates. No changes at all have been made to the vehicle key itself or to the vehicle electronics. The vehicle CAN bus is only integrated in a read-only way, as it already was before, and otherwise we only used official interfaces from the vehicle manufacturer. The integration into the camper control also creates no additional costs. The key remains unchanged and no networking module or anything similar is needed for remote access.
Integrating the Victron MultiPlus into our Smart Camper:
In the following video I show how we integrated our Victron MultiPlus inverter into our control concept. The original idea was a warning signal that warns us when the engine is started and the shore power cable is still plugged in. So a warning tone like with our step, but for the shore power connection. The whole thing then became a bit more extensive.
Querying the system status and system information:
As already shown in one of the YouTube videos, we have an LED in the cockpit that indicates when the system has messages waiting. These can be real errors, i.e. an integrated device no longer works, or also disturbances, i.e. things that may resolve themselves. To look at these messages you tap the small camper symbol in the app, which brings up a small dialog window. Normally nothing is entered in the "Messages" area, so no errors/disturbances are present, but to be able to show something here I simulated a few errors. Now such a dialog window that ideally never shows anything would be boring, so I also placed system information in the window. Storage consumption, system load, speed and other interesting things about the system are also displayed and you can simply retrieve this data via the small camper symbol. Especially in midsummer it is interesting to see what the temperature in the system looks like.

The fill levels, humidity, temperature and automatic functions:
In the following video I show how we visualised our sensors for humidity, temperature and water levels and go into some of the possibilities of the long-term charts. I also present the automatic function of our MaxxFan ventilator in a bit more detail.
Connecting the Smart Camper control to Home Assistant via the MQTT interface:
Home Assistant is becoming ever more popular with DIY builders, and an innovative and modern DIY control system naturally also has an MQTT interface. A visualisation and control via the MQTT interface makes particular sense when only parts of the control are used and a large number of MQTT-capable devices are in use. In this scenario a special application such as the Android app Camper Control, is only of limited use, since an Android app can hardly control the other MQTT devices. With a camper control without such an MQTT interface you therefore quickly find yourself on a lost post, and so this project of course also has this popular interface for connecting to home automation systems.
The Smart Camper Control MQTT interface supports all functions of the DIY control. Strictly speaking it is not a real interface but a gateway to the control's own interface. This has the great advantage that all functions can be integrated into any MQTT-capable application without having to support the proprietary interface. So everything that the Android app Camper Control has realised can also be realised via MQTT. In the video about MQTT I show the technical details of this gateway.
Das Smart Camper Control MQTT Interface unterstützt sämtliche Funktionen der DIY Steuerung. Genau genommen handelt es sich um kein echtes Interface, sondern um ein Gateway auf das steuerungseigene Interface. Dies hat den großen Vorteil, dass sämtliche Funktionen in jede MQTT fähige Anwendung eingebunden werden können, ohne das proprietäre Interface unterstützen zu müssen. Also alles was die Android App Camper Control realisiert hat, lässt sich auch über MQTT realisieren. In dem Video zum Thema MQTT zeige ich die technischen Details zu diesem Gateway.
The extension module for additional devices and the start/stop automation:
Who doesn't know it: the first thing you reach for after starting the engine is the SSA button to deactivate the start/stop automation (SSA). Wouldn't it be much nicer if the function of this automation worked exactly the other way round? So after starting the engine you have to deliberately activate the SSA? Exactly this inversion is what this small module can do, besides many other useful properties that I describe in more detail in the following video. Please note that the inversion of the SSA functionality may not be permitted in some countries, e.g. within the scope of the German road traffic regulations, and this functionality may only be used on privately closed-off areas. The same applies to the automatic deactivation of the SSA function via the freely configurable event handler of the Smart Camper Controller. All other functions of the extension module are of course permitted everywhere and can also be used, e.g. via MQTT or the event handler.


Video presentation of the start/stop extension module:
Smart camper automation with the integrated event handler:
This innovative and unique Smart Camper control already has quite a number of unique features (integrated high-end alarm system, smart locking system etc.), but here comes another one that you have probably never seen before. Thanks to a proper operating system (no cut-down ESP32 solution) I can present an integrated event handler here that probably leaves nothing to be desired. A Home Assistant support, which I am of course proud of, does not have to mean a dependency - which is what the integrated event handler proves here in terms of automation. I can of course not present all the possibilities here, there are simply far too many, but if you want to know whether/how an automation can be realised and configured in your vehicle, just ask in the support group, or feel free to contact me privately. With the event handler you can do considerably more than can be shown in a short video.
The 433MHz remote control/extension:
Wishes grow with the possibilities, for example the wish to monitor further windows or to integrate the bicycles into the alarm system. Various alarm system providers offer so-called radio switching contacts for this, so why not take something proven and improve it?
And so the idea of a small battery-powered 433 MHz box was born, one that fits seamlessly into the remote control concept of the smart camper control. So an option - besides the small remote controls* that are already supported this way - to report any switching operations wirelessly via the already existing remote control interface, such as the opening of a window or the removal of a bicycle from the bike rack.
The small box knows 3 states - switch open, switch closed and battery low - which it can report to the central unit via freely definable codes, where they can be linked to any actions. A universal switch, then.
And so the idea of a small battery-powered 433 MHz box was born, one that fits seamlessly into the remote control concept of the smart camper control. So an option - besides the small remote controls* that are already supported this way - to report any switching operations wirelessly via the already existing remote control interface, such as the opening of a window or the removal of a bicycle from the bike rack.
The small box knows 3 states - switch open, switch closed and battery low - which it can report to the central unit via freely definable codes, where they can be linked to any actions. A universal switch, then.


Control of the China diesel heater, the water boiler, as well as the CO alarm and water leak detector:
The smart camper control project is progressing towards its final state; what was still missing was the control of our China diesel heater (a Calor CA2), the switching of our Elgena water boiler, as well as the integration of our CO detector and the water leak detectors*. We have equipped our Elgena water boiler with a timer*. As a rule we only switch on the electric heating element to heat up, and it switches itself off again automatically after an hour. This has the great advantage that we don't forget to switch it off. The timer* can also be conveniently activated and controlled via our camper control. Finding a CO detector that works with 12V and has an output for external devices was not easy at all, but at Satel we found what we were looking for, and were even rewarded with the option of controlling the alarm buzzer externally. The water leak detectors were previously battery-operated, which had the disadvantage that you cannot be notified because of the missing external interface. We have changed that too with the module presented here and changing batteries is now also a thing of the past.


Over the air (OTA) updates via Home Assistant (MQTT) or the Android app:
Besides the option of updating the software via the command line, it is also possible to carry out a software update conveniently via Home Assistant or the Camper Control Android App .
Final video and presentation of the heater, gas and water leak extension module:
Step by Step
Build Instructions
With the growing number of DIY builders it does make sense to switch from the build instructions by email to a web version. So from here on it continues with the build instructions for those who are interested. If you have questions, simply post in the support group ; I am happy to help with the build and the commissioning.
But first the formalities without which, unfortunately, misunderstandings sometimes arise in our constitutional state:
The circuit diagrams, boards etc. published by me can be freely rebuilt by private users. Commercial marketing of devices that can be traced back to these circuit diagrams is only permitted with express written permission. Rebuilding and use at your own risk. I accept no responsibility at all for the function or for any damage resulting from rebuilds of the circuit diagrams, boards etc. published by me! That sounds bad, but it is half as wild (with me everything works perfectly). I just have no desire to be held responsible for damage simply because someone who has no idea about such things short-circuits a battery and sets fire to the camper or whatever.
The circuit diagrams, boards etc. published by me can be freely rebuilt by private users. Commercial marketing of devices that can be traced back to these circuit diagrams is only permitted with express written permission. Rebuilding and use at your own risk. I accept no responsibility at all for the function or for any damage resulting from rebuilds of the circuit diagrams, boards etc. published by me! That sounds bad, but it is half as wild (with me everything works perfectly). I just have no desire to be held responsible for damage simply because someone who has no idea about such things short-circuits a battery and sets fire to the camper or whatever.
The Smart Camper central unit
As already described at the beginning, the central unit consists of an AT-Mega 1284 and a Raspberry PI Zero W*. Theoretisch kann auch ein more powerful Raspberry PI* can be used, but you have to make sure that the board is plugged on top of the Raspberry Pi and not from below as shown here. So you need a Stackingadapter statt der Buchsenleiste.
For the build you need the Central unit PCB, den AT-Mega with programmed Bootloader, and a few small parts which I have summarised in a Reichelt Warenkorb . I have no affiliate agreement with Reichelt, so the shopping cart is only to be understood as a parts list and everyone can of course get the small parts elsewhere. Many things you may already have lying around at home.
The assembly of the board is trivial, no SMD parts, so every tinkerer should be clear about how to assemble the board using the component placement diagram. I recommend assembling it in the order of the listed components, i.e. as usual from small to large.
Parts list
18
| Component | Value / Part |
|---|---|
| R1,R2 | METALL 1,50K |
| R3,R4 | METALL 4,70K |
| D1 | 1N 4148 |
| LED1 | LED 3MM 2MA GE |
| LED2 | LED 3MM 2MA RT |
| C3,C4 | Z5U-2,5 100N |
| C1,C2 | KERKO 22P |
| Q1 | 16,0000-HC49U-S |
| IC1 | GS 40P + AT-Mega 1284 (*1) |
| IC2 | GS 18P + ULN 2803A |
| K1 | FRT5 DC5V |
| SV3 | ECON SL6G2 |
| Socket for RPI Zero | MPE 094-2-040 |
| SV1 | W+P 946-15-010 |
| SV2, JP1 | MPE 088-2-030 |
| X1,X6 | CTB0509-4 |
| X2,X3,X4,X5 | CTB0509-3 |
| On RPI Zero (bottom side) | BKL 10120525 |
*1 The AVR can send signals to the RPI via the connection JP1-2 -> SV1-5. If you don't want to wire this connection externally, you can also place a permanent wire jumper (sig. AVR->RPI) under the AVR socket.
Once assembled, the whole thing should look roughly like this. With a stacking adapter for a larger Raspberry Pi the socket of course sits on the underside and SV2 and JP1 have to be rotated by 180 degrees! The version for a Raspberry PI Zero is shown here. Alternatively the connections SV2 and JP1 can of course also be wired without connectors.


Please note that the central unit is supplied with 5V, so do not connect 12V! I have used this 5V Voltageregulator* for the power supply (the relay board also needs 5V, so you can connect everything there as well). The RPI does not need its own power supply and is supplied by the central unit.
The XML configuration file for the RPI CamperVan service
The RPI CamperVan systemd service is configured via an XML file. This file defines which components and functions are present and used. Basic properties, access data, I2C addresses, port numbers etc. are also defined in this file. All settings can of course also be changed via the Android app, but for the first commissioning one or the other has to be set here. As a general rule, whatever is not present or is not to be used is deleted from the file or commented out. If the CamperVan service does not find a setting, it assumes that the device or sensor etc. is not present. The configuration file CamperVan.xml is located together with the service itself in the directory "/usr/local/bin/CamperVan/" and the vast majority of settings do not have to be changed because they are already adjusted. For example the pin numbers of the connection pins or the predefined I2C addresses. If you want a different setup, however, this can be configured here.
Fixed serial names for the entries in the XML configuration file
Short guide on how to give external serial devices, e.g. a GPS receiver*, feste Namen geben kann.
The AVR control codes for the RPI CamperVan service
The RPI CamperVan service communicates with the AVR controller via its own serial protocol. The control codes are summarised in the following PDF document. These codes can be used for the events configurable in the XML.
The predefined EventHandler events of the RPI CamperVan service
In addition to freely definable events, the CamperVan Service also offers a wide variety of predefined events. These are:
Startup, DPlus, Engine, Battery, SolarAES, PowerOk, Stair, DoorLeft, DoorRight, DoorSlide, DoorBack, LockFront, LockSlide, LockBack, Motion, Alarm, HeaterCommand, HeaterEvent, GasAlarm, BoilerCommand, BoilerEvent, BoilerKey, AlarmBuzzer, KeyAllOff, WaterLeak, KeyPanic, EventSummer, EventTemp, RouterTemp, Charger, Charging, UserButton, GPSFence, SystemMessage
Startup, DPlus, Engine, Battery, SolarAES, PowerOk, Stair, DoorLeft, DoorRight, DoorSlide, DoorBack, LockFront, LockSlide, LockBack, Motion, Alarm, HeaterCommand, HeaterEvent, GasAlarm, BoilerCommand, BoilerEvent, BoilerKey, AlarmBuzzer, KeyAllOff, WaterLeak, KeyPanic, EventSummer, EventTemp, RouterTemp, Charger, Charging, UserButton, GPSFence, SystemMessage
The extension board for Votronic devices and more
As described above, the central unit can optionally be extended with a Extensionboard. This is particularly interesting for those who, like us, have relied on the components from Votronic. The extension board supports the connection of the Votronic Smart Shunt, the Votronic MPPT solar controller, the Votronic charge booster and the Votronic level sensors for fresh and grey water tanks. All connections for these components are looped through so that the Votronic display can still be used. For example we have installed the Jupiter display, which also brings battery monitoring with it and fits seamlessly into the overall system.
But the extension board also offers numerous other small helpers and features. For example the level shifters for the D+ and ignition signals, an audio interface, an RF receiver and a current sensor are located on the extension unit. The extension board is designed so that all unneeded units (e.g. audio or the current sensor) can simply be left out or retrofitted later. This board also has no SMD components, which makes the build possible even for inexperienced DIY builders. I have again summarised the small parts in a Reichelt Warenkorb zusammengefasst.
Parts list
18
| Component | Value / Part |
|---|---|
| R6,R11 | METALL 1,00K |
| R1,R3,R9 | METALL 10,0K |
| R2,R4,R10 | METALL 100K |
| D3 | 1N 4148 |
| D1 | ZF 3,6 |
| D2,D4 | ZF 4,7 |
| C1,C2 | Z5U-2,5 100N |
| C3,C4 | RAD 100/25 |
| Q1,Q2 | BC 547C |
| R12,R13,R15 | BOU 3296W-1-472 |
| K1 | FRT5 DC5V |
| IC1,IC2,IC3 | GS 8P + ATTiny85 |
| IC4 | GS 14P + LM 324 N |
| I2S,SV2,JP1,JP3,JP4 | BKL 10120508 |
| JUMPER | 2,54GL RT (JP4) |
| X2,X4,X5,X6,X7,X9,X10 | CTB0509-3 |
| X1,X3,X8 | CTB0509-4 |
| J1,J2,J3,J4,J5,J6 | MEBP 6-6S |
The CAN bus extension module
In addition, the central unit can optionally be extended with a CAN-Bus Modul. As with other RPI HAT extensions, the CAN bus module is stacked between the central unit and the RPI. The contacts of the 40-pin socket strip are looped through. Besides the functionality needed for the Smart Camper control system, the module also has a CAN sniffer on board. So the CAN messages on the CAN bus can be read along and output via the serial interface or saved. This is interesting, for example, when the message IDs differ somewhat or when you want to intercept your very own messages. Via the existing power connection the module can also be used independently, i.e. without RPI or central unit.
Besides the CAN bus functionality the module also has a few other very useful properties. There is a connection for further I2C modules, the 3.3V output of the RPI is available via screw terminals, and 2 further I/O connections are provided. Here too I have again created a Reichelt Warenkorb . Please note that the CAN bus driver (IC3) in SMD technology requires a somewhat steadier hand when soldering. But it is still a standard SO package and therefore not quite so difficult to populate.
Parts list
16
| Component | Value / Part |
|---|---|
| IC3 | TJA1055T/CM |
| R1 | Metall 20,0K |
| R2, R3 | Metall 3,30K |
| R4, R5 | Metall 4,70K |
| Q1, Q2 | 16,0000-HC49U-S |
| C1, C2, C4, C5 | KERKO 22P |
| C3, C6 | Z5U-2,5 100N |
| IC1 | GS 28P-S + AT-Mega 8 |
| IC2 | GS 18P + MCP 2515-I/P |
| X1, X3, X4 | DG308 2,54-4 |
| JP1 | MPE 087-1-003 |
| SV1 | RPI HEADER 40 (depending on the RPI, top or bottom side) |
| SV3 | BKL 10120958 (bottom side) |
| X5 | JST XH2P ST90 (CAN plug) |
| X5 | JST XH2P BU (CAN socket) |
| X5 | JST XH CKB (2 * CAN Pins) |
The extension for the alarm system and central locking
In addition to the alarm system output of the central unit, the system can optionally be extended with a module for the Sevel vans. The small module can control the vehicle horn, the hazard warning lights and the central locking on vehicles from the Stellantis group (Ducato, Boxer, Jumper etc.). Before you get started here, however, you should clarify the compatibility! Possibly newer vehicles are equipped with a different access. Except for the resistors, all components are in SMD technology; since IC1 is however already pre-populated, the level of difficulty remains limited. Here too I have again created a Reichelt Warenkorb to make sourcing the materials easier. In my product picture further up you can see that I have put Molex connectors on the small module. These connectors are however optional, since the module can also be installed permanently without them. So everyone can do it as they like, and the shopping cart does not contain any connectors either.
Parts list
14
| Component | Value / Part |
|---|---|
| IC1 | AT-Tiny 4313 SU |
| IC2 | LM 340 MP-5.0 |
| Q1 | IRLR2905PBF |
| Q2, Q3, Q4 | IRLL 014N |
| C1 | SMD TAN.0,22/35 |
| C2 | SMD TAN.0,1/35 |
| R1, R2, R3, R6 | Metall 47,0K |
| R4 | Metall 1,00K |
| R5 | Metall 10,0K |
| SV1 | MPE 087-1-006 |
| X3 | MPE 087-1-005 |
| JP1 | Wire jumper |
| SV1,X3 | RS485 Level Converter* |
| Enclosure | 1551GBK (Optional) |
The extension for the start/stop automation and much more
In addition, the central unit can optionally be extended with up to 15 of these Modules, for further inputs/outputs as well as the start/stop automation. Please note the information in this Video regarding the start/stop automation! Depending on the use case, not everything has to/may be populated. Simply ask any questions in the support group. The population shown here is for the stand-alone SSA option. As usual, again a Reichelt Warenkorb to make sourcing the materials easier.
Parts list
13
| Component | Value / Part |
|---|---|
| IC1 | AT-Tiny 85-20 PU |
| IC2 | LM 340 MP-5.0 |
| Q1 | IRLL 014N |
| C1 | SM 0,33/63RAD |
| C2 | SM 0,1/63RAD |
| R1, R2, R3, R4 | Metall 10,0K |
| R5 | Metall 680 |
| K1 | FRT5 DC5V |
| SV1 | MPE 087-1-004 |
| X3 | MPE 087-1-005 |
| JP1 | Wire jumper |
| SV1,X3 | RS485 Level Converter* |
| Enclosure | 1551GBK (Optional) |
The 433MHz remote control/extension
In addition, the central unit can optionally be extended with this Modul for the remote reporting of switching tasks. Depending on the use case (battery operation or fixed power supply) not everything has to be populated. Simply ask any questions in the support group. As usual, again a Reichelt Warenkorb to make sourcing the materials easier.
Parts list
17
| Component | Value / Part |
|---|---|
| IC1 | GS 8P + AT-Tiny 85-20 PU |
| IC2 | LP 2950 ACZ3,3 (Optional) |
| C1 | SM 0,33/63RAD (Optional) |
| C2 | SM 0,1/63RAD (Optional) |
| T1 | SI4532CDY-GE3 |
| R1, R3 | Metall 56,0K |
| R2 | Metall 10,0K |
| R4 | Metall 54,9K |
| R5 | Metall 28,0K |
| SV1 | MPE 087-1-006 |
| SV2 | BKL 10120536 |
| SV2 | 433MHz module* |
| Enclosure | 1551HBK |
| Optional: | |
| Battery holder | HALTER 1/2A |
| Battery | LS14250, ER14250 3,6V |
| Rechargeable battery | LC14250, ICR14250 3,7V |
The power consumption of this small module is extremely low and a full battery lasts for several months/years depending on usage. With a configuration adapted to the situation, e.g. an adjusted battery status interval, further power can be saved. As a guide, here are the measured consumption figures:
• Idle state: 0.004 mA
• Battery status query: 0.01 mA (∼50ms ADC measurement)
• Idle state, contact closed: 0.1 mA (adjust R3 if this is the default state)
• Idle state, configuration mode: 4.3 mA
• Actively sending: 10mA (∼50ms depending on the repeat setting)
• Idle state: 0.004 mA
• Battery status query: 0.01 mA (∼50ms ADC measurement)
• Idle state, contact closed: 0.1 mA (adjust R3 if this is the default state)
• Idle state, configuration mode: 4.3 mA
• Actively sending: 10mA (∼50ms depending on the repeat setting)
The extension for the China diesel heater, the water boiler, the CO alarm and the water leak detectors
In addition, the central unit can optionally be extended with this Modul for the China diesel heater, the water boiler as well as the gas and water leak alarm. Depending on the use case not everything has to be populated. Simply ask any questions in the support group. The population shown here shows the use case for all supported devices, i.e. heater, boiler, gas and water alarm. As usual, again a Reichelt Warenkorb to make sourcing the materials easier.
Parts list
15
| Component | Value / Part |
|---|---|
| IC1 | GS 20P + AT-Tiny 861A PU |
| IC2 | LM 340 MP-5.0 |
| C1 | SM 0,33/63RAD |
| C2 | SM 0,1/63RAD |
| R1, R2, R3, R4, R5 | Metall 10,0K |
| K1, K2, K3, K4 | FRT5 DC5V |
| Q1, Q2, Q3, Q4 | IRLL 014N |
| SV1 | MPE 087-1-004 |
| X3 | MPE 087-1-005 |
| JP1 | Wire jumper |
| SV1,X3 | RS485 Level Converter* |
| Enclosure | GEH KS 28 (Optional) |
| VCC,PA4 | Water leak sensor* |
| GNO1,PNO1 | Alarm buzzer* (PNO1=12V) |
| PNO | Diesel heater signal (12V) |











