OpenFIRE Public Release (Candidate) 5 - Heartful!
Misc Fixes
Turns out the way the files were being compiled, some boards weren't applying certain default pins properly as it assumed the firmware wasn't compiled to support them! Oops. So this mainly fixes RGB and TMP pins not being mapped by default on Picos.
- It's possible that having TMP enabled without a real sensor installed could cause some wacky readings to happen, but in the short time I've tested, the values being read with a vacant analog pin are relatively safe - it'll just read as being <5 deg C for the most part with no underflow.
Also, thanks to @lemmingDev , there's a (very basic) Rumble-based autofire solution for users with Rumble-based Force Feedback enabled in tandem with it! Though the feel of rumble-based sustained fire should be improved in the future, at least the setting will be somewhat consistent between it and normal Solenoid functionality.
EDIT: July 8th 2024 @ 5:39 PM, the adafruitItsy
board file was fixed for Samco 1.1 users, so the camera should be powered properly.
Installation
Download the firmware file that corresponds to your microcontroller - if it's not listed, you may have luck with the generic
image, but you'll have to map your controls manually.
For first-time installation, plug in your RP2040 board while holding the BOOTSEL button to enter bootloader mode (this also happens if your boards has no code loaded on it yet) - it will appear as a removable drive named RPI-RP2
. Now simply drag'n'drop your chosen .UF2 file to the drive, let it copy, and it will automatically unmount and reboot into OpenFIRE! You can now setup the gun as you please from the OpenFIRE App.
For any future firmware updates, you can simply connect ("dock") the gun to the OF App, and click the Reboot to Bootloader
option in the Gun Tests tab.
Board files are as follows:
adafruitItsy
: Adafruit ItsyBitsy RP2040 - Samco Carrier Boards Layout (2.0 [default] or 1.1 [set preset in app])adafruitKB2040
: Adafruit "Keeboar" KB2040 - Other Carrier Boards LayoutarduinoNano
: Arduino Nano RP2040 Connectrpipico
: Raspberry Pi Pico (non-W) and clones thereofrpipicow-btBETA
: Raspberry Pi Pico W, Bluetooth-enabled (BETA)rpipicow-noBT
: Raspberry Pi Pico W, USB-onlyvccgndYD
: VCC-GND YD RP2040 (aka: the Chinese Pico clone with embedded NeoPixel)waveshareZero
: Waveshare RP2040 Zerogeneric
: Generic RP2040, may or may not work if your board isn't listed above.