
Belt
moonbeaminteractive/item-attachment
attachments for additional features including weapon features

attachments for additional features including weapon features
ItemAttachment RevA is an open-source printed circuit board by moonbeaminteractive, from the moonbeaminteractive/item-attachment repository on GitHub. It is a 2-layer board with 2 parts on 2 nets.
Its parts include 1 resistor and 1 connector.
attachments for additional features including weapon features

3d printed parts
Various Resisters (2 per Pickup)
Soldering Tabs for connections
The Pickups are basically a voltage regulator circuit made of 2 resistors. The resistors form an upside down V where the bottom two connections are the power and ground and the top (where the resistors meet) is the reduced voltage output.
The output voltages below 1.0 volts are traps which can cause harm to the player who tries to use them or somehow incacitates the player.
The output voltages between 1.0 and 2.0 volts are beneficial to the players health in that they will shield or give them faster healing abilities.
The output voltages above 2.0 volts are offensive buffs which increase a weapons ability to do damage or give it faster recharge times.
See this document for our analysis of resistor dividers: https://github.com/moonbeaminteractive/item-attachment/blob/master/references/voltageDividerCalculations.xlsx
VCC
|
< R1 >
|
+--------< R3 >------ to Analog pin on MCU
|
< R2 >
|
GND
ASCII based voltage divider circuit diagram
Since these resistor dividers are connected to VCC, they will always be draining power from VCC. We add an additional resistor, R3, to control the lowest impedance values. We want to make them as small as possible. We can go as small as 100MOhm of total impedance. If we expect to sample different analog values rapidly, then we should keep the total impedance less than 10K. However, for our resistor dividers, we expect the analog voltage value to be constant, so designing a very high impedance circuit design is the best solution. R3 could be 10K, but 100K uses even less current. Even 1MOhm or 10MOhm resistor values for R3 would work too, but resistors over 1MOhm start to become more expensive, while 10K and 100K are commonly available.
Table of resistor values
| ID | R1 | R2 | R3 | 10-bit |
|---|---|---|---|---|
| 0 | 100k | 100 | 100k | 1 |
| 4 | 82k | 15k | 100k | 158 |
| 8 | 68k | 33k | 100k | 335 |
| 12 | 47k | 47k | 100k | 512 |
| 16 | 33k | 68 | 100k | 689 |
| 20 | 15k | 82k | 100k | 866 |
| 24 | 100 | 100k | 100k | 1023 |
We used this tool: http://www.electronics2000.co.uk/calc/potential-divider-calculator.php
To compute resistor values using E12 resistor to have a total resistance of around 100K ohms. Assuming only a 5% accuracy in resistors (we use 1% accurate resistors) as worst case scenario, we are able to easily differentiate 25 distint values. We begin by using the first set
| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | CONN_01X02 | moonbeam-kicad-footprints:ConcentricRingConn_12mm | P1 |
| 1 | R | Resistors_ThroughHole:Resistor_Horizontal_RM10mm | R1 |

hzeller/rpi-rgb-led-matrix
Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO


adamws/kicad-kbplacer
KiCad plugin for automatic keyboard's key placement and routing

Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

NVNTLabs/switch2-SDEX2M2
Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2

BlueSCSI/BlueSCSI-v2
BlueSCSI v2/Ultra - an open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350

ohmtech-rdi/eurorack-blocks
Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

2 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 moonbeaminteractive/item-attachment repository on GitHub, at the commit this page was made from: the board is hardware/ItemAttachment_RevA/ItemAttachment_RevA.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask moonbeaminteractive before reusing the design.