
MainCollar
plyalex/OpenFence
OpenFence is an open source GPS based digital livestock fencing system and web interface, aiming to reduce barriers of using cell grazing.

The Pico Chiptune Player is an open-hardware music player powered by the Raspberry Pi Pico 2 (RP2350) microcontroller driving two authentic Yamaha YM2149F Programmable Sound Generators (PSGs), register-compatible with…
Pico chiptune player is an open-source printed circuit board by terenceang, from the terenceang/pico-chiptune-player repository on GitHub. It is a 4-layer board of 118 × 92 mm with 52 parts on 90 nets, routed with 375 tracks and 43 vias.
It is built around the PAM8403. Its parts include 16 capacitors, 12 resistors, 4 ICs, 3 connectors and 3 switches. It belongs with the RP2040 boards of this library.
Version: 0.6 (Dual-PSG Stereo Variant — 2× YM2149F, 6 voices)
Author: Terence Ang terenceang@mac.com
Company: MotionFxDesign
License: CC BY-NC-SA 4.0 (Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International) — NOT FOR COMMERCIAL USE
The Pico Chiptune Player is an open-hardware music player powered by the Raspberry Pi Pico 2 (RP2350) microcontroller driving two authentic Yamaha YM2149F Programmable Sound Generators (PSGs), register-compatible with the General Instrument AY-3-8910. Each PSG provides 3 voices, giving 6 independent voices total, split into stereo (one PSG per channel).
It enables standalone playback of classic AY-3-8910 / YM2149 chiptune music formats (e.g., .ym, .vgm, .psg, .pt3) loaded directly from an onboard microSD card, with song and playback metadata displayed on an I2C OLED display.
J2), driven by the Pico SDK / pico-extras PIO-based pico_sd_card driver; card presence detected in software (R1 10kΩ pull-up on DAT3)R4,R5,R7,R8 for the left/U1 PSG; R9,R10,R11,R12 for the right/U4 PSG), each with a low-pass filter cap (C4, C9 = 100nF) and AC coupling cap (C3, C10 = 1µF X7R MLCC)U3, SOIC-16) with hardware mute/shutdown on SD_Amp (GPIO9). A 10kΩ R13 pull-down keeps it muted at boot; drive GPIO9 HIGH to playJ3 (left) / J4 (right) with bridge-tied outputs for 4–8Ω speakersU2)J2)SW1 Play/Pause, SW2 Next Track, SW3 Previous Track)JP1 for the YM2149F ÷2 internal clock divider (/SEL, pin 26), shared by both PSGs| GPIO | Pico Pin | Net / Signal | Connected Subsystem |
|---|---|---|---|
GPIO0..GPIO7 | Pins 1, 2, 4..7, 9, 10 | DA0..DA7 | YM2149F 8-Bit Data Bus, shared by U1/U4 (Pins 37..30) |
GPIO8 | Pin 11 | BC1 | PSG1 (U1) Bus Control 1 (Pin 29) |
GPIO9 | Pin 12 | SD_Amp | PAM8403 Audio Amp Enable / Mute (U3 Pins 5 ~MUTE & 12 ~SHDN, R13 pull-down) |
GPIO10 | Pin 14 | BDIR | PSG1 (U1) Bus Direction Control (Pin 27) |
GPIO11 | Pin 15 | ~RESET | YM2149F Active-Low Reset, shared by U1/U4 (Pin 23) + 10kΩ R3 Pull-down |
GPIO12 | Pin 16 | CLOCK | YM2149F Master Clock Input, shared by U1/U4 (Pin 22 via 33Ω series R2) |
GPIO13 | Pin 17 | SW_NEXT | Next Track Button (SW2) |
GPIO14 | Pin 19 | SW_PLAY | Play / Pause Button (SW1) |
GPIO15 | Pin 20 | SW_PREV | Previous Track Button (SW3) |
GPIO16 | Pin 21 | OLED_SDA | 0.96" OLED I2C SDA (U2 Pin 4) |
GPIO17 | Pin 22 | OLED_SCL | 0.96" OLED I2C SCL (U2 Pin 3) |
GPIO18 | Pin 24 | SD_DAT0 | MicroSD SDIO Data 0 (J2 Pin 7) |
GPIO19 | Pin 25 | SD_DAT1 | MicroSD SDIO Data 1 (J2 Pin 8) |
GPIO20 | Pin 26 | SD_DAT2 | MicroSD SDIO Data 2 (J2 Pin 1) |
GPIO21 | Pin 27 | SD_DAT3 | MicroSD SDIO Data 3 (J2 Pin 2 + 10kΩ R1 Pull-up) |
GPIO22 | Pin 29 | SD_CLK | MicroSD SDIO Clock (J2 Pin 5) |
GPIO26 | Pin 31 | BDIR2 | PSG2 (U4) Bus Direction Control (Pin 27) |
GPIO27 | Pin 32 | BC1_2 | PSG2 (U4) Bus Control 1 (Pin 29) |
GPIO28 | Pin 34 | SD_CMD | MicroSD SDIO Command (J2 Pin 3) |
Dual-PSG addressing (Rev 0.6): The YM2149F's
A8/A9lines are fixed the same on both chips, so they cannot be told apart by address; the 8-bit data bus (DA0..DA7),CLOCK,~RESETandBC2are shared betweenU1andU4, whileBDIR/BC1are driven separately per PSG (GPIO10/GPIO8for U1,GPIO26/GPIO27for U4). Driving one PSG'sBDIR/BC1to the inactive state (both low) puts its bus in High-Z, so the Pico can address either PSG by selecting the appropriate control pair.
PSG fit (Rev 0.6): Both sockets (
U1,U4) are specified as Yamaha YM2149F.JP1drives the/SELpin of both chips, so with two YM2149F fitted it halves (bridged) or keeps (open) the clock on both channels together. A pair of AY-3-8910s is a drop-in alternative only withJP1left open; on an AY-3-8910, pin 26 is a test pin and the clock is never divided. Do not mix AY-3-8910 and YM2149F withJP1bridged: the two channels would play an octave apart.
Rev 0.5 native-function correction: Rev 0.5 re-assigns the OLED I²C and microSD SPI to the RP2350's native I2C0/SPI0 pins (
OLED_SDA→GPIO16,OLED_SCL→GPIO17;SD_SCK→GPIO18,SD_MISO→GPIO20,SD_CS→GPIO21;SD_MOSIstaysGPIO19) so the on-chip peripherals drive them directly. No additional pins are used. The manufactured Rev 0.4 board swapped/mis-mapped these signals and requires PIO or bit-banged I²C/SPI in firmware. Details in HARDWARE.md §3.6.
Rev 0.6 microSD SDIO: The microSD interface is 4-bit SDIO (not SPI), driven by RP2350 PIO via the Pico SDK / pico-extras
pico_sd_carddriver (SD_DAT0..DAT3=GPIO18..GPIO21,SD_CLK=GPIO22,SD_CMD=GPIO28). The dedicated card-detect switch is unused; card presence is detected in software. Because RP2350 has no hardware SDIO controller, firmware must use the PIOpico_sd_carddriver and enable the internal pull-ups onCMD/DAT0–DAT3(onlyDAT3carries an external 10kΩ pull-up).
For the complete hardware design details, circuit topology, and full Bill of Materials with LCSC part numbers, refer to HARDWARE.md.
Copyright (c) 2026 Terence Ang terenceang@mac.com / MotionFxDesign.
This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).
NOT FOR COMMERCIAL USE
This design, including schematics, PCB layouts, Gerber files, firmware, and documentation, is free for personal, hobby, educational, and non-commercial use.
Commercial manufacture, distribution, sale, or bundling for profit is strictly prohibited without prior written authorization from Terence Ang (terenceang@mac.com).
See the LICENSE file for the complete license terms.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | LOGO | LOGO | G***, G***, G***, G***, G***, G***, G***, G*** |
| 7 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4, R5, R7, R9, R10, R11, R12 |
| 6 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C2, C4, C5, C7, C9, C12 |
| 6 | 1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C3, C8, C10, C13, C14, C16 |
| 4 | 10uF | Capacitor_SMD:CP_Elec_4x5.4 | C1, C6, C11, C15 |
| 4 | MountingHole_3mm | MountingHole_3mm | H1, H2, H3, H4 |
| 3 | 10K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R3, R13 |
| 2 | YM2149F | Package_DIP:DIP-40_W15.24mm | U1, U4 |
| 1 | 0.96"OLED_I2C | TModules:OLED 0.96 I2C | U2 |
| 1 | 1K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R8 |
| 1 | 33 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2 |
| 1 | Clk Div | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP1 |
| 1 | MicroSD | Terence:MicroSD | J2 |
| 1 | Next | Button_Switch_THT:SW_PUSH_6mm | SW2 |
| 1 | PAM8403 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U3 |
| 1 | Play / Pause | Button_Switch_THT:SW_PUSH_6mm | SW1 |
| 1 | Previous | Button_Switch_THT:SW_PUSH_6mm | SW3 |
| 1 | RaspberryPi_Pico 2 | TMCu Module:RPi_Pico_SMD_TH | A1 |
| 1 | Speaker_L | Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical | J3 |
| 1 | Speaker_R | Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical | J4 |

plyalex/OpenFence
OpenFence is an open source GPS based digital livestock fencing system and web interface, aiming to reduce barriers of using cell grazing.

DAlexis/caustic-lasertag-system
Caustic project is a full-featured indoor and outdoor lasertag system

TeknoTrek/Arduino-Nano-FM-Radio-Si4703
Part of the Teknotrek YouTube channel, this repository includes KiCad files for an FM Radio project using Arduino Nano, Si4703, and other components.



aluisioalves123/rf-intercom
Interfone de apertar para falar, sem fio: as duas unidades conversam por rádio (nRF24L01+ com antena) e só precisam de uma tomada.

anadskman/Mini-Record-Player-Clock
A compact desktop Bluetooth speaker and clock inspired by a vintage record player. The aim of this project is to combine a functional Bluetooth speaker and Wi-Fi clock into a clean, fully 3D printed desktop display.

It measures 118 × 92 mm and has 4 copper layers, 1.6 mm thick.
52 parts, built around the PAM8403. 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 terenceang/pico-chiptune-player repository on GitHub, at the commit this page was made from: the board is pico chiptune player.kicad_pcb and its schematic pico chiptune player.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 terenceang before reusing the design.