Code for Flickering Light

Copy the code below: void setup() {// put your setup code here, to run once:pinMode(11, OUTPUT);} void loop() {// put your main code here, to run repeatedly:analogWrite(11, 255);delay(1000);analogWrite(11, 120);delay(300);analogWrite(11, 80);delay(80);analogWrite(11, 200);delay(90);analogWrite(11, 255);delay(100);analogWrite(11, 95);delay(300);analogWrite(11, 160);delay(400);analogWrite(11, 255);delay(200);analogWrite(11, 150);delay(500);analogWrite(11, 124);delay(100);analogWrite(11, 195);delay(600);analogWrite(11, 255);delay(200);analogWrite(11, 42);delay(40);analogWrite(11, 76);delay(120);}

2 Port Siren Pieces

This siren is printed in 3 pieces: the motor mount, the chopper and the 2 port stator. Motor Size: 24mm Chopper Shaft Hole Size: 2.5mm Screw Hole Size: 2.5mm I made the chopper’s shaft hole slightly bigger than the 2mm motor shaft because at 2mm the shaft doesn’t fit correctly so I put glue in the hole and before attaching …

Arduino Code For Making Digital Pins Fade on Arduino UNO

const int ledPin = 13; int brightness = 0; // Simulated brightness level (0–255) int fadeAmount = 5; // How much to change brightness each cycle void setup() { pinMode(ledPin, OUTPUT); } void loop() { // Simulate brightness by adjusting ON time digitalWrite(ledPin, HIGH); delay(brightness / 10); // ON duration scales with brightness digitalWrite(ledPin, LOW); delay((255 – brightness) / 10); …

Facts About The Dyson V6 Digital Motor

I had a handheld battery powered Dyson V6 vacuum cleaner and after years of frequent use, the battery failed. Whenever anything breaks I always take it apart to see how it works. I took the motors out of all of the brush attachments and then I took the suction motor out of the vacuum hub. The suction motor is a …

Going Bananas: The Truth About Radioactive Fruit

Bananas are a very healthy fruit containing lots of vitamins like potassium, vitamin c, vitamin a, vitamin e and vitamin k, but did you know that bananas are slightly radioactive? Bananas contain high amounts of potassium-40, a naturally occurring isotope of potassium that emits beta and gamma radiation. The amount of radiation that bananas emit is so small that you …

What Causes Batteries To Leak?

Batteries, in their simplest form, can be thought of as tiny fuel tanks that house a chemical reaction. This reaction generates power through use or self-discharge, during which the liquid electrolyte inside the battery breaks down and releases hydrogen gas. This gas creates pressure inside the battery, similar to how water expands. If the pressure becomes too great, it can …

Storing AA Batteries in a 3d Printed Container

I was looking for a place to store my AA batteries where they can not cause a short circuit and they are easy to access. When I was thinking of a place to store them I came up with an idea. I decided to 3d print a honeycomb shaped battery holder that can hold up to 25 AA batteries. I …

Attempting To Fix a DC Motor

I have a 9v brushed DC motor that I used a lot. It was very fast so I decided to try to attach a small plastic fan cap to it to see how much air it can move. When I turned on the motor, it was not spinning and when I spun the fan to see if I could get …