-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |