valentines-leds

Public

@dybarsky

Download board files

Files for version 1. Pick what you came for.

Share valentines-leds

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading 3D model… large boards can take a moment.

README

HEART LEDs Valentine's day gift.

An Open Source & Open Hardware project.

Demo gif (loads a bit long) 👇

Parts

The core of this project is MSP430G2553 mictrocontroller by Texas Instruments and two SN74HC595N 8-bit shift registers. Each 8-bit shift register controls 8 3mm red LEDs. Also resistors, capacitors, slide switch, tacticle button, DIP sockets, Li-ion akku 3.7V, a JST connector.

Check schematics below to get values for resistors and capacitors.

Here are all used components 👇

And this is how assembly looks like 👇

Schematic

I used KiCad to design hardware. Source files are located in pcb folder.
This is a schematic diagram 👇

PCB Design

KiCad project fies for PCB as well as Gerber files for PCB production are also located in pcb fodler.
This is a PCB design 👇

With highlighted nets 👇

Firmware

Firmware for this project was written in pure C, operating with IC registers directly (without platformio or any other ports of arduino libraries). It requires some deeper knowledge of MSP430G2553 datasheet and hardware communication protocols, but drastically reduces binary size. It's only 14 KB!

There are 6 different patterns of LEDs blinking. They are store in 2 dimensional arrays of bytes.
Timer intrruptions are configured to be called every 0.1 second. IC goes over array and sends data to 8-bit shift register. Communication between the microcontroller and 8-bit shift registers is done via SPI protocol. When IC is not busy, it goes to low power mode.

Demo

https://www.youtube.com/watch?v=liG8lNvPkbY

Instrucitons

https://www.instructables.com/Electronic-Heart-Valentines-Day-Gift/

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.