{"id":19834525,"url":"https://github.com/thingpulse/esp32-cubo","last_synced_at":"2025-05-01T17:31:19.028Z","repository":{"id":145446170,"uuid":"316252779","full_name":"ThingPulse/esp32-cubo","owner":"ThingPulse","description":"Sample project for the Cubo","archived":false,"fork":false,"pushed_at":"2024-05-16T12:58:55.000Z","size":971,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-16T13:53:03.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThingPulse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-26T14:21:51.000Z","updated_at":"2024-05-16T12:58:59.000Z","dependencies_parsed_at":"2023-07-12T10:00:34.284Z","dependency_job_id":null,"html_url":"https://github.com/ThingPulse/esp32-cubo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingPulse%2Fesp32-cubo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingPulse%2Fesp32-cubo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingPulse%2Fesp32-cubo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingPulse%2Fesp32-cubo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThingPulse","download_url":"https://codeload.github.com/ThingPulse/esp32-cubo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224270307,"owners_count":17283649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T12:04:58.276Z","updated_at":"2024-11-12T12:04:59.090Z","avatar_url":"https://github.com/ThingPulse.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32-Cubo\n\nThe ESP32-Cubo is a device based on the Espressif ESP32 and comes with the following hardware:\n- ESP32 Wrover-B Microcontroller module with 4MB Flash and 8MB SPIRAM memory\n- Good Display 1.54\" epaper display with 200x200 Black and White Pixels\n- Battery charger and connector for LiPo battery\n- USB connector for programming and charging\n- CP2104 USB-to-Serial Chip\n- 2x User controllable LEDs, red and green\n- Inertial Measurement Unit ADXL345\n- MAX17055 Fuel Gauge Chip for measuring battery voltage and estimating remaining capacity\n- DS3231 Real Time Clock Chip for keeping time, powered by coin cell battery\n- Reset Button\n\n![Visual Studio Code Footer](/images/cubo-hardware.jpg)\n\n## Template for building a cardboard mockup\n[Download cardboard template](/images/Cubo_Vorlage.pdf)\n\n## Prerequisites\n- esp32-cubo hardware\n- usb cable to connect your computer to the device. \n- git installed on your command line\n- experience in programming the ESP32 by using the Arduino platform\n\n\n## Install the CP2102 driver\n\nThis driver is required to programm the esp32-cubo. It enables your computer to talk to the USB-to-Serial chip on the PCB.\nTo install the driver please follow the instructions under https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers\n\n## Setup Development environment\n\nThis sample code should in theory work with the Arduino IDE. Instead we suggest to use the Platformio IDE since it makes it\nmuch easier to handle the correct libraries.\n\nPlatform IO IDE is a plugin for Microsoft's Visual Studio Code Editor. To install the Platformio IDE please follow\nthese instructions: https://platformio.org/install/ide?install=vscode\n\n## Get the Code\n\nTo get the sample code run \n\n```\ngit clone https://github.com/thingpulse/esp32-cubo\n```\nfrom your command line or download the zip file from https://github.com/ThingPulse/esp32-cubo/archive/master.zip and unpack it. \n\n\n## Components Explained\n\n### The ePaper Display\n\nThe 1.54\" ePaper display has 200x200 black and white pixels. The display can maintain the state of the pixels even without\nsupporting power. This makes is a great tool for devices running from batteries since it only consumes energy during updates.\n\nIn this sample we use the ThingPulse Minigrafx library to control the display. You can find more information for programming\nthe display here: https://github.com/ThingPulse/minigrafx/blob/master/API.md\n\n### The ADXL345 IMU\n\nThe ADXL345 chip can measure movement/accelereation in three axes. It can wakeup the main processor from deep sleep\nwhen movement is detected. It can also be setup to detect taps  or double taps in one of the three axes. This repository\ncontains a slightly modified copy of a ADXL345 driver by Korneliusz Jarzebski\n\n## Uploading Filesystem\n\nIn order to have the files under data/ available they need to be uploaded to the device first. Platformio creates a .bin file\nwhich is then flashed to the device. Everytime you change the content under data/ this needs to be done. To this execute the following\ntask: env:esp-wrover-kit \u003e Platform \u003e Upload Filesystem Image\n\n![File Upload](/images/Fileupload.png)\n\n## Upload Code\n\nTo compile the code you can click on the checkmark icon in VS Code's footer. The arrow to the right will do the same and upload\nthe binary to the device. To plug icon turns on the serial console to monitor what is happening on the device.\n\n![Visual Studio Code Footer](/images/Footer.png)\n\n## License\n\nCopyright (c) 2020 - 2024, ThingPulse Ltd., Switzerland. All rights reserved.\nHardware is licensed under Creative Commons [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).\nSoftware is licensed under MIT License, see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthingpulse%2Fesp32-cubo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthingpulse%2Fesp32-cubo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthingpulse%2Fesp32-cubo/lists"}