Hi,
as a total arduino and electronics-noob I am just looking for some feedback on whether or not what I am planning to do would be feasible and easy enough for me to tackle...
What I want is a 8x8 MAX7219 led matrix to occasionally display status information from my Orange Pi Zero 3.
Originally I wanted the led-matrix to be directly controlled by the pi but there seems to be a problem with device tree overlays and the spi interface is currently not working properly on the pi, however the led-matrix works absolutely fine with an arduino nano clone that I have, so my new idea is this:
I attach the led-matrix to the nano and connect the nano and the pi via usb so that they can communicate serially. Whenever the pi wants to use the led-matrix it sends a command to the nano via the serial port and the nano then controls the leds accordingly. Such a sketch should not be too hard to write (I think). Are there any libraries one could use for implementing the serial communication apart from the Serial-class I already have seen?
However I only need this functionality only rarely and so I would like to have a way to completely turn off the led-matrix.
Unfortunately it seems there is no way to control the 5v pin via software so from what I have gathered you would need to use a mosfet and this is something I know nothing about...
Would it be possible to get the power from the 5v pin (that get's it's power from usb) but have a mosfet in-beween so that the nano would be able to completely turn the led-matrix on and off or would you say such a complexity is not needed as the power consumption would be minimal when all leds are turned off anyway?
So is this a good idea that can be tackled by someone with a background in programming but no know-how in arduino or electronics (in particular I cannot solder)?
Many thanks for all feedback.