presepino: show LED patterns

cage 23838ed962 - stop animation when a command is recevied; 2 months ago
COPYING c0119259bc - starting with protocol. 3 months ago
README.org d358de9e78 - removed redundants lines in README. 2 months ago
clock.h 2bf920a52b - added pulse animation. 2 months ago
constants.h fb799fec3a - added use of keypad to set the clock; 2 months ago
dump.h 1142c2193e - do not starts the animation if EEPROM does not contains meanigful 2 months ago
keypad.h fb799fec3a - added use of keypad to set the clock; 2 months ago
led.h 23838ed962 - stop animation when a command is recevied; 2 months ago
presepino.ino 23838ed962 - stop animation when a command is recevied; 2 months ago
protocol.h 23838ed962 - stop animation when a command is recevied; 2 months ago
utils.h 1142c2193e - do not starts the animation if EEPROM does not contains meanigful 2 months ago

README.org

Overview

Presepino is a simple hardware/software gadget to show LED strip animations pattern.

This document only explains how to build the device and how compile the firmware to be uploaded into.

Dependencies

Libraries

  • DS3231_Simple (real time clock library)
  • https://github.com/sleemanj/DS3231_Simple
  • fastled library (for LEDS strip)
  • http://fastled.io/
  • keypad library
  • https://github.com/Chris--A/Keypad/

Note that if you, like me, are using a stoneage arduino IDE probably you are going to move the content of src/ in the main directory of this library.

#+BEGIN_SRC sh PWD values the path where keypad library is mv src . #+END_SRC

Program

  • arduino IDE (gcc-avr etc...);

Hardware

  • arduino® mega board;
  • DS3231 based real time clock board 1;
  • a compatible2 with fastled library led strip.

PIN configuration

These are the defaults:



#define LED_DATA_PIN                  2

uint8_t row_pins[KEYPAD_ROWS]    = {41, 43, 45, 47};

uint8_t column_pins[KEYPAD_COLS] = {49, 51, 53};

Installation

  1. compile the software and load to the arduino board.

Usage

  1. power on the device;
  2. Use praesaepe to configure
  3. and upload an animation into the device;
  4. enjoy! :)

Contributing

Any help is appreciated. If you intend to contribute please send a message to the original repository is.

Bugs

Please send bug reports to: cage-dev at twistfold dot it, or open an issue on the website where the original repository is.

NO WARRANTY

This works is © 2018 cage

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Thanks

  • All friends and collegues for the support and all the good ideas! :)
  • All the original libraries'authors.

3 see https://github.com/FastLED/FastLED/wiki/Overview#chipsets 4 *Important* check this thread before buying an RTC module


  1. DEFINITION NOT FOUND
  2. DEFINITION NOT FOUND
  3. DEFINITION NOT FOUND
  4. DEFINITION NOT FOUND