This Valentine’s Day Card was made from a heart-shaped pcb and SMD LEDs, via instructables.
I don’t have anyone special to give a card to this valentine’s day, but that doesn’t mean I can’t enjoy the merriment. I like themed creating, and holidays always allow you to get creative in the way you enjoy them.
This year for Valentine’s Day, I made a PCB card in the shape of a heart (in case you couldn’t tell). It flashes 12 SMD red LEDs using charlieplexing with a ATtiny13a, running off a single CR2032 coin cell battery.
I made this card entirely in 4 hours. That includes coming up with the schematic, drawing, cutting, and etching the board, soldering all the components on, developing the program, programming the microcontroller, and debugging. Fun quick day project!
The original plan was to use the slightly larger attiny85 (it has more memory so you can write a larger function). But for some reason my programmer really didn’t like that attiny85, so I reluctantly switched to the 13. With that, I had to truncate some code. ALthough the code wasn’t fully developed at that point, so it just meant that I didn’t finish writing it. The only thing that I am sad that I left out was the cosine wave function thingy that i started writing. So instead, there are just a few patterns it shows. Also, for some reason that I just can’t figure out today, I couldn’t get the button to work correctly. So ignore the button.
Happy Valentine’s Day from Adafruit! Today we are highlighting our favorite heart-shaped electronics projects. We have lots of excellent projects to let your loved one know that you care. Be sure to check out our gift guide as well!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.