ESP32 Bluetooth Controlled Calculator That Hates 67 as An Answer

This is the code for my calculator. Before using, make sure you have the TM1637Display.h and BluetoothSerial.h libraries installed. #include <BluetoothSerial.h> #include <TM1637Display.h> BluetoothSerial SerialBT; // —- TM1637 Pins —- #define CLK  13 #define DIO  14 TM1637Display display(CLK, DIO); // —- Buzzer Pin —- #define BUZZ 25 // —- Calculator Variables —- String inputBuffer = “”; // —- Error Buzzer …

ESP32 Bluetooth Controlled Working Clock Code

This is the code for my ESP32 Bluetooth Controlled clock. It is a 12 hour clock and it requires the BluetoothSerial.h and TM1637Display.h libraries. #include <BluetoothSerial.h> #include <TM1637Display.h> BluetoothSerial SerialBT; // —- TM1637 Pins —- #define CLK  13 #define DIO  14 TM1637Display display(CLK, DIO); // —- Clock Variables —- int hours = 12; int minutes = 0; bool setMode = …

ESP32 RGB Color Picker Code

For the code to work, you need to have the app called Arduino Bluetooth Control and you will need to have the BluetoothSerial.h library. #include <BluetoothSerial.h> BluetoothSerial SerialBT; // Your pin assignments #define RED_PIN   12 #define GREEN_PIN 14 #define BLUE_PIN  27 void setup() {   Serial.begin(115200);   SerialBT.begin(“ESP32_LED”);   ledcAttachPin(RED_PIN,   0);   ledcAttachPin(GREEN_PIN, 1);   ledcAttachPin(BLUE_PIN,  2);   …

Tiny 3D Printed Siren STL Files

These are the pieces for my tiny 3d printed siren. It comes with 3 parts, the part where the motor mounts, the stator part with the holes and the spinning chopper part.

Bluetooth Controlled Siren Code

If you want to make a bluetooth controlled siren, make sure you have the BluetoothSerial.h library and make sure you are using the Arduino Bluetooth Control app. I am using the pin 27 on the ESP32 to control the base pin on an NPN transistor to PWM control the GND pin. One wire is connected to one of the pins …

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 …