Lighthouse Lighting

We’re creating a lighting circuit to simulate the light coming from a lighthouse.

Using the STM8 modules & Sduino:

Note Arduino pin mapping does NOT match the physical pins.

It’s recommended to use the the STM8 pin labels that are in the Sduino source.


first test with an led, but due to the fact that we are using pwm,
and the limited current available from the board,
you don’t need current limiting resistors.
All values were hard coded for testing.


final circuit, yellow button is for frequency adjustment, and is plugged into d2, with blue being in d1, and adjusting brightness.