Your videos are a valuable resource, and you have obviously taken a great deal of time and effort to make them high quality. Thank you for making them, it's much appreciated.
Andreas, your videos are BY FAR, the best resource on Arduino projects. Well explained, great videography and additional information helps as well. Oh and current content too, like this Lore series. Please keep up with the great work! Congratulations!!!
Thank you for this great Video. It finaly initiated me to start a LoRa deepdive. Now we'll soon open a new TTN community and our first gateway is (nearly) working. Therefore one hint: If you use the "complex PCB" by ch2i you have to modify the start.sh because ttn-zh use GPIO25 (pin 22) for the SX_RST. The "complex PCB" use GPIO17 (pin 11). nano /opt/ttn-gateway/bin/start.shchange the line (obviously the first line) containingSX1301_RESET_BCM_PIN=25toSX1301_RESET_BCM_PIN=17
ic880a sounds interesting. As i just wanted to connect a distant node to my home network and didnt see a need to connect to a lorawan service i used two RFM95 boards, the gateway being an rfm95 connected to an old arduino with w5100 ethernet shield (finally a purpose for that one). That arduino just pushes the received messages as mqtt on my home network. With an 'almost' LOS and simple antenna' s and abt 250 meter between sensor and gateway that works quite well
For a point-to point connection, using the bare module is a good idea. Maybe you could even use the cheaper RFM69 boards. A viewer built a whole network with them...
Thanks, I have hesitated between the 69 and the 95 but as i understood (I might be wrong) the 69 only does 433 MHz. As I already have a lot of 433 Mhz traffic, I thought 868 to be a better choice, but indeed the 69 is euro's cheaper than the 95 (4 USD vs 7 USD/piece) The 95 (and probably the 69 as well) fit perfectly on an ESP866-12 BOB . I would have opted for the LoRa UNO shield that you have as well, but that uses pin 10 for CS and my ethernet shield does that too. Having said that... it is also possible to connect an RFM modyle with an ESP8266 and thus create a LoRa LAN gate Just for fun sake, i may try the RFM69 as well as I now understand the 69HW does 868 as well
Really interesting again. You cover a lot in this video but it is really clear and easy to follow. I'm looking forward to the next bit before I decide if I'm going to build one. Best wishes Arthur
Really great videos. If possible, would be great if there will be some explanation about Spread Factor and how is that related to 8 or even 10 channels gateways. Also i found out there is quite interesting gateway RAK831, but have no experience with that so far.
SF is basically the time a signal takes to be transmitted. Each channel can be used with a different SF. And gateways allow even several SF on the same channel. RAK831 is in the Mail...
Great video. This series has been so useful for me learning about LoRaWAN. I'm thinking of using the technology to build a modular weather station system. But where can i buy an iC880A that isnt like $150?
@@AndreasSpiess thank you, Do you suggest using IC880A-spi as lora concentrator ? I asked this question because this video is old and I wanted to know if ic880a-spi is still good choice
@@AndreasSpiess Thank you dear andreas for the reply. I am using Senscap lorawan gateway, I want to know if I use dragino lora shield (RFM95(W)) +arduino uno for the lora end device would be a good choice? would it be connected to my gateway?
If you use the right software all RFM95 work (check that they support the same frequency range). Most people today use TTGO or Heltec boards for their projects, BTW.
@@AndreasSpiessThanks for that. Alas, I bought a "Ethernet Gateway LoRa 915MHz XHCIOT E90-DTU(900SL30-ETH)-V2.0 30dBm 10km MQTT TCP UDP DC 8V~28V RSSI SMA-K Transceiver Modem" but it turns out it cannot do the LoRaWAN stuff, is it? Cost was over $100 and I'm am nervous about what to buy next to be the right device. Long time subscriber and Kiora (Hello!) from New Zealand by the way. ;-)
@@gruvinnzTTN sells an indoors version, and Mikrotik sells an outdoor version. Both should be ok (I own the TTN version). RAK also sells some gateways. They are all reputable companies.
@@AndreasSpiess I bought 3 lilygo ttgo on 433. On meshtastic I can only operate between my units, right?. No benefit from others mesrtastic devices that are using 868?.... My big mistake.
Hi Andreas, First of all thanks for sharing so many video’s, it is always a pleasure to watch and to learn about technics and (for me) new products! Following your instructions I’ve build the gateway with the same backplane from Tindie and the RPi 3. Unfortunately it turned out the gateway does not work and I see errors in the log, it looks there is a problem to start the concentrator: Jan 20 18:36:26 ttn-gateway ttn-gateway[2366]: ERROR: [main] failed to start the concentrator SPI on the RPi is enabled and I’ve checked the soldering of the backplane and it is okay. But measuring shows an issue, iC880a pin 22 (GND) is not connected to RPi pin 6 via the backplane. It even looks pin 22 is not connected to any other part of the backplane. This is strange because the green LED of the concentrator turns on when powering the RPi. Is pin 6 on your backplane connected to pin 22? Are you known with this issue or problems with the backplane? Do you have a suggestion to solve this? Best regards, Hans.
Yes, you're right. You do an excellent job of carefully explaining everything. Some people just explain an acronym once and by the middle of the series it gets very confusing. I don't think you did anything wrong. TTN is just an awkward name.
I live in a town without a TTN network. I would like to monitor the temperature, humidity and water-store levels of our allotment of land about a kilometre away for growing vegetables. My reluctance however is that I have a concern that a public gateway would be used for illicit purposes, for example growing illegal drugs.
Hi Andreas, first of all I Would like to thank you for your videos, they are very interesting and professional.I spend a lot of time on them. Very thanks! I need to put in place some LORA senders and one LORA receiver (that should be connected to the internet). I'll have a server on the cloud that should be retrive the data and process it. So, on the senders I'm using Arduino and I'll add a Dragino shield for LORA. I have a doubt about the receiver: my idea is to make it using a Raspberry PI with a LORA hat. I also saw that on the market there are some ready LORA Gateway (like for example the same Dragino LORA-WAN gateway). My (probably stupid) quetion is: what is the advantage to make the gateway using the RaspberryPI instead of to buy a ready to use Dragino gateway? If I'm not wrong the prices are almost aligned. Thanks!
You can either buy a Gateway or build it yourself. Both work the same as long as you use 8-Channel gateways. They are more expensive than single-channel models.
Andreas, I'm curious if the Loran Gateway could be powered by solar. Would you consider checking the amperage use for the gateway during a transmission. Thank you.
As you see, it is placed outside now. So, I cannot measure power consumption. Because it is only allowed to send 1% of time, transmission is not the issue for solar considerations. I think, the Rasbi is the biggest consumer.
Thank you for your contribution, a big help. There are some interesting ideas on the TTN Forum regarding inexpensive solar solutions. I'm going to hack a small solar pathway lamp to see if it could be used after disabling the leds.
Thanks for all your help. For the moment I'm looking for a solar alternative for just the node and maybe a node repeater if I can find such a device. I'm thinking a gateway might be closer to a power source or maybe powered via ethernet.
This product should provide a great benchmark if it works. www.kickstarter.com/projects/trystenergy/light-energy-iot-modules-ble-lora-without-batterie#
As always a really great and interesting video motivating to copy; I already watched multiple times. But even though it's some time older now, I would like to know if iC880A-SPI is still the best choice with an older Pi 3B or is there something newer, more state-of-the-art of same price? Are there any Pi4 suggestions or is that extra power not needed? If not, I would order an iC880A-SPI and refurbish an older Pi3B to build this gateway to place in my attic. I googled, but I always end here or at Pi3+iC880A-SPI setup, but maybe I overlooked something? Target: Build my own TTN Gateway, 8 channel, maybe with an ESP32 if existing and become part of the community.
Awesome these lora videos. Could you tell little bit about the gateway? Can I monitor how’s using my gateway (Just interested to see how popular my gateway would be) and can I somehow priories my on devises so they could always have some bandwidth? Looking forward for these low range communication videos because I also would like to establish my own gateway here in Finland :) I live in a city center but my parents live across a lake approximately 8 km away. It would be awesome to communicate across the lake and sent simple data back to my apartment so looking forward to see the range tests in a mixture environment.
So far, I did not look into the management of the network, also for example, what happens if one channel is occupied, or your node is heard be several gateways. So, still a lot of questions...
Andreas, Thanks for the video. I was wondering whether you would normally set up your application (user GUI/control/dashboard) on a different server and use the TTN server as a conduit from your LoraWan gateway to TTN? For instance, I have a ThingsBoard service running on the web that accepts data and allows analytics and display, setting up web-based dashboard etc. If I had a script that passed on to that service?
First of all thank you for investing in videos, I want to build a gateway but in my country the frequency is 433Mhz, Do you know what product I should use? I'm sorry about English, Many thanks eli
Is it possible to have the antenna on an extension or have a longer antenna so that I can place the antenna on the roof and the boards inside my office? Or do I definitely have to place the whole thing on the roof?
The law limits the radiation at the antenna. So, if you have a long cable with losses, you can compensate this with a bigger antenna. See my first LoRa video about cable losses...
Hi, Great job about the video. I have a question: Do you know if there is away to stop the connection of the gateway from ttn. Which of this steps followed should be removed or modify ? Thank you in advance!
Dear mr Andreas. Thx for an excellent video. Just to ask you, what components (from which vendors) I can buy to build my own gateway (for my smart agriculture project)? Also, for example, If I buy Arduino MKR WAN 1310 (LoRa) and connect SIM800l (for GPRS internet connection) on it, will I then get an LoRaWAN gateway in total?
Maybe you watch my other videos about LoRaWAN. Then you will see that you need a LoRaWAN gateway and many LoRaWAN sensors. You find them also in your country, I think. This is an old video and currently, it is better to buy a gateway than to build one.
@@AdnanAdnan-yg5gl Just buy the one you need (indoors or outdoors, for example) and which is available in your country. They all have the same functionality if they are TTN compliant.
Hi Sir, i am a huge fan of your work.. I often see your videos and keep myself updated with new technology. I belong to a CS background with basic knowledge in electronics. I want to setup a LoRa network point to point within 3km of radius but its surrounded by various buildings. Can you please recommend me which module to use and which antenna will be appropriate
Dear Andeas, Thanks a lot for this video (and all other). I ordered and I got the material. I connected the part and I have now my first gateway ready to be configured (I am novice). I have a couple of basic questions. On the IC880 board, can I solder a SMA connector close to the ufl connector? I noticed the hole for a SMA. I supposed, the holes are for a SMA connector if we want to use it instead of a ufl? On the ICST backplane there is like a DC Barrel Power Jack to power the board. What's the max Power/Amperage for the modules? Can I connect a 7.5V/2.3Ah lion battery, or a 3.7V/2.6Ah battery to power all modules incl Raspberry board, instead of using a usb cable? Grüss von Genf!!
+Pierre Amey I am no specialist in this matter and did only use it exactly as described. So pls ask the supplier your questions. He knows it much better than me.
Thanks for a great video! I watch much of your content 👌 I want to setup a LoRa gateway, and I'm wondering if I should use the same components today, or if the technology has evolved?
Hi Andreas, would you consider your used hardware (besides the Pi) to be still up to date? Video is almost 3 years old, and I am about to get a gateway running.
Later I built a gateway using RAK wireless hardware. But I have no overwiew anymore as I do not need more gateways... You get now also more and more readymade devices.
Hi Andreas, Great tutorial! I'm also planning to use ic880a-spi for my gateway but concentrator work's on European frequency range (863-870MHz) and I want to use it between 865-867MHz frequency which is the Indian frequency range. Will the same concentrator can be used for my required frequency? If not, Can you please help me using it between 865-867MHz frequency range?
Maybe you go to the TTN forum and search for Indian users. There are newer models out there by now (like form RAK wireless). The frequency is selected by the software. The hardware just has to support the right band (like 868, 915, or 433MHz.
Hi! I have a question.In my country the band that we are available to use is 923MHz. The concentrator that you use works in the band of 868Mz and I looked in the web and I think the IC880a only has that frequency available. So , would you recommend me a concentrator that works in 923MHz ?
Hi Andreas! Great to see all the awesome content about using LoRaWAN and The Things Network. We’ve released a new version of our network server, and we'd like to work with you to refresh some old content so it aligns with The Things Stack (the old network server is being sunset). What's the best way to reach you?
Thank you for sharing this video. I am not sure about the ic880a(868MHz), could I use ic880a as gateway of LoRa network in the Country that is in ASIAN countries ?
+Hoodik My plans are to present a cheaper and a cheapest single channel gateway. The cheapest should be around 20$. But so far, only the cheaper works.
Andreas Spiess $20? that's for a single channel. Can you duplicate some of the hardware to get all 8 channels? Otherwise the cost to cover all 8 is no cheaper at ~$160
Is there a way to build a LoRa Gateway using Arduino UNO and LoRa Shield v1.4? And how much it is feasible to use LoRaWAN for drones ? Is there any support for Ad-Hoc Meshwork ? (I know the LoRaWAN requires star topology but is it feasible for a custom built protocol) ?
You have to google to answer you questions. When googling, please distinguish between LoRa as a transmission protocol and LoRaWAN as a network using this technology
I ask about lightning protection because I do have a LORA gateway up and I need to protect it. So far I've been lucky. I wonder if there is a ready made thing that I could insert in the antenna cable. I'm sure it would need a large ground lead, might have a gas switch inside to shunt the energy...
I understand. From what I understand so far is, that you can protect your antenna or your cables towards the gateway. I think, I will not try to protect the antenna, because the chance that even a protected concentrator will survive a lightning attack is small. An I plan to use WLAN for connection. Then, I just have to protect the power supply. And with a solar panel, also this would be obsolete and because of lacking ground reference, the chance for a lightning attach would be minimal. Lightning searches the fastest way to earth...
In my case, the antenna is mounted on a commercial building with some LMR cable running to a Multi-Tech concentrator. Everything is powered from mains. A direct strike is basically the end. But the smaller precursor voltage spikes might be shunted to protect the hardware.
Hello Andreas, Thank you very much for the video! But I have one point unclear. The Lora frequency is unlicensed and there is no collision detection/avoidance in the protocol. What if many commercial and many private solutions were installed on the same area? What if the number of end-devices were millions or billions? Even different channels and spreading factors may not help in these circumstances.
Hello Andreas, I have seen your LoRa related videos and are very informative. Thank you. My question for you is, would you please recommend a LoRa Starter Kit? I want to get into testing it. I can build the gateway and nodes (thanks!) but I also need a decent portal to display data and configure triggers/alerts and that will be a time challenge for me hence I’d like to get a vendors kit, connect it to TTN and used the vendors portal. Thank you for the time taken to evaluate my question
TTN provides some interfaces to get the data. Many of my viewers use node-red to get these messages and do something with them. Node-red has prefabricated noes to connect to TTN.
Thank you Andreas. I've done a quick research/test based on your advise and Node-red is the answer I was looking for at the current stage of my project. As it has been said repeatedly on this channel, your contribution to the community is a valuable source and very much appreciated.
And so to the Raspberry Pi you mention at about 10:00 minutes in this video. Not only has a nice compact Pi Zero been updated to include native Wireless networking but it is available just outside LoRa range in Nederlands! Here is a link to an €11 option for you Andreas! I will most likely use a Raspberry Pi Zero W at least as an experiment on my own house. I have easy access to the roof and would employ a single 220vac connection to the house as you did in the end. I have very strong WiFi at my gateway site. Thanks and keep up the good work Andreas! www.kiwi-electronics.nl/raspberry-pi-zero/raspberry-pi-zero-w
Thanks for the link! 11 Euro is a good price. But I have already purchased one a few month ago. And because so far, I did not do a lot with Raspberries, it is still laying around... And good luck with your Gateway. I think, using 220 and Wi-Fi is the easiest way if possible.
Looks expensive and complicated to setup. However it is a MUST if you live in a rural area without internet access to your sensor. Hopefully this will catch on and become ubiquitous. If I am not mistaken, the sensor sends its data to you though LoRa, you then send that data to another LoRa concentrator somewhere else in the world, through the internet. Then the concentrator can send it to a sensor it is controlling? Am I right?
The gateway is connected to the infrastructure and does not talk to other gateways. If you want to send a message to another node, the receiver application gets the message from the first node and has to decide to send it to another one. At the end, it behaves like 1:1 connections from sensor to application. At least, this is my current understanding.
If GPRS is still alive: GPRS. If line of sight, maybe two RFM95 with two way communication and an acknoledgement and repetition if not received. But this is quite unsecure if you can transmit, because the channel might be occupied from somebody else..Or you combine a 433MHz and a 868/915MHz communication and use the better one... Modules are not very expensive. Otherwise you need a repeater on a hill.
Middle of the Canadian wilderness. 0 bars :( I think I will apply and get an Amateur radio license and use it to build a high power link and only transmit data at 12:00 noon each day. If I need a super antenna, I'll use my small quad-copter to fly (raise) a wire antenna just before transceiving! I think that should kill the fly with a sledgehammer!
On amateur bands you have different frequencies available and more output power is allowed. But even there, it will not be easy. Sometimes it is easier to transmit to another continent than 100 kilometers away. A quad would be a good repeater BTW. 300 - 400 meters height might change a lot.
hi, I am using ttn with OTAA method. when i power off my nodes and power on again the data is not comming in application part of ttn.but gateway is able to receive the packets. when i do reset fram counters (frame up) then it starts to show the data. have you faced this issue? can you suggest me any solution.
Very good and well define Instructions on Build. Does anyone know where I can purchase the Daughter Board that goes in between the Pi and RAK831, I already have a RAK831, and I don't want to have to purchase a whole Kit. I have searched the whole Internet and None to be found. RAKwireless can't help me, they want to sell a new Kit
I saw that video, but I believe you purchased the RAK831 and Converter board in a combine Kit I did not purchase the kit and I purchased the RAK831 as one but not with the Converter board, now I found out that I need the Converter board to connect to the RAK831. I have a Pi 3+/POE tophat and a RAK831 And now I cannot find that that Converter board any where on the Internet by itself, without having to buy a complete kit, I don't need two RAK831's Thanks for your Reply and Help..
1. Lora is a physical connection. So, you can connect whatever devices you want. 2. The advantage of Lorawan (including gateway is, that it is one to many, you can bridge big distances using also the internet, you have a MQTT interface.
Regarding the registration of a new Gateway in the TTN-Console, there is no possibility to type in the EUI number. Instead, i got a Gateway Key. Can you please explain how to handle with that key?
I was inspired by your video and getting ready to order parts. The IC880a transmits at 868MHz and I need 915Mhz since I am in the USA. Can you recommend a US friendly concentrator? Thanks and I have been really enjoying your videos!
That is a difficult question. As a rule of thumb: 1. It has to be a 868 MHz Antenna. This is not obvious, because from the outside, they look similar to a WiFi antenna and sometimes, you get a WiFi antenna instead of a right one. 2. The bigger the better
Thanks for your great Videos .. Could you please create a video on creating IoT cloud server and creating IoT gateway , data transfer to cloud server using node-red MQTT ?
What would the whole scenario do and what do you want to do with the data in the cloud? There are already MQTT cloud servers available. I used them in earlier videos about MQTT.
Sir.. Many thanks for your precious time !! Instead sending data to TTN cloud , I would like to send it to my personal domain. And to connect LoRa gateway to cloud server , I would like to use MQTT but using Node-Red as to minimize the coding efforts .
Then you have to build and program your own gateway and web service. This is why I like the work of the TTN guys. TTN is only the transport and you easily can connect your node-red to their infrastructure (I did it in one of my videos) to store the data.
Awesome presentation sir. I have a question: What is the use of registering a newly created gateway to TTN? I have searched the map in the TTN and unfortunately, there is no registered gateway in our area. So supposed I have successfully created a gateway and register it to TTN, does it mean other people can freely use it? Thank you in advanced. Your tutorials are very informative and useful indeed :)
I have searched the iC880A and read its datasheet. One of its key features as shown in the datasheet is its Frequency Band is 868MHz. My location is in the Philippines (Asia). Is it still ok to use this? Thank you
Andreas I'm interested in building a lora repeater. Do you have any information on this subject. Similar to a digipeater but as simple as using a Sainsonic repeater with 2 baofengs.
Just to not confuse people: I think, you compare apples with pears. These two systems are not at all compatible, they just use the same physical layer.
Thanks for the thoughts but my goal is to extend to the range of a lora node to connect with a gateway. Sometimes the addition of a high-gain antenna or elevation are not adequate.
Thanks again for sharing your knowledge, please let me know if you become aware of anyone building a lora repeater. As you mentioned the radio only needs 12ma in receive mode so a solar powered repeater mounted at a high elevation would provide a benefit in remote areas.
Same in Romania, Pi Zero are NOT 5$, and this is because od production lines or RaPi creators itself, they have a few re-sellers which do NOT allow you to buy more then 1 piece, which defies the purpose of this! Market want more! Sell more right?
3 problems I see here. First it appears that there are more than one LoRa meshes in competition. Second the gateways are not cheap which will slow adoption. Third people being able to keep their gateways private will slow the availability of access. am I misreading any of these problems?
+Do R/C! 1. Yes. There are commercial and community models available. TTN uses a community approach. All its gateways are in private possession, but all are for public use. 2. I do not know, with what you compare. The adoption rate is very different in different countries. They have a map on their homepage. 3. TTN gateways are public. I do not know of a possibility nor a reason to keep TTN gateways private. If somebody wants to keep his network private, it is not a good idea to join TTN.
Andreas Spiess oh ok. I misundsrstood the private public thing. I really do hope something like this really takes off and becomes ubiquitous. it's a cool concept!
Hallo Andreas, ich habe vier Gateways gebaut mit einem auf dem in 3:33 gezeigten ch2i Boards gebaut (die power supply und das rfm95 brauche ich nicht, drum habe ich es rausgeschmissen. Die Reset-Leitung ist da anders verdrahtet als in dem Projekt von Gonzalo. Hattest Du dort auch Probleme?
Ich habe das SX_RST Signal des iC880a jetzt mit Pin 22 des Raspi Boards verbunden und siehe da, es geht jetzt. Das andre Adapterboard, welches Du verwendet hast, das passt zu Gonzalos Software. Ich bin Dir recht dankabr für Dein Tutorial hier. Es hat mir sehr geholfen. Ins Besondere die sudo tail... Anweisung. Jetzt habe ich schon ein paar Gateways am Laufen und als nächstes werde ich mich mit den Nodes beschäftigen :-)
hello, Iam testing lora communication by using RN2483 PICTAIL LoRa module, i bought two of those lora modules can they communicate directly without any gateway in between? please reply ASAP , thankyou in advance
Andreas Thank you for such a great tutorial. I just wanted to know if we can have LoRa gateway without TTN Network?. i.e. Does LoRa work with our own server without needing to use TTN. Also please let me know , if you have any blog or Tutorial Links for Creating a Node and Gateway without TTN network
Hi Andreas ! I just test the transmission distance with my Arduino/Pi/sx1276 single channel module! What I want to build is a single channel gateway with raspberry Pi. But that means the problem will show up as you mention in 1:02 Did you test that how many devices can contain with IC880a? Is that mean it will no need to concern about collision with IC880a? (because of multi-channel ) The idea of mine is using Lora's "channel activity detect" to wake every nodes to achieve power saving and avoid collision. Thanks for reading above message. Have a good day!
1. LoRa protocol and Gateways are made for around 1000 nodes per gateway. But of course, this depends heavily on the frequency of transmission and the length of the message. Collisions cannot be avoided, but should be included in these calculations.
Thanks for reply Andreas. So your system can basically contain 8 devices in 8 different channel. Did you do some mechanism to avoid collision? Does your system contain completely LoRaWAN function ? Thanks!
I am getting errors when powering up the gateway. It seems there are SPI issues when using the raspberry pi 3. This is the message I get from /var/log/syslog ERROR: [main] failed to start the concentrator. Have you come across it? Suggestions to fix involve resetting the ic880 concentrator. I used the backpane (simple pcb) to connect the RPi3 to ic880a board. Which gpio pin of the RPi3 is connected to the reset pin of ic880a?
@@AndreasSpiess , I managed to resolve it. i downloaded the master branch instead of the spi branch, my mistake. The reset command is already included as part of the start.sh script provided.
Your videos are a valuable resource, and you have obviously taken a great deal of time and effort to make them high quality. Thank you for making them, it's much appreciated.
You are welcome!
to use the internet normally?
navigate UA-cam, Facebook and other sites with this equipment within reach of the Sign?
@@amorporpassaros686 too slow for that use.
Andreas, your videos are BY FAR, the best resource on Arduino projects. Well explained, great videography and additional information helps as well. Oh and current content too, like this Lore series. Please keep up with the great work! Congratulations!!!
Thank you for your nice words!
Thank you for this great Video. It finaly initiated me to start a LoRa deepdive. Now we'll soon open a new TTN community and our first gateway is (nearly) working. Therefore one hint: If you use the "complex PCB" by ch2i you have to modify the start.sh because ttn-zh use GPIO25 (pin 22) for the SX_RST. The "complex PCB" use GPIO17 (pin 11).
nano /opt/ttn-gateway/bin/start.shchange the line (obviously the first line) containingSX1301_RESET_BCM_PIN=25toSX1301_RESET_BCM_PIN=17
Thanks for the hint!
ic880a sounds interesting. As i just wanted to connect a distant node to my home network and didnt see a need to connect to a lorawan service i used two RFM95 boards, the gateway being an rfm95 connected to an old arduino with w5100 ethernet shield (finally a purpose for that one). That arduino just pushes the received messages as mqtt on my home network. With an 'almost' LOS and simple antenna' s and abt 250 meter between sensor and gateway that works quite well
For a point-to point connection, using the bare module is a good idea. Maybe you could even use the cheaper RFM69 boards. A viewer built a whole network with them...
Thanks, I have hesitated between the 69 and the 95 but as i understood (I might be wrong) the 69 only does 433 MHz. As I already have a lot of 433 Mhz traffic, I thought 868 to be a better choice, but indeed the 69 is euro's cheaper than the 95 (4 USD vs 7 USD/piece)
The 95 (and probably the 69 as well) fit perfectly on an ESP866-12 BOB .
I would have opted for the LoRa UNO shield that you have as well, but that uses pin 10 for CS and my ethernet shield does that too.
Having said that... it is also possible to connect an RFM modyle with an ESP8266 and thus create a LoRa LAN gate
Just for fun sake, i may try the RFM69 as well as I now understand the 69HW does 868 as well
You get the -69 in 868. I have this one on the whisper board of my last video. But it cannot do Lora (see my video tomorrow...)
Shall we aspect this video upgrade with new Basic Station tutorial in the future?
Recently, I made a V3 video. No need to go to Basic station for the moment.
Thanks. The soldering mods are a bit fiddly. I'm leaning towards paying a little extra for a more complete design.
Thanks so much for the info.
Many things in life get easier if you practice ;-)
I love to watch your videos just to hear your Swiss voice :)
+RV_Six :-)
Really interesting again. You cover a lot in this video but it is really clear and easy to follow. I'm looking forward to the next bit before I decide if I'm going to build one.
Best wishes
Arthur
+Arthur Yarnell Wise decision. A colleague of mine also only married his girlfriend when she was pregnant ;-)
Really great videos. If possible, would be great if there will be some explanation about Spread Factor and how is that related to 8 or even 10 channels gateways. Also i found out there is quite interesting gateway RAK831, but have no experience with that so far.
SF is basically the time a signal takes to be transmitted. Each channel can be used with a different SF. And gateways allow even several SF on the same channel. RAK831 is in the Mail...
Can't wait to see your SF video after you play with the RAK
Great video. This series has been so useful for me learning about LoRaWAN. I'm thinking of using the technology to build a modular weather station system. But where can i buy an iC880A that isnt like $150?
You should find other gateways not. But they are not cheap if they have to be outdoor.
Hi, I'd like to see some video about range test of this module. Very good work.
Wait and see...
thank you for the video , Is there a video about setting up a personal LoRaWAN network you can point me at,I don't want to use ttn
I do not know of such a video.
thank you, great video, Do we need to change reset pin in start.sh ?
I do no more remember the details. This is quite an old video :-(
@@AndreasSpiess thank you, Do you suggest using IC880A-spi as lora concentrator ? I asked this question because this video is old and I wanted to know if ic880a-spi is still good choice
You get now newer products from RAKwireless or Heltec. I would go for one of those newer products. Maybe you also want to use a ready-made one.
@@AndreasSpiess Thank you dear andreas for the reply. I am using Senscap lorawan gateway, I want to know if I use dragino lora shield (RFM95(W)) +arduino uno for the lora end device would be a good choice? would it be connected to my gateway?
If you use the right software all RFM95 work (check that they support the same frequency range). Most people today use TTGO or Heltec boards for their projects, BTW.
Add DAMA to the protocol. It only uses 1 bit and prevents collisions on freqs with a server/gateway.
Maybe you try it and document it? If it works, maybe it is interesting for others
@@AndreasSpiess OK, easyer said than done but if its not done yet, ill try it.
I really appreciate your videos, I discovered the TTN on your channel and now i pretend build one gateway.
Very good. Enjoy!
Greetings: The "Newer gateway" ali link in this video description has died. Is there a make/model[name|number] we can search? Thanks!
This video is outdated. Today, I would go with a commercially available gateway
@@AndreasSpiessThanks for that. Alas, I bought a "Ethernet Gateway LoRa 915MHz XHCIOT E90-DTU(900SL30-ETH)-V2.0 30dBm 10km MQTT TCP UDP DC 8V~28V RSSI SMA-K Transceiver Modem" but it turns out it cannot do the LoRaWAN stuff, is it? Cost was over $100 and I'm am nervous about what to buy next to be the right device. Long time subscriber and Kiora (Hello!) from New Zealand by the way. ;-)
@@gruvinnzTTN sells an indoors version, and Mikrotik sells an outdoor version. Both should be ok (I own the TTN version). RAK also sells some gateways. They are all reputable companies.
@@AndreasSpiessThanks so much! :-) Definitely want to put my area on the TTN map. ;-)
Great channel!!
One question: can I operate 868mhz or 433mhz in Europe? What's the difference? Which one do you recommend?
Both are allowed. But LoRaWAN is on 868
@@AndreasSpiess
I bought 3 lilygo ttgo on 433. On meshtastic I can only operate between my units, right?. No benefit from others mesrtastic devices that are using 868?.... My big mistake.
Hello! Great video. I would like to see sensors using Lora. For example, with a temperature sensor and battery power.
Maybe you check my LoRa playlist?
Hello Andreas, great video! Do you know if this same procedure can be implemented in Latinamerica as well? Thanks in advance! Love your videos!
I think so. Maybe you go to the TTN page to see the coverage near you.
I recently got my first LoRa radios, perhaps it is a little far from California to reach you gateway!
And the wrong frequency in addition...
Hi Andreas,
First of all thanks for sharing so many video’s, it is always a pleasure to watch and to learn about technics and (for me) new products!
Following your instructions I’ve build the gateway with the same backplane from Tindie and the RPi 3. Unfortunately it turned out the gateway does not work and I see errors in the log, it looks there is a problem to start the concentrator:
Jan 20 18:36:26 ttn-gateway ttn-gateway[2366]: ERROR: [main] failed to start the concentrator
SPI on the RPi is enabled and I’ve checked the soldering of the backplane and it is okay. But measuring shows an issue, iC880a pin 22 (GND) is not connected to RPi pin 6 via the backplane. It even looks pin 22 is not connected to any other part of the backplane. This is strange because the green LED of the concentrator turns on when powering the RPi. Is pin 6 on your backplane connected to pin 22? Are you known with this issue or problems with the backplane? Do you have a suggestion to solve this?
Best regards, Hans.
No, I do not know this problem. But the TTN forum is the best place to search for help. There the specialist are very helpful.
Thank you. Gonzalo, from the Tindie backplane, was so kind to give me some great advice and now it works.
These are fantastic videos! It makes me smile a little every time you say, "The TTN Network". "The The Things Network Network" :P
Thank you! BTW: TTN is a brand name. So maybe many people do no more know what it means, like IBM or SAP
Yes, you're right. You do an excellent job of carefully explaining everything. Some people just explain an acronym once and by the middle of the series it gets very confusing. I don't think you did anything wrong. TTN is just an awkward name.
I live in a town without a TTN network. I would like to monitor the temperature, humidity and water-store levels of our allotment of land about a kilometre away for growing vegetables. My reluctance however is that I have a concern that a public gateway would be used for illicit purposes, for example growing illegal drugs.
This can happen. Otherwise you need a proprietary network.
Hi Andreas,
first of all I Would like to thank you for your videos, they are very interesting and professional.I spend a lot of time on them. Very thanks!
I need to put in place some LORA senders and one LORA receiver (that should be connected to the internet). I'll have a server on the cloud that should be retrive the data and process it.
So, on the senders I'm using Arduino and I'll add a Dragino shield for LORA.
I have a doubt about the receiver: my idea is to make it using a Raspberry PI with a LORA hat. I also saw that on the market there are some ready LORA Gateway (like for example the same Dragino LORA-WAN gateway). My (probably stupid) quetion is: what is the advantage to make the gateway using the RaspberryPI instead of to buy a ready to use Dragino gateway?
If I'm not wrong the prices are almost aligned.
Thanks!
You can either buy a Gateway or build it yourself. Both work the same as long as you use 8-Channel gateways. They are more expensive than single-channel models.
Helium (HNT) are taking IoT to the next level.
Thank you for this LoRa tutorial. I hope many more will follow.
You are welcome!
Does a higher level protocol provide the retransmit capability missing in the physical layer?
No. LoRaWAN uses a so-called "Aloha protocol" and usually has no back channel.
At 58 secs does Lora have any collision detection mechanism? No it just sends and hopes.... aloha system
Tks useful
Yes, it is an aloha system. Usually that is no problem where it is used. But of course, you have to know what you do.
Andreas,
I'm curious if the Loran Gateway could be powered by solar. Would you consider checking the amperage use for the gateway during a transmission.
Thank you.
As you see, it is placed outside now. So, I cannot measure power consumption. Because it is only allowed to send 1% of time, transmission is not the issue for solar considerations. I think, the Rasbi is the biggest consumer.
Thank you for your contribution, a big help. There are some interesting ideas on the TTN Forum regarding inexpensive solar solutions. I'm going to hack a small solar pathway lamp to see if it could be used after disabling the leds.
Thanks for all your help. For the moment I'm looking for a solar alternative for just the node and maybe a node repeater if I can find such a device. I'm thinking a gateway might be closer to a power source or maybe powered via ethernet.
This product should provide a great benchmark if it works. www.kickstarter.com/projects/trystenergy/light-energy-iot-modules-ble-lora-without-batterie#
As always a really great and interesting video motivating to copy; I already watched multiple times. But even though it's some time older now, I would like to know if iC880A-SPI is still the best choice with an older Pi 3B or is there something newer, more state-of-the-art of same price? Are there any Pi4 suggestions or is that extra power not needed? If not, I would order an iC880A-SPI and refurbish an older Pi3B to build this gateway to place in my attic. I googled, but I always end here or at Pi3+iC880A-SPI setup, but maybe I overlooked something?
Target: Build my own TTN Gateway, 8 channel, maybe with an ESP32 if existing and become part of the community.
Awesome these lora videos. Could you tell little bit about the gateway? Can I monitor how’s using my gateway (Just interested to see how popular my gateway would be) and can I somehow priories my on devises so they could always have some bandwidth? Looking forward for these low range communication videos because I also would like to establish my own gateway here in Finland :)
I live in a city center but my parents live across a lake approximately 8 km away. It would be awesome to communicate across the lake and sent simple data back to my apartment so looking forward to see the range tests in a mixture environment.
So far, I did not look into the management of the network, also for example, what happens if one channel is occupied, or your node is heard be several gateways. So, still a lot of questions...
Andreas, Thanks for the video. I was wondering whether you would normally set up your application (user GUI/control/dashboard) on a different server and use the TTN server as a conduit from your LoraWan gateway to TTN? For instance, I have a ThingsBoard service running on the web that accepts data and allows analytics and display, setting up web-based dashboard etc. If I had a script that passed on to that service?
You can access your messages on the TTN page through MQTT or web services.
First of all thank you for investing in videos, I want to build a gateway but in my country the frequency is 433Mhz, Do you know what product I should use? I'm sorry about English, Many thanks eli
No, I do not know. But go on the homepage of Thethingsnetwork. You will find help there in the forum
Is it possible to have the antenna on an extension or have a longer antenna so that I can place the antenna on the roof and the boards inside my office? Or do I definitely have to place the whole thing on the roof?
The law limits the radiation at the antenna. So, if you have a long cable with losses, you can compensate this with a bigger antenna. See my first LoRa video about cable losses...
I’m using a adafruit RFM95 LoRa bonnet with a rpy zero. Do you need a gateway shield?
It depends on the scenario. For LoRaWAN you need a gateway, for example.
Hi,
Great job about the video. I have a question: Do you know if there is away to stop the connection of the gateway from ttn. Which of this steps followed should be removed or modify ?
Thank you in advance!
I would just switch it off. And then, you can set it privately that nobody else sees it on the TTN platform. Or you delete it there.
I shall be waiting to see the video, I'm still working on building my project, around 40 feet up.++
Good luck!
Dear mr Andreas. Thx for an excellent video. Just to ask you, what components (from which vendors) I can buy to build my own gateway (for my smart agriculture project)? Also, for example, If I buy Arduino MKR WAN 1310 (LoRa) and connect SIM800l (for GPRS internet connection) on it, will I then get an LoRaWAN gateway in total?
Maybe you watch my other videos about LoRaWAN. Then you will see that you need a LoRaWAN gateway and many LoRaWAN sensors. You find them also in your country, I think.
This is an old video and currently, it is better to buy a gateway than to build one.
@@AndreasSpiess ok. Thank you on your replay. But ofcourse it is still possible to build my own Gateway? For example, as You described in your video?
I forgot to ask, if I decide to buy LoRaWAN GW, which one to buy?
@@AdnanAdnan-yg5gl Just buy the one you need (indoors or outdoors, for example) and which is available in your country. They all have the same functionality if they are TTN compliant.
@@AdnanAdnan-yg5gl Yes. However you have to watch the migration video to TTN V3.
Hi Sir, i am a huge fan of your work.. I often see your videos and keep myself updated with new technology. I belong to a CS background with basic knowledge in electronics.
I want to setup a LoRa network point to point within 3km of radius but its surrounded by various buildings. Can you please recommend me which module to use and which antenna will be appropriate
Maybe you watch my LoRa videos about range and direct connection
Hi Andreas, thank you for another great video! Would this gateway work for helium mining?
Helium is different and it will not run. The included crypto currency into their solution and you have to buy their stuff.
Dear Andeas, Thanks a lot for this video (and all other). I ordered and I got the material. I connected the part and I have now my first gateway ready to be configured (I am novice).
I have a couple of basic questions. On the IC880 board, can I solder a SMA connector close to the ufl connector? I noticed the hole for a SMA. I supposed, the holes
are for a SMA connector if we want to use it instead of a ufl? On the ICST backplane there is like a DC Barrel Power Jack to power the board. What's the max Power/Amperage for the modules? Can I connect a 7.5V/2.3Ah lion battery, or a 3.7V/2.6Ah battery to power all modules incl Raspberry board, instead of using a usb cable? Grüss von Genf!!
+Pierre Amey I am no specialist in this matter and did only use it exactly as described. So pls ask the supplier your questions. He knows it much better than me.
Andreas Spiess Danke schöne für Ihre schnell Antworte und schöne abend
Thanks for a great video! I watch much of your content 👌 I want to setup a LoRa gateway, and I'm wondering if I should use the same components today, or if the technology has evolved?
The technology still is the same, but you have much more choice by now. I would look at RAK wireless and chose their newest board.
@@AndreasSpiess Thanks! I've ordered the RAK2245 Pi Hat and look forward to make the gateway 👌
Lol i just figured out i have a gateway directly on the other side of the street at the sports university in vienna :D
Cool. Saves a lot of money!
nice information ..can I know how much it will cost..? including both arduino and gateway..
You find the link to the sources in the comment. Here, it was about 300 dollars. I presented also a cheaper version in one of my videos.
the series gone blow up so cool
:-)
Should be ok.
professor you are the best by far!! congrats!
Thank you!
Hi Andreas, would you consider your used hardware (besides the Pi) to be still up to date? Video is almost 3 years old, and I am about to get a gateway running.
Later I built a gateway using RAK wireless hardware. But I have no overwiew anymore as I do not need more gateways... You get now also more and more readymade devices.
Hi Andreas,
Great tutorial!
I'm also planning to use ic880a-spi for my gateway but concentrator work's on European frequency range (863-870MHz) and I want to use it between 865-867MHz frequency which is the Indian frequency range.
Will the same concentrator can be used for my required frequency?
If not,
Can you please help me using it between 865-867MHz frequency range?
Maybe you go to the TTN forum and search for Indian users. There are newer models out there by now (like form RAK wireless).
The frequency is selected by the software. The hardware just has to support the right band (like 868, 915, or 433MHz.
Hi! I have a question.In my country the band that we are available to use is 923MHz. The concentrator that you use works in the band of 868Mz and I looked in the web and I think the IC880a only has that frequency available. So , would you recommend me a concentrator that works in 923MHz ?
Maybe you go to the forum of TTN. There you might find somebody from your country to ask how it is done.
@@AndreasSpiess Good idea! Thanks!
Hi. Thanks for the video. Is there an interface PCB for the Raspberry Pi 4?
The PCB should be compatible. But the Pi4 gets quite hot and it is not easy to get the heat removed with any additional boards on it.
Hi Andreas! Great to see all the awesome content about using LoRaWAN and The Things Network.
We’ve released a new version of our network server, and we'd like to work with you to refresh some old content so it aligns with The Things Stack (the old network server is being sunset). What's the best way to reach you?
It is already in planning. Wienke has my email address.
Thank you for sharing this video. I am not sure about the ic880a(868MHz), could I use ic880a as gateway of LoRa network in the Country that is in ASIAN countries ?
AFAIK Asian countries use 433 MHz. It depends on your laws which frequencies you are allowed to use (if you care).
Andreas Spiess, Thank you for your reply !
Maybe you will discuss this in the next episode, but what do you think a cheap node will cost. And I'm guessing the prices will drop in the future.
+Hoodik My plans are to present a cheaper and a cheapest single channel gateway. The cheapest should be around 20$. But so far, only the cheaper works.
I was thinking about the sensor node. How cheap can that be?
+Hoodik Arduino plus RFM95 module plus sensor plus PCB plus battery
Andreas Spiess $20? that's for a single channel. Can you duplicate some of the hardware to get all 8 channels?
Otherwise the cost to cover all 8 is no cheaper at ~$160
+Ian Wilkinson It would even be cheaper because you only would have to duplicate the RFM95. But This is only the hardware...
Is there a way to build a LoRa Gateway using Arduino UNO and LoRa Shield v1.4? And how much it is feasible to use LoRaWAN for drones ? Is there any support for Ad-Hoc Meshwork ? (I know the LoRaWAN requires star topology but is it feasible for a custom built protocol) ?
You have to google to answer you questions. When googling, please distinguish between LoRa as a transmission protocol and LoRaWAN as a network using this technology
Hi
i want thank you for this wonderful tutorials.
i have question about the possibility to use this gateway in north of africa?
thank for your help
If you have a internet connection: Yes. However, I do not know about the legal situation (if this matters)
LORA network is not installed in north africa. we have internet of course.
thank a lot for your help
Andreas, excellent video. Any plans to do videos on VLC (Visible Light Communication)
No, not yet. Maybe in the future...
I ask about lightning protection because I do have a LORA gateway up and I need to protect it. So far I've been lucky. I wonder if there is a ready made thing that I could insert in the antenna cable. I'm sure it would need a large ground lead, might have a gas switch inside to shunt the energy...
I understand. From what I understand so far is, that you can protect your antenna or your cables towards the gateway. I think, I will not try to protect the antenna, because the chance that even a protected concentrator will survive a lightning attack is small. An I plan to use WLAN for connection. Then, I just have to protect the power supply. And with a solar panel, also this would be obsolete and because of lacking ground reference, the chance for a lightning attach would be minimal. Lightning searches the fastest way to earth...
Andreas Spiess That's a charming solution.
In my case, the antenna is mounted on a commercial building with some LMR cable running to a Multi-Tech concentrator. Everything is powered from mains. A direct strike is basically the end. But the smaller precursor voltage spikes might be shunted to protect the hardware.
Perhapps this will help:stormhighway.com/protection.php
Thanks for the comment!
Hello Andreas,
Thank you very much for the video! But I have one point unclear.
The Lora frequency is unlicensed and there is no collision detection/avoidance in the protocol. What if many commercial and many private solutions were installed on the same area? What if the number of end-devices were millions or billions? Even different channels and spreading factors may not help in these circumstances.
Then you will have collisions.
In LORAWAN when using gateway (not in promiscuous mode) , can i use my own server instead of Things network or AWS or something else?
TTN software is open source. You can install it if you respect the licensing.
Hello Andreas, I have seen your LoRa related videos and are very informative. Thank you.
My question for you is, would you please recommend a LoRa Starter Kit? I want to get into testing it. I can build the gateway and nodes (thanks!) but I also need a decent portal to display data and configure triggers/alerts and that will be a time challenge for me hence I’d like to get a vendors kit, connect it to TTN and used the vendors portal. Thank you for the time taken to evaluate my question
TTN provides some interfaces to get the data. Many of my viewers use node-red to get these messages and do something with them. Node-red has prefabricated noes to connect to TTN.
Thank you Andreas. I've done a quick research/test based on your advise and Node-red is the answer I was looking for at the current stage of my project. As it has been said repeatedly on this channel, your contribution to the community is a valuable source and very much appreciated.
And so to the Raspberry Pi you mention at about 10:00 minutes in this video. Not only has a nice compact Pi Zero been updated to include native Wireless networking but it is available just outside LoRa range in Nederlands! Here is a link to an €11 option for you Andreas!
I will most likely use a Raspberry Pi Zero W at least as an experiment on my own house. I have easy access to the roof and would employ a single 220vac connection to the house as you did in the end. I have very strong WiFi at my gateway site.
Thanks and keep up the good work Andreas!
www.kiwi-electronics.nl/raspberry-pi-zero/raspberry-pi-zero-w
Thanks for the link! 11 Euro is a good price. But I have already purchased one a few month ago. And because so far, I did not do a lot with Raspberries, it is still laying around... And good luck with your Gateway. I think, using 220 and Wi-Fi is the easiest way if possible.
Great video as always
can't wait for the cheap gateway version
:-)
Looks expensive and complicated to setup. However it is a MUST if you live in a rural area without internet access to your sensor.
Hopefully this will catch on and become ubiquitous.
If I am not mistaken, the sensor sends its data to you though LoRa, you then send that data to another LoRa concentrator somewhere else in the world, through the internet. Then the concentrator can send it to a sensor it is controlling?
Am I right?
The gateway is connected to the infrastructure and does not talk to other gateways. If you want to send a message to another node, the receiver application gets the message from the first node and has to decide to send it to another one. At the end, it behaves like 1:1 connections from sensor to application. At least, this is my current understanding.
What do you think is the best way to get and send commands (~ 20 bytes), to/from a sensor 30-100 km away?
If GPRS is still alive: GPRS. If line of sight, maybe two RFM95 with two way communication and an acknoledgement and repetition if not received. But this is quite unsecure if you can transmit, because the channel might be occupied from somebody else..Or you combine a 433MHz and a 868/915MHz communication and use the better one... Modules are not very expensive. Otherwise you need a repeater on a hill.
Middle of the Canadian wilderness. 0 bars :(
I think I will apply and get an Amateur radio license and use it to build a high power link and only transmit data at 12:00 noon each day.
If I need a super antenna, I'll use my small quad-copter to fly (raise) a wire antenna just before transceiving!
I think that should kill the fly with a sledgehammer!
On amateur bands you have different frequencies available and more output power is allowed. But even there, it will not be easy. Sometimes it is easier to transmit to another continent than 100 kilometers away.
A quad would be a good repeater BTW. 300 - 400 meters height might change a lot.
hi, I am using ttn with OTAA method. when i power off my nodes and power on again the data is not comming in application part of ttn.but gateway is able to receive the packets. when i do reset fram counters (frame up) then it starts to show the data. have you faced this issue? can you suggest me any solution.
You have to disable the frame counter on TTN.
Very good and well define Instructions on Build.
Does anyone know where I can purchase the Daughter Board that goes in between the Pi and RAK831, I already have a RAK831, and I don't want to have to purchase a whole Kit.
I have searched the whole Internet and None to be found. RAKwireless can't help me, they want to sell a new Kit
I think I made a video about the RAK gateway. And there you should find the link.
I saw that video, but I believe you purchased the RAK831 and Converter board in a combine Kit
I did not purchase the kit and I purchased the RAK831 as one but not with the Converter board, now I found out that I need the Converter board to connect to the RAK831. I have a Pi 3+/POE tophat and a RAK831
And now I cannot find that that Converter board any where on the Internet by itself, without having to buy a complete kit, I don't need two RAK831's
Thanks for your Reply and Help..
I had a board from Charles Hallard
@andreasspiess ......can LoRa be used for Machine2Machine connection ? if yes..... is there a purpose to connect my gateway to the cloud??
1. Lora is a physical connection. So, you can connect whatever devices you want.
2. The advantage of Lorawan (including gateway is, that it is one to many, you can bridge big distances using also the internet, you have a MQTT interface.
I was wondering. What is the maximum distance and throughput of all the devices you have tested gave most performance? in your experience
Maybe you watch my videos in the LoRa playlist about range (wardriving and world record)
Great, Thanks !
Excellent video Andreas... quite informative..
Thanks!
Regarding the registration of a new Gateway in the TTN-Console, there is no possibility to type in the EUI number. Instead, i got a Gateway Key. Can you please explain how to handle with that key?
Maybe you go to their homepage. They changed a few things since this video was made.
Can you give to link in Amazon or Aliexpress , Raspberry pi for 868 lora module. Thanks.
This is an old video. I added a (AliExpress) link to a newer gateway product to the video description
lora gps hat vs ic880a. can you please tell me wat are the differences between them apart from number of channels.
This is the difference. Very important.
@@AndreasSpiess thanks. Your videos are highly valuable.
I was inspired by your video and getting ready to order parts. The IC880a transmits at 868MHz and I need 915Mhz since I am in the USA. Can you recommend a US friendly concentrator? Thanks and I have been really enjoying your videos!
No, because I have no experience. But maybe you go to the TTN network forum. There, you find some knowledgeable people..
They are working on 915mhz
hello! Can we replace the IC880a board by an UART lora module to implement a gateway for private network?
Maybe you watch my video about a single channel gateway?
Hello Andreas, Is this a multichannel gateway with changing SF?
All multichannel gateways can deal with all SFs
Hi Andreas, great videos !
May You spend few words on which is the best antenna to use for a good gateway ?
Thank You (from Ticino :)
That is a difficult question. As a rule of thumb:
1. It has to be a 868 MHz Antenna. This is not obvious, because from the outside, they look similar to a WiFi antenna and sometimes, you get a WiFi antenna instead of a right one.
2. The bigger the better
Thanks for your great Videos .. Could you please create a video on creating IoT cloud server and creating IoT gateway , data transfer to cloud server using node-red MQTT ?
What would the whole scenario do and what do you want to do with the data in the cloud? There are already MQTT cloud servers available. I used them in earlier videos about MQTT.
Sir.. Many thanks for your precious time !! Instead sending data to TTN cloud , I would like to send it to my personal domain. And to connect LoRa gateway to cloud server , I would like to use MQTT but using Node-Red as to minimize the coding efforts .
Then you have to build and program your own gateway and web service. This is why I like the work of the TTN guys. TTN is only the transport and you easily can connect your node-red to their infrastructure (I did it in one of my videos) to store the data.
Hi Andreas
Do you have a recommendation for a concentrator that operates at frequency suited for USA? Many thanks
+Mehrdad Givehchi No. I would go to the forum of the TTN and ask an American guy
hye, i'm new to LoRaWan, i want to ask is it possible to make a private lorawan gateway without TTN?
Yes, you can install the TTN software. Or you can google "chirpstack" or you can program everything on your own.
Awesome presentation sir. I have a question:
What is the use of registering a newly created gateway to TTN? I have searched the map in the TTN and unfortunately, there is no registered gateway in our area. So supposed I have successfully created a gateway and register it to TTN, does it mean other people can freely use it? Thank you in advanced. Your tutorials are very informative and useful indeed :)
The concept of TTN is, that everybody can freely use all gateways.
I have searched the iC880A and read its datasheet. One of its key features as shown in the datasheet is its Frequency Band is 868MHz. My location is in the Philippines (Asia). Is it still ok to use this? Thank you
Asian countries usually use 433 MHz for LoraWan. Ask your question in the TTN forum. There, you will find a specialist.
Hi! Mr.Spiess
Can we connect gateway with ardunio?
Maybe you watch the LoRa Introduction video?
Hi can you used this for the HNT network?
No
Andreas
I'm interested in building a lora repeater. Do you have any information on this subject. Similar to a digipeater but as simple as using a Sainsonic repeater with 2 baofengs.
+CJ Brown No
Link Labs Symphony can be used as a repeater.
Just to not confuse people: I think, you compare apples with pears. These two systems are not at all compatible, they just use the same physical layer.
Thanks for the thoughts but my goal is to extend to the range of a lora node to connect with a gateway. Sometimes the addition of a high-gain antenna or elevation are not adequate.
Thanks again for sharing your knowledge, please let me know if you become aware of anyone building a lora repeater. As you mentioned the radio only needs 12ma in receive mode so a solar powered repeater mounted at a high elevation would provide a benefit in remote areas.
Same in Romania, Pi Zero are NOT 5$, and this is because od production lines or RaPi creators itself, they have a few re-sellers which do NOT allow you to buy more then 1 piece, which defies the purpose of this!
Market want more! Sell more right?
I also do not know their strategy.
1:27 I actually rolled up my sleeve for this one
:-)
Super great UA-cam channel!
Will you be making a video of how to make a multi channel gateway or is it too much work?
+Erik Nguyen I think, i made already one about that
Woah my bad! 😑
Really nice step by step video, thanks for that ! I learned a lot.
You are welcome!
sir, can we do commercial things using this LoRa gateway ?
your videos are awesome and learned lot from those :)
There are commercial LoRa WAN providers in certain countries and Sigfox is a similar, commercially available, technology
Tommy and lora were lovers
Any development for a TTS compliancy ?
I do not know. But I think the gateways are the same. Maybe a different backend address.
Why we are required to register on TTN Website? I mean if I don't register with TTN is there any way to communicate with server(my custom build)
No
Ok , Thank you sir
3 problems I see here. First it appears that there are more than one LoRa meshes in competition. Second the gateways are not cheap which will slow adoption. Third people being able to keep their gateways private will slow the availability of access. am I misreading any of these problems?
+Do R/C! 1. Yes. There are commercial and community models available. TTN uses a community approach. All its gateways are in private possession, but all are for public use.
2. I do not know, with what you compare. The adoption rate is very different in different countries. They have a map on their homepage.
3. TTN gateways are public. I do not know of a possibility nor a reason to keep TTN gateways private. If somebody wants to keep his network private, it is not a good idea to join TTN.
Andreas Spiess oh ok. I misundsrstood the private public thing. I really do hope something like this really takes off and becomes ubiquitous. it's a cool concept!
Perfect video, but How can you now your EUI from the code ??
Usually, it should be displayed in your terminal.
Hallo Andreas, ich habe vier Gateways gebaut mit einem auf dem in 3:33 gezeigten ch2i Boards gebaut (die power supply und das rfm95 brauche ich nicht, drum habe ich es rausgeschmissen. Die Reset-Leitung ist da anders verdrahtet als in dem Projekt von Gonzalo. Hattest Du dort auch Probleme?
Soweit ich mich erinnere hatte ich keine Probleme.
Ich habe das SX_RST Signal des iC880a jetzt mit Pin 22 des Raspi Boards verbunden und siehe da, es geht jetzt. Das andre Adapterboard, welches Du verwendet hast, das passt zu Gonzalos Software. Ich bin Dir recht dankabr für Dein Tutorial hier. Es hat mir sehr geholfen. Ins Besondere die sudo tail... Anweisung. Jetzt habe ich schon ein paar Gateways am Laufen und als nächstes werde ich mich mit den Nodes beschäftigen :-)
Great information tutorial. Looking forward to your sensor videos.
Is in the works...
Thank you so much for this useful video
You are welcome!
hello, Iam testing lora communication by using RN2483 PICTAIL LoRa module, i bought two of those lora modules can they communicate directly without any gateway in between? please reply ASAP , thankyou in advance
I have a video with LoRa point-to-point connection
Andreas Thank you for such a great tutorial. I just wanted to know if we can have LoRa gateway without TTN Network?.
i.e. Does LoRa work with our own server without needing to use TTN. Also please let me know , if you have any blog or Tutorial
Links
for Creating a Node and Gateway without TTN network
Maybe you watch today's video?
Hi Andreas !
I just test the transmission distance with my Arduino/Pi/sx1276 single channel module!
What I want to build is a single channel gateway with raspberry Pi.
But that means the problem will show up as you mention in 1:02
Did you test that how many devices can contain with IC880a?
Is that mean it will no need to concern about collision with IC880a? (because of multi-channel )
The idea of mine is using Lora's "channel activity detect" to wake every nodes to achieve power saving and avoid collision.
Thanks for reading above message. Have a good day!
1. LoRa protocol and Gateways are made for around 1000 nodes per gateway. But of course, this depends heavily on the frequency of transmission and the length of the message. Collisions cannot be avoided, but should be included in these calculations.
Thanks for reply Andreas.
So your system can basically contain 8 devices in 8 different channel.
Did you do some mechanism to avoid collision?
Does your system contain completely LoRaWAN function ?
Thanks!
Hi Andreas, #115 is done.
Thanks! Published.
I am getting errors when powering up the gateway. It seems there are SPI issues when using the raspberry pi 3. This is the message I get from /var/log/syslog
ERROR: [main] failed to start the concentrator. Have you come across it? Suggestions to fix involve resetting the ic880 concentrator. I used the backpane (simple pcb) to connect the RPi3 to ic880a board. Which gpio pin of the RPi3 is connected to the reset pin of ic880a?
I do not know by heart. Maybe you consult the documentation of the board?
@@AndreasSpiess , I managed to resolve it. i downloaded the master branch instead of the spi branch, my mistake. The reset command is already included as part of the start.sh script provided.
Bro i fucking love you, these tutorial are amazing
Thank you!