
Pellet
Mouse-GYM/auto-trainer-hardware
Repository for hardware, firmware, and software related to the Mouse-GYM modules

Repository for hardware, firmware, and software related to the Mouse-GYM modules
Magnet is an open-source printed circuit board by Mouse-GYM, from the Mouse-GYM/auto-trainer-hardware repository on GitHub. It is a 4-layer board of 71 × 89 mm with 173 parts on 113 nets, routed with 828 tracks and 183 vias.
It is built around the STM32G474RET6, ATA6561-GAQW-N and MCP6001R-I/OT, with the NAU7802SGI, TPS561201DDCR and TPS565208DDC among its other parts. Its parts include 45 capacitors, 31 resistors, 15 ICs, 14 connectors and 4 diodes. It belongs with the STM32 boards of this library.
This repository contains hardware design files, firmware, and support software for the MouseGym project.
hardware/: Contains hardware design files for the MouseGym modules
magnet_module/ - KiCAD files for the magnet modulepellet_module/ - KiCAD files for the pellet modulejetson_breakout/ - KiCAD files for the Jetson breakout boardmanufacturing/ - Contains files that were used for manufacturing the PCBs, including schematics, gerbers, and
BOMsfirmware/: Contains firmware for the MouseGym modules. This is set up as a Zephyr West workspace.software/: Contains host tools and libraries for interacting with the modules over CAN
libjerrycan/ - A library for interacting with the JerryCAN CAN protocol. Includes Python bindings, pyjerrycanwhiskerwire/ - A diagnostic tool for observing and manipulating the state of the MouseGYM modulesjerrycan_updater - A tool for updating the firmware on the MouseGym modules over CANFor setting up the firmware build dependencies, see the more detailed instructions in the firmware/README.md file.
cmake -B build -GNinja -DCMAKE_INSTALL_PREFIX:PATH=../tmp
ninja -C build
ninja -C build installNOTE: At various points in the build process, the console output may stop showing any updates for several mintues. Please be patient, especially on the first build.
After the install step is complete, the tmp/ directory will contain the following structure:
tmp/
├── bin
│ └── jerrycan_updater
├── firmware
│ ├── magnet_module.bin
│ └── pellet_module.bin
├── include
│ ├── jerrycan_types.h
│ └── libjerrycan.h
└── lib
├── libjerrycan.a
└── pyjerrycan.cpython-310-x86_64-linux-gnu.soFor WhiskerWire setup, see software/README.md.
To update the firmware on the MouseGym modules, use the jerrycan_updater tool. This tool is built as part of the above
flow. The firmware files are located in the tmp/firmware/ directory.
In order to flash a Magnet Module with address 0x04, use the following command:
tmp/bin/jerrycan_updater -m 4 -f tmp/firmware/magnet_module.bin| Qty | Value | Footprint | References |
|---|---|---|---|
| 50 | TestPoint | TestPoint:TestPoint_Pad_1.0x1.0mm | TP1, TP2, TP10, TP11, TP12, TP13, TP14, TP15, TP16, TP17, TP18, TP19, TP20, TP21, TP22, TP23 +34 |
| 24 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C1, C2, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C21, C22, C29, C30 +8 |
| 12 | 10k | Resistor_SMD:R_0603_1608Metric | R6, R7, R8, R9, R10, R11, R13, R17, R25, R26, R27, R28 |
| 8 | 1uF | Capacitor_SMD:C_0603_1608Metric | C4, C9, C25, C26, C35, C36, C43, C45 |
| 6 | 4.7k | Resistor_SMD:R_0603_1608Metric | R19, R20, R21, R22, R23, R24 |
| 4 | 22uF | Capacitor_SMD:C_0603_1608Metric | C23, C31, C32, C33 |
| 4 | MountingHole_Pad | MountingHole:MountingHole_3.2mm_M3_Pad | H1, H2, H3, H4 |
| 3 | 10uF | Capacitor_Tantalum_SMD:CP_EIA-3216-10_Kemet-I | C37, C40, C42 |
| 3 | 10uF | Capacitor_SMD:C_0603_1608Metric | C20, C27, C28 |
| 3 | ESD122DMYR | Leaf_Diode:DMY0003A | U7, U13, U14 |
| 3 | FerriteBead | Inductor_SMD:L_0603_1608Metric | FB1, FB2, FB3 |
| 2 | 47 | Resistor_SMD:R_0603_1608Metric | R4, R5 |
| 2 | 49.9k | Resistor_SMD:R_0603_1608Metric | R29, R30 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric | R2, R3 |
| 2 | CK_PTS526_SK15_Switch | Leaf_Switch:CK_PTS526_SK15_Switch | SW2, SW3 |
| 2 | Conn_01x02_Pin | Connector_Molex:Molex_Nano-Fit_105313-xx02_1x02_P2.50mm_Horizontal | J11, J13 |
| 2 | Conn_01x03_Pin | Connector_JST:JST_XH_S3B-XH-A_1x03_P2.50mm_Horizontal | J4, J10 |
| 2 | Conn_01x04_Pin | Connector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_Horizontal | J5, J12 |
| 2 | Conn_02x02_Odd_Even | Connector_Molex:Molex_Nano-Fit_105314-xx04_2x02_P2.50mm_Horizontal | J2, J3 |
| 2 | MCP6001R | Package_TO_SOT_SMD:SOT-23-5 | U3, U10 |
| 2 | UPS840E3/TR13 | Leaf_Diode:POWERMITE3_MCH | D1, D3 |
| 1 | 0530480210 | Connector_Molex:Molex_PicoBlade_53048-0210_1x02_P1.25mm_Horizontal | J8 |
| 1 | 10nF | Capacitor_SMD:C_0603_1608Metric | C34 |
| 1 | 120 | Resistor_SMD:R_0603_1608Metric | R1 |
| 1 | 150060GS75000 | Diode_SMD:D_0603_1608Metric | D4 |
| 1 | 150060YS75000 | Diode_SMD:D_0603_1608Metric | D2 |
| 1 | 165 | Resistor_SMD:R_0603_1608Metric | R31 |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric | R18 |
| 1 | 1nF | Capacitor_SMD:C_0603_1608Metric | C24 |
| 1 | 220 | Resistor_SMD:R_0603_1608Metric | R14 |
| 1 | 3.3k | Resistor_SMD:R_0603_1608Metric | R15 |
| 1 | 3.3uH | Leaf_Inductor:L_Taiyo_Yuden_MAMK | L2 |
| 1 | 3.3uH | Inductor_SMD:L_TDK_VLS6045EX_VLS6045AF | L1 |
| 1 | 33.2k | Resistor_SMD:R_0603_1608Metric | R12 |
| 1 | 330pF | Capacitor_SMD:C_0603_1608Metric | C3 |
| 1 | 54.9k | Resistor_SMD:R_0603_1608Metric | R16 |
| 1 | ASEMB-8.000MHZ-LC-T | Leaf_Clocks:ABRACON_ASE | XTAL1 |
| 1 | ATA6561 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | Barrel_Jack | Connector_BarrelJack:BarrelJack_GCT_DCJ200-10-A_Horizontal | J20 |
| 1 | Conn_01x03_Pin | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J1 |
| 1 | IMP23ABSUTR | Leaf_Microphone:RHLGA5_3P5X2P65X0P98_STM | MIC1 |
| 1 | KC2520Z4.91520C1KX00 | Oscillator:Oscillator_SMD_Kyocera_KC2520Z-4Pin_2.5x2.0mm | U5 |
| 1 | Leaf_Logo | Leaf_Mechanical:leaf_logo_small | U2 |
| 1 | NAU7802 | Package_SO:SOP-16_3.9x9.9mm_P1.27mm | U4 |
| 1 | PCM1822IRTER | Leaf_ADC:WQFN20_RTE_TEX | U11 |
| 1 | S4B-XH-A-1(LF)(SN) | Connector_JST:JST_XH_S4B-XH-A-1_1x04_P2.50mm_Horizontal | J7 |
| 1 | STLINK-V3-MINIE | Leaf_Connectors:Tag-Connect_TC2070-IDC-NL_2x07_P1.27mm_Vertical | J9 |
| 1 | STM32G474RETx | Package_QFP:LQFP-64_10x10mm_P0.5mm | U8 |
| 1 | SW_DIP_x02 | Package_DIP:DIP-4_W8.89mm_SMDSocket_LongPads | SW1 |
| 1 | TPS561201 | Package_TO_SOT_SMD:SOT-23-6 | U9 |
| 1 | TPS565208 | Package_TO_SOT_SMD:SOT-23-6 | U12 |
| 1 | TXB0102DCU | Package_SO:VSSOP-8_2.3x2mm_P0.5mm | U6 |
| 1 | USB_C_Receptacle_USB2.0_14P | Leaf_Connectors:AMPHENOL_12402012E212A | J6 |
| 1 | W25Q16JVSSIQ | Package_SO:SOIC-8_5.23x5.23mm_P1.27mm | U15 |

Mouse-GYM/auto-trainer-hardware
Repository for hardware, firmware, and software related to the Mouse-GYM modules

Mouse-GYM/auto-trainer-hardware
Repository for hardware, firmware, and software related to the Mouse-GYM modules

Mouse-GYM/auto-trainer-hardware
Repository for hardware, firmware, and software related to the Mouse-GYM modules




RitvikPatnala/auto-guitar-tuner
Handheld auto guitar tuner: custom ESP32-S3 PCB with autocorrelation pitch detection and servo-driven peg tuning

KaliAssistant/Fox-Jack
Portable social-engineering LAN tool for automated payloads and wired audits — based on Luckfox Pico Max


OATS-SD-26/VECTAR-PSU-REV2
Revision 2 of the power supply unit (PSU) PCB for the VECTAR project.

It measures 71 × 89 mm and has 4 copper layers, 1.6 mm thick.
173 parts, built around the STM32G474RET6, ATA6561-GAQW-N, MCP6001R-I/OT and NAU7802SGI. 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 Mouse-GYM/auto-trainer-hardware repository on GitHub, at the commit this page was made from: the board is hardware/magnet_module/magnet.kicad_pcb and its schematic hardware/jetson_breakout/can.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 Mouse-GYM before reusing the design.