ThingiverseLighthouse - Isle of Lewis - Scale Model
C
530 downloads on Thingiverse
35 likes on Thingiverse
More like this
Loading...
Description
A tiny model of the lighthouse at the north of the Isle of Lewis, in the Outer Hebrides. I put a warm white straw hat LED in the final thing and made a bit of code to flash the light realistically. It was not an easy print, and I would suggest scaling it up - the features were at the bare minimum of what was possible for the printer and I had a few failures.
It wasn't drawn to a common scale, instead I drew it to be 80mm tall. This brings the scale to be about 1:462-ish.
Contains an Attiny85 chip running the following code:
void setup()
{
pinMode(0, OUTPUT);
int brightness = 0;
int x = 0;
}
void loop() {
for(int x = 0 ; x = 0; x--) {
int brightness = 60+(1.95*x);
analogWrite(0, brightness);
delay(1);
}
for(int x = 450 ; x >= 0; x--) {
int brightness = 1+(x/7.63);
analogWrite(0, brightness);
delay(1);
}
analogWrite(0, 1);
delay(3800);
}