Lighthouse - Isle of Lewis - Scale Model
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 <= 450; x++) { int brightness = 1+(x/7.63); analogWrite(0, brightness); delay(1); } for(int x = 0 ; x <= 100; x++) { int brightness = 60+(1.95*x); analogWrite(0, brightness); delay(1); } analogWrite(0, 255); delay(100); for(int x = 100 ; 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); } <iframe width="560" height="315" src="https://www.youtube.com/embed/yfgyTbhT3qA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Statistics
Likes
4
Downloads
0