diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6913ad8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +venv +.esphome diff --git a/arducam-esphome/.gitignore b/arducam-esphome/.gitignore new file mode 100644 index 0000000..d8b4157 --- /dev/null +++ b/arducam-esphome/.gitignore @@ -0,0 +1,5 @@ +# Gitignore settings for ESPHome +# This is an example and may include too much for your use-case. +# You can modify this file to suit your needs. +/.esphome/ +/secrets.yaml diff --git a/arducam-esphome/arducam.yaml b/arducam-esphome/arducam.yaml new file mode 100644 index 0000000..84d9985 --- /dev/null +++ b/arducam-esphome/arducam.yaml @@ -0,0 +1,43 @@ +esphome: + name: arducam + +esp32: + board: esp32dev + framework: + type: arduino + +wifi: + ssid: "Lothlorien" + password: "LitwoOjczyznoMojaTysJestJakZdrowie" + ap: + ssid: "Arducam Fallback" + password: "niepotrzebujetegochyba" + +captive_portal: + +logger: + +api: + +ota: + +esp32_camera: + name: Arducam Camera + external_clock: + pin: GPIO0 + frequency: 20MHz + i2c_pins: + sda: GPIO26 + scl: GPIO27 + data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35] + vsync_pin: GPIO25 + href_pin: GPIO23 + pixel_clock_pin: GPIO22 + power_down_pin: GPIO32 + resolution: 640x480 + jpeg_quality: 10 + max_framerate: 10 fps + idle_framerate: 0.1 fps + +status_led: + pin: GPIO33 diff --git a/arducam-esphome/esphome.yaml b/arducam-esphome/esphome.yaml new file mode 100644 index 0000000..909e8e2 --- /dev/null +++ b/arducam-esphome/esphome.yaml @@ -0,0 +1,59 @@ +esphome: + name: arducam-esp32s + friendly_name: arducam esp32s + +esp32: + board: esp32dev + framework: +# type: esp-idf + type: arduino + +# Enable logging +logger: + +# Enable Home Assistant API +api: + encryption: + key: "i8aPgOMVd9fxwvWk6sxr1vsel4XuY9j7r8koRbMrcSI=" + +ota: + - platform: esphome + password: "e1a35f2e0f0254858edb23a94a67f061" + +wifi: + ssid: "Lothlorien" + password: "LitwoOjczyznoMojaTysJestJakZdrowie" + + # Enable fallback hotspot (captive portal) in case wifi connection fails + ap: + ssid: "Arducam-Esp32S Fallback Hotspot" + password: "y0yrTNW9ESAy" + +esp32_camera: + name: Arducam Camera + external_clock: + pin: GPIO0 + frequency: 20MHz + i2c_pins: + sda: GPIO26 + scl: GPIO27 + data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35] + vsync_pin: GPIO25 + href_pin: GPIO23 + pixel_clock_pin: GPIO22 + power_down_pin: GPIO32 + resolution: 640x480 + jpeg_quality: 10 + max_framerate: 10 fps + idle_framerate: 0.1 fps + +status_led: + pin: GPIO3 + +#web_server: +esp32_camera_web_server: + mode: stream + port: 80 + +captive_portal: + diff --git a/esp-03-mini/.gitignore b/esp-03-mini/.gitignore new file mode 100644 index 0000000..d8b4157 --- /dev/null +++ b/esp-03-mini/.gitignore @@ -0,0 +1,5 @@ +# Gitignore settings for ESPHome +# This is an example and may include too much for your use-case. +# You can modify this file to suit your needs. +/.esphome/ +/secrets.yaml diff --git a/esp-03-mini/conf.yml b/esp-03-mini/conf.yml new file mode 100644 index 0000000..7f02d89 --- /dev/null +++ b/esp-03-mini/conf.yml @@ -0,0 +1,33 @@ +esphome: + name: test + friendly_name: test + +esp32: + variant: esp32c3 + board: esp32-c3-devkitm-1 + framework: + type: arduino + +# Enable logging +logger: + +# Enable Home Assistant API +api: + encryption: + key: "Vve4YEX+31JNwAFU+sVD2NnhWWnbuUMKWZlL4mORRIc=" + +ota: + - platform: esphome + password: "f09ef31f496ad2b71b25eecf291b2d43" + +wifi: + ssid: "Lothlorien" + password: "LitwoOjczyznoMojaTysJestJakZdrowie" + + # Enable fallback hotspot (captive portal) in case wifi connection fails + ap: + ssid: "Test Fallback Hotspot" + password: "Auci6pFwvVke" + +captive_portal: + diff --git a/esp32-c3-oled/.gitignore b/esp32-c3-oled/.gitignore new file mode 100644 index 0000000..d8b4157 --- /dev/null +++ b/esp32-c3-oled/.gitignore @@ -0,0 +1,5 @@ +# Gitignore settings for ESPHome +# This is an example and may include too much for your use-case. +# You can modify this file to suit your needs. +/.esphome/ +/secrets.yaml diff --git a/esp32-c3-oled/fonts/OFL.txt b/esp32-c3-oled/fonts/OFL.txt new file mode 100644 index 0000000..9c48e05 --- /dev/null +++ b/esp32-c3-oled/fonts/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2011 The Roboto Project Authors (https://github.com/googlefonts/roboto-classic) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/esp32-c3-oled/fonts/README.txt b/esp32-c3-oled/fonts/README.txt new file mode 100644 index 0000000..26368fa --- /dev/null +++ b/esp32-c3-oled/fonts/README.txt @@ -0,0 +1,118 @@ +Roboto Variable Font +==================== + +This download contains Roboto as both variable fonts and static fonts. + +Roboto is a variable font with these axes: + wdth + wght + +This means all the styles are contained in these files: + Roboto-VariableFont_wdth,wght.ttf + Roboto-Italic-VariableFont_wdth,wght.ttf + +If your app fully supports variable fonts, you can now pick intermediate styles +that aren’t available as static fonts. Not all apps support variable fonts, and +in those cases you can use the static font files for Roboto: + static/Roboto_Condensed-Thin.ttf + static/Roboto_Condensed-ExtraLight.ttf + static/Roboto_Condensed-Light.ttf + static/Roboto_Condensed-Regular.ttf + static/Roboto_Condensed-Medium.ttf + static/Roboto_Condensed-SemiBold.ttf + static/Roboto_Condensed-Bold.ttf + static/Roboto_Condensed-ExtraBold.ttf + static/Roboto_Condensed-Black.ttf + static/Roboto_SemiCondensed-Thin.ttf + static/Roboto_SemiCondensed-ExtraLight.ttf + static/Roboto_SemiCondensed-Light.ttf + static/Roboto_SemiCondensed-Regular.ttf + static/Roboto_SemiCondensed-Medium.ttf + static/Roboto_SemiCondensed-SemiBold.ttf + static/Roboto_SemiCondensed-Bold.ttf + static/Roboto_SemiCondensed-ExtraBold.ttf + static/Roboto_SemiCondensed-Black.ttf + static/Roboto-Thin.ttf + static/Roboto-ExtraLight.ttf + static/Roboto-Light.ttf + static/Roboto-Regular.ttf + static/Roboto-Medium.ttf + static/Roboto-SemiBold.ttf + static/Roboto-Bold.ttf + static/Roboto-ExtraBold.ttf + static/Roboto-Black.ttf + static/Roboto_Condensed-ThinItalic.ttf + static/Roboto_Condensed-ExtraLightItalic.ttf + static/Roboto_Condensed-LightItalic.ttf + static/Roboto_Condensed-Italic.ttf + static/Roboto_Condensed-MediumItalic.ttf + static/Roboto_Condensed-SemiBoldItalic.ttf + static/Roboto_Condensed-BoldItalic.ttf + static/Roboto_Condensed-ExtraBoldItalic.ttf + static/Roboto_Condensed-BlackItalic.ttf + static/Roboto_SemiCondensed-ThinItalic.ttf + static/Roboto_SemiCondensed-ExtraLightItalic.ttf + static/Roboto_SemiCondensed-LightItalic.ttf + static/Roboto_SemiCondensed-Italic.ttf + static/Roboto_SemiCondensed-MediumItalic.ttf + static/Roboto_SemiCondensed-SemiBoldItalic.ttf + static/Roboto_SemiCondensed-BoldItalic.ttf + static/Roboto_SemiCondensed-ExtraBoldItalic.ttf + static/Roboto_SemiCondensed-BlackItalic.ttf + static/Roboto-ThinItalic.ttf + static/Roboto-ExtraLightItalic.ttf + static/Roboto-LightItalic.ttf + static/Roboto-Italic.ttf + static/Roboto-MediumItalic.ttf + static/Roboto-SemiBoldItalic.ttf + static/Roboto-BoldItalic.ttf + static/Roboto-ExtraBoldItalic.ttf + static/Roboto-BlackItalic.ttf + +Get started +----------- + +1. Install the font files you want to use + +2. Use your app's font picker to view the font family and all the +available styles + +Learn more about variable fonts +------------------------------- + + https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts + https://variablefonts.typenetwork.com + https://medium.com/variable-fonts + +In desktop apps + + https://theblog.adobe.com/can-variable-fonts-illustrator-cc + https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts + +Online + + https://developers.google.com/fonts/docs/getting_started + https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide + https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts + +Installing fonts + + MacOS: https://support.apple.com/en-us/HT201749 + Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux + Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows + +Android Apps + + https://developers.google.com/fonts/docs/android + https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts + +License +------- +Please read the full license text (OFL.txt) to understand the permissions, +restrictions and requirements for usage, redistribution, and modification. + +You can use them in your products & projects – print or digital, +commercial or otherwise. + +This isn't legal advice, please consider consulting a lawyer and see the full +license for all details. diff --git a/esp32-c3-oled/fonts/Roboto-Black.ttf b/esp32-c3-oled/fonts/Roboto-Black.ttf new file mode 100644 index 0000000..d51221a Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-Black.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-BlackItalic.ttf b/esp32-c3-oled/fonts/Roboto-BlackItalic.ttf new file mode 100644 index 0000000..c71c549 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-BlackItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-Bold.ttf b/esp32-c3-oled/fonts/Roboto-Bold.ttf new file mode 100644 index 0000000..4658f9a Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-Bold.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-BoldItalic.ttf b/esp32-c3-oled/fonts/Roboto-BoldItalic.ttf new file mode 100644 index 0000000..2ee0765 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-BoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-ExtraBold.ttf b/esp32-c3-oled/fonts/Roboto-ExtraBold.ttf new file mode 100644 index 0000000..7092a88 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-ExtraBold.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-ExtraBoldItalic.ttf b/esp32-c3-oled/fonts/Roboto-ExtraBoldItalic.ttf new file mode 100644 index 0000000..a5536f5 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-ExtraBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-ExtraLight.ttf b/esp32-c3-oled/fonts/Roboto-ExtraLight.ttf new file mode 100644 index 0000000..75608c6 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-ExtraLight.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-ExtraLightItalic.ttf b/esp32-c3-oled/fonts/Roboto-ExtraLightItalic.ttf new file mode 100644 index 0000000..23dbbef Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-ExtraLightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-Italic-VariableFont_wdth,wght.ttf b/esp32-c3-oled/fonts/Roboto-Italic-VariableFont_wdth,wght.ttf new file mode 100644 index 0000000..978e53a Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-Italic-VariableFont_wdth,wght.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-Italic.ttf b/esp32-c3-oled/fonts/Roboto-Italic.ttf new file mode 100644 index 0000000..c3abaef Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-Italic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-Light.ttf b/esp32-c3-oled/fonts/Roboto-Light.ttf new file mode 100644 index 0000000..6fcd5f9 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-Light.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-LightItalic.ttf b/esp32-c3-oled/fonts/Roboto-LightItalic.ttf new file mode 100644 index 0000000..a6e5047 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-LightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-Medium.ttf b/esp32-c3-oled/fonts/Roboto-Medium.ttf new file mode 100644 index 0000000..d629e98 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-Medium.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-MediumItalic.ttf b/esp32-c3-oled/fonts/Roboto-MediumItalic.ttf new file mode 100644 index 0000000..ef9ed1b Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-MediumItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-Regular.ttf b/esp32-c3-oled/fonts/Roboto-Regular.ttf new file mode 100644 index 0000000..7e3bb2f Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-Regular.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-SemiBold.ttf b/esp32-c3-oled/fonts/Roboto-SemiBold.ttf new file mode 100644 index 0000000..3f34834 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-SemiBold.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-SemiBoldItalic.ttf b/esp32-c3-oled/fonts/Roboto-SemiBoldItalic.ttf new file mode 100644 index 0000000..132cca1 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-SemiBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-Thin.ttf b/esp32-c3-oled/fonts/Roboto-Thin.ttf new file mode 100644 index 0000000..6ee97b8 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-Thin.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-ThinItalic.ttf b/esp32-c3-oled/fonts/Roboto-ThinItalic.ttf new file mode 100644 index 0000000..0381198 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-ThinItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto-VariableFont_wdth,wght.ttf b/esp32-c3-oled/fonts/Roboto-VariableFont_wdth,wght.ttf new file mode 100644 index 0000000..bba55f6 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto-VariableFont_wdth,wght.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-Black.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-Black.ttf new file mode 100644 index 0000000..7529d1b Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-Black.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-BlackItalic.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-BlackItalic.ttf new file mode 100644 index 0000000..0c31e9f Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-BlackItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-Bold.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-Bold.ttf new file mode 100644 index 0000000..a7c3cdf Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-Bold.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-BoldItalic.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-BoldItalic.ttf new file mode 100644 index 0000000..24513a5 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-BoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-ExtraBold.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-ExtraBold.ttf new file mode 100644 index 0000000..782442a Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-ExtraBold.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-ExtraBoldItalic.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-ExtraBoldItalic.ttf new file mode 100644 index 0000000..aeff7c2 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-ExtraBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-ExtraLight.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-ExtraLight.ttf new file mode 100644 index 0000000..16a1560 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-ExtraLight.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-ExtraLightItalic.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-ExtraLightItalic.ttf new file mode 100644 index 0000000..0f6fe70 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-ExtraLightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-Italic.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-Italic.ttf new file mode 100644 index 0000000..3b387eb Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-Italic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-Light.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-Light.ttf new file mode 100644 index 0000000..e70c357 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-Light.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-LightItalic.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-LightItalic.ttf new file mode 100644 index 0000000..9f623e0 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-LightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-Medium.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-Medium.ttf new file mode 100644 index 0000000..dd2842b Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-Medium.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-MediumItalic.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-MediumItalic.ttf new file mode 100644 index 0000000..80ff64e Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-MediumItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-Regular.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-Regular.ttf new file mode 100644 index 0000000..5af42d4 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-Regular.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-SemiBold.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-SemiBold.ttf new file mode 100644 index 0000000..4297f17 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-SemiBold.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-SemiBoldItalic.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-SemiBoldItalic.ttf new file mode 100644 index 0000000..6cb4656 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-SemiBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-Thin.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-Thin.ttf new file mode 100644 index 0000000..1ccebcc Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-Thin.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_Condensed-ThinItalic.ttf b/esp32-c3-oled/fonts/Roboto_Condensed-ThinItalic.ttf new file mode 100644 index 0000000..e58e966 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_Condensed-ThinItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-Black.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Black.ttf new file mode 100644 index 0000000..8eedb64 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Black.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-BlackItalic.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-BlackItalic.ttf new file mode 100644 index 0000000..19a5096 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-BlackItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-Bold.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Bold.ttf new file mode 100644 index 0000000..47d0afa Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Bold.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-BoldItalic.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-BoldItalic.ttf new file mode 100644 index 0000000..319f62e Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-BoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraBold.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraBold.ttf new file mode 100644 index 0000000..36423c3 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraBold.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraBoldItalic.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraBoldItalic.ttf new file mode 100644 index 0000000..b40ce77 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraLight.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraLight.ttf new file mode 100644 index 0000000..e1c25a0 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraLight.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraLightItalic.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraLightItalic.ttf new file mode 100644 index 0000000..929a093 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-ExtraLightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-Italic.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Italic.ttf new file mode 100644 index 0000000..23454ff Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Italic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-Light.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Light.ttf new file mode 100644 index 0000000..b9aedcd Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Light.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-LightItalic.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-LightItalic.ttf new file mode 100644 index 0000000..c096473 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-LightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-Medium.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Medium.ttf new file mode 100644 index 0000000..e9c34d6 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Medium.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-MediumItalic.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-MediumItalic.ttf new file mode 100644 index 0000000..ab34b70 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-MediumItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-Regular.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Regular.ttf new file mode 100644 index 0000000..36109ba Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Regular.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-SemiBold.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-SemiBold.ttf new file mode 100644 index 0000000..6d10b33 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-SemiBold.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-SemiBoldItalic.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-SemiBoldItalic.ttf new file mode 100644 index 0000000..e88bc4a Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-SemiBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-Thin.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Thin.ttf new file mode 100644 index 0000000..8ed8d79 Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-Thin.ttf differ diff --git a/esp32-c3-oled/fonts/Roboto_SemiCondensed-ThinItalic.ttf b/esp32-c3-oled/fonts/Roboto_SemiCondensed-ThinItalic.ttf new file mode 100644 index 0000000..81afeea Binary files /dev/null and b/esp32-c3-oled/fonts/Roboto_SemiCondensed-ThinItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-Black.ttf b/esp32-c3-oled/fonts/static/Roboto-Black.ttf new file mode 100644 index 0000000..d51221a Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-Black.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-BlackItalic.ttf b/esp32-c3-oled/fonts/static/Roboto-BlackItalic.ttf new file mode 100644 index 0000000..c71c549 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-BlackItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-Bold.ttf b/esp32-c3-oled/fonts/static/Roboto-Bold.ttf new file mode 100644 index 0000000..4658f9a Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-Bold.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-BoldItalic.ttf b/esp32-c3-oled/fonts/static/Roboto-BoldItalic.ttf new file mode 100644 index 0000000..2ee0765 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-BoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-ExtraBold.ttf b/esp32-c3-oled/fonts/static/Roboto-ExtraBold.ttf new file mode 100644 index 0000000..7092a88 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-ExtraBold.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-ExtraBoldItalic.ttf b/esp32-c3-oled/fonts/static/Roboto-ExtraBoldItalic.ttf new file mode 100644 index 0000000..a5536f5 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-ExtraBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-ExtraLight.ttf b/esp32-c3-oled/fonts/static/Roboto-ExtraLight.ttf new file mode 100644 index 0000000..75608c6 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-ExtraLight.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-ExtraLightItalic.ttf b/esp32-c3-oled/fonts/static/Roboto-ExtraLightItalic.ttf new file mode 100644 index 0000000..23dbbef Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-ExtraLightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-Italic.ttf b/esp32-c3-oled/fonts/static/Roboto-Italic.ttf new file mode 100644 index 0000000..c3abaef Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-Italic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-Light.ttf b/esp32-c3-oled/fonts/static/Roboto-Light.ttf new file mode 100644 index 0000000..6fcd5f9 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-Light.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-LightItalic.ttf b/esp32-c3-oled/fonts/static/Roboto-LightItalic.ttf new file mode 100644 index 0000000..a6e5047 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-LightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-Medium.ttf b/esp32-c3-oled/fonts/static/Roboto-Medium.ttf new file mode 100644 index 0000000..d629e98 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-Medium.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-MediumItalic.ttf b/esp32-c3-oled/fonts/static/Roboto-MediumItalic.ttf new file mode 100644 index 0000000..ef9ed1b Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-MediumItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-Regular.ttf b/esp32-c3-oled/fonts/static/Roboto-Regular.ttf new file mode 100644 index 0000000..7e3bb2f Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-Regular.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-SemiBold.ttf b/esp32-c3-oled/fonts/static/Roboto-SemiBold.ttf new file mode 100644 index 0000000..3f34834 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-SemiBold.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-SemiBoldItalic.ttf b/esp32-c3-oled/fonts/static/Roboto-SemiBoldItalic.ttf new file mode 100644 index 0000000..132cca1 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-SemiBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-Thin.ttf b/esp32-c3-oled/fonts/static/Roboto-Thin.ttf new file mode 100644 index 0000000..6ee97b8 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-Thin.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto-ThinItalic.ttf b/esp32-c3-oled/fonts/static/Roboto-ThinItalic.ttf new file mode 100644 index 0000000..0381198 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto-ThinItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-Black.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-Black.ttf new file mode 100644 index 0000000..7529d1b Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-Black.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-BlackItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-BlackItalic.ttf new file mode 100644 index 0000000..0c31e9f Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-BlackItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-Bold.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-Bold.ttf new file mode 100644 index 0000000..a7c3cdf Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-Bold.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-BoldItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-BoldItalic.ttf new file mode 100644 index 0000000..24513a5 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-BoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraBold.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraBold.ttf new file mode 100644 index 0000000..782442a Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraBold.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraBoldItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraBoldItalic.ttf new file mode 100644 index 0000000..aeff7c2 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraLight.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraLight.ttf new file mode 100644 index 0000000..16a1560 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraLight.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraLightItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraLightItalic.ttf new file mode 100644 index 0000000..0f6fe70 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-ExtraLightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-Italic.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-Italic.ttf new file mode 100644 index 0000000..3b387eb Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-Italic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-Light.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-Light.ttf new file mode 100644 index 0000000..e70c357 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-Light.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-LightItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-LightItalic.ttf new file mode 100644 index 0000000..9f623e0 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-LightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-Medium.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-Medium.ttf new file mode 100644 index 0000000..dd2842b Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-Medium.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-MediumItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-MediumItalic.ttf new file mode 100644 index 0000000..80ff64e Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-MediumItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-Regular.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-Regular.ttf new file mode 100644 index 0000000..5af42d4 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-Regular.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-SemiBold.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-SemiBold.ttf new file mode 100644 index 0000000..4297f17 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-SemiBold.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-SemiBoldItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-SemiBoldItalic.ttf new file mode 100644 index 0000000..6cb4656 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-SemiBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-Thin.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-Thin.ttf new file mode 100644 index 0000000..1ccebcc Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-Thin.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_Condensed-ThinItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_Condensed-ThinItalic.ttf new file mode 100644 index 0000000..e58e966 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_Condensed-ThinItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Black.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Black.ttf new file mode 100644 index 0000000..8eedb64 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Black.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-BlackItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-BlackItalic.ttf new file mode 100644 index 0000000..19a5096 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-BlackItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Bold.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Bold.ttf new file mode 100644 index 0000000..47d0afa Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Bold.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-BoldItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-BoldItalic.ttf new file mode 100644 index 0000000..319f62e Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-BoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraBold.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraBold.ttf new file mode 100644 index 0000000..36423c3 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraBold.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraBoldItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraBoldItalic.ttf new file mode 100644 index 0000000..b40ce77 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraLight.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraLight.ttf new file mode 100644 index 0000000..e1c25a0 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraLight.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraLightItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraLightItalic.ttf new file mode 100644 index 0000000..929a093 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ExtraLightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Italic.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Italic.ttf new file mode 100644 index 0000000..23454ff Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Italic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Light.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Light.ttf new file mode 100644 index 0000000..b9aedcd Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Light.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-LightItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-LightItalic.ttf new file mode 100644 index 0000000..c096473 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-LightItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Medium.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Medium.ttf new file mode 100644 index 0000000..e9c34d6 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Medium.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-MediumItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-MediumItalic.ttf new file mode 100644 index 0000000..ab34b70 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-MediumItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Regular.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Regular.ttf new file mode 100644 index 0000000..36109ba Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Regular.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-SemiBold.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-SemiBold.ttf new file mode 100644 index 0000000..6d10b33 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-SemiBold.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-SemiBoldItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-SemiBoldItalic.ttf new file mode 100644 index 0000000..e88bc4a Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-SemiBoldItalic.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Thin.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Thin.ttf new file mode 100644 index 0000000..8ed8d79 Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-Thin.ttf differ diff --git a/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ThinItalic.ttf b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ThinItalic.ttf new file mode 100644 index 0000000..81afeea Binary files /dev/null and b/esp32-c3-oled/fonts/static/Roboto_SemiCondensed-ThinItalic.ttf differ diff --git a/esp32-c3-oled/i2ctest.yaml b/esp32-c3-oled/i2ctest.yaml new file mode 100644 index 0000000..115343d --- /dev/null +++ b/esp32-c3-oled/i2ctest.yaml @@ -0,0 +1,160 @@ +esphome: + name: oled-test + friendly_name: oled test + +esp32: + board: esp32-c3-devkitm-1 + framework: + type: esp-idf + +# Enable logging +logger: + +# Enable Home Assistant API +api: + encryption: + key: "rNfuxXEaIvVuOHvYVdb4QpW8fezbbkKn3wvjkHdHGkY=" + +ota: + - platform: esphome + password: "5aa6ac416280761455b83922c266822b" + +wifi: + ssid: "Lothlorien" + password: "LitwoOjczyznoMojaTysJestJakZdrowie" + + # Enable fallback hotspot (captive portal) in case wifi connection fails + ap: + ssid: "Esp32-C3-Oled-Test" + password: "Zto2fEEcWgnS" + +captive_portal: + +web_server: + +output: + - platform: ledc + pin: GPIO4 + id: led_pwm + frequency: 20000 Hz # 20 kHz – bez pisku i bez migotania w kamerze + +light: + - platform: monochromatic + name: "LED PWM" + output: led_pwm + gamma_correct: 1.0 + +button: + - platform: restart + name: "Restart Device" + - platform: safe_mode + name: "Restart in Safe Mode" + +i2c: + id: bus_oled + sda: GPIO5 + scl: GPIO6 + frequency: 100kHz + scan: true + +# --- Czcionki do wyświetlacza (wygodne, ale możesz zmienić na swoje) --- +font: + - file: "fonts/Roboto-Regular.ttf" + id: f12 + size: 8 + - file: "fonts/Roboto-Bold.ttf" + id: f20 + size: 11 + +# --- Przydatne sensory do pokazania na ekranie --- +sensor: + - platform: wifi_signal + name: "WiFi RSSI" + id: wifi_rssi + update_interval: 30s + + - platform: uptime + name: "Uptime (s)" + id: uptime_s + update_interval: 60s + + - platform: hm3301 + pm_1_0: + name: "PM1.0" + pm_2_5: + name: "PM2.5" + pm_10_0: + name: "PM10.0" + aqi: + name: "AQI" + calculation_type: "CAQI" + +text_sensor: + - platform: wifi_info + ip_address: + name: "IP" + id: ip_addr + ssid: + name: "SSID" + id: wifi_ssid + +# --- Przycisk BOOT (ten „użytkowy”; RESET/EN nie da się odczytać) --- +binary_sensor: + - platform: gpio + pin: + number: GPIO9 # BOOT na większości C3 + mode: INPUT_PULLUP + inverted: true + name: "BOOT Button" + id: btn_boot + - platform: gpio + pin: + number: GPIO7 + mode: + input: true + pullup: false + pulldown: true + name: "Czujnik ruchu SR505" + device_class: motion + filters: + - delayed_off: 2s + - platform: gpio + pin: + number: GPIO3 + mode: + input: true + pullup: false + pulldown: false + name: "Czujnik ruchu HW-416A" + device_class: motion + filters: + - delayed_off: 2s + +# --- Wyświetlacz OLED --- +display: + - platform: ssd1306_i2c + model: "SSD1306 72x40" + address: 0x3C + rotation: 0 + i2c_id: bus_oled # <- to jest kluczowe + lambda: |- + { + if (id(ip_addr).has_state()) { + it.printf(0, 0, id(f12), "ip:%s", id(ip_addr).state.c_str()); + } else { + it.printf(0, 0, id(f12), "ip: (brak)"); + } + if (id(wifi_rssi).has_state()) { + it.printf(0, 10, id(f12), "RSSI: %.0f dBm", id(wifi_rssi).state); + } + if (id(wifi_ssid).has_state()) { + it.printf(0, 20, id(f12), "SSID: %s", id(wifi_ssid).state.c_str()); + } + if (id(uptime_s).has_state()) { + int t = (int) id(uptime_s).state; + int h = t / 3600; + int m = (t % 3600) / 60; + int s = t % 60; + it.printf(0, 30, id(f12), "Uptime: %02d:%02d:%02d", h, m, s); + } + } diff --git a/esp32-c3-oled/test.yaml b/esp32-c3-oled/test.yaml new file mode 100644 index 0000000..f8049d9 --- /dev/null +++ b/esp32-c3-oled/test.yaml @@ -0,0 +1,134 @@ +esphome: + name: esp32-c3-oled-test + friendly_name: esp32-c3 oled test + +esp32: + board: esp32-c3-devkitm-1 + framework: + type: esp-idf + +# Enable logging +logger: + +# Enable Home Assistant API +api: + encryption: + key: "rNfuxXEaIvVuOHvYVdb4QpW8fezbbkKn3wvjkHdHGkY=" + +ota: + - platform: esphome + password: "5aa6ac416280761455b83922c266822b" + +wifi: + ssid: "Lothlorien" + password: "LitwoOjczyznoMojaTysJestJakZdrowie" + + # Enable fallback hotspot (captive portal) in case wifi connection fails + ap: + ssid: "Esp32-C3-Oled-Test" + password: "Zto2fEEcWgnS" + +captive_portal: + +# --- I²C (dla OLED) --- +i2c: + sda: GPIO4 # jeśli skan nic nie wykryje, spróbuj: GPIO7 + scl: GPIO5 # jeśli skan nic nie wykryje, spróbuj: GPIO6 + scan: true + id: bus_a + +# --- Czcionki do wyświetlacza (wygodne, ale możesz zmienić na swoje) --- +font: + - file: "fonts/Roboto-Regular.ttf" + id: f12 + size: 12 + - file: "fonts/Roboto-Bold.ttf" + id: f20 + size: 20 + +# --- Przydatne sensory do pokazania na ekranie --- +sensor: + - platform: wifi_signal + name: "WiFi RSSI" + id: wifi_rssi + update_interval: 30s + + - platform: uptime + name: "Uptime (s)" + id: uptime_s + update_interval: 60s + +text_sensor: + - platform: wifi_info + ip_address: + name: "IP" + id: ip_addr + ssid: + name: "SSID" + id: wifi_ssid + +# --- Przycisk BOOT (ten „użytkowy”; RESET/EN nie da się odczytać) --- +binary_sensor: + - platform: gpio + pin: + number: GPIO9 # BOOT na większości C3 + mode: INPUT_PULLUP + inverted: true + name: "BOOT Button" + id: btn_boot + +# --- Prosty przełącznik stron na OLED --- +globals: + - id: page + type: int + restore_value: no + initial_value: '0' + +interval: + - interval: 1s + then: + - if: + condition: + binary_sensor.is_on: btn_boot + then: + - lambda: |- + static uint32_t last = 0; + if (millis() - last > 300) { // debouncing + auto-repeat off + id(page) = (id(page) + 1) % 2; + last = millis(); + } + +# --- Wyświetlacz OLED --- +display: + - platform: ssd1306_i2c + model: "SSD1306 72x40" # jeśli tekst ucieka/rozmiar nie pasuje, spróbuj "SSD1306 64x32" lub "SSD1306 128x32" + address: 0x3C + rotation: 0 + id: oled + lambda: |- + if (id(page) == 0) { + // Strona 1: tytuł + IP + sygnał WiFi + it.printf(0, 0, id(f20), "C3 OLED"); + if (id(ip_addr).has_state()) { + it.printf(0, 22, id(f12), "IP: %s", id(ip_addr).state.c_str()); + } else { + it.printf(0, 22, id(f12), "IP: (brak)"); + } + if (id(wifi_rssi).has_state()) { + it.printf(0, 34, id(f12), "RSSI: %.0f dBm", id(wifi_rssi).state); + } + } else { + // Strona 2: SSID + uptime + if (id(wifi_ssid).has_state()) { + it.printf(0, 0, id(f12), "SSID: %s", id(wifi_ssid).state.c_str()); + } + if (id(uptime_s).has_state()) { + int t = (int) id(uptime_s).state; + int h = t / 3600; + int m = (t % 3600) / 60; + int s = t % 60; + it.printf(0, 16, id(f12), "Uptime: %02d:%02d:%02d", h, m, s); + } + it.printf(0, 32, id(f12), "BOOT: zmiana strony"); + } +