“My business is to give a gift, and you yourself think out what to do with this crap” (© Masyanya)

    Publications about high-tech gifts (see References [1] and [2]) inspired me to create my own crap cool little thing.

    image

    It may not look as aesthetically pleasing as [2], but it can not only blink a heart, but also congratulate with all my heart, or even confess my love. Congratulations are displayed in a running line using an 8x8 LED matrix (for lack of imagination, I called my project led8x8 ). Here I soldered such a matrix with wires to the microcontroller paws:
    imageimage

    The device is powered and configured from USB. You can enter any number of texts and pictures into the memory (as long as there is enough space in the EEPROM), they are stored in memory after turning off the power. Management and configuration is carried out through a text console connected to a virtual COM port (through any console such as Hyperterminal, Terraterm or putty), the control interface has a hint system. Texts can be entered using the TXT command, and BMP pictures in black and white, 8x8 pixels, can be downloaded using the XMODEM protocol (my favorite SecureCRT console can do this). Both texts and pictures are added to the common pool and played by the RUN command in the order in which you entered them in memory - therefore, if you wish, you can compose a very complex congratulatory combination. The speed of the creeping line and the change of pictures is changed by the SPEED command (from 1 to 10). Some debugging commands are also available. The screenshot shows an example of command execution in the console.
    image

    When creating the program, we used the V-USB library , an example of the USB CDC class from Osamu Tamura and the free AVRStudio + GCC software (I don’t provide links, because you can easily find it on the Internet if you wish), as well as the font from the ZX Spectrum computer.

    UPD 100627 : at the request of some readers, he wrote an article explaining how the dynamic display works (link [5]).

    [Links]
    1 . "High-tech gift" by March 8th .
    2 . LED gift for March 8th .
    3 . Project for AVRStudio ledx8x8 (ATmega32 microcontroller based on AVR-USB-MEGA16 breadboard was used).
    4 . Little demovideo clip . The animation with a blinking heart is made up of 3 BMP pictures drawn in Paint.
    5 . Dynamic display using the 8x8 GNM-7881AUE LED matrix control example .

    Also popular now: