Not sure where you would get 5v from these boards as I have never used one. If you use a separate supply you will need to connect the 0v of that supply to the 0v(Gnd) of the board so the signal has a reference.
400 Ohms may be ok, you really need to get the specs of the LED and use one of the online LED calculators to see.
Hood