Thanks, so that code for some reason doesnāt seem to work on my 0.6.2 Electron, although I directly copied and pasted itā¦strange, but Cellular.off(); does work and hopefully will achieve the same thingā¦letās wait and see
I will consider upgrading to 0.7.0-rc4 the next time I have to get those devices off the containers (trust me, itās not fun doing that )
Took some individual components and put them together to give an impression. Donāt have any VL53L0X available right now, but I glued them to the hole on the lid with heavy-duty tape, and wires leading back to the PCB. All my actual sensors are outside at the moment
For the enclosure, Polycase designs really nice ones at an affordable price. Sensor goes on a separate metal bracket, as I found when it gets mounted directly onto a container, the vibrations when the top is opened/closed by people really messes with the accelerometer.
A couple of them came online and received the update. As soon as they receive it, they immediately reboot so I receive their SoC before and after the update, which should equal the energy it requires to do one wake-up of the device. Across all devices this seemed to be 0.16% with a 2A LiPo. Going with that, there is absolutely no way 3-4 Wake ups on a day can lead to an 11% drop and itās a confirmation that I did things wrong with Deep Sleep. Now will wait until tonight when they report in again, where I can verify if the SoC-drop is significantly reduced or not after 6 hours of Deep Sleep.
Cool, yes I have used Polycase cases in the past also and they are priced good and the quality and look is good also.
I looked at the case your using on their website also but was wondering how to get the sensor pointed down at an angle like you did with the metal bracket.
I was thinking about the best way to get 3 distance sensors pointed down from the back wall of the can to get a better overall idea of what the trash levels are vs. just having one sensor. Maybe 1 sensor is enough though.
Look at these guys: https://www.emachineshop.com/
You can have a low-quantity metal bracket made to suit your own requirements.
Personally, I had them made at a nearby workshop for 10 bucks a piece. The one in the picture is an old one, the newer ones have an angle that is based on the container size, so that it looks slightly beyond the center-point when it is mounted on the side.
I would say 1 sensor is not sufficient to very accurately measure, as from my own experiences often thrash is located in one part of the container and not the other, either greatly over- or underestimating the fill rates. Even with 3 of them you still can only look at the waste from one angle, and large objects that fully block the sensor may still be there
Iād say with a VL53L0X and a typical 6-8yd container, youāre probably gonna get 75% decent results and 25% that are all over the place.
Yea, let them stabilize and see how the SOC readings come out.
Glad the units received the updates without a problem upon waking up. How are you going about triggering the Electron update process when they wake up? Do you have these units in a product group on the Particle console so they automatically update when they wake up?
Also, are you using a dashboard to visualize the trash level status of each can?
Yeah, I assigned them to a product group, and for now at each wake-up they will sit idle for half a minute to download any pending updates. Later on I will only enable that feature 1 day/week.
At the moment Iām using Thingspeak to get everything in an Excel sheet. I donāt need fancy graphs yet, just something that letās me read their values.
I think Iāll get started on the Camera sometime next week, Iām just wrapping things up now with the battery-issue and some of the components i.e. PCB, Antenna. The antenna is a bit of a worry for me because with how much the container is being shaken around when picked up by a truck, I can see this thing eventually dislodging.The u.fl connector is pretty fragile to movements but the Particle Taoglas doesnāt actually fit properly in my case so I can apply adhesive to it
Had 3 devices come in this evening (others downloaded firmware when they did - so itās too early to say for them). All 3 reported only a 0.20% drop after 6 hours. By reducing wake-ups to once every 24 hours, I can probably can get 4-5 months out of the 2A LiPo again, and several years hopefully with the LiSOCl2.
So what do the LiSOCI2 cells cost you to get them to your doorstep? I wonder what the total cost for them would be over a 10-year time frame? Just curious how much cheaper solar charging could be over time vs. replacing the LiSOCI2 cells plus the labor required to replace the batteries.
I was playing around with an image for an online dashboard that displays trash bin capacity levels.
Right now I paid $170 for 10 of them, but this includes $120 shipment. Obviously that shipment is going to become a lot cheaper, and when I requested a quote for 50 it only ended up at $490 ($240 for shipment). Iāve seen them being sold for $20-30 from US retailers though, so if youāre looking for just a few of them probably itās best to look around some moreā¦but in bulk importing them from China is great.
Replacing batteries should be very simple, since they can be made with the JST-PH2 connector that the Electron usesā¦that way, if you have a commercial product, you could even just temporarily hire someone to drive around and replacing those batteries with new ones or something. But if the lifespan truly is 2-3 years, then thatās a really really long time
Itās hard to tell how well the battery will stand up to its capacity rating or age over time but we can say it would last 2 years as a worst-case scenario.
Over a 10 year period thatās $50 in batteries plus needing to arrange for a worker to go out and replace them 5 times over the course of 10 years which they can pay a worker to do for free but it will eat up about 10 -15 mins of their time to actually get out and do the swap.
You have to dispose of a toxic battery 5 times over a 10-year time frame also.
I bet a solar panel and battery combo could be added for $15, in higher quantities. The solar panel does not need to be large for this application so it could be a very small custom panel. Something like the Voltaic Systems 1w Panel.
With the low discharge rates, the battery can be small and would last a very long time if a quality cell is chosen.
Checked this morning. Across the 7 devices (2 arenāt downloading the update so I assume 30s isnāt sufficient for them to connect + download - need to find a way to not interrupt its download ), in most cases over a 6-hour period the drop was 0.16%, and 0.33% for a 12-hour period (a few very slight outliers, probably due to different voltages and Fuel.Gauge().sleep). This is pretty much the rate that I was expecting
As mentioned before though, Iām concerned about using a solar panel. Some of these containers are in the more shifty areas, and I know there have been incidents with complete sensors being stolenā¦any sort of prop visible on the outside of a container will attract a lot of attention. Also some containers are indoor. The solar panel thing definitely is interesting to consider, itās just that logistically it can become quite complex as Iād have to deal with different device setups that can no longer be freely swapped between containers anymore (which adds value to the product in itself)ā¦so Iāll give this some thought. Thanks for the suggestion though, I appreciate it, and it does sound like a great idea
Also, LiSOCl2 batteries should come in today according to UPS, so Iām very interested to see how they are going to perform
Batteries arrived, and seem to work fine. Went through 10 cycles and each time it could handle the peak currents for establishing a connection just fine.
The acrylic glass was useless - came in already badly scratched (all pieces) and was very easy to scratch myself as well (confused as I specifically asked for pieces with scratch-prevention). I imagine the scratches it came with were caused by the packaging.
The glass obviously didnt work out well with the laser. Will have to look for a different merchant for this