
Hamodule
crgarcia12/electronics-homeassistant-lightscontroll
A smart lighting controller PCB that integrates seamlessly with ESPHome and Home Assistant while maintaining full compatibility with traditional mechanical switches.

Time your espresso shot on a seven segment display
ShotSecs is an open-source printed circuit board by coyte, from the coyte/ShotSecs repository on GitHub. It is a 2-layer board of 36.6 × 61.7 mm with 21 parts on 32 nets, routed with 98 tracks and 0 vias.
It is built around the ATMEGA328P-PU, HCPL3700 and BC547. Its parts include 12 resistors, 2 capacitors, 2 ICs, 2 transistors and 2 connectors. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Created a little timer that will keep track of how long power (240v) is applied. Originally developed to measure Espresso shots time, but probably useful for other applications. The usual warnings about tinkering with 240V AC apply!!!
The original idea was that the logic and PSA would be housed inside the espressomachine, and the 7 segment display would be glued/mounted to the exterior of the machine. Hence they are two separate parts connected by a 10-strand data cable
The hardware consists of a little PCB (Kicad schematic & layout included) that hold a Atmega328p, two transistors and 10 resistors to control the 7-segment display. On the input side I used some resistors and a optocoupler to detect power applied. PSU, Atmega, optocoupler, resistors and transistors is mounted on the same PCB (220V and 5 V), intended to be drowned in a resin box when donw.
The timer needs a regular 240V connection to power up the Atmega and display. In addition it needs a connection of the applied power Connect either P-N-Pd or N-P-Nd on the tree terminal block. Where P = phase or live wire from 240V mains N = null or neutral wire from 240V mains Pd= Phase from device to be measured Nd= null from device to be measured
The software is written in AVR C. It essentially is a timer that runs while power is detected by the optocoupler. The display will 'hold' the last known value if power is stopped. On re-applying the power the timer will restart at 0.
Have fun and be careful.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 330R | Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1, R2, R3, R4, R5, R6, R7, R8 |
| 2 | 1K | Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R9, R10 |
| 2 | BC547 | TO_SOT_Packages_THT:TO-92_Molded_Narrow | Q1, Q2 |
| 2 | R | Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R11, R12 |
| 1 | 100nF | Capacitors_THT:CP_Radial_D8.0mm_P5.00mm | C2 |
| 1 | 5V_400mA_PSU | espressocounter:HLK-PM01 | PSU1 |
| 1 | ATMEGA328P-PU | Housings_DIP:DIP-28_W7.62mm | U1 |
| 1 | C | Capacitors_THT:C_Disc_D3.8mm_W2.6mm_P2.50mm | C1 |
| 1 | CONN_01X10 | Pin_Headers:Pin_Header_Straight_1x10_Pitch2.54mm | J2 |
| 1 | HCPL3700 | Housings_DIP:DIP-8_W7.62mm | U2 |
| 1 | Screw_Terminal_1x03 | Connectors_Terminal_Blocks:TerminalBlock_Pheonix_PT-3.5mm_3pol | J1 |
It measures 36.6 × 61.7 mm and has 2 copper layers, 1.6 mm thick.
21 parts, built around the ATMEGA328P-PU, HCPL3700 and BC547. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the coyte/ShotSecs repository on GitHub, at the commit this page was made from: the board is src/ShotSecs-kicad/shotsecs.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask coyte before reusing the design.

crgarcia12/electronics-homeassistant-lightscontroll
A smart lighting controller PCB that integrates seamlessly with ESPHome and Home Assistant while maintaining full compatibility with traditional mechanical switches.

WolfgangFranke/LightFlickerMeasure
Measures flickering lights, like PWM driven LED-systems, using Arduino Nano.

William-Souza-Santos/ADAPTIVE_FUZZY_LOGIC_CONTROL_FOUR_SWITCH_BIDIRECTIONAL_BUCK_BOOST_DC_DC_CONVERTER
Final Year Project by Electronic Engineering

eGuardianDev/atmegaStepperDriver
Open source stepper driver powered by atmega328p chip. First prototype designed for used in 3D printer.



blaskicl/seminar_pcb
Seminarski rad iz kolegija projektiranje tiskanih pločica
