Electron Carrier Board

All,

Completed a road trip from Raleigh to DC and carrier performed flawlessly. I can now confirm that the watchdog timer works as expected.

Thanks,

Chip

4 Likes

Sweet.

I also put my Electron into the same type clear Pelican case with the rubber seal.

I wonder if you will see condensation inside the case once you leave it outside for awhile.

I had drilled a hole in the top of the clear lid for the solar panel wiring and then sealed the hole with silicone so I know it was really sealed but I still saw condensation build up inside the case over time. The Electron worked just fine and never rusted up or anything but maybe a few of the moisture packets thrown in to soak up moisture would be a good idea?

1 Like

RWB,

I saw some condensation issues with these boxes as well. I now use them for my development boards that travel with me so I can work on a project while on the road. I think the issue is that you cannot make them 100% air tight in part because of the pressure relief valve.

When I place my sensors in the park, I use this box and put waterproof seals on every wire. Since I have done this, I have no seen condensation even in boxes that have been out for two years.

As for putting a desiccant in the box, I think that would work for a while but, eventually it would become saturated. I think going fully air tight is the only long term solution.

Thanks, Chip

@chipmc, Couple of things I noticed.

A) The solar connection has the + side (pin1) going to the GND BREAK.

B) Might be splitting hairs here, what is your reasoning for using D1? At first glance it seems to prevent back feed from external power to feed back to the solar panel. But yet you have it routed to the GND BREAK pin on the DC jack. So as soon as you plug in the DC plug, it disconnects the solar from the circuit. So I dont see the need for the diode in this configuration.

C) you are using a TVS on your power input line (VC080505C150DP), yet you didn’t use a fuse before it. If the input voltage exceeds the TVS rating it will clamp and short the input.

I use the same box as you for most installs, but I do see condensation. My devices see quite a bit of temperature fluctuation, as they are in an agriculture setting and are likely in direct sunlight.

The air tight box has to “breathe” in situations where the temperature fluctuates quite a bit, or the seal on the box itself will leak.

Because of this, we pot or conformal coat. We could use gortex breathing vents, but as far as I’ve seen, these are pretty expensive.

1 Like

The Pelican cases pressure relief valve is supposed to be like Goretex where it allows air in and out but will not allow water to pass which allows them to call them waterproof cases.

But that has to be where the condensation comes from.

Goretex will not allow water droplets through but "in air disolved" water molecules in air will pass.

The water content of air measured as humidity can be considered air :wink:

1 Like

Guess it actually is GoreTex. I was just guessing.

Here is info from Pelican’s website about the cases:

Exactly, as said. Second paragraph “vapours” can pass, so once warm humid air got in and eventually cools down below dew point, the condensing water will be trapped inside.

3 Likes

+1 to @ScruffR 's comments.
I performed a trial several years ago and found that the Relative Humidity at the time I sealed the enclosure was a big factor also. I remember that adding a desiccant pack and providing shade over the enclosure (reduce the temp swings) worked perfectly for me in a side by side trial. I went as far as placing a tiny bit of dry ice in the box to “float” away ambient air before sealing for long-term, which proved to not be worth the trouble.

2 Likes

I have used a product called Bloxygen to displace most of the air in a sealed enclosure using argon gas:

http://www.bloxygen.com/

You can also dry argon gas from a welding rig but for small stuff the spray cans are easier.

2 Likes

Agreed, that vent is where the condensation comes from. But, if you dont have that, and you have pressure changes, it will either come through your cable glands or through the seal of your case. The vent is so your seals do not break down over time – and to prevent the box from exploding in rapid pressure changes like experienced in airplanes.

@mikemoy

Thank you for taking a look and for your comments. This is timely as I need to get the next spin of the board out this week.

A) The connector for Solar is not polarized so I guess I did not pay attention to the connection. Thank you for catching this.

B) There are two cases here. 1) When the barrel connector is not used, GND BREAK is connected to GND. The idea of D1 was to protect against reverse current on the non-polarized Solar connector. I thought this was important since I am using a polarized capacitor C2 which could be damaged. 2) In the case where the barrel connector is used, GND BREAK is disconnected from GND and the Solar input is effectively disconnected. Since the barrel connector is polarized, I did not think it needed reverse current protection. Should I be thinking of this differently?

C) I am relatively new to this area so I am open to suggestions. I want to protect the circuit from ESD and over-voltage on the external wires. In this circuit, there are power wires (Vin, Solar, and Vcc) and i2c wires (SDA, SCL, SDA1, SCL1). I used TVS elements to protect the i2c wires as they have low capacitance and will not block the rapidly changing clock and data lines. For the power lines, I use varistors as they are better suited to absorbing large amounts of energy on slowly changing lines. Do you have a link where I can see how and why to employ a fuse in front of the Varistors on the power lines?

Thank you again, Chip

A) Ok, Just a bit confused on solar being not polarized. Is “solar” a solar panel connection ?
B) I think I just need to understand what the solar connection is. If it is a solar panel I dont get how its not polarized.
C) I do not have a link, but there are many reasons and ways to use a TVS. without boring you to much it really depends on the application. This image below is the most common way its is used on power lines.

Basically, as you know when the TVS clamps, and depending on the surge it could clamp and not recover to an open state again. This is what the fuse is for. So if the TVS does do this the fuse will not let the input source fry because its output is now shorted. in these situations the fuse should be a slow blow, to give the TVS time to clamp, and release on the spike but not blow the fuse for a short duration spike. Not saying you need a fuse, because I dont know exactly the whole setup. Its your call if it warren’s one or not :wink:

@mikemoy

A) Yes, Solar is a solar panel connection and I was simply going to use a two pin header for this connection. I sometimes hook up these connections or reverse the waterproof connectors to the panels so that is why I wanted to put protection there. having a separate Solar connector may make more sense after this post as well.

B) The DC-in connector will be polarized (2-pin JST) so no reverse current needed.

C) I think you are pointing out an issue that I had not considered but should have - what happens if the Varistors are tripped? I will need some sort of fuse protection. I need to do a little more reading but, here is what I am thinking. Take DC-In. This is a 5V @ 2A power supply and shorting it would likely not be good. I could use a PTC resettable surface mount fuse like this one. Which would trip a 2A after 500 mSec limit the current to 1A and only introduce 90mohms of resistance (at least until it trips once) and is small and fairly cheap. I would need to size the fuses for Vcc and Vin to reflect lower currents (800mA max). I know there are other fuse technologies and it seems you know a fair bit about this so, does this make sense to you? Am I missing anything else?

Thank you very much for your input.

Chip

I see now. FWIW, if you would like to not have to worry about how you connect the solar panel wiring, you could always use a surface mount bridge rectifier. This way it wont matter which way you wire the panel.

I was going to suggest that people do use a PTC instead of a fuse but each method has its application.

Don’t mean to cause you to be overly concerned about all of this. I just come from a background where I design things for industry so I have seen customers do all kinds of crazy things so I typically design for worst case.
If this is only going to be used by you then some of these things are not needed. For instance, if used by you then you wont have to worry about someone throwing on a 12v or 24v wall wart just because the barrel jack fit and thats all they had laying around.

Feel free to PM me and i’ll give you my number if you would like to talk about it. Don’t want to bore the forum with all the dirt.

3 Likes

Thank you all for your comments especially @mikemoy for taking my call yesterday.

I plan to send this out to OSHPark on Monday. Here are the changes from v1

  • Added fuses to protect external power
  • Got rid of Earth Ground - going to have this device floating.
  • Added a user switch - I will use it to turn off the Electron LEDs and save power / heat
  • Removed the barrel connector - just two JST connectors - LiPo and DC / Solar in
  • Improved the logic and the power path for powering on and resetting the power in software

I have split the schematic into two sheets to make it more readable. Please let me know if you have any comments or suggestions.

Thanks, Chip

@chipmc

This is a great project and very informative discussion.

I’m also interested in using the TPL5010 external watchdog. Are you going to provide some example code that demonstrates how your are using the timer. I saw your explanation (see below), but for us new users it would be helpful to see somr code as well. Again, great project - lots to learn here.

Thanks

It will work like this:

  1. Connect the “wake” pin from the watchdog to an interrupt enabled pin on the Electron
  2. The Electron will have a whopping 20ms to “kick the dog” using a “Done” line
  3. If more than 20ms goes by, the watchdog will reset the Electron

The time between “wake” signals is set using resistor(s) and can be up to 2 hours.

@micromet,

Sure, happy to share the code as well. I need to get the board out to @OSHPark and will get back into the software tomorrow.

Chip

All,

Just sent out the next revision of the board. Should have it back and tested in a couple weeks. Will work on documentation of the bill of materials and post the full EAGLE CAD files as well. Thanks again for all your help.

Updates:

  • Added a user defined input switch
  • Added fuses to protect power supplies should the Varistors trip - thanks @mikemoy
  • Improved logic so Electron can perform a “hard-reset” of 100mSec power cycle
  • Polarized power connectors for better reliability
  • Moved components so you can connect to the micro-USB connector without hitting anything
  • Improved clearance so you can mount the Electron directly to the board if you want
  • Better labeling of components

Key features:

  • 235k FRAM
  • External Watchdog Timer
  • ESD and voltage spike protection on all external lines
  • Push ON/OFF power
  • Electron initiated power cycle for hard reset
  • Large cap for Solar charging
  • Headers for i2c and IO pins

Here is what it looks like:

Open Source - hardware and software.

Thanks,

Chip

3 Likes