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

Badge for Labortage 2021
Lni badge is an open-source printed circuit board by das-labor, from the das-labor/badge-2021 repository on GitHub, published under the CC0-1.0 licence. It is a 2-layer board of 94 × 129.5 mm with 71 parts on 101 nets, routed with 324 tracks and 15 vias.
Its parts include 21 resistors, 11 connectors, 9 capacitors, 2 ICs and 2 diodes. It belongs with the lEDs and displays boards of this library.

The idea for this year's Labor badge is based on the Swag Badge from the Open Hardware Miniconf at linux.conf.au 2021.
![]()
They also released a DIY version named Dag Badge as well as the Swag Badge schematics.
You can do fun things with this badge. We made a basic kit as we sell it, with optional extras.
This is in part for educational purposes, so people can try different things, e.g., discover that I2C needs different addresses or separate buses vs SPI being controlled via active low select pins. The top area has holes for prototyping, not connected to anything.
This is our own PCB design. We will offer a basic kit with the PCB itself, the ESP32 D1 Mini board, 2 OLED displays, and 2 push buttons, to keep it simple and inexpensive. Anyone can purchase the additional parts if they like and we may have some left over from testing, and of course, feel free to fork and rework the PCB as you like, print it yourself, file PRs, or just leave some feedback.
Size (rounded): 94mm x 130mm

See the schematics for details.
The data sheet and documentation for the ESP32-WROOM-32 is publicly available.
It includes schematics and application notes.
https://www.az-delivery.de/products/esp32-d1-mini

The ESP32 has VDET pins which can be used for ADC.
NOTE: At Labortage 2021, we sold badges with the MH-ET LIVE MiniKit, because it was a cheap option and easily available, unlike the otherwise preferred board "ESP32 D1 Mini NodeMCU". It has some quirks, but is generally fine to use.
We have bridged button B (right) to GPIO0, so you can press it for flashing or otherwise triggering the "boot option" as described in the WROOM-32 datasheet.
Use the Makefile to clear the SPI flash and write an image to it:
make FW=firmware-image.bin erase flashYou can pass down parameters. For further options, please look at Makefile.
NOTE: One common board is the MH-ET LIVE ESP32 MiniKit. In order to flash it,
you need to short GPIO0 to GND and use the assigned /dev/ttyACM{n} device.
We have started to write our own bare firmware in Rust. :crab:
It is non-std and based on esp-rs.
It's in beta and we were having trouble getting MQTT and WiFi to work reliably.
Use ampy to upload scripts. On
many OS distributions, you can find a package for it.
The ESP32 variant is also still in beta on NodeMCU, though may do better than MicroPython. We haven't tested it too much yet, but it does boot up thus far and MQTT worked okay.
Use nodemcu-tool to upload
scripts. If you are using Arch Linux, you can use the package from the AUR. Otherwise,
use the PKGBUILD as a reference for building it; mind that you may need to
rebuild the native modules.
Follow the build instructions for full customization or use a prebuilt image from the cloud build service.
Try out a small libstyx implementation suitable for use on ESP32.
See also the more recent NinePea.
TODO: See if you can wire it up with cpu to enable speedier driver development,
e.g., using a related ESP32 board with an ethernet port, or attach
one to the badge even.
There are many suitable and colorful 6x6 buttons, tall and high, though not as nice to press. We went with the larger 12x12 retro arcade style tactile push buttons instead.
We have routed the buttons to the pins IO0 and IO2.
Note: On the back, we need to solder a bridge on one display in order to change its address, so we can use both on the same bus.
The module is based on the SSD1306. See also the data sheet and
.
https://www.az-delivery.de/en/products/0-96zolldisplay


PS2 joysticks and corresponding caps are available from Amazon and probably other sources as well.
The Freetronics Kicad library has a model for it.
They have two potentiometers for the two dimensions each, so we assign GPIO pins to them:
| function | left | right |
|---|---|---|
| X axis | IO33 | IO32 |
| Y axis | IO34 | IO35 |
| button | IO5 | IO12 |
https://www.mischianti.org/2020/05/30/esp32-pinout-specs-and-arduino-ide-configuration-part-1/
MicroPython SSD1306 OLED Display Scroll and Shapes
| Qty | Value | Footprint | References |
|---|---|---|---|
| 16 | MountingHole | MountingHole:MountingHole_2.1mm | H5, H6, H7, H8, H9, H10, H11, H12, H15, H16, H17, H18, H19, H20, H21, H22 |
| 14 | 27 | Resistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolder | R6, R7, R8, R9, R10, R11, R12, R13, R15, R16, R17, R18, R19, R20 |
| 8 | 100n | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C1, C3, C4, C5, C6, C7, C8, C9 |
| 7 | 100 | Resistor_SMD:R_1210_3225Metric_Pad1.30x2.65mm_HandSolder | R1, R2, R3, R4, R5, R14, R21 |
| 4 | Conn_02x10_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_Vertical | J4, J9, J10, J11 |
| 4 | MountingHole | MountingHole:MountingHole_5.3mm_M5_DIN965_Pad | H1, H2, H3, H4 |
| 2 | Conn_01x08 | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J2, J6 |
| 2 | Conn_02x04_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical | J7, J8 |
| 2 | JOYSTICK_W_BUTTON | hw:JOYSTICK_W_BUTTON | U1, U2 |
| 2 | LED | LED_THT:LED_D5.0mm | D1, D2 |
| 2 | MountingHole_Pad | MountingHole:MountingHole_2.5mm_Pad_TopBottom | H13, H14 |
| 2 | SW_Push | Button_Switch_THT:SW_PUSH-12mm | SW1, SW2 |
| 2 | TestPoint | TestPoint:TestPoint_Pad_D1.0mm | TP1, TP2 |
| 1 | 4.7uF | Capacitor_SMD:C_1210_3225Metric_Pad1.33x2.70mm_HandSolder | C2 |
| 1 | I2C OLED 1 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J3 |
| 1 | I2C OLED 2 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J5 |
| 1 | PROG | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J1 |
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!


hydrabus/hydrabus
HydraBus open source multi-tool for anyone interested in learning/developping/debugging/hacking/Penetration Testing for basic or advanced embedded hardware

beekeeb/Allium58
The Allium58 is created based on the Lily58 Pro, designed to enhance wireless capabilities and provide compatibility with GLP (Gateron Low Profile) hotswap sockets.



siderakb/ergo-snm-keyboard
ErgoSNM is a split ergonomic keyboard integrated with trackball, wireless is in beta

cnlohr/cnhardware
My dumping grounds for all my kicad projects and random hardware bringup.
It measures 94 × 129.5 mm and has 2 copper layers, 1.6 mm thick.
71 parts. 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 das-labor/badge-2021 repository on GitHub, at the commit this page was made from: the board is hw/lni-badge.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the CC0-1.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).