PCB LED Flower

12,638

155

18

Introduction: PCB LED Flower

About: Civil marine engineer

PCB designing it is my hobby. Usually, I did something for myself only, but some time ago my wife asks me for anything beautiful for her.

And soon I designed this flower. It's the first time I use an Attiny processor, and it was just another experiment for me.

All flower's petals have his own microcontroller with 12 LED connected in charlieplexing order. And this microcontrollers to be controlled by 1-wire protocol.

The flower still not finished, I should write new code to control all LED separately. For now, I can only light up all LEDs simultaneously.

Before starting this project, you should know how to solder smd and how to program ATtiny microcontroller.

If you like the flower you can easily make it, just follow the next steps:

Step 1: Order PCB

This PCB contains all needed to complete one flower - 6 petals and 2 central part (one red and one yellow for your choice).

You can download and send a zip file or order it directly from Seeed studio. The PCB penalized but you should cut out all items by your self. It's easy to do by Dremel tools.

Or download attached PCB files for EAGLE and order separate ones.

Thickness I ordered was 1 mm.

Step 2: Prepare Tools and Spare Parts

To assemble PCB you need next tools:

  1. Solder;
  2. Tweezers;
  3. PCB holder;
  4. Soldering flux;
  5. Solder wire;

Spare parts:

  1. ATtiny85, SMD: SOIC - 6 pcs; (or ATtiny45 - but not tested);
  2. LEDs, SMD: 0603, red color - 72 pcs; (or other colors, but same on one PCB);
  3. Wires;

For programming:

  1. Anything that you like to programming ATtiny - Arduino, AVRISP or others
  2. Clips for in-circuit Programming or SOIC8 Programming adapter
  3. Arduino soft and Attiny library

Step 3: Assemble One Petal

After cutting out petals from PCB fix it in your PCB holder, apply the soldering flux on pads for LEDs and solder all LEDs. Be caution the LEDs should point with green cathode mark to outside.

Next, if you have clips for programming in place (recommended) then first fix the PCB for another side, apply flux for pads for attiny chip and solder it in its place. Be caution to pay attention to the orientation of chip's mark.

If you prefer to use the adaptor for programming microcontroller, you should first load code as described in the next step and then solder it.

Step 4: Upload Code

Connect the programmer to your computer and fit the clips on the chip and upload the attached code to a microcontroller.

All LEDs should light up constantly.

Repeat previous and this steps for all petals.

Step 5: Assemble the Flower (outside Part)

At first solder two petal side by side, two side holes should be one over other, so you can insert one wire V(+). One (or all) of this wire will be used for power supply.

One by one fix all petals in a circle.

Step 6: Assemble the Flower (inner Part)

Now take the central PCB and solder wire in 6 bigger outside holes, this is V(-) or GND. Then insert all 6 wires to petal's holes for V(-) and solder it.

You can use these wires for powering PCB, or cut out and add some wires to central holes, it will form a flower stalk.

Power up this PCB with 2.7 - 5.5V. All LEDs should light up. If not check all connections between PCBs.

Step 7: Finish

Use your imagination to finish this project.

I used some Christmas toy with a battery holder for 2xAAA batteries. As a grass, I use old PCB.

It's my first Instructables project and it still not finished.

So ask me questions and be ready for updates.

PCB Contest

First Prize in the
PCB Contest

1 Person Made This Project!

Recommendations

  • Puzzles Speed Challenge

    Puzzles Speed Challenge
  • "Can't Touch This" Family Contest

    "Can't Touch This" Family Contest
  • CNC Contest 2020

    CNC Contest 2020

18 Discussions

0
pingK1NG
pingK1NG

10 months ago on Step 4

Great instructable! I recently made 3 of these arragened together in a pot plant.
One thing I noticed is the code you have posted doesn't address all the LEDs. You need to add in all the combinations/addresses for the charlieplexing into the two dimensional array.

//All LEDs on at the same time
const int LED[12][2] = {
{ 2, 4},
{ 4, 2},
{ 2, 1},
{ 1, 2},
{ 4, 1},
{ 1, 4},
{ 3, 1},
{ 1, 3},
{ 3, 2},
{ 2, 3},
{ 3, 4},
{ 4, 3}
};

0
RichardC96
RichardC96

1 year ago

This is an amazing project! Thank you so much for sharing! My students are totally inspired by your work! Did you design your PCB boards yourself? I have been looking to help my students design their own boards. Searching online I've found a few sites like Adafruit.com or https://www.pcbgogo.com that have custom boards. Any insights on how to get started would be greatly appreciated!

0
vyudin
vyudin

Reply 1 year ago

Thanks! I'm not professional Pcb maker, I follow all time only one way: open Eagle, draw circuits, design Pcb, trace it, check and fix errors, convert to Gerber files, send it to Seeed Studio and after 3-4 weeks receive my own pcbs.
Soldering it, test it, find bugs and do it one more time. ;)

1
nqtronix
nqtronix

1 year ago

Beautiful design of the flower as well as the PCBs themselfs. Great entry for the contest, wish you best of luck!

1
vyudin
vyudin

Reply 1 year ago

Thank you very match! I spent a lot of evenings to make this design.

0
nqtronix
nqtronix

Reply 1 year ago

Congrats to the first place! :D

1
vyudin
vyudin

Reply 1 year ago

Thanks!!! :)
It was very unexpected for me!

0
triplerd
triplerd

1 year ago

It will very helpful if you can provide me the nc file. Great project!!

0
TimL90
TimL90

1 year ago

This looks awesome... and just in time for peoples valentines day!

I am ordering my PCB's currently and cannot find where the little green leaf PCB is in the Gerber files (I might be blind!). Can you please tell me where it lives?

PS: Congratulations on the build and also on the number of sites that have re-posted it to makers everywhere!!

1
vyudin
vyudin

Reply 1 year ago

Sorry for disappointing you. We cannot make green leaf on red PCB. Green leaf it is just some extra from my other design, so if you like it to make you should order it separately.
I added brd file with 9 leaves to "Step 1".

Tiny_Leaf v02 panelized_f.png
0
TimL90
TimL90

Reply 1 year ago

Disappointing me... no way, I knew the moment I saw this yours would be the next project I wanted to make myself.
This is brilliant, and for a first instructable... how cool!

0
Ableson
Ableson

Tip 1 year ago

I'm like the rose it is Creative and interesting very good

0
vyudin
vyudin

Reply 1 year ago

Thanks for good words! I did my best! :)

I love this. It would be perfect for making a cyberpunk variation on the Beauty and the Beast rose.

1
vyudin
vyudin

Reply 1 year ago

Wow, very good idea! I added some lights.

IMG_20190201_135049.jpg
0
randofo
randofo

1 year ago

Nice! I like the use of the different color PCBs to make the flower.

0
vyudin
vyudin

Reply 1 year ago

Thank you ! I'm glad you liked it.