Commit graph

425 commits

Author SHA1 Message Date
rbaron
6c618d946c Fixes workflow matrix variables and debug 2023-03-19 16:37:33 +01:00
rbaron
ead6fd434d Refactor github actions into parallel jobs 2023-03-19 16:26:12 +01:00
rbaron
bf9f4e1b5b Get GitHub to build some samples for 2.0.0 2023-03-19 15:26:58 +01:00
rbaron
a6995d1ce8 Update date on pcbnew 2023-03-19 15:06:39 +01:00
rbaron
c7128ef163 Generate fabrication files 2023-03-19 15:06:39 +01:00
rbaron
5eef25f86b Updates SW1 location and pin
Previous, SW1 was too close to RST, making it difficult to press one
without pressing another. After changing its position, it was more
convenient to route SW1 to pin 10 on U1 - That's P0.30/AIN6 both on
nRF52840 (C) and nRF52833 (E) modules.
2023-03-19 15:06:39 +01:00
rbaron
19e0354113 Fixes Q1 in PCB layout. I think 2023-03-19 15:06:39 +01:00
rbaron
5cc40a41f6 Set calibration coefficients for 2.0.0 2023-03-19 15:06:39 +01:00
rbaron
7f652ce75d BIG YIKES - Fix wrong symbol/footprint for MMBT3906 (Q1)
I previously used a basic 2N3906 and then changed its footprint to
SOT-23. This led to the wrong pin assignment.
This commit fixes it by using the correct symbol and footprint for it.

Note that the PCB layout still needs fixing.
2023-03-19 15:06:39 +01:00
rbaron
b34bc60a0a Actually use the devicetree calibration coeffs 2023-03-19 15:06:39 +01:00
rbaron
2f7a25e266 Add devicetree calibration coeffs to nrf52833 board 2023-03-19 15:06:39 +01:00
rbaron
e24530b7c3 Fix devicetree-coeffs bug 2023-03-19 15:06:39 +01:00
rbaron
1983f31af9 Store calibration polynomial in devicetree
This will enable us to transparently use different calibration for
different board revisions. The 2.0.0 revision changes the sensing
circuitry and will need its own coeffs.

In this commit, both models are run in parallel for debugging.
2023-03-19 15:06:39 +01:00
rbaron
dbf288138e Add 2.0.0 board revision & CONFIG_BOARD_REVISION Kconfig 2023-03-19 15:06:39 +01:00
rbaron
53f806a8e5 Fix stale silkscreen 1.2.0 -> 2.0.0 2023-03-19 15:06:39 +01:00
rbaron
cfc5491849 Plotted gerbers 2023-03-19 15:06:39 +01:00
rbaron
8dceb6c7cc Plot PDF & generate BOM 2023-03-19 15:06:39 +01:00
rbaron
a79c1579f3 Fix drawing 2023-03-19 15:06:39 +01:00
rbaron
e71eaf9823 Routed 0.10 to a new test pad 2023-03-19 15:06:39 +01:00
rbaron
df6e327947 Slightly better routing 2023-03-19 15:06:39 +01:00
rbaron
b3ae950ee0 Adds sketch of RC circuit in silkscreen 2023-03-19 15:06:39 +01:00
rbaron
1a2dcbb70b Initial routing complete 2023-03-19 15:06:39 +01:00
rbaron
03a281fada New PWM testpoint and added LCSC part # for the E73 module 2023-03-19 15:06:39 +01:00
rbaron
123149d3d2 Some initial hardware changes for the 2.0.0 revision
- Simplified the fast discharge circuit to use a single PNP BJT instead
of two NPN BJTs
- Swapped nRF52 module's footprint for one with larger pads
- Added a user button tied to P0.12 (same as Button 2 from [nrf52840_dk](https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf52840_dk%2FUG%2Fdk%2Fhw_buttons_leds.html))
- Added a reset switch

These are only schematic changes - PCB layout is stale and needs to be
recreated.
2023-03-19 15:06:39 +01:00
rbaron
d5a548a110
Merge pull request #110 from lonewolf896/main
Modified the high airflow case
2023-03-11 07:28:47 +01:00
Garrett Elkins
1ffc876ad0
Add files via upload 2023-03-10 21:17:13 -08:00
Garrett Elkins
34ddee5ea3
Delete b-parasite-high-airflow.stl 2023-03-10 21:17:00 -08:00
Garrett Elkins
3959abbf03
Delete b_parasite_case_high_airflow.stl 2023-03-10 21:16:52 -08:00
Garrett Elkins
2bff7d8741
Delete b-parasite-high-airflow.3mf 2023-03-10 21:16:18 -08:00
Garrett Elkins
abe8845c4b
Delete b_parasite_case_high_airflow.3mf 2023-03-10 21:16:04 -08:00
Garrett Elkins
40a8676e59
updated high airflow model
modified the high airflow model to increase the print reliability
2023-03-10 21:15:26 -08:00
rbaron
5e315ba9cd [ble] Update connection interval docs & power profile
Closes #98
2023-02-12 16:13:55 +01:00
rbaron
7be5fe1669 [ble] Bumps default advertising interval to [30, 40] ms
This makes the BLE sample use the same parameters as the legacy
firmware, and immproves the range.
2023-02-12 16:02:51 +01:00
rbaron
d292190d31
Merge pull request #103 from MJDSys/fix_battery_information 2023-02-02 08:14:47 +01:00
Matthew Dawson
d3bcc13749
Fix battery quantity/size reporting
The API for reporting information requires a pointer to the data value,
and cannot deal with a constant directly.  The current quantity/size
returned by the device are random values from memory.

Instead move these values into the prst_batt_attrs_t struct and
set their values in prst_zb_attrs_init.
2023-02-02 00:43:13 -05:00
rbaron
4b277bd62f
Merge pull request #12 from kitspace-forks/main 2023-01-31 07:54:05 +01:00
Kaspar Emanuel
ee708db400 Add gerbers field to kitspace.yaml 2023-01-30 22:42:11 +00:00
Kaspar Emanuel
05e25d166a Add kitspace.yaml 2023-01-30 22:42:03 +00:00
rbaron
997bfb7518
Merge pull request #102 from rbaron/ble-adv-int
Make advertisement intervals configurable
2023-01-28 11:52:00 +01:00
rbaron
28db7224a6 Make advertisement intervals configurable
We were previously relying on the default values (100ms, 150ms). This
PR makes it easier to test and configure parameters for different
tradeoffs between range / power consumption (#98).
2023-01-28 11:44:17 +01:00
rbaron
41ba531fba
Merge pull request #101 from MJDSys/zigbee_2.2_sdk 2023-01-23 11:12:55 +01:00
Matthew Dawson
424b471eb8
Update containers to use SDK 2.2.0
The zigbee sample no longer compiles with SDK 2.1, so update the used
docker image to 2.2.0.
2023-01-22 19:03:34 -05:00
Matthew Dawson
af47848b80
Update Zigbee example to work with SDK 2.2.0
The new SDK requires 802.15.4 to be enabled in the board DTS file.

Also disable IPv6 explicitly to avoid compile errors related to its
network stack, since it is not used currently.

Closes #94
2023-01-22 02:51:24 -05:00
rbaron
119055b97a
Merge pull request #95 from derrohrbach/issue/missing-counter
Fix: Counter was missing
2023-01-14 11:31:59 +01:00
Marvin Rohrbach
ee38d4561a Fix: Counter was missing 2023-01-12 08:12:18 +00:00
rbaron
1fbd971c4f
Merge pull request #91 from rbaron/zigbee-double-reset
[zb] Implement a double-reset factory resetting method
2022-12-27 19:35:36 +01:00
rbaron
5d25499ae1 [zb] Implement double-reset factory resetting method 2022-12-27 19:22:01 +01:00
rbaron
8105bfcd7b Ensures sensor-reading callback is always rescheduled 2022-12-26 11:06:26 +01:00
rbaron
98433502af Default PRST_ZB_SLEEP_DURATION_SEC to 60s 2022-12-24 18:37:00 +01:00
rbaron
14399dffb4 Fix artifact uploading in GitHub build-and-upload action 2022-12-24 17:22:15 +01:00