I can help you, Luiz. Ships of the 17th century are my favorite. You can purchase 3 volt LED's from Evan's Designs like those used in both of my ships. My favorite are the yellow 3 volt Pico LED's. They are super tiny but put out lots of light for their size.
In the first ship, a programmable Arduino Uno electronic card was used to flicker six separate circuits of 3mm LED's by varying the brightness at random between low and medium brightness. It was a fair amount of work figuring this out, and hiding the electronic card into the model. A detachable cord ran from the bottom of the ship to a plug in transformer. Two Nano LED's were assembled inside each of the stern lanterns as well as the 3mm LED's placed inside the ships galleries and deck spaces.
LED's and 3V DC transformer. The transformer is $16.00 USD.
The flickering lights were nice, but because of the scale of the model, even a small amount of flickering did not seem realistic. So, on the next model, a simpler system of lighting was used, and this one is easier and better because you don't need any electronics. Pico LED's were used to simulate lanterns along the overhead of each deck inside the ship. These are very delicate, so handle them carefully. Buy extras, because you will break a few. Since this next model had a detailed interior structure, the wiring from the LED's was sandwiched between the deck support structure and the deck itself, which was glued down over all support structure and wiring. For a simpler model, the wiring would be glued along the bottom of each deck, and the LED's hang down from there about 3mm from the overhead, and shine downward.
On the second model below, you can see the resistors and wiring glued to the supports. Note that each LED needs it's own resistor in series on the positive lead, or they will get too much electrical current and burn out. One of the resistors has it's original black shrink wrap on it and the other is bare. The LED leads and resistors are soldered between two long bare wires, positive and negative, that run the length of the hull. The wires are glued to the wood, with masking tape holding the wires in place temporarily until the PVA glue dries. Using flux core soft solder, connecting the wires with a soldering iron was very easy. The LED's came with resistors already as part of one of the leads. The lengths of the wire leads were changed, so the resistors were cut off and re-soldered to the lead after it was trimmed to the required length.
The effect looks like real ships lanterns. You're probably thinking, "That's a lot of sticks."
It's almost like being there. The LEDs hand down just below the beams to simulate lanterns. View using a borescope before deck above was installed.
Lower gun deck viewed from stern gun port under light only provided by internal LED's.
Each pico LED costs $2.35 USD.
Plug and power switch for transformer. LED's are connected to the three separate circuit wires at the top of the picture.
Transformer power connection and switch mounted in the hull.
More information on wiring LED's is on the Evan's Designs website
HERE. If you have any questions, please ask.