start adding a job-compiler recipe

This commit is contained in:
Sebastian Kuzminsky 2025-09-04 21:40:38 -06:00
parent e763aa8645
commit 4cace38bc4
7 changed files with 103 additions and 0 deletions

13
recipe/battery_18650.toml Normal file
View file

@ -0,0 +1,13 @@
[outputs.battery_18650]
comments = """Any 18650 should work. We're using Samsung INR18650-35E."""
[inputs]
capital = { quantity = { amount=2.95, unit="USDollar" } }
[dependencies]
operator = {skills=["vendor interaction"]}
[action.purchase]
vendor = [
"https://www.18650batterystore.com/products/samsung-35e"
]

View file

@ -0,0 +1,13 @@
[outputs.enclosure]
comments = """2P 18650."""
[inputs]
capital = { quantity = { amount=2.00, unit="USDollar" } }
[dependencies]
operator = {skills=["vendor interaction"]}
[action.purchase]
vendor = [
"https://www.amazon.com/dp/B09ZPCX9VD"
]

13
recipe/charger.toml Normal file
View file

@ -0,0 +1,13 @@
[outputs.charger]
comments = """BQ25185 chipset, charges at up to 1 A, with cell under voltage protection."""
[inputs]
capital = { quantity = { amount=6.95, unit="USDollar" } }
[dependencies]
operator = {skills=["vendor interaction"]}
[action.purchase]
vendor = [
"https://www.adafruit.com/product/6091"
]

13
recipe/enclosure.toml Normal file
View file

@ -0,0 +1,13 @@
[outputs.enclosure]
comments = """150 mm x 150 mm x 89 mm. Weather proof."""
[inputs]
capital = { quantity = { amount=8.99, unit="USDollar" } }
[dependencies]
operator = {skills=["vendor interaction"]}
[action.purchase]
vendor = [
"https://www.amazon.com/dp/B0DZ6WBS7V?ref=cm_sw_r_cso_cp_apan_dp_J8ZPZR1XKQQ8C547127H"
]

View file

@ -0,0 +1,13 @@
[inputs]
wisblock_starter_kit_rak19007_rak4631 = {}
battery_18650 = { quantity = { amount=6 } }
battery_holder = { quantity = { amount=3 } }
solar_panel = {}
charger = {}
enclosure = {}
[dependencies]
operator = { skills=["assembly"] }
[action]
process = """Put it all together..."""

13
recipe/solar_panel.toml Normal file
View file

@ -0,0 +1,13 @@
[outputs.solar_panel]
comments = """Any panel around 5V, 6W sould work."""
[inputs]
capital = { quantity = { amount=12.99, unit="USDollar" } }
[dependencies]
operator = {skills=["vendor interaction"]}
[action.purchase]
vendor = [
"https://www.amazon.com/Soshine-Mini-Solar-Panel-Monocrystalline/dp/B099RSLNZ4"
]

View file

@ -0,0 +1,25 @@
[outputs.wisblock_starter_kit_rak19007_rak4631]
comments = """
This kit includes:
* RAK 19007 Base Board: <https://docs.rakwireless.com/product-categories/wisblock/rak19007/quickstart/>
* RAK 4631 Core: <https://docs.rakwireless.com/product-categories/wisblock/rak4631/quickstart/>
* MCU: Nordic nRF52840 (low power consumption)
* Radio: SX1262 (this radio is recommended by meshtastic)
Supports LoRa and BLE.
Max power consumption: 130 mA (@3.7 V assumed) = 481 mW
* 92 mA from the 4631 at full TX
* 38 mA from connected sensor boards
"""
[inputs]
capital={quantity={amount=24.99, unit="USDollar"}}
[dependencies]
operator = {skills=["vendor interaction"]}
[action.purchase]
vendor = [
"https://store.rakwireless.com/collections/kits-bundles/products/wisblock-starter-kit?variant=41786685063366"
]