CubeCellâs proprietary LoRaWAN library gets (automatically) excluded at build time by GNU linker - because none of BASICMACâs functions are referencing onto it.
So far I didnât succeed combining the sketches LowPower_WakeUpByTimer.ino and LoRaWan.ino until I came across the February 8th posting of bluejedi (see attachment). It would be great if the sketch would automatically go into deep sleep like bluejedi described.
Unfortunately I cannot check if ithis is correct, can someone confirm that to me? Or do you, bluejedi, have more information about this?
Why are you not able to check that LoRaWan.ino enters deep sleep automatically?
Do you want someone to confirm that you cannot check?
More information is right below the post that you referenced:
There is not much more to add to that. I just used the example and measured current during operation.
Itâs been quite a while since I experimented with CubeCell. The version of the CubeCell Arduino core and the example may have been updated since but I assume that it will still work like the version I tested. You can find the LoRaWan.ino example in the Arduino packages/CubeCell/hardware/CubeCell/<version>/libraries/LoRa/examples/LoRaWAN/LoRaWan folder.
Please donât post screen copies of other posts but insert a link to the post instead. The URL to a post can be copied using the link icon below the post.
If you want to reference a user just put an ampersand in front of its name like @bluejedi (but not boldface it).
I want to get started with The Things Network and this board seems like the best budget option however, Iâm not sure whether I should go for the CubeCell Dev-Board or CubeCell Dev-Board Plus, the Plus seems to feature the higher powered SX1262 chip so should offer better range?
What version is easiest to get set up and connected to the network?
No, not at all. Towards/during winter/darker months the solar panel will âhardlyâ generate energy at all (compared to its max capacity). A one day buffer is therefore insufficient and very subjective.
Without using any sensors I was able to send some 75000+ uplink messages (with 3 bytes payload) over a period of months from one single charge of a 1200 mAh Lipo battery with a HTCC-AB01 board (without solar panel). So that is quite some days of operation / quite some buffer.
You will have to check the datasheet for your sensor for its power consumption characteristics and incorporate how you will use it to calculate your power requirements.
And then select a battery capacity and a correspondingly dimensioned solar panel capacity that fit those requirements.
You can use any popular Schottky diode that can handle the maximum current of the solar panel (actually the max input current that the board uses for battery charging).
Solar + battery is not just simple to dimension. Proper dimensioning will have to be properly calculated taking multiple aspects into account, including the expected number of sun hours (which is something different than the numbers of day/sunlight).
Ok so if I get a 1200 mAh 3.7V battery that would be 4.44 Wh and I would want to recharge that at least every 3 days so if I get a 1W solar panel and I say on average it generates 3W/day that should be sufficient?
No things are not that simple and solar is not linear.
What about hardly getting much sunlight in a period of e.g. 2 weeks. Your battery will hardly be charged during that period.
Also be aware that you should not calculate with power in Watts here but calculate with current instead. For example, the voltage of the panel will be higher than the voltage of the battery, but it is the charge current that is essential here. You will lose an essential part of max panel capacity due to conversion losses (and there is almost sure/definitely no MPPT optimization built into the CubeCell board).
I suggest to learn a bit more about solar energy to get a better understanding of what to expect from solar panel energy and what not.
What is the maximum current of that solar panel?
(P (in Watt) = U (in Volt) x I (in Ampere)
What is the maximum (âforwardâ) current of that diode?
(Lookup its datasheet)
Is max current of that diode larger than max current of that solar panel?
YES, so SS14 but also SS13 and SS12 will do (as many others).
Aside, IIRC itâs usually best to overdimension a Schottky diode as little as possible to minimize reverse leakage current. So a âsmallerâ version (e.g. SS12) would even be better here.
You will have to do your own homework and not try to let others do your homework.
I have calculated that my daily power draw will be ~0.5Wh and with a 1200mAh battery that should last ~week. I have found that with a 750mA solar panel on my worst day I should generate enough power to fully charge the battery. I believe this should provide sufficient power security.
So if I understand correctly I need a ~750mA diode however the smallest I can find are 1A so if I use one of those should that be fine?
Only thing Iâm still confused about is the reverse voltage of a diode to I need to get one which matches my solar panel or battery?