
Digital clock
rmingon/digital-clock
Digital clock with atmega and RTC MCP7940 with WS2812b for light

Code for custom IR ball sensors for reglament RJS lightweight
Ir ball 16sensors is an open-source printed circuit board by DiFir28, from the DiFir28/RJS-lightweight-360-IR-ball-sensor repository on GitHub. It is a 2-layer board of 60 × 60 mm with 55 parts on 51 nets, routed with 511 tracks and 111 vias.
It is built around the ATMEGA328P-MU, TSSP4038SS1XB and WS2812B. Its parts include 17 ICs, 17 diodes, 5 capacitors, 3 resistors and 3 connectors. It belongs with the AVR (ATmega, ATtiny) boards of this library.
The RJS lightweight rules require the position of the ball emitting IR waves to be determined.
The ball's main emission period is 833 microseconds.
Learn more about IR ball.
The sensor is a custom PCB. We use as main brain atmega2560. 24 TSSP4038 sensors are located around the circle to read the IR signal.
Due to the time limit of the ball study period and the need for uniform reading of the circle, at 833 microseconds, data is collected by bytes of pin registers and split into specific pins in a separate cycle. Vectors are constructed based on the sensors that receive the IR signal, with the beginning in the center of the board and the end in each sensor. We calculate a vector equal to the sum of all vectors constructed before the sensors, taking into account the vector on the sensor as many times as the IR signal was detected . The desired angle to the ball will be the angle of the final vector. The sensor readings are transmitted via the I2C protocol.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 16 | TSSP4038SS1XB | OptoDevice:Vishay_MINICAST-3Pin | U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17 |
| 16 | WS2812B | LED_SMD:WS2812 | D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17 |
| 4 | 0.1uF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1, C2, C4, C5 |
| 4 | TestPoint | TestPoint:TestPoint_Plated_Hole_D3.0mm | TP1, TP2, TP3, TP4 |
| 3 | SolderJumper_2_Open | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP1, JP2, JP3 |
| 2 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2, R3 |
| 1 | 330R | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1 |
| 1 | 47uF | Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder | C3 |
| 1 | ATmega328P-M | Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mm | U1 |
| 1 | Conn_01x05_Male | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J1 |
| 1 | Conn_02x03_Odd_Even | Connector_PinSocket_2.54mm:PinSocket_2x03_P2.54mm_Vertical | J2 |
| 1 | I2c | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J3 |
| 1 | LED | LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D1 |
| 1 | Resonator | Crystal:Resonator_SMD_Murata_CSTxExxV-3Pin_3.0x1.1mm_HandSoldering | Y1 |
| 1 | SW_DIP_x02 | Button_Switch_SMD:SW_DIP_SPSTx02_Slide_KingTek_DSHP02TS_W7.62mm_P1.27mm | SW1 |
| 1 | SW_SPST | Button_Switch_SMD:SW_SPST_PTS645 | SW2 |

rmingon/digital-clock
Digital clock with atmega and RTC MCP7940 with WS2812b for light





Pakequis/Chaos_papagali
A annoying device that imitates the vibration of a phone


Arpit192005/Drone-ESC
A custom 3-phase Brushless DC (BLDC) Electronic Speed Controller (ESC) designed in KiCad, intended for drone and robotics applications.
It measures 60 × 60 mm and has 2 copper layers, 1.6 mm thick.
55 parts, built around the ATMEGA328P-MU, TSSP4038SS1XB and WS2812B. 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 DiFir28/RJS-lightweight-360-IR-ball-sensor repository on GitHub, at the commit this page was made from: the board is PCB/Ir_ball_16sensors/Ir_ball_16sensors/Ir_ball_16sensors.kicad_pcb and its schematic PCB/Ir_ball_16sensors/Ir_ball_16sensors/Ir_ball_16sensors.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask DiFir28 before reusing the design.