

Light module
Donts: - Do not push directly onto main, make a branch, make a pr, squash and merge. - Do not let branches sit for too long, if they arent merged within a week or two, discard it and move on.
- Size
- 25.4 × 53.3 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 8
- Nets
- 6
- Pads
- 14
- Tracks, vias
- 14, 0
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 27 Sep 2023
- Updated
- 7 Jun 2024
Overview
Light module is an open-source printed circuit board by Slugbotics, from the Slugbotics/MATE repository on GitHub. It is a 2-layer board of 25.4 × 53.3 mm with 8 parts on 6 nets, routed with 14 tracks and 0 vias.
It is built around the MP-5050-250R-40-70.
Main components
1README
README.mdMATE
Git Standards
When making changes to the codebase, use feature branches. Tutorial can be found here https://medium.com/@stephencweiss/a-beginners-guide-to-feature-branch-workflows-with-git-7ae442df8e11
Donts:
- Do not push directly onto main, make a branch, make a pr, squash and merge.
- Do not let branches sit for too long, if they arent merged within a week or two, discard it and move on.
- Do not make changes to the build system without adding them to this README
- Do not add dependencies without adding them to requirements.txt
Dos:
- Use feature branches, make pull requests, squash and merge
- Keep branches to one feature at most
- Name the branch a one to two word description of the feature
- Use interactive rebase as the default merge strategy
- Format your code using clang-format (c++) or black (python)
- Commit messages should always be descriptive and with the following format:
- "<Imperative Verb> <description of change>"
Python Standards:
- Use type declarations / hints for all functions
- write docstrings for non-obvious functions / methods
- always write docstrings for classes
- keep commenting minimal, if you code is not obvious, it is probably too complicated
- keep nesting minimal, if you can nest less, you probably should
Installation
- Install virtualenv https://virtualenv.pypa.io/en/latest/installation.html
virtualenv envto create the virtual environment- Run
source env/bin/activateto start the virtual environment - Run
pip install -r requirements.txtto install project dependencies - Run
deactivatewhen you are done
Cameras
In order for the driver station GUI to properly access rover cameras:
- create a file in the root project directory called "cams.txt"
- find the device numbers of the cameras you want to use
- place the numbers in order separated by newline in "cams.txt"
- example, say you wish to use cameras 6, 5, 8, 10
- You would place "6\n5\n8\n10" into cams.txt
Parts
8| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | MP-5050-250R-40-70 | MP-5050-250R-40-70:LED_MP-5050-250R-40-70 | D1, D2, D3, D4, D5, D6 |
| 1 | GND | MountingHole:MountingHole_2.2mm_M2_DIN965_Pad | GND |
| 1 | VCC | MountingHole:MountingHole_2.2mm_M2_DIN965_Pad | VCC |
Questions
How big is the Light module PCB?
It measures 25.4 × 53.3 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Light module use?
8 parts, built around the MP-5050-250R-40-70. 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.
Where can I download the Light module KiCad files?
From the Slugbotics/MATE repository on GitHub, at the commit this page was made from: the board is lights/V1/light_module/light_module.kicad_pcb and its schematic lights/V1/light_module/light_module.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Light module design in my own project?
Its repository states no licence, so its author keeps all rights: ask Slugbotics before reusing the design.
Similar boards
- 2 layers20.5 × 24.8 mm

- 2 layers14.4 × 10.5 mm

OSO SWAB B1-00 Sensor Watch Accelerometer
joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch
8 parts2.1k - 2 layers7.9 × 39.1 mm

Brain board STM32F407 SD wing it
rusefi/rusefi
rusefi - GPL internal combustion engine control unit
8 parts1.2k - 2 layers59.9 × 25.7 mm

Buffer
hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
8 parts1kGPL-3.0 - 2 layers52 × 12.6 mm

USB
shanteacontrols/OpenDeck
A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.
8 parts960Apache-2.0 - 2 layers87.5 × 48.5 mm

7 input macropad
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
8 parts915 - 2 layers36.2 × 63.1 mm

PicoMemcard pico
dangiu/PicoMemcard
Emulating PSX Memory Card (or controller) using a Raspberry Pi Pico
8 parts694GPL-3.0 - 2 layers36 × 10 mm

PCB4-PWR BTN Rev.A
OLIMEX/DIY-LAPTOP
Do It Yourself Open Source Hardware and Software Modular Hacker's Friendly Laptop
8 parts578Apache-2.0