jentie / gong

Achtsamkeits-Glocke

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gong aussen

Achtsamkeits-Glocke

ESP32 connected to I2S audio breakout, see https://learn.sparkfun.com/tutorials/i2s-audio-breakout-hookup-guide

versions:

  • 04-cfg - configuration inputs Volume / Sound
  • 05-led - timer estimation based on LED duty cycle
  • 06-ser - disabled serial communication w/o terminal attached
         +---------------+
         |o    ANT      o|
         |o ___________ o|
         |o             o|
         |o             o|
         |o          D22o|- I2S
    I2S -|oD25          o|
    I2S -|oD26          o|
         |o          D18o|- Vol
    key -|oD33          o|
    led -|oD27       D10o|- Snd
         |o           D9o|- Snd
         |o             o|
         |o             o|
         |o             o|
         |o             o|
         |o             o|
  -4k7R--|oIO0          o|
  |------|o3V3          o|
         |oGND       GNDo|- breakout GND
         |o5V  |USB| 3V3o|- breakout VDD
         +-----+---+-----+

remarks:

usage:

  • power (and optional commands) via usb
  • runs silently for 60 min and plays sound (hardware selected)
  • ⏸️ 🧘 have a break 🧘 ⏸️
  • push buttons 'key' starts new cycle of 60 min
  • LED shows elapsed time via duty cycle

commands (via USB / serial interface):

BCGH    - sounds used
bdflpto - other sounds
0       - sound off
1..9    - volume
T       - show timer
s       - speed up timer
!       - Reset
?       - help

Bowl, Clock, Gong, Horn

bicycle bell, ding-dong, feedback, laser, power-up, tin, over

{note: in case of addtional power supply, be aware of hardware reset via serial interface flow control (1st step: use terminal w/o flow control, 2nd step: connect to USB)

Gong innen

About

Achtsamkeits-Glocke

License:MIT License


Languages

Language:C 99.7%Language:C++ 0.3%