Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/obono/speakerstimer
A speaker timer by Arduino Pro Mini.
https://github.com/obono/speakerstimer
7segments arduino electronics irremote
Last synced: 13 days ago
JSON representation
A speaker timer by Arduino Pro Mini.
- Host: GitHub
- URL: https://github.com/obono/speakerstimer
- Owner: obono
- License: mit
- Created: 2020-12-26T05:03:56.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-27T08:33:56.000Z (11 months ago)
- Last Synced: 2024-01-27T09:26:50.353Z (11 months ago)
- Topics: 7segments, arduino, electronics, irremote
- Language: C++
- Homepage:
- Size: 149 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Speakers Timer
![Picture](doc/picture.jpg)
## Use case
![Use case](doc/usecase.jpg)
## Functions
![Controller](doc/controller.png)
* Enter the minutes and seconds by digit buttons.
* Counting down starts by START / PAUSE button.
* The timer is reset by RESET button on pausing or when counting down finished.
* You can enter number if you press RESET button again.## Hardware
### Components
* [Arduino Pro Mini 3.3V 8MHz](https://www.switch-science.com/catalog/876/) (or compatible product)
* [4 digits, 7-segment display module](https://www.aitendo.com/product/5361)
* [IR receiver module](https://akizukidenshi.com/catalog/g/gI-04659/)
* [IR remote controller](https://www.aitendo.com/product/19084)
* 220Ω resistor × 7
* A switch
* A battery (3.3V)
* Wires, connectors, etc...### Circuit
![Use case](doc/circuit.png)
## Software ![MIT Licensed](https://img.shields.io/badge/license-MIT-blue.svg)
### Build and transfer
Clone the source code and open the project file "SpeakersTimer.ino" with Arduino IDE.
This sketch depends on following libraries. (You can add these by library manager)
* [IRremote](https://github.com/Arduino-IRremote/Arduino-IRremote)
Almost certainly, the signal of each button is different according to the controller device.
You have to modify `codeTable` and other releated code in "SpeakersTimer.ino".```
PROGMEM static const uint32_t codeTable[KEY_MAX] = {
0x00FF9867, 0x00FFA25D, 0x00FF629D, 0x00FFE21D, 0x00FF22DD, // 0 ~ 4
0x00FF02FD, 0x00FFC23D, 0x00FFE01F, 0x00FFA857, 0x00FF906F, // 5 ~ 9
0x00FF6897, 0x00FFB04F, // asterisk, pound
``````
if (IrReceiver.results.decode_type == NEC && IrReceiver.results.bits == 32) {
```You can build the source code with following configuration.
* Board: "Arduino Pro or Pro Mini"
* Processor: "ATmega328P (3.3V 8MHz)"Then, you can transfer binary data to Arduino Pro Mini by any writer.
### License
These codes are licensed under [MIT License](LICENSE).