ninjapiraatti:
I'm powering the nano with 9V via Vin. Is this wrong in this case or in general? I read that you should NOT power your board via 5V pin. Isn't it the correct pin to power the rotary and led matrix?
It is very sad that certain nonsense on the Arduino pages which is obsolete and unable to be corrected, recommends against powering the boards via the "5V" pin since that is the outright most sensible way to power it. All the logic circuitry runs on 5 V.
"Stock" explanation (one version
):
The expression seems to come up here often - "powered by Arduino". It is a very strange concept, suggesting a very limited understanding of electronics.
You don't "power" anything from the Arduino - it is in no way a "power supply". You provide power - 5 V regulated - to the Arduino. So whenever such a statement is made, we automatically know there is a connection/ configuration problem.
An Arduino - such as a UNO, Nano, Pro Mini, Leonardo and similar - in no way resembles a power supply. A "power supply" is a component you plug into a "power point" or "utility outlet". Or devices may be powered by a battery of suitable capacity. But that and an Arduino are totally different things.
The confusion is usually encouraged by descriptions in the Arduino references that there is an on-board regulator on these boards. This is true - there is a regulator on the board and it can be used under limited circumstances to power the Arduino board and only the Arduino board. Essentially nothing else as the regulator, whatever its rated capacity, has no effective heatsink and will overheat and (hopefully safely) shut down if required to provide more current than the microcontroller itself and a few indicator LEDs at 10 or 20 mA each. Your matrix display will likely exceed this, the rotary encoder is of no concern.
If you power the Arduino versions which have one, with 5 V via the USB jack, then up to the limit of the on-board protective fuse and power switching circuitry, you can pass the 5 V through to the "5V" terminal on the board and use it to power other devices - such as LEDs - up to the limit of that fuse, nominally 500 mA. But in general, the Arduino is simply not a "power supply" in any sense, so referring to "powering" something by it is meaningless.
As an aside, everything above applies to the thing described as a "MB102 power supply module" in its various versions. You can use it to supply 5 V to a few logic ICs or an ATMega328 chip and a few indicator LEDs at 10 or 20 mA each. That is its purpose. If you need to power something that does not fit on the breadboard or requires more than 100 mA, then you need a suitable power supply. If you can find the adapter, you can plug a 5 V power supply such as a "phone charger" into the USB port on the MB102 power supply module and have it reticulate that 5 V to the side rails on the motherboard up to 500 mA or a little more; this is its purpose - a convenient power adapter; not a power "supply". 
