Skip to content

Board sensors: I2C scan and temperature/humidity - #88

Merged
RamadhanAdam merged 1 commit into
mainfrom
sensors
Oct 28, 2026
Merged

RamadhanAdam merged 1 commit into
mainfrom
sensors

Conversation

@RamadhanAdam

Copy link
Copy Markdown
Contributor

The firmware now starts the board's I2C bus (CYBSP_I2C_CONTROLLER, PDL I2C functions) and reports which chips answer: on our board S,1,i2c: 0x18 0x44 0x68 0x77. 0x44 answered with a Sensirion SHT4x serial number and measurements whose CRCs are valid, so it's read every 10 s as H,t_ms,<temperature C>,<humidity %>. It sits beside the radar and the processor, so it reads the board's temperature (36 °C in a ~25 °C room), and the docs say so. The server puts it in /api/health → board_health.climate. The other three chips aren't read yet. Checked on the board: H lines every 10 s, radar streaming normally, recovery test ALL PASSED; all PC tests pass (new climate test).

@RamadhanAdam
RamadhanAdam merged commit 4fa005b into main Oct 28, 2026
2 checks passed
@RamadhanAdam
RamadhanAdam deleted the sensors branch October 28, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant