Skip to the content
2 layers153 × 123 mmSolar lantern, the printed circuit board in 3D

Solar powered camping lantern

Size
153 × 123 mm
Copper layers
2
Thickness
0.8 mm
Parts
65
Nets
36
Pads
158
Tracks, vias
312, 389
Pours
2
Routed
Yes
KiCad
KiCad 6 (file 20211232)
Created
28 Sep 2021
Updated
15 Dec 2022

Overview

Solar lantern is an open-source printed circuit board by Miceuz, from the Miceuz/SolarCampingLentern repository on GitHub. It is a 2-layer board of 153 × 123 mm with 65 parts on 36 nets, routed with 312 tracks and 389 vias.

It is built around the ATTINY441-SSU, MCP1664-E/OT and CN3791, with the RU20P7C among its other parts. Its parts include 21 resistors, 14 capacitors, 12 diodes, 3 ICs and 3 transistors. It belongs with the power boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

4

README

README.md

Open source Solar Camping Lantern

Open source Solar Camping Lantern

Background

I started seeing a lot of disposable electronic cigarettes being used. As everyone knows, those devices contain perfectly rechargeable LiPo battery. And I've seen them thrown away everywhere - on streets, in general waste thrash cans, etc. While a lot of my friends have successfully refilled juice and re-charged the battery, the devices are not built to last - heating coil dies after several re-uses anyway. I have decided to look for a way to recycle those batteries.

So I have decided to make a lantern for my camping needs and also investigate a product parameter space. The idea popped in to my mind during a summer music festival, actually. When you camp with your friends and need a bit of extra light in the camp at night. It was a sunny summer, so of course I had to have it solar powered. Provided unlimited supply of batteries, can it be self sufficient in it's power needs just from solar energy while still being manageable in camp environment?

It's always a good idea to check what's available at the market. Maybe there is a product on the market that does just that? Just a piece of my expenses, not worth spending my time?

Initial requirements

  • Light output: ~100lm
  • Run time: min 4h
  • Battery: LiPo 3.7V ~2000mAh
  • Charging time: 6h

I have gauged the amount of needed light from my Lumilight pocket torch I have lost and my "cyclope" torch from Decathlon I got this year. 100lm is not a huge amount of light but still not that bad - it's enough to see people and stuff around, human eye is logarithmic and adapts to low light conditions.

Run time is a modest guess from a festival scenario - you might need light from 11 at night to 3 in the morning, roughly.

Charging time is a lazy day camping, maybe I will remember to pull it out and put on a sun sometime. It's not full effective sun time, just general time the device spends in sun semi-kinda-charging.

Case studies

BioLite SunLight 100

  • Light output: 100lm max
  • Battery: 750mAh LiPo
  • Run time: 3h
  • Solar pannel: 0.45W
  • Charging time: 7h
  • Dimensions: 85x86x23 mm
  • Weight: 95g
  • Price: 20$

MPOWERD Luci Outdoor 2.0

  • Light output: 75lm
  • Battery: 1000mAh
  • Run time: 6h
  • Charging time: 7h
  • Dimensions: 127mm dia, 25mm height
  • Weight: 125g
  • Price: 24$

MPowerd Luci Solar String Lights

  • Light output: 100lm
  • Battery: 2000mAh
  • Charging time: 16h
  • Run time: 5h
  • Dimensions: 127mm dia, 50mm height
  • Weight: 320g
  • Price: 50$

There are devices that target the same light output I want. Some of these specifications are inferred as not all manufacturers provide all the information I needed. SunLight 100 does almost exactly what I want, but solar battery this size barely will produce 8.3Wh needed in 7h of charging time. All in all solar in all of these products seems to be a nice addition to USB charging, not the main power provider.

Also I have bought some not-so-cheap crap from local hardware store that pretended like it can do what I want, but solar battery was total crap in those, outputting mere single digit milli-amps.

Thus, I have easily convinced myself that this is well worth as a hobby project. Besides, had to use those batteries up! So, with the battery sourcing question sorted out, let's not think about price too much and look what happens if we push on the light output efficiency and solar input efficiency.

Design

MPPT options

In the times of supply chain collapse, choosing a MMPT capable converter chip for storing solar energy to the battery was not an easy thing. They all are either not available or expensive. Luckily I have stumbled on this board by PC Tech featuring CN3791. Basically this project could have ended just there, as this board was all I needed - I have made my first prototype using it. Although I had to extract a bit more efficiency by having a dedicated led driver, also add some computer control to the thing.

Light Source

  • L130-4070003000W21 - Vf = 6V, I = 100mA, Light output = 100lm

It's one of the most efficient LEDs available at electronic distributors at the time. What's interesting and handy is that it's practically voltage controlled - it has a nice shallow IV curve. Provided you extract the heat from them though. They will happily do 100lm at 0.6W, the efficiency is even higher if you run them at half the rating. That's why I have doubled them up in my design.

Also I have decided to throw in a red light source, to see if it might be usable too. Red light does not dazzle humans too much, so it makes a good low level standby light source for the night. I did not want to add additional complication of channel switching for led driver chip, thus decided to power red led directly from MCU pin.

Photovoltaics

These panels, available at local suppliers, looked like a good trade-off between size and output power. Besides, not a lot to choose from, really. I have measured them and they were outputting the rated power, but it dropped drastically with non-perfect orientation to the sun, thus it has to be de-rated significantly. I have guesstimated MPPT point of the panel to be somewhere at 80% of it's open circuit voltage and measured about the same with a potentiometer hooked up to it.

Power

If you replicate this design, be warned that battery failure is a risk to be considered!

  • Battery: 3.7 LiPo, capacity varies: 1.4Wh, 1.85Wh, total capacity up to 11Wh
  • MCU powered directly from battery
  • DC-DC led driver - MCP1664

Batteries are re-used from electronic cigarettes. I don't really know if they retain their safety ratings after they have been re-charged, but people around are re-charging them and I've heard of no fires happening.

They come with a protection board and I have tried shorting and over-discharging them - seem to work fine, also I've seen my friends ridiculously abusing them with high charge currents on par of 3C. Their longevity is to be proven though as they might not be optimized for a lot of re-charge cycles, but it seems their safety is on par with standards mandatory with CE marking. I am happy to delay their travel to a landfill or a recycler.

Operational parameters

  • Energy consumed: 0.1A * 6V * 4h = 2.4Wh
  • Solar power available: 3.5W minus conversion losses
  • Light output: 120lm

It has plenty of solar - 1h of perfect sunlight should provide enough of charge for 4 required hours. Seems to make sense to have more battery capacity, but there is a small trade-off with the weight. It will be interesting to experiment with battery sizes and see what run times are achievable.

Mechanical construction

Frame of Solar Camping Lantern

Size and shape of the device is dictated by the solar panel. Since I wanted a lot of solar power, I knew I will not be able to make it as compact as commercially available devices. Also mechanical side of things is not my strength, so I went for a simple flat panel. One of use cases for such a light would be as a coaster for a water bottle - that makes a pretty nice low effort table light. Also I've added 4 holes to attach the lantern with rope - to a branch or a tarp.

All assembly is glue based (blergh!). Batteries are glued to the PCB. PCB is glued and soldered to the solar panel. Both the solar panel and plexiglass are glued to a 3D printed plastic frame.

Considering the usage scenario, of course it should have some level of ingress protection. Provided all glue seams are tight (sic!), the only place for water to seep in is through a button hole. I am going to experiment with printing of the frame from flexible plastics and have the button hole closed, but for the first revision there's going to be a small seam between hole and plunger and IPX6 rated button behind it.

Solar Camping Lantern attached to a tree for charging

MCU and software

I have chosen my beloved attiny441 - I have a stock of them and I am used to them and it's a relief to spend some time in a simple naive world of 8-bit microcontrollers. It's pretty low power too.

Software functions:

  • On/Off
  • Different levels of lighting
  • Cycle through white and red leds
  • Indicate battery level via charlieplexed leds
  • Auto level reduction on low battery [todo]
  • Fade everywhere [todo]
  • Sky's the limit, what can you do with a single button interface?

Bells and whistles

  • Charlieplexed leds for battery level indication

Weight analysis

ItemWeight, g
3.5W solar panel96
Plexiglass73
Frame56
PCB 0.8mm36
Battery 380mAh 7g, 3pack22
Electronic components4
Glue10
Total297

BOM Price analysis

ItemPrice, €
Solar panel13
Electronic components6.3
PCB5.1
Frame2
Plexiglass0.6
Batteries0
Total27

Prices are for a small batch of 10 units.

Final specifications

  • Light output: 120lm
  • Battery: LiPo 3.7V up to 4000mAh
  • Run time: >4h
  • Solar pannel: 3.5W
  • Charging time for 4h run time: 1h (perfect sun conditions)
  • Dimensions: 193x163x15 mm
  • Weight: 297g
  • BOM Price: 27€

PCB of Solar Camping Lantern

Conclusion

I took me 3 PCB iterations to get it right, I had to adjust a button position so it's easier to find in the dark, also I had to spread battery level indication leds along the edge so they would be distinguishable behind the plexiglass. Finally I have used 4 while leds instead of two, also spaced out as the single light source was a bit too strong.

Weight is a concern, but here I am limited to materials I have access to. I have made some improvements by using a 0.8mm PCB, maybe I can make the frame lighter, but the real limiting factors are solar pannel and plexiglass.

I have tried using the first prototype while camping at sunny autumn and it proved to be working very well. Working time with 870mAh battery was a little too short for long autumn evenings at full 100lm, but it was able to fully charge during the next day. Later I brought the panel to a rainy camping trip in December. Panel was barely charging the 5.5Ah battery, but it held almost two evenings allowing us to set up camp, prepare wood and chill under the red light in addition to fire. I think it's not much useful for rainy winter in Easter Europe, but it will be a perfect light for summer camping.

Licence

CERN Open Hardware Licence Version 2 - Strongly Reciprocal

Parts

65
QtyValueFootprintReferences
74u7Capacitor_SMD:C_0603_1608MetricC2, C7, C9, C10, C11, C12, C13
6LEDDiode_SMD:D_0603_1608MetricD2, D3, D4, D5, D6, D7
522kResistor_SMD:R_0603_1608MetricR1, R3, R9, R15, R17
3120Resistor_SMD:R_0603_1608MetricR4, R5, R16
31kResistor_SMD:R_0603_1608MetricR10, R11, R12
3Battery_CellConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalBT1, BT2, BT3
3D_SchottkyDiode_SMD:D_SOD-323D1, D8, D12
3RU20P7CPackage_TO_SOT_SMD:SOT-23Q1, Q2, Q3
2100nCapacitor_SMD:C_0603_1608MetricC4, C6
2100uCapacitor_SMD:CP_Elec_6.3x5.4_NichiconC1, C14
21MResistor_SMD:R_0603_1608MetricR7, R8
21uCapacitor_SMD:C_0402_1005MetricC3, C8
243Resistor_SMD:R_0603_1608MetricR20, R21
2LEDmiceuz-lib:DS207D9, D10
2RResistor_SMD:R_0603_1608MetricR13, R14
2SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP1, JP2
10R2Resistor_SMD:R_2512_6332MetricR6
1100Resistor_SMD:R_0603_1608MetricR19
1220nCapacitor_SMD:C_0603_1608MetricC5
12R5Resistor_SMD:R_0805_2012MetricR18
147uInductor_SMD:L_Coilcraft_XAL60xx_6.36x6.56mmL1
14u7Inductor_SMD:L_Taiyo-Yuden_MD-4040L2
175kResistor_SMD:R_0603_1608MetricR2
1ATtiny441-SSPackage_SO:SOIC-14_3.9x8.7mm_P1.27mmU2
1AVR-ISP-6Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ2
1CN3791Package_SO:SSOP-10_3.9x4.9mm_P1.00mmU1
1LOGOmiceuz-lib:catnipG***
1MCP1664Package_TO_SOT_SMD:SOT-23-5U3
1PVConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
1RED LEDLED_SMD:LED_PLCC-2D11
1SW_PushButton_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mmSW1

The 64 most common of 65 parts.

Similar boards

  • 2 layers92 × 110.6 mmPOWERBANK CLEAN2, the printed circuit board in 3D

    POWERBANK CLEAN2

    Onaensar/Survibank

    Hybrid Powerbank: Solar + MagSafe + 18W Fast Charge

    69 parts
  • 2 layers100 × 150 mmI2c moist sensor pannel, the printed circuit board in 3D

    I2c moist sensor pannel

    Miceuz/i2c-moisture-sensor

    I2C based soil moisture sensor

    140 parts258Apache-2.0
  • 2 layers100 × 149.5 mmRs485-moist sensor pannel, the printed circuit board in 3D

    Rs485-moist sensor pannel

    Miceuz/rs485-moist-sensor

    Digital (RS485 - based) soil moisture and temperature sensor

    170 parts74Apache-2.0
  • 2 layers64.1 × 123.2 mmPokeball, the printed circuit board in 3D

    Pokeball

    Michael-Beutling/pokeball-autocatcher

    mod for poke ball to perform auto catch

    156 parts7MIT
  • 2 layers50.8 × 50.8 mmEsp switch, the printed circuit board in 3D

    Esp switch

    foxel/esp-dual-rf-switch

    LightFox Dual: esp8266 WiFi+RF dual channel switch

    29 parts6
  • 2 layers24.1 × 26.7 mmRf24 tiny44, the printed circuit board in 3D

    Rf24 tiny44

    roberthart56/projects

    rob's projects and log

    10 parts3
  • 2 layers25.2 × 60.5 mmRs485-breakout, the printed circuit board in 3D

    Rs485-breakout

    Miceuz/rs485-breakout

    A tiny development board to quickly prototype RS485/Modbus devices

    33 parts2Apache-2.0

Questions

How big is the Solar lantern PCB?

It measures 153 × 123 mm and has 2 copper layers, 0.8 mm thick.

What parts does the Solar lantern use?

65 parts, built around the ATTINY441-SSU, MCP1664-E/OT, CN3791 and RU20P7C. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Solar lantern KiCad files?

From the Miceuz/SolarCampingLentern repository on GitHub, at the commit this page was made from: the board is solar_lantern/solar_lantern.kicad_pcb and its schematic solar_lantern/battery.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Solar lantern design in my own project?

Its repository states no licence, so its author keeps all rights: ask Miceuz before reusing the design.