Giter VIP home page Giter VIP logo

solarcampinglentern's Introduction

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

Item Weight, g
3.5W solar panel 96
Plexiglass 73
Frame 56
PCB 0.8mm 36
Battery 380mAh 7g, 3pack 22
Electronic components 4
Glue 10
Total 297

BOM Price analysis

Item Price, €
Solar panel 13
Electronic components 6.3
PCB 5.1
Frame 2
Plexiglass 0.6
Batteries 0
Total 27

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

solarcampinglentern's People

Contributors

miceuz avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.