Home‎ > ‎Michael's Projects‎ > ‎

Valentine's Heart

Introduction

Surprise your loved ones with DIY electronic animated Valentine's Heart!

Assembly Instructions

  • Program the PIC microcontroller using heart_2014.hex firmware (see files section at the bottom of this page). 
  • Bend resistors' leads at 90 degrees, and solder the resistors.
  • Solder the tactile switch, the IC socket, and the capacitor
  • Solder the LEDs. Pay attention to LEDs' polarity. Flat edge and shorter lead indicate negative terminal (cathode). Longer lead is the positive terminal (anode). (See the picture on the right). All LEDs should be oriented with positive terminals toward the top of the board.
  • Carefully solder the CR2032 battery holder. Trim components leads if needed.
  • Insert the PIC microcontroller to the socket. Make sure that it is oriented correctly (pin 1 mark toward capacitor)
  • Insert the battery

Operating Instructions

Use On/Mode button to turn the lights on, and to cycle through different animation modes.

Bill of Materials

Link to the project on Mouser.com - View and order all components except of PCB.
Link to the project on OSHPark.com - View and order PCB.

 Component Type
 Reference Description
 Quantity Possible sources and notes
 Printed Circuit Board
  Gerber and KiCad files provided below 1 Order PCB from OSH Park, make PCB yourself, or build the project on a prototyping board. The ZIP archive with Gerber files is in the files section below.
 Battery Holder
 BT1 CR2032 Battery Holder
 1 Mouser 122-2420-GR
 Battery BT1 CR2032 Battery
 1 Mouser 658-CR2032
 Capacitor C1 Ceramic Capacitor, 0.1 uF 1 Mouser 810-FK28X7R1H104K
 LED D1 - D12 3mm / T-1, LED, Red
 12 Mouser 859-LTL1CHKEKNN
 Resistor R1
 10 k, 1/4 w 1 Mouser 291-10K-RC
 Resistor R2, R3
 470 ohm, 1/4 w
 2 Mouser 291-470-RC
 Switch SW1 Tactile Switch, 6 x 6 mm
 1 Mouser 653-B3F-1000
 IC Socket U1 8 pin 300 mil DIP socket 1 Mouser 517-4808-3000-CP or 575-193308
 IC
 U1 Microchip PIC12F629, PDIP-8
 1 Mouser 579-PIC12F629IP


ą
Sergey Kiselev,
Jan 6, 2017, 3:39 PM
ą
Michael Kiselev,
Feb 11, 2016, 1:31 PM
ą
Michael Kiselev,
Feb 11, 2016, 1:31 PM
ą
Michael Kiselev,
Feb 11, 2016, 1:31 PM
ċ
Heart - Gerber.zip
(13k)
Michael Kiselev,
Jan 12, 2014, 2:04 PM
ċ
Heart - KiCad.zip
(12k)
Michael Kiselev,
Jan 12, 2014, 2:04 PM
Ċ
Michael Kiselev,
Feb 11, 2016, 8:45 PM
ċ
heart_2014.asm
(17k)
Michael Kiselev,
Feb 11, 2016, 1:31 PM
ċ
heart_2014.hex
(2k)
Michael Kiselev,
Feb 11, 2016, 1:31 PM
Comments