Microbit Maqueen, how to charge the batteries of the Maqueen via solar panel?

My first question is: how to charge the batteries of the Maqueen via solar panel?
My second question is: how to read the output voltage of the solar panel given to the batteries while the Maqueen is driving? the output voltage must be displayed on the microbit.
I am using a 1 Watt 170mA, and a max output voltage 5.5V solar panel. And i have all kinds of diodes and zener-diodes and I have all kinds of resistors.
My second question is: how to read the output voltage of the solar panel given to the batteries while the Maqueen is driving? the output voltage must be displayed on the microbit.
I am using a 1 Watt 170mA, and a max output voltage 5.5V solar panel. And i have all kinds of diodes and zener-diodes and I have all kinds of resistors.