Skip to content

Commit

Permalink
Add docs, pictures and firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
hexaedron committed Aug 20, 2024
1 parent ffcdbe0 commit 852f353
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 0 deletions.
Binary file added Firmware/firmware.bin
Binary file not shown.
Binary file modified PCB/BOM_PressureTempMon_2024-08-19.csv
Binary file not shown.
Binary file added Pictures/back.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pictures/pic1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pictures/pic2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pictures/pic3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# home_bme280

A small 3-in-one thermometer, barometer and gigrometer for indoor use.
Built with ch32v003 MCU, BME280 sensor and vk16k33 i2c 14-segment display modules.

## Usage
When powered on, the device starts cycling through 3 screens: Temperature in Celsius, Humidity and air pressure in mm Hg.
* To set the brightness, rotate the encoder.
* To set the screen change interval, press and hold the encoder for 2+ seconds, set the desired interval and then click it again.
* To force the immediate screen change, click the encoder.

## Assembly
Assembly is pretty straightforward. You should just note that PCB is a little bit redundant. A first my idea was to add an LDR resistor, but i've abandoned that idea later. So you can omit R_LDR and J_LDR. The firmware doesn't use them.
I've also made some extra pins availiable as J_EXT. Feel free to use them to extend functionality if you want.

## Build
You will need [ch32v00fun](https://github.com/cnlohr/ch32v003fun/) and [funny_libs](https://github.com/hexaedron/funny_libs) to build it. I prefer using official WCH toolchain. If you prefer using vanilla risc-v GCC, then remove `#define WCH_FAST_INTERRUPT_ENABLED` from `funny_defs.h`.

![photo](/Pictures/pic1.jpg)
![photo](/Pictures/pic2.jpg)
![photo](/Pictures/pic3.jpg)
![photo](/Pictures/back.jpg)

0 comments on commit 852f353

Please sign in to comment.