I'm doing a university assignment and I need some advice. Do I need a resistor between the 9V power source and the microcontroller that uses 5.5V and 1mA? Also between a gyroscope sensor that uses 3V and 5mA?