Build a lorawan gateway for the things network • my2cents harry mileaf electricity 1 7 pdf

###########

In this post I’ll show you how to build a LoRaWAN gateway for The Things Network. While I could talk about what LoRaWAN is or why I think it’s essential that the IoT world fully embraces it I’ll refrain from doing so. grade 6 electricity project ideas Accordingly I won’t be introducing The Things Network (TTN) in this article either. It’s my assumption that readers who end up here did so because they’re interesting in actually building a LoRaWAN gateway for The Things Network rather than learning about core concepts. Still, please let me know if my assumption is wrong and I might publish an additional article or amend this one. My requirements

If the BOM below looks long and intimidating then that’s because it is – at first sight. However, depending on how much of an electronics nut you are you may have some of the components laying around your desk already. electricity in water This was one of my first serious electronics project and I learned quite a bit. Once you’ve got all the parts ready though it’s not really complicated. Certainly if I can do it so can you!

WARNING Don’t ever power up the concentrator when the antenna is NOT connected! PCB stack – RaPi, backplane, concentrator (from bottom). On the backplane you see (from left): jumpers, DC barrel jack, 2-pin terminal connectors. PCB stack from opposite direction. First element in viewing direction is the 4-pin I2C connector. electricity kwh cost uk Alternatives to this backplane

If you build a LoRaWAN gateway for The Things Network you’ll want to be able to remotely check on its health. gas stoichiometry examples Hence you need sensors that measure certain parameters. However, as I had no intention to extend this outdoor gateway into a weather station I only needed sensors inside the enclosure. The BME280 measures temperature, humidity and barometric pressure. If you combine the first two with the Raspberry Pi CPU temperature you can assess easily if the hardware is running in a healthy environment.

The initial idea was to screw the PCB stack to the bottom of the enclosure then somehow put the PoE splitter on top. gas in oil briggs and stratton engine So, I drilled two holes for the antenna and the waterproof RJ45 adapter in one corner of the enclosure. Then I prepared some scrap wood because I didn’t have the right brass spacers standoff. At that point the enclosure looked like this: Enclosure with antenna at the top, waterproof RJ45 connector to the right and two scrap wood standoffs.

I’m an engineer and I remember enough uni physics to understand the correlations between humidity, temperature and pressure. However, I had zero experience building outdoor enclosures. I didn’t understand the degree to which those effects would impact my installation thus. For a brief moment I thought about cutting a square-inch “window” into the enclosure and then cover it with a Gore-Tex membrane. u gas station I would have harvested it from an old outdoor jacket. Eventually I didn’t but we’ll come back to that in a minute.

Eventually the general idea was to place the PoE splitter somewhat diagonally on the bottom of the enclosure. circle k gas station locations This means that some of the “bumps” there need to be removed. Then I placed it between the two bumps that hold the M4 screw threads. Next I cut the DC power cord from the PoE splitter to about 20cm, stripped the isolation on that end and feed it into the terminal block on the PCB stack.

As the enclosure really is a tad too small I carefully(!) stripped some plastic from the one ethernet cable that’ll be plugged into the Raspberry Pi. Finally everything inside the inclosure can be plugged together. Ethernet A (left) goes from the Pi to the PoE splitter. Ethernet B goes from the splitter to the RJ45 connector in the enclosure wall, and the power cord with the DC jack goes from the splitter to the backplane.

I hope I managed to give you an idea how to build a LoRaWAN gateway for The Things Network. While working on this post I realized that writing instructions is not something that comes naturally to me. The fact that I felt it necessary to include some of the failures of the first version of my gateway certainly doesn’t contribute to readability I know. Therefore, I was wondering more than once whether to completely dump those paragraphs. z gas guatemala Also, as a reader I believe doing this in a video may be a lot more instructive. I might do that eventually – should I build another gateway.