I've made a board which runs under Chibios control and could be used either alone or coupled with Raspberry Pi computer. It is scriptable using Pawn language. It has relatively powerful adjustable voltage converters. So it can use almost any powerful enough voltage source. It can feed Raspberry Pi with stabilized 5V. It can work standalone running previously uploaded script. Or it can turn RPi on/off by schedule or on button click and execute commands coming from RPi. Actually there is no need to use exactly RPi, because the board can receive commands not only through RPi extension socket but through USB socket as well. So for tests I use it coupled with my laptop computer.
It has the following hardware.
3 axes accelerometer,
3 axes compass, thermometer,
motor controller with protective diodes,
USB port,
serial port,
I2C master,
I2C slave,
Light LED driver.
It can be extended using addon boards. At the moment I made only one type of addon boards which has 8 servo sockets, 8 motor control pads, 8 digital inputs and 8 ADC inputs. It is possible to connect any number of addon boards. At last I have enough functionality for my hardware experiments
Please, have a look at pictures below.