Powering mote 24/7 using only a supercap and solar


  • Hero Member

    @NeverDie

    I assembled and tested the cheapest of the boost converters (https://www.openhardware.io/view/278). It works. Ironically, because it lacks an enable pin, one could argue that it actually has less of a cold start problem than its more expensive counterparts. Its startup voltage is 0.8v, and after that it can drop to 0.5v (where it draws about 12ma of current in a no load scenario). For weak indoor lighting, its current demands are too high for a small solar cell. However, in direct sunlight, it could definitely provide 3.3v.


  • Hero Member

    Good news! I jerry rigged one of the above mentioned load switches inline with the BQ25504, and Lo! It can sustain a lightly loaded voltage of 3.1v output all the way down to an input voltage of 0.21v before collapsing.

    So, I hooked up my el cheapo solar cell, and I confirmed that it does the business even in ambient light. 🙂


  • Hero Member

    So, I've revised my BQ25504 PCB to include the load switch, and I've sent the files off to the fab.


  • Hero Member

    The next thing I need to look into is how to measure voltages and currents in the least disruptive way. Using a multimeter to measure the voltage on a cap can noticeably affect the voltage, due to current drain. One option would be to use the ADC on an atmega328p. Another would be to use an INA219. I think one of the keys will be to switch on for the measurement and then switch off as quickly as possible, as opposed to a multimeter which stays switched on until you manually switch it off.

    If anyone has any other suggestions for minimally disruptive measurements, please do post.


  • Hero Member

    @NeverDie said:

    Translating the above programmed voltages into resistor values that can be purchased on Digikey yields the following:

    ROV1 = 5.1M
    ROV2 = 4.7M
    ROK1 = 6.2M
    ROK2 = 3.3M
    ROK3 = 510K
    RUV1 = 10M
    RUV2 = 0 or 1 ohm (doesn't matter which)

    I built a bq25504 pcb using these values, and it tested out correctly.


  • Hero Member

    I found that this guy had a similar goal as me (in his words, "I envisioned several electronic projects that would charge a capacitor during daylight using a solar panel, and then consume that energy to stay awake at night") and has done an interesting write-up not only on how to do non-disruptive capacitor voltage measurements, but also how to reduce capacitor self-discharge (e.g. even "no clean" flux residue can significantly increase self-discharge of capacitors and should be removed). To make non-disruptive voltage measurements for monitoring/debugging of prototypes, he uses Microchip MCP6S22 to create a high impedance buffer with 10 trillion ohms of input impedance.


  • Hero Member

    This article gives a bit more detail on the brass tacks of how to actually use the mcp6s26: http://hackaday.com/2009/03/30/parts-programmable-gain-amplifier-mcp6s26/

    I just now ordered some mcp6s26 from Digikey so I can try them out.


  • Hero Member

    @NeverDie said:

    I suppose if worse came to worst, we could try answering the question empirically by using a test setup similar to this:

    0_1480288951886_BQ25504_v14_top.png
    0_1480288994462_BQ25504_v14_bottom.png

    In this instance I partitioned the data ground from the power ground, and the two are not connected. However, via the header pins, a jumper could be connected between the two grounds. The experiment would be to try it both ways--connected vs. unconnected--and see which performs better.

    By the way, I built this, and it unambiguously confirms that GND1 and GND2 need to be connected in order for the BQ25504 to work. If GND2 is left floating, it doesn't work.


  • Hero Member

    I finally received the PCB breakout I made for the load switch. I put that together. Then I soldered together a prototype board to probe with an oscilliscope to see what's really going on with the BQ25504:
    0_1483461238907_testbench.jpg
    I soldered in a 300uF ceramic capacitor across VBAT and GND as the "battery". The datasheet recommends either a rechargeable battery or a minimum of 100uF.

    The first scope shot is with the 300uF nearly depleted. The blueline is the voltage across VBAT (i.e. the 300uF capacitor in this particular setup). The yellow line is the voltage on VSTOR on the BQ25504 breakout (about 4.7uF):
    0_1483461470495_scope1.jpg
    What you see is VSTOR being charged by the solar cell up to around 2 volts and then very briefly setting VBAT_OK to high, which turns on the load switch to discharge VSTOR into VBAT until VSTOR drops down to around 1 volt. Then it repeats. Notice that the voltage across VBAT doesn't climb very much in this screen shot. That's because we're in the cold start phase, and the conversion isn't MPPT but rather something else that's highly inefficient.

    Note: the amount of light landing on the solar cell is exactly the same across all the scope shots, because it's just a ceiling light in the room where I'm taking the measurements. Keep that in mind when you compare this first screen shot to the last one.


  • Hero Member

    Later you can see that the voltage on VBAT has risen to 1 volt, and pretty much the same thing is going on:
    0_1483461930467_scope2.jpg

    Later still, the voltage on VBAT is about 1.6 volts, and again it's the same sort of thing. Notice that the voltage across VSTOR drops all the way to the voltage across VBAT, so as the voltage across VBAT increases, the period of the cycles becomes shorter:
    0_1483461994414_scope3.jpg

    This next scope shot shows that as the voltage on VBAT rises to around 1.8 or 1.9v, a transition happens, and VBAT_OK stays turned on permanently. Notice how the rise in voltage after that really starts to accelerate. That's because at that transition, MPPT finally kicks in:
    0_1483462049927_scope4.jpg

    Lastly, here's anothe scope shot showing that after MPPT kicks in, the voltage rises a full volt in the same time period where previously (see preceding scope shots) hardly any voltage increase across VBAT was measured:
    0_1483462219076_scope5.jpg

    All of the above proves quantiatively how important it is to keep the voltage on VBAT above 1.8 volts, so that the BQ25504 chip can do an efficient job of harvesting the energy. As I mentioned earlier, the amount of light falling on the solar cell is exactly the same in all of the scope shots.


  • Hero Member

    Here's a final screen shot which documents something different, but no less important:
    0_1483464844956_scope_vbatok.jpg
    In this example , the yellow line is the same as before (voltage on VSTOR), and it's the scenario where the transition from MPPT off to MPPT on occurs. However, in this case the blue line is the voltage on VBAT_OK. Thus, you will notice that each time VBAT_OK goes high (albeit very briefly), VSTOR discharges itself into VBAT. It does that because I wired VBAT_OK to the ON/OFF pin of the load switch. Thus, when VBAT_OK is asserted, the load switch closes and turns ON. When VBAT_OK is not asserted, the load switch opens and turns OFF.

    I think "VBAT_OK" was horribly named given that it's not just a flag for that, but, as shown, the one and only way that the BQ25504 triggers the load switch to discharge each accumulated charge on VSTOR into VBAT. Honestly, without a load switch, or equivalent PFET circuit, I'm not sure how well, or even if, the BQ25504 would work. TI does recommend it, but the datasheet buries that recommendation pretty deeply. It's not even shown in any of the DS's application schematics. I'm not sure why that is, because, as illustrated by this scope shot, it seems absolutely essential. Indeed, that is why I revised my BQ25504 breakout PCB to include one.


  • Hero Member

    Now that I've got a solar charger that works, the next step is to find some kind of capacitor that can hold its charge reasonably well through at least the night, and preferably a lot longer. Rather than jump immediately to supercaps, I thought I'd first try just a regular ceramic capacitor, as I've heard those hold their charge pretty well.

    So, I soldered a 330uF ceramic SMD capacitor to a header:
    0_1483558585931_photo2017-01-04_1.jpg

    I put a charge on the capacitor, and then I connected it directly to the leads of an oscilliscope:
    0_1483558616713_photo2017-01-04_2.jpg

    Here's the scope scrape from over a few minutes:
    0_1483558702182_photo2017-01-04_3.jpg

    As you can see, the voltage on the capacitor is dropping fairly rapidly! But why? Does the capacitor have a high self discharge? Is the header plastic too conductive? Is the impedance on the oscilloscope too low? All of the above? None of the above? Something else?


  • Hero Member

    To address the plastic conductance question, I soldered leads directly to the cap:

    0_1483571528429_test2_1.jpg

    and re-ran the test:

    0_1483571556834_test2_2.jpg

    Because the starting charges were different, it's not a complete apples-to-apples comparison. Nonetheless, it's still clearly bad even without the plastic.


  • Hero Member

    So, I decided to solder the 330uF cap to an mcp6s26, (see earlier post above for a description) which I had just recently received from Digikey:

    0_1483575867097_test3_1.jpg

    to see how that compares:

    0_1483575889743_test3_2.jpg
    0_1483575899122_test3_3.jpg
    0_1483575907015_test3_4.jpg

    What's evident is that the rate of decline is less, and it seems to improve with time.

    There is some decline still evident. How much of that is due to the capacitor and how much is do to ongoing measurement using the mcp6s26?


  • Hero Member

    I kept the test running after the last post, and now, a bit more than four hours later, the scope shows:

    0_1483590903104_test3_5.jpg

    So, that's reason for optimism. I have to cut the measurements short tonight, but I'll try again tomorrow morning, when it can have more run time.


  • Mod

    @NeverDie Just a suggestion: keep the cap on charge during the night, since it seems they get better if they get tie to saturate.


  • Hero Member

    Thanks for the suggestion. I decided to keep the above setup running through the night after all, and now, about 5 hours after the last screen shot, it's showing a voltage of about 2.8 volts. I'll let it continue to run and see how it goes.

    Meanwhile, I ordered a shotgun assortment of different caps from Digikey. Unlike capacitors from Aliexpress, they'll have reputable datasheets. They'll have differing capacitance levels (220uF all the way up to 90F) so I can start to get a bearing on how much capacitance might be needed. Ideally I'd like to find something that could hold enough charge for a week or more, to handle worst case scenarios, but as yet I'm not sure that will be possible. For instance, if it turns out that 90F is what's needed, I'm not as yet sure if my el cheapo solar cell powered by ambient light could even charge it in a day. On the other hand, I'm quite sure it could easily charge a 330uF capacitor. So, with the new caps, I'll start gathering some data on how much charge can be realistically harvested as well.

    The 220uF cap (http://www.digikey.sk/product-detail/en/NOJC227M006RWJ/478-8864-6-ND/4562183) will be interesting, because it's made from Niobium Oxide, which has low ESR and claims to have a leakage current of 14ua. Leakage current and self discharge rate are defined differently, but my hunch (?) is that they are strongly correlated (i.e. my WAG is that a cap with a low leakage rate will have a low self discharge rate also). That is to say: I'm hoping that leakage current might be a proxy for self discharge rate, because at least so far it has been easier to find info on leakage rates than self discharge rates.


  • Hero Member

    @mfalkvidd said:

    @NeverDie Just a suggestion: keep the cap on charge during the night, since it seems they get better if they get tie to saturate.

    You're right! According to Maxell (http://www.maxwell.com/images/documents/1007239-EN_test_procedures_technote.pdf), the way leakage rates are measured is to first hold the capacitor at its rated voltage for 72 hours. For measuring self discharge, the cap is held at its rated voltage for just one hour, but then it is measured over the subsequent 72 hours.

    On StackExchange, somebody asked, "How to calculate self-discharge time of capacitors given the leakage current?" (http://electronics.stackexchange.com/questions/35568/how-to-calculate-self-discharge-time-of-capacitors-given-the-leakage-current). There was only one answer, and its bottom line was: "the only way to be half-way sure about the self-discharge rates will be to build up a bunch of prototypes and test them." I'm surprised there's not a better way, but none was posted.


  • Mod

    @NeverDie the robot room link you provided earlier (to be precise, this post and this post) has more details, especially this part:
    because there is no standard for testing self-discharge (how long to charge, when to start measuring current), it is difficult to compare different capacitors to determine which really has the lowest leakage for your project.


  • Hero Member

    The Maxell paper contradicts him in that regard. It says, "The test methods for leakage current and self-discharge are consistent industry wide. " That isn't to say, though, that the information for a particular capacitor is easy to find, however.

    The capacitor that I've been testing is this one: https://www.digikey.com/product-detail/en/murata-electronics-north-america/GRM32ER60G337ME05L/490-13976-1-ND/6155806 It has been about 15 hours now since I started the test, and the voltage is presently at about 2.6 volts. So, as a first attempt, it's encouraging to see the capacitor maintaining a worthwhile voltage through the night until the next day.


  • Hero Member

    By the way, it's worth mentioning that the mcp6s26 defaults to a gain of 1x on Channel 0. In my case I'm using exactly those defaults, which is convenient because I get the chip's benefits without needing to bother with SPI programming of the mcp6s26.


  • Hero Member

    Maxim Integrated has a handy online calculator for estimating the super-capacitor capacity needed for RTC backups: https://www.maximintegrated.com/en/design/tools/calculators/product-design/supercap.cfm

    I don't believe it accounts for self discharge, but maybe it at least helps estimate the right order of magnitude.

    It has been close to 24 hours now, and the the voltage on the above test capacitor is now at 2.5 volts.

    So, I think the next step is to hook one up to a sensor mote and see how long it can go--having the mote measure and report he capacitor voltage say every 5 minutes or so--before running out of juice.


  • Hero Member

    I finally found some proper supercapacitor discharge curves (from page 15 of http://www.nec-tokin.com/english/product/pdf_dl/supercap_manual.pdf😞

    0_1483662295194_discharge.png

    So, based on that, it looks like the FY Series of the NEC-Tokin supercaps is worth looking into. According to the chart, the best performing one is this one: http://www.digikey.com/scripts/DkSearch/dksus.dll?Detail&itemSeq=215649477&uq=636192387876420325

    0_1483662763039_discharge2.png

    They sound well adapted to supplying voltage to a sleeping mote. Whether they can handle the current demands of an RFM69HW at maximum Tx, at least for a short burst, is unclear. If not, then perhaps it could be used to charge up a more conventional cap in advance of the burst current being needed.


  • Hero Member

    Just now checked the voltage, and apparently it had dropped like a rock. Presently at 1.5v, and I've stopped measuring.

    Based on this, it seems likely that 330uF won't be enough. My new WAG is that it will take a super capacitor that's somewhere in the 1F to 10F range to do the job with enough overkill to cover the worst case scenarios.


  • Hero Member

    I notice that the above test procedure is different than Maxwell's (they pre-charge the capacitor for only 24 hours rather than the 72 that Maxwell uses), so maybe the robotroom guy (referenced above) was right about there being a lack of standards after all.

    What's a bit annoying about charts like Figure 15 above is that they seem to present the best case scenario, rather than the "typical" or worst case scenario. Usually specifiers want to know the worst case, so they can pick a component that will cover that case. I guess what these charts do allow you to do (maybe) is choose among the best of the available product lines to build prototypes, and then from there you run your own tests for the typical or worst case. Of course, if Maxwell feels the need to pre-charge their capacitors for 72 hours, presumably (?) the Maxwell capacitors do substantially worse with "just" a 24 hour pre-charge. Meh, making comparisons is a mess.

    So, I think that for the comparison tests that I will be doing, it will be better to not pre-charge the capacitors at all. Instead, I'll start the discharge test the moment they reach a charge of 3.6v, which is the highest I expect I would be charging them to. That should give a better approximation of the worst case performance, which is what I want to know. Depending on the relative freshness of the capacitors, that might unfairly handicap some of them, but so be it.

    Any comments on this approach?


  • Mod

    @NeverDie if worst case is what you want, your suggestion sounds good.


  • Hero Member

    Also, for solar, I think it will make sense to charge the super cap to a lower voltage, because then the boost converter is more efficient if the solar cell voltage is low. That may mean a higher Farad supercap.


  • Hero Member

    I've received the first traunch of capacitors from Digikey just now. I've decided to take a hybrid approach with respect to pre-charging. Since I don't want the voltage on the super cap to ever fall below 2.5v, I'm going to saturation charge it at that voltage. Then I'll see how much extra voltage the solar charge circuit can add to it in, say, 4 hours just from ambient room light in a room where the only source of light will be the ceiling light (so that the lux is controlled). Then, I'll either:

    1. Hook it up to a wireless mote and see how long it lasts until it drains to 2.5volts again, or
    2. watch the self-discharge on a scope again

    Judging from the charge-up time of a 1F capacitor, I suspect 1F will be plenty. Ordinarily, more Farads would imply a higher self-discharge current, but in this solar charging scenario it will also mean that the accumulated voltage will stay closer to the saturated charge level, and so that might conceivably result in less self-discharge overall. I guess we'll see how it plays out.


  • Mod

    @NeverDie if you eant to compare different caps, see if you can remove the solar panel from the equation. I think the variability of the solar panel voltage will make comparison difficult.


  • Hero Member

    The Vishay supercaps have a test procedure for self discharge that at least sounds plausibly achievable by a solar charger under real world conditions. Basically you charge the supercap to its rated voltage for one hour. Then disconnect the supercap and store it at room temperature for 24 hours. Then measure the voltage. According to the datasheet, the measured voltage after the 24 hours should be at least 90% of the rated voltage it was charged to (cf. page 13 of http://www.vishay.com/docs/28409/196hvc.pdf).

    I'll be doing that test shortly on the 15F Vishay Supercap, which is one of the supercaps I received today: https://www.digikey.com/product-detail/en/vishay-bc-components/MAL219691203E3/4701PHBK-ND/5015885

    One disadvantage to this Vishay supercap is that the ESR is 1.8 ohms, which is high enough to have an impact on the RFM69HW's voltage when it's tx'ing at full power. So, the supercaps that I ordered today from Digikey all have much lower ESR's. Having said that, I think there may be workarounds to the high ESR, though I'd prefer to keep things simple enough that workarounds won't be needed.


  • Hero Member

    @mfalkvidd said:

    @NeverDie if you eant to compare different caps, see if you can remove the solar panel from the equation. I think the variability of the solar panel voltage will make comparison difficult.

    Yeah, I'm not quite ready to try supercap charging from the solar cell just yet. However, I'm not worried about variability: in the room where I'm testing, the solar cell would be illuminated by just the ceiling light, which is very constant in brightness, and nothing else.


  • Hero Member

    At least so far the Vishay 15F supercap (see above) is holding up much better than the others. Today, the second day of testing on it, it's losing only about 5 millivolts per 12 hour period.


  • Hero Member

    I hooked up an ADS1220 24-bit ADC to the supercap so that I could see in near real-time whether the solar charger was charger was charging the supercap, or having little to no effect.

    Bottom line: if the solar cell is in a room that is well lit, by either natural or artificial means, then the BQ25504 charge circuit will charge the supercap faster than ithe supercap self discharges. On the other hand, if the room is only dimly lit, then the BQ25504 charger does not seem to be charging the supercap in any meaningful way. So, if dim lighting is an important use case to consider, one might need a bigger solar cell of some kind.


  • Hero Member

    I notice now that leaving the BQ25504 connected to the supercap at night when there's no light to harvest does result is a cumulative drain of about 50 millivolts to the 15F supercap (charged to 3.340 volts) versus disconnecting it during the same period.


  • Hero Member

    I finished the LTC3501 energy harvester (https://www.openhardware.io/view/281/Solar-Energy-Harvester), but, disappointingly, its MPPC seems to be no match for the MPPT of the BQ25504 for the el cheapo solar cell.

    I think the next step will be to modify the BQ25504 breakout board to include the supercap. Going forward that should keep everything neat and tidy and avoid loose wiring.


  • Hero Member

    I've designed the load switch and the supercap onto the PCB, and I just now sent it off to the fab. The entire board is less than 0.9 square inches in size.


  • Mod

    I'm looking forward to this kind of solution. Keep up the good work 🙂


  • Hero Member

    Another notion I'm toying with is a variation of the proverb "make hay while the sun is shining." In other words, squirrel away as much solar energy as possible when conditions are optimal, and not worry too much about extracting light under truly dim conditions. I think there's a happy medium to be found, and I hope that by playing around with it a bit I'll develop a better sense as to where that sweet spot is.


  • Hero Member

    Here's the version that I most recently assembled:
    0_1486148795626_v021.jpg
    As you can see, the 15F supercap is now on the board itself. It works fine.

    I've since made a few refinements and have sent the new files off to be fabbed. The newest version of the PCB will measure roughly 22mm x 22mm.


  • Mod

    I'm very curious to know what kind of sensor you would be able to run with this project. Of course a lot will depends on the size of solar panel and how much light it will get.


  • Hero Member

    @gohan
    Early tests indicate the 15F charges to 3.6v pretty fast on even ambient light. I realize that's a somewhat vague statement, but I hope to eventually quantify it better (charge time as a function of lux level, panel size, and nominal panel voltage). Nonetheless, based on early preliminary measurements, I'm pretty confident the answer is going to be fairly simple, namely: what can you do with 15F of charge?

    Before I began this project, I was quite worried that self discharge would strongly govern the answer, but this particular supercap (as contrasted to others I tested) seems to have a relatively low rate of self discharge. Early tests show the same also holds true for its bigger brother, the 90F supercap, in case the 15F isn't enough. The 15F supercap is rated for 100,000 charge/discharge cycles, so it won't be wearing out anytime soon if it's operated indoors under normal ambient temperature conditions. There are probably even more interesting supercaps out there, but for me this one's an existence proof and a fixed point I can gather data around.

    If anyone knows of even better supercaps to try, I'm all ears.


  • Mod

    So what can you realistically do with 15F of charge? I mean what kind of battery can you compare it to? Can you use the entire energy stored in the cap and and it keeps the voltage constant until it empty?


  • Hero Member

    Think of it like a battery whose voltage starts at 3.6v and then over time gradually drops to 1.8v. As presently configured, you would stop when the voltage gets to 1.8v, because both the atmega328p and the RFM69HW require a minimum 1.8v to operate.


  • Mod

    Is my math right if I calculate like this?

    15 * 1.8 / 3600 * 1000 = 7.5 mAh


  • Hero Member

    Not sure the answer to that. However, one thing's worth noting: these supercaps behave more like button cells than capacitors. By that I mean: they can have voltage droops and can even have voltage "recovery" after using them a bit. I really didn't expect that going into this, but it's a very significant effect.


  • Mod

    What do you mean that they behave more like cells?


  • Hero Member

    @gohan said in Powering mote 24/7 using only a supercap and solar:

    What do you mean that they behave more like cells?

    By that I mean: they can have voltage droops and can even have voltage "recovery" after using them a bit.

    An "ideal" capacitor doesn't behave like that.


  • Mod

    Sorry but I don't understand, I'm not that much into this electronic deep knowledge. By voltage drops are you referring to the small energy drain that the capacitor has?


  • Hero Member

    @gohan
    We're getting off topic. I suggest you read some of the links already provided above.


  • Hero Member

    Good news! Last night I did some accelerated load testing on the supercap. First I charged it to 3.6v and then I hooked up an RFM69HW mote which woke up once a second to do 3 things: 1. check the voltage level, 2. turn on an LED for 1ms to simulate a sensor load, and 3. transmit a packet containing the voltage data using the RFM69HW.. Bottom line: 14,111 packets transmitted before running out of juice.

    Not bad for a first attempt. 🙂



  • @NeverDie Any updates on your progress? Have you received the new boards? Will you be publishing the gerber files?


  • Hero Member

    @agdemars said in Powering mote 24/7 using only a supercap and solar:

    @NeverDie Any updates on your progress? Have you received the new boards? Will you be publishing the gerber files?

    No, and for a host of reasons. The main reason is this: for most applications, it's overkill. Because this thread had become such a monolog, I continued to evolve the design offline, and along the way I've found that you can get perfectly good results with just an inexpensive mini solar panel, a capacitor, and a simple blocking diode. For the audience on this forum, that's all you really need.


  • Mod

    You are kind of pioneering in the use of supercap and sensor nodes. I'd like to be part of the discussion, but unfortunately I'm not that good at electronics so I can't contribute much. Probably you are right at using a standard cap you can get comparable results, but I believe you get smaller size with our project



  • @NeverDie Indeed, keeping it simple is usually the best approach. I am nonetheless interested in learning about the circuit you developed if you're willing to share your observations.


  • Mod

    Would it be feasible to implement mppt in software? From what I understand, the atmega328 pwm works in power-save mode (but not in power-down). Power-save mode consumes 1uA. Could the charging speed be controlled by pwm and adjusted periodically by the mcu, to keep the load on the solar cell at maximum power?


  • Mod

    If I understood right NeverDie said that the supercap can be charged directly from the solar panel with just a blocking diode, then add a boost-buck dc-dc converter to have constant 3.3v


  • Hero Member

    @mfalkvidd said in Powering mote 24/7 using only a supercap and solar:

    Would it be feasible to implement mppt in software? From what I understand, the atmega328 pwm works in power-save mode (but not in power-down). Power-save mode consumes 1uA. Could the charging speed be controlled by pwm and adjusted periodically by the mcu, to keep the load on the solar cell at maximum power?

    Like you, I've also wondered what kind of MPPT might be built by leveraging an mcu and just simple components. There is a guy on youtube ( https://youtu.be/JXSRXUiUA6M ) who built his own arduino MPPT charge controller from scratch, though for a much bigger solar panel. For me, the real quesation is: why aren't there more chips that offer a proper MPPT? It seems like a rather bizarre gap in the market.


  • Mod

    Is that mppt really needed even if you are charging a capacitor?


  • Hero Member

    @gohan
    Let's put it this way: there's probably nothing I could achieve with MPPT that I couldn't achieve with a sufficiently bigger solar panel. So, if space isn't a concern, the economics tend to favor buying bigger mini solar panels, because mini solar panels are fairly cheap from China (cheaper than buying the BQ25504 chip). On the other hand, for large 100watt or above solar panels, it's more economic to add MPPT, because an MPPT charge controller is cheap compared to, say, doubling an already expensive solar panel.

    That said, there may be other features of the chip that you may want anyway, like charge termination or a "battery_OK" pin to power-on your atmega328p when the voltage gets to an acceptible level. So, you could create those by other means, or you could buy a package with those features and which also happens to have MPPT at some incremental cost.

    So, it's six of one, half a dozen of the other.


  • Hero Member

    What I finally arrived at was this:
    https://www.openhardware.io/view/396/Simple-Solar-Supercap-Charger
    which is both less expensive and easier to assemble.


  • Mod



  • @NeverDie actually I have done that, feeding an attiny85 and also an Atmega328 ("barebones" arduino) 2x1.5F capacitors. all on a 6 volt solar cel and a low drop regulator

    The gardenlamp is quite handy as well, but better put some sealant on the edges of tha small solarcell as they do tend to leak. You will find everything has rusted inside after using it a season. Nevertheless, have been able to run an attiny on it


  • Hero Member

    The gardenlamp is quite handy as well, but better put some sealant on the edges of tha small solarcell as they do tend to leak. You will find everything has rusted inside after using it a season.

    Yeah, corrosion is a huge problem with the chinese ones because it seems many of their components are incredibly prone to rusting (even including their wire!). Go figure on that one. Potting epoxy will cost you much more than the garden light. I think polyurethane spray foam may be the cheapest way to weatherproof them, and it's readily available.


  • Hero Member

    @Ed1500 said in Powering mote 24/7 using only a supercap and solar:

    @NeverDie actually I have done that, feeding an attiny85 and also an Atmega328 ("barebones" arduino) 2x1.5F capacitors. all on a 6 volt solar cel and a low drop regulator

    Yes, for outdoors it's bright enough you don't really need a boost converter. So, your solution may be the least expensive DIY for outdoors. Interestingly, the chinese garden lights do use a boost converter. They use a special purpose IC specifically made for garden lights.



  • @NeverDie indeed, I just put a line of silicone sealant around the edge of the PV. That stopped a lot already



  • @NeverDie It was indeed more of a concept test 'can I do this with one of those lamps'. I first tried to just use the power to the LED with the nicad in place but the NiCad just won't last long coz of the continous recharge, so I took it out and put supercaps in there. Store enough charge to get through the night. Supercaps also do better in the cold than Nicads , though I admit I brought them inside when it started freezing.
    But those lamps are just great little boxes for a contained attiny 13/25/45/85 project


  • Hero Member

    @Ed1500 said in Powering mote 24/7 using only a supercap and solar:

    But those lamps are just great little boxes for a contained attiny 13/25/45/85 project

    Exactly so. They're cheaper than most project boxes, and then you get the solar cell "for free".


  • Hero Member

    @Ed1500 said in Powering mote 24/7 using only a supercap and solar:

    @NeverDie actually I have done that, feeding an attiny85 and also an Atmega328 ("barebones" arduino) 2x1.5F capacitors. all on a 6 volt solar cel and a low drop regulator

    Exactly which supercaps are you using, and where are you sourcing them from? It would be good to compare notes.



  • @NeverDie I have 5.5V 1.5F Supercaps from Aliexpress. Forgot which supplier but they do well.
    I put them in an RC circuit to measure and though that might not be totally reliable, they were above 1 Farad
    Ah, found them. Although. It was a year ago, the ones I have say 1.5 F but seems they now sell 1Farad
    These: https://www.aliexpress.com/item/2Pcs-Ultracapacitor-1-5F-5-5V-super-capacitor-1-5Farad-farad-capacitor-5-5V1-0F/32632431698.html



  • @Ed1500 Yep, rechecked mine. 1.5 Farad, but the 'my orders' link now points to 1 Farad caps


  • Hero Member

    @Ed1500

    Thanks for looking that up. I keep coming back to this one:
    https://www.digikey.com/product-detail/en/illinois-capacitor/106DCN2R7M/1572-1287-ND/5410638
    if only because it seems like a good value for money, and it seems able to run any mote for quite a long time.



  • @NeverDie 10F for 1.95 is definitely not bad... but not sure what the shipping would be


  • Hero Member

    @Ed1500

    Good point. I use first class mail from digikey, which arrives in 2 days and which costs around $3.65 I think. If you order before 8pm, it ships the same day. So for me, since I usually order late in the day, it's almost like it arrives in a day and a half. 🙂 I don't think I would order just a single supercap from Digikey, unless I was getting a bunch of them, but as I'm ordering a lot of parts from Digikey anyway, the incremental shipping cost is typically free.



  • @NeverDie realise though it is 2.7 Volts

    sure, 3.65 is peanuts if you order a bunch.
    I see they have a branch in Netherlands as well. I would pay 1.81 euro for that capacitor.. but I would pay an unbelievable 18 euro shipping? Apparently because they still ship it from the USA. Also, need to answer a bunch of question what I am going to use it for, will i resell it etc. ... So I guess DigiKey is not a viable option for me


  • Hardware Contributor

    Don't complain about your shipping costs from Digi-Key guys. These are the rates for me, insane ! 😮

    0_1495469768303_digikey_shipping.png


  • Hero Member

    I should point out that even without a boost converter, I'm getting good charging indoors in most locations. I've been investigating boost converters just in case I want a node that's virtually bulletproof with respect to charging from low light conditions, or which needs to power 3.3v or 5v sensors. For instance, the banggood PIR sensor on the other thread requires between 2.7v and 3.3v to power it. It uses so little current though that it should be possible to power it continuously from even a solar node, so I'll be attempting that fairly soon. Obviously, doing it outdoors is nothing new and would be a piece of cake by comparison.


  • Hero Member

    @Nca78

    Isn't there some place in Vietnam that stocks parts for re-sale so you don't have to order internationally and pay usurious shipping rates? Or is there just not enough demand to support that? Surely, China must have good options for you beyond just Aliexpress.



  • @Nca78 Wow. I guess you are a loyal Aliexpress customer 🙂



  • @NeverDie Actually I had expected that for DigiKey Europe as well... but it says 'all shipping from USA'
    Well, China also has Banggood 😉


  • Mod

    I ordered the 5.5v 4F ones, I hope they arrive sooner or later


  • Hero Member

    @gohan said in Powering mote 24/7 using only a supercap and solar:

    I ordered the 5.5v 4F ones, I hope they arrive sooner or later

    That could be interesting. Do you have a link?


  • Hero Member

    @Ed1500 said in Powering mote 24/7 using only a supercap and solar:

    @NeverDie Actually I had expected that for DigiKey Europe as well... but it says 'all shipping from USA'

    Well, Europe has a Mouser.com presence, I think. Plus, surely there's other stuff there, like in Germany or the UK or something.



  • @gohan seen those for 15 USD/10 and for 6USD/5


  • Mod


  • Hardware Contributor

    You are right @Ed1500, I receive so many shipments from AliExpress that now the postman is fed up with puting non-delivery notices in my mailbox, now he leaves the packages at the management office of my building, where they advance the tax for me when needed 🙂

    @NeverDie yes I have some local shops, with very cheap delivery options, less than 1$ a;nd delivered the next day when they have stock. But unfortunately the inventory is pretty limited, I use them when the price difference is not worth the wait from AliExpress.



  • @gohan yes, saw those. please keep us informed abt yr experience with those



  • @NeverDie Oh dont worry, plenty of local online shops here for electronic components plus distributors for adafruit and similar.
    However, I can order in china and have it delivered to my door often for less money than just the gas would cost me to drive to a local store, or to have it delivered from a local webstore.
    The only thing is that sometimes I have to wait 2-3-4 weeks


  • Hero Member



  • @NeverDie indeed. but 2.7 Volt is a just a bit of a difficult value to work with and putting them in series makes the capacity drop, but I think one could run the attiny 13-25-45-85 from 1.8V so that might be a good combo


  • Hero Member

    @Ed1500

    Or, maybe this then:
    https://www.aliexpress.com/item/Universal-Capacitors-Ultracapacitors-2-7V10F-super-capacitor-10F-2-7V-low-ESR-fast-charging-small-power/32688216790.html?spm=2114.10010108.1000013.4.G3WV1v&traffic_analysisId=recommend_2088_2_81019_new2&scm=1007.13339.81019.0&pvid=1ecf1af6-9158-4f9f-99ff-acaa16690ce2&tpp=1
    It's just a wild card as to whether they actually perform according to the advertised specs, though. That's why I think it's helpful if we all share what we're actually using, and whether it meets expectations or not.


  • Hero Member

    @Ed1500 said in Powering mote 24/7 using only a supercap and solar:

    @NeverDie indeed. but 2.7 Volt is a just a bit of a difficult value to work with and putting them in series makes the capacity drop, but I think one could run the attiny 13-25-45-85 from 1.8V so that might be a good combo

    Yeah, and the RFM69--which is what I use--runs as low as 1.8v as well, so it's possibly a good match.



  • @NeverDie 10F now we are talking. But yes I very well understood yr request to share experience. I acn only say thet the 1.5 F's i had performed well and with an RC network thrown together, they seemed in the right ballparc... but apparently seller now sells 1F and I cant vouch for those

    The supercap is still a very viable alternative for smaller devices, so I will probably buy more in future and thus interested in which ones are good or not



  • @NeverDie ah yes it does, but the RFM is usually connected to a microcontroller 🙂 So that is limited choice
    i wonder if 1.8 Volt would seriously affect the range of the RFM69 (running mine from 3.3)


  • Mod

    Maybe a small booster to 3.3v could be used, since power efficiency shouldn't be a huge deal since the you will have the panel charging most of the time


  • Hero Member

    @Ed1500 said in Powering mote 24/7 using only a supercap and solar:

    @NeverDie ah yes it does, but the RFM is usually connected to a microcontroller 🙂 So that is limited choice
    i wonder if 1.8 Volt would seriously affect the range of the RFM69 (running mine from 3.3)

    Interestingly enough, the lower voltage doesn't seem to affect the range.

    ATmega328p's can run at 1.8v also. In theory it should be set to run at 4mhz, but neither I nor anyone I know of has had problems running at 8Mhz down to 1.8v. If you run with BOD off and internal 8Mhz resonator, it only consumes about 150na while sleeping. That's why I haven't bothered going to ATtiny's. Maybe there are other reasons to do so though?


  • Hero Member

    So, I just ordered this:
    https://www.aliexpress.com/item/3PCS-fala-capacitor-2-7v10f-super-capacitor-high-current-Low-ESR-fast-delivery-2-7V10F-ultra/32715563451.html?spm=2114.13010608.0.0.qFbHqn
    and this:
    https://www.aliexpress.com/item/CNIKESIN-2PCS-Fala-Capacitor-2-7v10F-Super-Capacitor-High-Current-Low-ESR-Fast-Delivery-2-7V10F/32804681189.html?spm=2114.13010608.0.0.qFbHqn

    from the same seller that gohan used. It's a risk, but if either of them check out, I may buy more of that brand.

    I'll make a posting after I receive them to say whether they seem to be good or not. 🙂


  • Hero Member

    I recently purchased one of these:
    https://www.aliexpress.com/item/Mega328-Transistor-Tester-Diode-Triode-Capacitance-ESR-Meter-MOS-PNP-NPN-M328/32685741297.html?spm=2114.01010208.3.92.KtC8xS

    and, for the price, it seems to do a decent job of measuring capacitance and ESR.



  • @NeverDie I have used Attiny's mainly for their size. Pricewise, compared to a pro mini clone it is a bit foolish, unless you use the smd versions.
    I had an attiny+ 433Mhz transmitter built in one of those garden lamps with a moisture sensor at the base where it sticks in the soil. Worked well, Not ideal, but it was nice to play around with



  • @NeverDie interesting. May get one too


  • Mod

    @Ed1500 I got the bigger brother of that one. Look at the workshop discussion. I can't wait to start testing this stuff with all the voltage regulators I got and see how much energy I can actually store in the same 2 caps both in series and parallel


Log in to reply
 

Suggested Topics

  • 8
  • 2
  • 44
  • 1
  • 3
  • 90

1
Online

11.2k
Users

11.1k
Topics

112.5k
Posts