![]() Just like everyone else - Margaret Mead" const char string_10 PROGMEM = "Don't judge each day by the harvest you reap but by the seeds that you plant - Robert Louis Stevenson" const char string_11 PROGMEM = "The future belongs to those who believe in the beauty of their dreams - Eleanor Roosevelt" const char string_12 PROGMEM = "Tell me and I forget. Let no one ever come to you without leaving happier - Mother Teresa" const char string_8 PROGMEM = "When you reach the end of your rope, tie a knot in it and hang on - Franklin D.Roosevelt" const char string_9 PROGMEM = "Always remember that you are absolutely unique. If you look at what you don't have in life, you'll never have enough - Oprah Winfrey" const char string_5 PROGMEM = "If you set your goals ridiculously high and it's a failure, you will fail above everyone else's success - James Cameron" const char string_6 PROGMEM = "Life is what happens when you're busy making other plans - John Lennon" const char string_7 PROGMEM = "Spread love everywhere you go. const char string_1 PROGMEM = "The way to get started is to quit talking and begin doing - Walt Disney" const char string_2 PROGMEM = "If life were predictable it would cease to be life, and be without flavor - Eleanor Roosevelt" const char string_3 PROGMEM = "Great things never come from comfort zones." const char string_4 PROGMEM = "If you look at what you have in life, you'll always have more. const char string_0 PROGMEM = "The greatest glory in living lies not in never falling, but in rising every time we fall - Nelson Mandela" // "String 0" etc are strings to store - change to suit. ![]() char DisplayDateString // Strings to concatinate rtc variables in the right format x 4 char DateAndTimeString char HourAndMinuteString char MinuteAndSecondString // Strings, lots and lots of strings, placing them into flash to save SRAM. const uint16_t colors = // Initial "" is to solve the leading Zero in the array when matching to the month select function. ![]() From adafruit help for tiled arrays matrixWidth, matrixHeight, tilesX, tilesY, pin, matrixType, ledType) // Configure NeoPixel colours and variables. Argument 4 = Number of vertical tiles. Argument 3 = Number of horizontal tiles. Argument 2 = Number of columns in NeoPixel array. Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix ( 8, 8, 5, 1, 6, NEO_MATRIX_TOP + NEO_MATRIX_LEFT + NEO_MATRIX_ROWS + NEO_MATRIX_PROGRESSIVE, NEO_RGB + NEO_KHZ800 ) // Argument 1 = Number of rows in NeoPixel array. #define PIXEL_PIN 6 // Digital IO pin connected to the NeoPixels. #define PIXEL_COUNT 320 // Total number of NeoPixels. #include #include #include // Configure NeoPixel. SoftwareSerial s1Serial ( 20, 21 ) // RX, TX, Bluetooth module. ![]() DS3231 rtc // Configure software serial pins. * Name: Swear_Box.ino - NeoPixel Clock using a DS3231 Created: 2:23:26 PM Original code kindly referenced from: Tiziano Bianchettin Serioulsy hacked about by: Christopher Cooper in 2020 */ // Libraries. This allows for a connection from either an Android or Apple device, so the user can send character strings to the clock, which are then displayed on the clock as scrolling text messages. I have kept the power systems, USB interface and LED 8x8arrays the same, but needed to enlarge the main PCB, to make way for a new real time clock as well as a Bluetooth module.Īfter a little investigation, I settled on the DS3231, as this is more accurate than its baby sibling the DS1307.įor the Bluetooth interface, I installed a HC10 Bluetooth module. Please see it here - Digital Cribbage Board Loss of settings protection by saving settings into EEPROMĪs I stated earlier, the digital alarm clock and the digital kitchen timer are both built on nearly the same chassis and design of my earlier Digital Cribbage Board, but with some modifications.Bluetooth module to display received character strings.Bespoke PCB including two power systems.As I started the project, the scope expanded and expanded, to the following list of features.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |