Powering the Photon using the same 5v used for a led matrix


I’ve built a matrix like described here - https://learn.adafruit.com/adafruit-neopixel-uberguide/basic-connections - using a Photon instead of a raspberry pi.
I’m using a 74AHCT125 - Quad Level-Shifter (3V to 5V) (https://www.adafruit.com/product/1787) to transform the 3.3v from the photon IO pin to the led matrix 5v data in.

My question is - can I power both of them using the same power supply ?
For example - connecting the + and - from the external DC 5v input (10amp) to the + - rows of a bread board (with the 1000 µF, 6.3V capacitor as described in the uber guide), and connecting the + to the vin pin of the photon while also connecting the + to the power of the matrix.

I did the same with my LED matrix without problems. Checking the datasheet, it recommends supplying 3.6 to 5.5VDC to power the photon on the VIN pin. In turn this will output the 3.3V you need for the level shifter at the 3.3V pin.

So yes, it will work.