Loading 3D model… large boards can take a moment.
I designed this round Diya board with 3.3V coin cell, ATtiny85, light and sound sensors in KiCad
My schematic - I divided into 5 units: Battery, ATtiny85 MCU, Light sensing, Light, Sound sensing
My PCB layout - Circular with BT1 3.3V Cell, R1/R3/R4 5.6k, D1, MK1, U1, SW2 - My actual design
I made a circular Diya LED board that runs on a 3.3V coin cell (BT1). It has both light sensing (LDR) and sound sensing (microphone) and a yellow LED, all controlled by my ATtiny85V.
I wanted to make a Diya that:
So I added both LDR and mic!
I divided my schematic into 5 units in KiCad (you can see in my Schmeatic-.png):
kicad-ambient-led-system/
├── README.md (this file)
├── hardware/
│ ├── LayoutPcb.png (My circular PCB image)
│ └── Schmeatic-.png (My schematic - 5 units)
└── LICENSE
I already uploaded LayoutPcb.png and Schmeatic-.png
Power: BT1 3.3V Cell → SW2 switch → Powers ATtiny85, sensors, LED
Light Sensing: +3.3V → R1 → LDR node → R2 LDR07 → GND → LDR node → ATtiny85 PB2
Sound Sensing: +3.3V → R4 5.6k → MIC node → MK1 Mic → GND → MIC node → ATtiny85 PB3
LED: +3.3V → D1 Yellow LED → R3 → GND, controlled by ATtiny85 PB1
My Code Plan:
- Read PB2 LDR: Dark → LED on, Bright → LED off (save battery)
- Read PB3 Mic: Clap → Toggle LED
My example code for ATtiny85:
const int ledPin = 1; // PB1 - My D1 LED
const int ldrPin = A1; // PB2 - My LDR
const int micPin = A3; // PB3 - My Mic
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop() {
int ldrValue = analogRead(ldrPin);
int micValue = analogRead(micPin);
if (ldrValue > 500) {
digitalWrite(ledPin, HIGH); // Dark → LED on
} else {
digitalWrite(ledPin, LOW); // Bright → LED off
}
if (micValue > 700) {
digitalWrite(ledPin, !digitalRead(ledPin)); // Clap → Toggle
delay(500);
}
delay(100);
}
git clone https://github.com/jay-waghmare/kicad-ambient-led-system.git
I am Jay Waghmare - I design round PCB Diya with ATtiny85 + LDR + Mic
If you like my round Diya PCB, please ⭐ star!
MIT License
My circular Diya PCB with BT1 3.3V Cell + U1 ATtiny85V + R2 LDR07 + D1 Yellow LED + R4 5.6k + MK1 mic - I designed from scratch in KiCad - Based on my actual schematic Schmeatic-.png and PCB LayoutPcb.png
No comments yet. Be the first to ask about this board.