# Solar Button

**URL:** https://forum.core-electronics.com.au/t/solar-button/9235
**Category:** Projects
**Created:** [24 January 2021 05:54 UTC](https://forum.core-electronics.com.au/t/solar-button/9235 "2021-01-24T05:54:47Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)
#### Post date: [24 January 2021 05:54 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/1 "2021-01-24T05:54:47Z")

</div>

Bought one of these Solar Skill Badges some time ago (might have been on sale) something to play with at a later date.

> **[Round Solar Panel Skill Badge - 5V / 40mA](https://core-electronics.com.au/round-solar-panel-skill-badge-5v-40ma.html)**
>
> This skill badge is self-fulfilling! Normally you would get the badge after the project is done, but in this case, the badge can be part of the project! The solar .. read more

What could I make with this that did something and could be still used as a badge; was the question.  
Ended up with something simple that amused the grandkids for a while. Solar Cell charges a 1 Farad capacitor which then discharges through 4 flashing LEDs. Takes a minute or 2 in the sun to charge to about 4.5 volts and then flashes all LEDs at reasonable brightness for about 10 to 15 minutes in the shade. The Red one stays on the longest and can tale over 30 minutes to stop flashing. The LEDs flash at 2Hz but there are slight variations that make the flashing look good. The kids found it amusing and they have an idea of what a solar cell can do. Free energy from the sun.

Project was put together pretty fast, soldering not the best. The double sided tape was to protect the circuit and little fingers. Would stick the lapel pin on the capacitor so it could be worn.  
Anyway, thought I would share here.

 ![IMG_2973](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/2/236da2eea13201c320f3b81262b68f0b04cce315.jpeg)

 ![IMG_2975](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/9/932d67921a39c5581c134a61eb951bc037f7c400.jpeg)

 ![IMG_2978](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/4/4c2cbaa7f27db5f889ddf72186616bccab0ef0e2.jpeg)

![schematic](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/3/3c5611f1f102bf449d57c86a5a2430ab9127eb81.jpeg)

Next project to amuse the little ones is the Glowbit Rainbow. Hoping the older one may pick up something with programming if. He states what he would like to see and we then program it and he sees it happening. .Parts currently on order.

cheers  
Jim

---

<div class="post-metadata">

### Author: ![brian86770](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@brian86770](https://forum.core-electronics.com.au/u/brian86770)
#### Post date: [24 January 2021 16:41 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/2 "2021-01-24T16:41:26Z")

</div>

removed by me …but cool simple cct…

---

<div class="post-metadata">

### Author: ![Mitchell](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/mitchell/32/3564_2.png) [@Mitchell](https://forum.core-electronics.com.au/u/Mitchell)
#### Post date: [25 January 2021 00:00 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/3 "2021-01-25T00:00:45Z")

</div>

Hey James,

Love it! Sometimes simple little circuits can be the most fun. If you are looking for a device to learn coding on, check out the new Raspberry Pi Pico board:[Raspberry Pi Pico Australia](https://core-electronics.com.au/raspberry-pi-pico.html) This would be perfect for learning how to program - as an added bonus we also have a tutorial on how to work with the glowbit.

---

<div class="post-metadata">

### Author: ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)
#### Post date: [25 January 2021 02:09 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/4 "2021-01-25T02:09:53Z")

</div>

Diode drops the 6V open circuit of Solar Cell to around 5.5V maximum of the capacitor, in theory.  
In practice the cap only reaches 4.5V anyway. Secondary function is to limit current to one direction.  
Blue LED is brightest and stops flashing first.  
I considered a 120mAH Lipo, a charge board, Pololu ATMega328P board and strip of programmable LEDs. All would fit on the back, but to charge the Lipo would mean a long time in the sun.

Happy with this and the Grandkids reaction to it.

---

<div class="post-metadata">

### Author: ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)
#### Post date: [25 January 2021 02:14 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/5 "2021-01-25T02:14:08Z")

</div>

Have a Pi Pico, 2 Glowbit Rainbows and BBC Microbit on order. Programming is not new to me. A lot of what I do is to amuse the Grandkids, all good. Cheers

---

<div class="post-metadata">

### Author: ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)
#### Post date: [25 January 2021 02:51 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/6 "2021-01-25T02:51:25Z")

</div>

GIF of how it looks when the LEDs are flashing.

 ![My-Movie-03](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/e/e1de28b51802eaeac9db89251b663260a7f63170.gif)

---

<div class="post-metadata">

### Author: ![Mitchell](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/mitchell/32/3564_2.png) [@Mitchell](https://forum.core-electronics.com.au/u/Mitchell)
#### Post date: [25 January 2021 02:52 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/7 "2021-01-25T02:52:42Z")

</div>

very nice!

---

<div class="post-metadata">

### Author: ![brian86770](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@brian86770](https://forum.core-electronics.com.au/u/brian86770)
#### Post date: [25 January 2021 07:27 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/8 "2021-01-25T07:27:12Z")

</div>

footnote:::  
leds come in different brightness/intensity /beam.size/shape etc.etc…  
the blue led your using is different to the others.it looks high intensity /spread…  
you can get pencil and spread beam…and current drain differs…  
there are so many variants on the market when it comes to leds these days…  
tip::swap out the red led.

::: try and get some black nail polish and apply to the body of the leds…an old trick but effective…it stops spread of light between the leds when there close together…

---

<div class="post-metadata">

### Author: ![brian86770](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@brian86770](https://forum.core-electronics.com.au/u/brian86770)
#### Post date: [25 January 2021 08:46 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/9 "2021-01-25T08:46:32Z")

</div>

do you have a core part number or a link 4 that lipo setup…pls…

---

<div class="post-metadata">

### Author: ![Oliver33](https://avatars.discourse-cdn.com/v4/letter/o/a9adbd/32.png) [@Oliver33](https://forum.core-electronics.com.au/u/Oliver33)
#### Post date: [25 January 2021 10:51 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/10 "2021-01-25T10:51:42Z")

</div>

This is a really interesting effect! Here’s a little simulation I made up. Not very scientific - just played with the values till I got the result I was looking for, but the principles will be the same.

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/3/3b9017749ff39683fcc6a7c472c645ce04469ea1.png)

[https://tinyurl.com/yyrb9mn7](https://tinyurl.com/yyrb9mn7)

The Blue LED has a lower forward voltage then the others. As the voltage from the panel climbs it charges the cap until it exceeds the forward voltage of the LED. As the current climbs through the blue LED, the slight resistance and inductance of the wires causes enough of a voltage drop to exceed the other LED’s forward voltages - these in turn experience a current surge which provides enough current to allow the neighbouring one to turn on.

But the panel can’t keep - the power draw is too great. The panel voltage drops and the cap discharges. All for the cycle to repeat again.

---

<div class="post-metadata">

### Author: ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)
#### Post date: [25 January 2021 22:00 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/11 "2021-01-25T22:00:17Z")

</div>

Don’t know if this is what you want. The list below I have in my parts box and was what I planned to use. I did not proceed seeing the simple design as doing what i wanted. It was just early planning.  
The Neo Pixel strip would have been a problem as it needs 5V generally. A Pololu step up power supply board would have fixed it (these things are tiny for what they output). In this design the solar panel would not have contributed much. It would take hours in full sun to charge the LiPo, but the ability to charge via a USB port would have made it redundant.

> **[Polymer Lithium Ion Battery (LiPo) 3.7V 120mAh](https://core-electronics.com.au/lipo-polymer-lithium-ion-battery-120mah.html)**
>
> Welcome to the awesomeness that is LiPo batteries. Polymer Lithium Ion batteries offer superior energy density with this 120mAh battery being only 5mm in height!

> **[Adafruit Mini Lipo w/Mini-B USB Jack - USB LiIon/LiPoly charger - v1](https://core-electronics.com.au/adafruit-mini-lipo-w-mini-b-usb-jack-usb-liion-lipoly-charger-v1.html)**
>
> Oh so handy, this little lipo charger is so small and easy to use you can keep it on your desk or mount it easily into any project! Simply plug it via any MiniUSB .. read more

> **[A-Star 328PB Micro 3.3V 8MHz](https://core-electronics.com.au/a-star-328pb-micro-3-3v-8mhz.html)**
>
> The A-Star 328PB Micro is a tiny programmable module featuring the ATmega328PB AVR microcontroller, a backward-compatible replacement for the popular ATmega328P that features more general-purpose I/O and many additional peripherals.

> **[NeoPixel Stick - 8 x WS2812 5050 RGB LED with Integrated Drivers](https://core-electronics.com.au/neopixel-stick-8-x-ws2812-5050-rgb-led-with-integrated-drivers.html)**
>
> Make your own little LED strip arrangement with this stick of NeoPixel LEDs. Adafruit crammed 8 of the tiny 5050 (5mm x 5mm) smart RGB LEDs onto a PCB with mounting holes and a chainable design.

---

<div class="post-metadata">

### Author: ![brian86770](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@brian86770](https://forum.core-electronics.com.au/u/brian86770)
#### Post date: [26 January 2021 01:00 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/12 "2021-01-26T01:00:41Z")

</div>

i have some of those flat pack lipo`s if you cannot get one email and ill post you 1 of them…i got them out of b-tooh txmiters units

---

<div class="post-metadata">

### Author: ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)
#### Post date: [26 January 2021 01:34 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/13 "2021-01-26T01:34:29Z")

</div>

This was my plan. Parts seemed to fit ok. Might have changed location of each. No idea how to attach or to ensure no shorts. Probably use enamelled wire to connect. Has worked successfully on other projects, easy to hide and wire if very thin.  
Yet to play with the A-Star Micro, like the small size and the possibilities. Being able to connect direct to a LiPo is very good. The Neo Pixels are awesome with what you can program them to do.

But for now the Solar Button is exactly as I want it to be.  
Thanks for all the comments, everyone.  
Cheers  
Jim

 ![1611623946520 (2)](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/0/03ccda60913022accaf384859318bd1b1adad72d.jpeg)

 ![1611623916287 (2)](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/9/93931b2c64d434290f05454ef95ad1e7b8c80cbe.jpeg)

---

<div class="post-metadata">

### Author: ![brian86770](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@brian86770](https://forum.core-electronics.com.au/u/brian86770)
#### Post date: [26 January 2021 02:41 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/14 "2021-01-26T02:41:06Z")

</div>

i have never seen a battery curled or curved that way before does it still work ok…??

sorry if this is an old question

---

<div class="post-metadata">

### Author: ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)
#### Post date: [26 January 2021 08:28 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/15 "2021-01-26T08:28:47Z")

</div>

The 120mAh LiPo is from Core Electronics and the pic shows it as it came in the packaging. Link in previous post. It is tiny. These batteries have on board chips to manage the charge and discharge cycles. They are excellent for use in low power projects and for when you want something to fit in a small space.

The battery shown works very well and was used in testing a larger solar panel charging unit. The battery does not take long to charge and discharge as it has very low capacity.

Worth a look if you have battery projects. Core Electronics have a larger range up to 2400mAh in the same style. A number of my projects have used them. The Adafruit Charger works very well charging them.

Cheers,  
Jim

(btw I am a Core customer, I get nothing for recommending their products, but if it works good I will say)

---

<div class="post-metadata">

### Author: ![Liam](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam/32/3562_2.png) [@Liam](https://forum.core-electronics.com.au/u/Liam)
#### Post date: [27 January 2021 00:53 UTC](https://forum.core-electronics.com.au/t/solar-button/9235/16 "2021-01-27T00:53:41Z")

</div>

Hi James,

The original project looks awesome!  
Can’t wait to see your NeoPixel version working, I haven’t seen the A-Star before, looks perfect for this project!

I use this wire for all of my projects: [Hook-Up Wire - Assortment (Solid Core, 22 AWG) Australia](https://core-electronics.com.au/hook-up-wire-assortment-solid-core-22-awg.html)

Cheers,  
Liam.
