
LEDRing
BlockWorker/Pinecil_LED_Ring_HighPower
High-power LED ring attachment for the Pinecil V2.

High-power LED ring attachment for the Pinecil V2.
LEDDriver is an open-source printed circuit board by BlockWorker, from the BlockWorker/Pinecil_LED_Ring_HighPower repository on GitHub, published under the MIT licence. It is a 2-layer board of 25 × 8 mm with 17 parts on 9 nets, routed with 40 tracks and 15 vias.
It is built around the LM3407MY. Its parts include 5 connectors, 4 resistors, 3 capacitors, 1 IC and 1 diode.
Inspired by Herushan's original Pinecil LED ring. See the full project documentation here.
This version is designed for three ~0.2W LEDs, resulting in almost 100 lumens of light output.
Features a dedicated LED driver module (to be installed inside the Pinecil case), the LED ring itself, as well as PWM dimming using a modified version of IronOS.
Of course, feel free to build your own LED ring based on the designs in this repository. Use them as they are, or modify them for your needs if you feel like it - either way, at your own risk.
The posts on my website offer a more detailed description of the project and build process that you can follow along with.
The PCB designs are based on JLCPCB's design rules, so adjust them accordingly if you're using a different PCB service. The LED ring PCB is a 1.6mm aluminium core board, and the driver PCB is a 0.8mm 2-layer FR4 board.
Here is a table of the required components, with example parts and Mouser links:
| Reference | Description | Example Part |
|---|---|---|
| U1 | LM3407 LED Driver | Texas Instruments LM3407MY |
| D1 | Schottky Diode, >30V, SOD-323 | Panjit SS0840WS |
| L1 | Inductor, 150µH, SMD 4 x 4 mm | Taiyo Yuden NRS4018T151MDGJ |
| C1 | Capacitor, 4.7µF 35V, SMD 0805 | Murata GRM21BZ7YA475KE15 |
| C2 | Capacitor, 4.7µF 50V, SMD 1206 | Murata GRM31CR71H475KA12 |
| C3 | Capacitor, 1µF >6.3V, SMD 0603 | Samsung CL10B105KA8NNN |
| R1 | Resistor, 4.7kΩ, SMD 0603 | Bourns CR0603-FX-4701ELF |
| R2 | Resistor, 3.09Ω, SMD 0603 | Vishay CRCW06033R09FKEA |
| R3 | Resistor, 1kΩ, SMD 0603 | Bourns CR0603-FX-1001ELF |
| R4 | Resistor, 40.2kΩ, SMD 0603 | Bourns CR0603-FX-4022ELF |
| (Ring) D1-D3 | MP-3030-120H LEDs | Luminus MP-3030-120H-40-90 |
Aside from these parts, you'll need some thin wires, a second soldering iron, and ideally a small PCB hot plate for reflow soldering (especially for soldering the LEDs to the aluminium-core ring PCB). The LM3407 chip also needs either a hot plate or a hot air gun to effectively solder its bottom thermal pad.
Equivalent replacements to these parts should work fine as well - though depending on your choice, you may need to change the PCB component footprints accordingly.
There are many LED options available in the MP-3030-120H series, depending on your preferences. I went with 4000K colour temperature and CRI 90, for high-quality neutral white light. Colour temperature options range from very warm 2200K to cold 6500K, and if you want some more brightness at the cost of "light quality", there are brighter CRI 80 variants available.
Of course, there are many other LED options out there that will work, though PCB adjustments may be needed for them. The design targets single-LED chips (around 3V per chip) and a current of 65mA.
If you'd like to use the LED dimming feature, you need to flash my modified IronOS firmware onto your Pinecil and connect the "DIM" pad to the Pinecil PCB as shown on my website. Alternatively, you can just force the ring to 100% brightness all the time, by connecting a jumper wire between the "DIM" pad and the "TP1" test point on the back side of the driver.
The driver circuit can be modified for up to 350mA LED current (see notes in the schematic and the LM3407 datasheet), but I haven't tested higher currents, and LED cooling may become a problem at higher power.
If you'd like to make the ring removable (as seen on my website), you'll need a very small 2-pin connector, e.g., the Amphenol Minitek 0.8mm connector I used. The header can be wired to the ring and glued onto its back using some epoxy. However, crimping the wire end of such a small connector is challenging - I've made a post about my process for it here. I don't recommend this for beginners though.
For questions or anything else, you can find me on the official PINE64 discord server (@blockworker).
| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | 150µH | BW_PassiveMechanical:L_Taiyo-Yuden_NR-40xx_HandSolderingCompact | L1 |
| 1 | 1kΩ | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 1µF | Capacitor_SMD:C_0603_1608Metric | C3 |
| 1 | 3.09Ω | Resistor_SMD:R_0603_1608Metric | R2 |
| 1 | 4.7kΩ | Resistor_SMD:R_0603_1608Metric | R1 |
| 1 | 4.7µF 35V | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 4.7µF 50V | Capacitor_SMD:C_1206_3216Metric | C2 |
| 1 | 40.2kΩ | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | DIM | Connector_Wire:SolderWire-0.5sqmm_1x01_D0.9mm_OD2.1mm | J4 |
| 1 | GND | Connector_Wire:SolderWire-0.5sqmm_1x01_D0.9mm_OD2.1mm | J5 |
| 1 | LED+ | Connector_Wire:SolderWire-0.5sqmm_1x01_D0.9mm_OD2.1mm | J1 |
| 1 | LED- | Connector_Wire:SolderWire-0.5sqmm_1x01_D0.9mm_OD2.1mm | J2 |
| 1 | LM3407MY | Package_SO:MSOP-8-1EP_3x3mm_P0.65mm_EP1.73x1.85mm | U1 |
| 1 | SS0840WS | Diode_SMD:D_SOD-323_HandSoldering | D1 |
| 1 | VCC | TestPoint:TestPoint_Pad_D1.0mm | TP1 |
| 1 | VIN | Connector_Wire:SolderWire-0.5sqmm_1x01_D0.9mm_OD2.1mm | J3 |
The 16 most common of 17 parts.
It measures 25 × 8 mm and has 2 copper layers, 0.8 mm thick.
17 parts, built around the LM3407MY. 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 BlockWorker/Pinecil_LED_Ring_HighPower repository on GitHub, at the commit this page was made from: the board is LEDDriver/LEDDriver.kicad_pcb and its schematic LEDDriver/LEDDriver.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

BlockWorker/Pinecil_LED_Ring_HighPower
High-power LED ring attachment for the Pinecil V2.




hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI


hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

DDeGonge/OS-ARM
This arm is not industrial and it will not be fast, but that is not my goal. But it will hopefully be a very nice looking arm fully capable of 6dof motion, cheap enough to keep it accessable but capable enough to…
