Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diimdeep/esp8266-age-clock
Real-time counter showing your age.
https://github.com/diimdeep/esp8266-age-clock
arduino esp8266
Last synced: 16 days ago
JSON representation
Real-time counter showing your age.
- Host: GitHub
- URL: https://github.com/diimdeep/esp8266-age-clock
- Owner: diimdeep
- Created: 2017-04-28T20:49:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-28T20:49:21.000Z (over 7 years ago)
- Last Synced: 2024-10-31T11:13:00.533Z (2 months ago)
- Topics: arduino, esp8266
- Language: Objective-C
- Homepage:
- Size: 1.35 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESP8266 Age Clock
Work in progress.
Inspired by [Motivation](https://chrome.google.com/webstore/detail/motivation/ofdgfpchbidcgncgfpdlpclnpaemakoj)
![](docs/video.gif)
### Components
- Espressif ESP8266 (NodeMCU) [Aliexpress](http://s.click.aliexpress.com/e/UnqFIuF)
- 1.3" OLED 128x64 SH1106 I2C [Aliexpress](http://s.click.aliexpress.com/e/meM7iAE)### Features (WIP)
- [+] Show Age
- [+] Connect to WiFi
- [+] Get curren time from NTP server
- [-] Configuration with web interface (WIP)
- [-] WiFi mode (access point, client)
- [-] Current time, time zone
- [-] Date of birth
- [-] Persist settings in EEPROM memory
- [-] Custom PCB
- [-] Custom Case### Prepare
Install
- [PlatformIO](http://platformio.org)
- [npm](npmjs.com)
- esptool#### macOS
```bash
# [homebrew](brew.sh)
brew install platformio
brew install node
brew install esptool
```### Build
```bash
npm install
gulp
platformio run
platformio run --target buildfs
```### Flash
```
platformio run --target upload
platformio run --target uploadfs
```### Other
#### Flash manual
`esptool.py --port /dev/cu.wchusbserial1410 --baud 115200 write_flash --flash_size=detect -fm dio 0 .pioenvs/nodemcuv2/firmware.bin`
#### Run web app from local
`gulp connect`
#### Stack trace decode
`pbcopy > stack.txt`
`java -jar tools/EspStackTraceDecoder.jar ~/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-addr2line .pioenvs/nodemcuv2/firmware.elf stack.txt`#### Serial
`pio device monitor --port /dev/cu.wchusbserial1410 --baud 115200`