Thanks once again for a great video, Andreas! I went ahead and ordered all these parts, because I'm already working with the D1 mini (my favorite ESP8266 module) and with LoRaWAN. You have a great way of explaining and simplifying these topics. Tschüss!
2:23: the three diode are used for form a crude "OR gate" to groupl the interrupts onto a single 8266 input pin. The software then reads the RFM95 internal interrupt register to work out which of the three inputs caused the interrupt.
Excellent video.... Took a (rare) sick day off work today, and learnt all about LoRa after seeing the name being thrown about when looking at controllers for another project. Definitely keen to see how it's used amongst makers in my communty (Sydney) as I discovered we have a gateway in the area!
Inexpensive and with 'some' security. That tics two out of the three major checkboxes for a successful IOT device. The third checkbox being simplicity. Well I guess if it simple to use and configure(use) is arguable. If it is "simple" depends on the alternatives it is compared with. Also, of course, 'simplicity' depends as always on users level of knowledge. But for me personally, this is very great news. Thanks you very much for your great work.
It is really simple. Most of the complexity is on github (sketch) and in the backend (TTN). It does not take you more than a 1-2h hours to build it. And the deployment is done in minutes (of course, if everything works, as usual)
I personally very much agree that this is great and very simple make this. I could probably set this up(and i probably will), but then I have been in tech all my life. I'm just sort of also thinking about simplicity from a far away place like from a 'normal mortals'(non-tech-person) (grandmotherly) point of view. Could this, somehow, be made even more simple to set up? - I do not know, but I am sort of tickled curious about what part of it , if and if so, how? :-D I am thinking about how would an ideal IOT device interact to be configured and installed? - a voice interface perhaps? The device talking and listening to the user to be configured? :-D Yes now I am far off topic and in a different price-universe, sorry. :-D I once took a uni-course in interaction design, it was very interesting and eye-opening to study how complicated it is to make human/machine interaction can be. Making things simple probably also in most cases drives up cost for design, but that is of course another matter entirely. Technically this a great start on a IOT device not for all but for a lot of people imho.
Einstein said one: As simple as possible, but not simpler. This is what I try to do. I think, you are talking on a different level, where this technology would just be a part of an overall design, and the design is much more user friendly (like a smart phone, which is extremely complicated, but can be used by many people)
I can not argue with Einstein(respect) That is an interesting saying and I like it. I sort of heard something along that from an interview with a famous space engineer who said something like... an engineers job is to design so that it works in practice not to always construct for perfection or maxi/mini -mal parameters. Anyway .. its true I am toying with ideas of a different aspect of this tech and i realise now that I am of topic and out of the scope for this. It is like I am thinking about the a steering wheel of a car when your fine video clip is about the engine and how to install it. Sorry to diverging to far. Interation design is a very new and interesting field that is crossing into several sciences(physics/psycology/) and also into graphical design art / statistics / math etc. here is a link if anyone is interested : www.interaction-design.org/literature/book/the-encyclopedia-of-human-computer-interaction-2nd-ed/human-computer-interaction-brief-intro And with that I bow and say tanks.
Unknown transceiver, unable to read SPI - Solved. I thought I'd share my learnings. An excellent video, and an excellent project. I did everything according to the description, but my device did not work! The Serial monitor showed that the code stopped after attempting to read the device ID. After too many hours of fault finding to admit to, I traced the problem to my laptop USB not providing enough power. I solved this by connecting 5v to the board as well as the USB to the computer. I've ordered a powered USB hub to prevent these issues in the future. Andreas's Video '#184 Finding Errors: 7 Rules to get them faster', encouraged my not to give up :-) I hope that this helps others.
@@AndreasSpiess I am finally about to build this gateway, and now studying the documentation. In your video you have soldered wires for 5V on the board. Is this wire intended only for testing if used with a low power USB connection?
@@AndreasSpiess hab ich noch nicht gesehen, werd ich aber noch 😉 wenn die Regelung passt und er den Schmelzpkt. des Lots erreicht, alles super. Grad für grössere "Boards" gut. Toll 😊 Hören sie evtl. echt mit YT auf? 🥺😥
Great video, again. Have some problems keeping up, specially since the parts take so long to arrive from China :-) Anyway, I learn a lot from your video's; thank you!
You are welcome! At least, if they arrive, you are already prepared ;-) BTW: When I was young, we also had to wait till Christmas to get some gifts. China delivery reminds me a little...
The nice thing about having to wait long for the china packages is that when a package arrives, you generally have no idea anymore what could be in it so it is always a surprise
I suspect you could connect multiple Lora boards to one Arduino. Depends on pin types required and availability. Likely need to power the Lora boards separately from the Arduino.
Hi Andreas, in 1:28 one can se that you have connected the 5V and ground cable on the RF95 modul, what are they for? can't the RF95 modul get the 3.3V from the ESP8266? thanx alot.
Yes, I already had seen those videos but the 200km were obtained with your other gateway. So my question is not the LoRa range in general but the range you can get with this particular ESP8266+RFM95 gateway!
Andreas, Excellent video. One question, the Wemos board in your video is stenciled as V2, the photos of bang good boards are not stenciled with the same V2. I've searched the Wemos site and several other sources and I can't find any others with the V2 stencil. My question, is there a difference between the version 2 and the others that you're aware of. Most sources describe the boards as V2 in the photos but lack the same stencil or label as yours. Thanks again for all your excellent work.
There are many different Wemos boards, and all should work. There are only minor differences.I usually order the ones with the Wemos logo because I want to support them. But I have also a few others.
Andreas, have you given any thought to a solar-powered LoRa Gateway? The ESP 8266 is notoriously hungry for current, so maybe using an ESP32? I'd like to set up a gateway but the only location available to me has no possibility for mains power and I can't run cables, however small (conditions of the building) but there us a good WiFi signal for the Internet access - a self-contained Gateway would be the only option...
I made videos about solar power which should be useful for any microprocessor project. There you can calculate the needed size of the panel and the battery. I do not see why the ESP32 should need less power than the ESP8266 in this configuration.
I may have totally misunderstood, but my thinking was that the ESP32's low power mode with the radios off and the co-processor running, would allow for the NRF to receive incoming traffic and only power up the WiFi to pass that data to the Internet, then go back into low power receive mode. This, of course, wouldn't work if there was a requirement for unsolicited traffic from the Internet to a node - but for most 'sensor to Internet' applications, the data flow is one way, apart from any acknowledgements, which could be handled easily. I don't think that's possible (or maybe not as easily achieved) with the ESP8266 - or is it?
The Asian frequency plans from TTN, shown in your video, are 920-923MHz and 923-925MHz. The best (and almost only) information I can find about the LoRa government frequency plan for the Philippines is 918-920MHz. I spent hours trying to track down the actual information, from more than just one unofficial source, but failed. There is no LoRa gateway in the Phiippines on the TTN map. There is supposedly a small TTN group in Manila, but I haven't heard from them yet. I read that the frequency plan published in the LoRaWAN spec is for the full 902-928MHz band. In countries where the band is restricted makes it far less easy to use LoRa. The TTN frequency plan for Australia says 915MHz, but I understand that theirs is a restricted 918-926MHz (commercial use below and military use above). I thought that the USA had the entire band, but the TTN setting in your video shows only 915MHz. I would appreciate hearing from anyone who can help me figure out LoRa in the Philippines.
Hey Andreas, weißt du, ob man ein Gateway mit einem ähnlichen Preis bauen kann, welches mehrere Kanäle unterstützt? Ich überlege ein Nischenprodukt zu kreieren, bei dem in jeder Base ein LoRa Gateway integriert ist. Zudem plane ich auch diverse andere Standards zu integrieren. So als All-in-one Lösung.
Ich habe vor kurzem ein Video über die aktuellen Gateways gemacht. Unter 100 Euro ist es schwierig weil das Gateway schon 30-40 kostet. Dazu braucht es noch einen Raspberry und Zugemüse. Die haben alle 8 Kanäle.
+Carlos Echeverria Yes, of course. My dream would be that all my new videos are translated the first day after publishing... And there are still many waiting. There is a "tutorial" on sensorsiot.org and you can start whenever you want.
Cool. Du solltest auch mal was zu deinem Reflow-Ofen verzählen! Btw.: The early bird may catch the worm, but only the second mouse gets the cheese... :-)
Hello! May I ask you a question, have to read about RFM95TW? Im doing my thresis and I need a LoRa RFM95 with TCXO but I dont really understand if the datasheet of this one has or not TCXO already installed, I would be really grateful if you help me understing if it has it as you understand the topic so well. Thanks, your videos are beign really important to my EE career! Greetings from Argentina
In the hallard board it writen : "cut wire if you need to put d1 to avoid LED pb" right above the d1 diode. So did you cut it? you didnt mention it in video... thanks for excellet and informative videos
I follow your videos with great interest. Do you with your background have knowledgment about what type of lightning protection that is needed if one would like to place the GW outside or maybe only placing the GW Antenna outside? I suppose that an outdoor antenna/outdoor gateway would provide much better coverage but when looking in to thismatter, most forum thread etc i found on the subject says "Make sure that you properly protect the device against lightning so that your house doesn't catch fire", but then i can't seem to find any info on how to properly protect a device against lightning or if the device/antenna can be placed in another spot where one still has good coverage but isn't a subject to lightning. If you have knowledgement about this subject then a video on this subjet would be highly appriciated :)
Hi Andreas! Thanks a lot for the very useful video. :-) I have a question to you. I have my own pcb with RFM95. I have also node MCU board with ESP8266. Is to possible to use also your code to make it working? If yes, there should be some things to change or not? Thanks a lot :-)
Have you been looking into the nb-iot stuff? I see that some operators offer a free trial kit with a number of sim cards and thinking that the standard might be interesting In locations that doesn't have lora coverage
Not yet. I think, it is too new for the moment. But it is for sure an interesting technology because it seems, that it is only a software update for the existing network...
Hi Andreas, Very good job, well done. Let me askyou some doubts about he OTAA I've been trying to use the Single Gateway with TTN and Over The Air Activation without success. My setup is: ESP8266+RFM95 as a pico GW and a RN2903+Arduino as a node. When I Join to the network thru my Multitech GW and turn it off, my Pico GW works perfectlly. If my node tries to join to the network directly thru the Pico GW, I can't join. Have you joined using a setup like this? Do you have any idea where I'm failing? Regards, Luis Viola
Thanks for the replay. I'm using github.com/things4u/ESP-1ch-Gateway-v4.0 with should support otaa. Have you manage to get OTAA works? If yes, what SW are you using?
Hi Andreas, how would you solve the issue of unique identifying of LoRa nodes in the networks ? Are the numbers provided by the thingnetwork sufficient or should we think about using an EUI ID number chip ? Thanks for your exciting videos so far ! Br Peter
Hi, i have an issue, the gateway works perfectly fine but i have a small problem, i have the gpio15 pulled down to ground with a 10k resistor, but if i connect the 1n4148 diode for dio0 on gpio15 the esp12e will not boot. If i leave the diode disconnected, power up the board and only then connect the diode on gpio15 it works like a charm, any idea about the reason ? Thanks a lot
Maybe this could help, so dio0 if not used correctly Is Active 3.3volt, so at boot It set gpio15 High and esp8266 Is not happy. But, addind another diode in series or a resistor in series solve the problem, because now gpio15 Is low at boot and esp8266 Is Happy and could handle LoRa packet properly. Thanks a lot for the like Andreas and well done for your Channel
Thanks for all you do, I really enjoy watching some of your posts I like your comment at the end re ‘ cheap enough to make a few on different channels’ I have 2 nodemcu style boards with lora onboard, do you think I could create a bi- channel setup to start me off into Lora?
Why not? RFM69 can receive and send. So the repeater could listen to the sensor data and broadcast it as soon as it got the data. Maybe an addressing scheme is necessary.
Is the single channel a software or hardware limitation? Is the radio using I2C so you might be able to hook up multiple radios to one esp? This was awesome to see and it's quite affordable, thanks for showcasing it!
Gateways should listen to multiple channels and multiple spreading factors (basically datarates) at the same time. The SX1301/SX1308 chip made to do the job basically contains the logic from ~40 receivers. That's how many modules you'd need to implement a compliant gateway from normal transceivers.
Andreas you mention in your video that you had to remove D4 because the gateway did not work properly... Can you elaborate a little on what problem you encountered with D4 being mounted... Thanks.
herer's the explanantion for the 3 diodes: "If you use the Hallard PCB, you have to remember though that DIO0, DIO1 and DIO2 pins are multiplexed on the board using (very!) small diodes to GPIO pin 15 (D8)." "On the top left you can see the place where to solder the 3 diodes which connect dio0, dio1 and dio2 to GPIO15. The Hallard board is slightly different from the bare-board or ComResult pcb as it will share dio0, dio1 and dio2 with the same GPIO pin over 3 diodes."
Which components do I need to buy in order to build such a gateway? I'm looking to build a small LoRa gateway for educational purposes. I already have an ESP8622. What else do I need? The RFM95W, The WeMos D1 Mini? Anything else? I'd appreciate your help
Andreas - as of 2023, TTN no longer has an option to register a gateway using the SEMTECH packet forwarder, do you know if this single-channel implementation still works with TTN?
Hi Andreas, Great work! Great Video! With the latest updated to Arudio IDE and libraries I'm getting the following error during compile: "ESP-sc-gway-and:258:37: error: conversion from 'const ip_addr_t* {aka const ip4_addr*}' to non-scalar type 'ip_addr_t {aka ip4_addr}' requested" How can we fix that ? Thank you again.
Hey Andreas, I have a question about the parts that you used. I also ordered the 1206 capacitors, but which pull up resistors did you used? Is it possible to add a link where to buy this part?
I have a set of resistors in my lab and usually, you see, what I buy in my mailbags, where a leave all my links. Pullup resistors are usually about 4.7k and if I remember right, this PCB is made for 0805 size
I am not sure if they still support single channel gateways. Otherwise you have to buy a standard gateway if nobody else deployed one. Or you use a different project such as "Farm Data Relay system (I made a video about it)".
Hey I hope you're doing well and perhaps considering doing one more video on Lora. I have a question. Can you tell us your opinion on RFM95 board and the SX1278? they both have same capabilities. Hence is there a better one in your opinion?
Thanks for another great video Andreas. What is the best form factor for the resistors and capacitors to put on Hallard's PCB? Sorry for the basic question, I am new to Surface Mounted Components!
Hello Andreas. Thanks for the video. I configured the gateway as you did , but how to send the data? I set the Gateway Node == 1 and filled the respective entries. Still there is no data being sent to the TTN. (But i see the gateway as connected)
Well, Actually, I had to configure it through the web interface. Then it worked. (Even though i changed the code as GATEWAY NODE == 1, Line 217 in ESP-sc-gway.h). (Esp 1 ch gateway v5.0) But anyways, I am happy that it worked.
Hi Andreas, im working in a Marine LoRa project, i have a question , i have two modules TTGO T-BEAM (ESP32+LORA+GPS), how can i do the same thing like this, wicht my board?
Yes I looked but when I register a gateway I have a list with other servers and 1901 port. the new gateway form was change a little from the time you created this movie. so I used the guide server and port but it keep showing it is unconnected. the gateway itself works and write "Ready".
I get all sort of errors if i try to compile the code suggested, is it possible to know how to setup the enviroment and wich version of the libraries are needed to have the have the code compiled ?
Hi, Great videos as always, very educational;) I am wondering if the new Wemos D1 boards (v 3.1.0 or Wemos pro) are good for these types of projects as I can't seem to find a lot of the older versions on eBay
This is an old video and most people do no more build these simple gateways. First you have to check if you get the needed software and if it is up-to-date.
I was going to replicate this porject as i needed to create a point to point connection to trasfer sensor data as you showed on an other video. Because the viedio is not relevant anymore are there any good methods to still obtain a good enough point to point connection thanks🙂
Hello Andreas! You said you discovered how to mount pins to make this board compatible with other Wemos board too late - did you mean it is better to solder on opposite side as you have solder it? And BTW: what is the purpose of EEPROM 24AA02E64T on the pcb? Than you for another great video!
1. Concerning soldering: Pay attention that the pins of the Wemos and the pins of the PCB fit after soldering RST to RST, GND to GND etc). You can solder it the wrong side and then you have to redo it. 2. Concerning the EEPROM: I do not know. Maybe to store some keys? Maybe you ask the creator.
Great - thank you! As i see one question regarding pins of display remains open. You mentioned 1306 display can be connected directly. On the PCB is printed following order: 3V3, GND, SCL, SDA. But your 1306 display (also mine) has different pin order: GND, 3V3, SCK, SDA. Did i missed something?
Hallo Andreas, Aus irgendeinem Grund gibt das WeMos-Modul nur eine GW-Adresse von '7.5' Byte ab. Irgendwie fehlt ein Zeichen. Fragt sich wie das kann? Gateway ID: 03AE8FFFF359FEB,Listening at SF7 on 868.10 Mhz. Gruss, Ronald
Does this still work in 2022? Issues raised at the github site for the referenced "New Version of Gateway" say that single channel gateways are now prohibited by The Things Network.
I commented that line out and it compiled OK but it looks like I have a bad oled display, never easy... Keep up the good work on these great videos Andreas!!!
Hi Andreas I would like to rebuild the gateway. Is the project still up to date or are there already better alternatives with the ESP32? Greetings From Aarau
The project in the link seems to be maintained and should work. However, it is not simple to define all parameters. And I would use one of the ESP32 boards they support.
@@AndreasSpiess because there are not find any lora gateway with arduino uno in internet...only with rasperry pi B or yours with pro mini... I am new in this stuff...
I am trying to get this gateway setup on TTN and am curious where to enter the Gateway Key from TTN in the sketch? When I went on TTN to setup the gateway it gave me that key. Or did I do something wrong? Thanks for all your great videos by the way, I really enjoy them!
hello Andreas, amazing channel! i'm try to see all your videos. i´m from Argentine. What's the difference between loralan and lorawan gateway? it is more appropriate for loralan? sorry , i´m very amateur in this...
thanks for your quick answer! loralan is mentioned in this video.. ruclips.net/video/An-a8VLeZc4/видео.html (minute 27:55) My project is similar to this. Thank you again!
Hello sir, for my rocket project i needed a long range data communication, which i think possible with lora. And i should have cheap things too, i javed watched almost all videos about lora in your youtube, i want to build this gateway but i cant find the pcb design link, if you can please update the link or please share me the file with what i can make it’s done
There is no PCB. But maybe you look also to the LoRa 1:1 video. I am not sure if a gateway is the right solution for your project. You get boards (from TTGO, Heltec) with integrated LoRa modules, BTW
This channel is more for the advanced tinkerer. And I have to pay attention to my time put into RUclips. So this will probably not happen. But you can buy a complete gateway like this one: www.aliexpress.com/store/product/LoRa-Gateway-Developer-Kit-RAK831-LoRa-LoRaWan-Module-with-Raspberry-base-on-SX1301-433-868-915MHz/2805180_32830271395.html
Single channel lora gateway is actually a lora node? It can connect to many lora nodes and gateways just not at once? Also is there a way i can buy this board with all the parts already soldered?
Thans for the great video. But for some reason my gateway ID gives only 7 bytes at the serial monitor. How can I solve this? And is there also a way to use this same setup for sending packets?
Thanks for the quick response. I think I found the problem but I don't know a solution yet. The row "Serial.print(MAC_array[1], HEX);" outputs a 1 instead of a 01.
WiFi.macAddress(MAC_array); for (int i = 1; i < sizeof(MAC_array); ++i) { sprintf(MAC_char, "%s%02x:", MAC_char, MAC_array[i]); changed from "for (int i = 0" to "for (int i = 1" - now it's working. It dos not print the right MAC ... BUT you now have det right GW ID to put in thethingsnetwork! :-D Hope you get it to work!
the problem is no matter which libraries i install i always endded up with errors no idea whats going on? getting error rom dns and so on i just stuck at the begining of
oh not that low knowledge IPAddress getDnsIP() { ip_addr_t dns_ip = dns_getserver(0); IPAddress dns = IPAddress(dns_ip.addr); return((IPAddress) dns);} idk why but this is the part which makes the issue any idea? i have been able to build a local lora gateway with nodemcu and api for my own projects like automation house and etc. but im gonna give a try for this one to learn more
Great video. I like the fact the price is very low, so it is cheap to try it out. I also noticed your "ALDI reflow oven". I guess you built it yourself. Do you have video about it's build? If you do I must have missed it. That is also interesting topic to me.
Concerning oven: The only thing I added to the oven was a cheap temperature meter from Aliexpress (probe goes through a drilled hole) close to the PCB. Important is, that it has a fan inside (even temperature)
Interesting. So you are manually controlling the temperature for the process? I am considering to build reflow oven myself, so I am trying to find something that not very complex to do. If it works well that way that is a good thing to know.
Hello! Thanks for all the great videos! :-) I recently stumbled upon LoRa, and your videos have been a great source of information, entertainment, and project ideas (regarding some of the ESP projects). One question: Do you know of any attempts to make a Gateway using the 1 channel gateway for transmission, and a 10 bucks USB SDR dongle (e.g. RTL2832U, sdrangelove, DecodingLora) with a rPi?
That's the point, SDR for receiving, A single RFM95W for broadcasting on whatever channel required. While the RFM95W can only listen on one channel at a time, the rPi could listen via SDR and only use the RFM95 for transmission, setting it to the required channel.
I noticed you are using the RFM95W, but in earlier videos, you use the SX127(8). Also, there is an HPD13. Any reason you chose to switch from the SX1278 to RFM95W?
@@AndreasSpiess So are they all interchangeable then and I can just go for the cheapest price? Also, LoRa RF has been reverse-engineered. I had the docs on my system, then it crashed a few weeks back but I got the info from the net. He said that the Semtech app notes were basically wrong. It is a very interesting Phy. It would be nice to eventually get it into gnu-radio. From memory, I think it was a CSS chirp spread spectrum, had a frame beginning, beginning of data unit, then think it was data was time-based FSK in the up and down chirps. I think that is how it went. Semtech has a European patent 13154071.8 on LoRa. Then I put the link data on an analyzer and took some notes for the traffic between the gateway and network servers. Found it was using MQTT, and the upper layer is JSON. Your videos filled in lots of the blanks. There are a lot of Denial of Service security problems in the implementation. Basically, you can jam someone's end node out of existence fairly easily.
@@AndreasSpiess it's such a hardwork sir with those tower, god bless you. back to the topic, so as far as i can get the line of sight of this esp8266 gateway and clear weather, the node will reach gateway?
@@AndreasSpiess hello sir it is me again. i have thinking about it. it will be nice if there is a video or tutorial how to build a LTE/cellular based LoRa gateway.. since it will be easier to be placed. and also it will be cool if it is integrated with solar cell power suply. is it possible?
Hi Andreas! Great thank you for tutorials! I want do similar gateway only through ethernet W5100 or ENC28J60. Could you help me with links? Thanks. I have similar chips only SX1278 for Ukraine.
Thanks once again for a great video, Andreas! I went ahead and ordered all these parts, because I'm already working with the D1 mini (my favorite ESP8266 module) and with LoRaWAN. You have a great way of explaining and simplifying these topics. Tschüss!
You are welcome! I hope, you will succeed with your project.
2:23: the three diode are used for form a crude "OR gate" to groupl the interrupts onto a single 8266 input pin. The software then reads the RFM95 internal interrupt register to work out which of the three inputs caused the interrupt.
You are right!
This whole LoRa concept is very interesting, definitely going to test it out when I find some time.
This cheap gateway is a good start, if you do not have a public gateway in your area
Excellent video.... Took a (rare) sick day off work today, and learnt all about LoRa after seeing the name being thrown about when looking at controllers for another project. Definitely keen to see how it's used amongst makers in my communty (Sydney) as I discovered we have a gateway in the area!
Thank you. There is a whole LoRa playlist on this channel.
I have the same gateway in the pipeline, super timing and very concise! Thanks again Andreas!
+Garry Keogh :-)
As usual this was useful AND interesting for me! Thanks!
You are welcome!
Ok....Ive been avoiding LoRa, but now you have peaked my interest. Im in, one on order Thanks Andreas
As usual, you are welcome! I think it is worth playing with it
Inexpensive and with 'some' security. That tics two out of the three major checkboxes for a successful IOT device.
The third checkbox being simplicity. Well I guess if it simple to use and configure(use) is arguable.
If it is "simple" depends on the alternatives it is compared with.
Also, of course, 'simplicity' depends as always on users level of knowledge.
But for me personally, this is very great news. Thanks you very much for your great work.
It is really simple. Most of the complexity is on github (sketch) and in the backend (TTN). It does not take you more than a 1-2h hours to build it. And the deployment is done in minutes (of course, if everything works, as usual)
I personally very much agree that this is great and very simple make this.
I could probably set this up(and i probably will), but then I have been in tech all my life.
I'm just sort of also thinking about simplicity from a far away place like from a
'normal mortals'(non-tech-person) (grandmotherly) point of view.
Could this, somehow, be made even more simple to set up? - I do not know, but I am sort of tickled curious about what part of it , if and if so, how? :-D
I am thinking about how would an ideal IOT device interact to be configured and installed?
- a voice interface perhaps? The device talking and listening to the user to be configured? :-D
Yes now I am far off topic and in a different price-universe, sorry. :-D
I once took a uni-course in interaction design, it was very interesting and eye-opening to study how complicated it is to make human/machine interaction can be.
Making things simple probably also in most cases drives up cost for design, but that is of course another matter entirely. Technically this a great start on a IOT device not for all but for a lot of people imho.
Einstein said one: As simple as possible, but not simpler. This is what I try to do. I think, you are talking on a different level, where this technology would just be a part of an overall design, and the design is much more user friendly (like a smart phone, which is extremely complicated, but can be used by many people)
I can not argue with Einstein(respect) That is an interesting saying and I like it. I sort of heard something along that from an interview with a famous space engineer who said something like... an engineers job is to design so that it works in practice not to always construct for perfection or maxi/mini -mal parameters. Anyway .. its true I am toying with ideas of a different aspect of this tech and i realise now that I am of topic and out of the scope for this. It is like I am thinking about the a steering wheel of a car when your fine video clip is about the engine and how to install it. Sorry to diverging to far. Interation design is a very new and interesting field that is crossing into several sciences(physics/psycology/) and also into graphical design art / statistics / math etc. here is a link if anyone is interested : www.interaction-design.org/literature/book/the-encyclopedia-of-human-computer-interaction-2nd-ed/human-computer-interaction-brief-intro
And with that I bow and say tanks.
Unknown transceiver, unable to read SPI - Solved. I thought I'd share my learnings.
An excellent video, and an excellent project.
I did everything according to the description, but my device did not work! The Serial monitor showed that the code stopped after attempting to read the device ID. After too many hours of fault finding to admit to, I traced the problem to my laptop USB not providing enough power. I solved this by connecting 5v to the board as well as the USB to the computer. I've ordered a powered USB hub to prevent these issues in the future.
Andreas's Video '#184 Finding Errors: 7 Rules to get them faster', encouraged my not to give up :-)
I hope that this helps others.
Thank you for your feedback. I am sure it will help others.
@@AndreasSpiess I am finally about to build this gateway, and now studying the documentation. In your video you have soldered wires for 5V on the board. Is this wire intended only for testing if used with a low power USB connection?
Hey Andreas,
Your videos are as useful as my SAK!
Thanks man.
+ali yaghini You are welcome. (had to google SAK. ;-) )
@@AndreasSpiess SAK = Swiss Army Knife? :-)
I still have a number of RFM69 I need to connect up in my parts box... but these RFM95 look very interesting. Thanks for the video!
You are welcome!
Hi Andreas,
Thank you again for your inspirational and great work!
Björn Persson I think so. At least, many other viewers ordered it and nobody complained so far...
great video Andreas! I like the used parts and prices.
:-)
danke andreas :) hilfst mir immer wieder in meiner Ausbildung!
LG aus Österreich
Bitte gern geschehen!
Thank you for yet another great video!
You are welcome. I liked this gateway, because it is really small and cheap (and uses the ESP8266)
geiler reflow oven! Wenn's klappt...super!👍
Alles Beste aus Bayern 🍻
Hab sogar mal ein Video drüber gemacht...
@@AndreasSpiess hab ich noch nicht gesehen, werd ich aber noch 😉
wenn die Regelung passt und er den Schmelzpkt. des Lots erreicht, alles super. Grad für grössere "Boards" gut. Toll 😊
Hören sie evtl. echt mit YT auf? 🥺😥
Great video, again. Have some problems keeping up, specially since the parts take so long to arrive from China :-)
Anyway, I learn a lot from your video's; thank you!
You are welcome! At least, if they arrive, you are already prepared ;-)
BTW: When I was young, we also had to wait till Christmas to get some gifts. China delivery reminds me a little...
The nice thing about having to wait long for the china packages is that when a package arrives, you generally have no idea anymore what could be in it so it is always a surprise
Both so true! And sometimes, after opening, there's sometimes the question: what on earth did I order now?
I usually know, what it is, but not, what was the initial reason...
Andreas Spiess indeed. that 'why did i order this' feeling
Thank you for your videos, truly helpful. Any idea of 1) transmitting a heartbeat pulse to a remote display ? 2) remotely reset the board ? Thanks
Just divide your wish in its components and search for each part.
Thanks a ton! Your videos are great!
You are welcome!
So, you could build a full 3 frequencies gateway for $45?
Could you save some money by integrating some redundant parts?
I suspect you could connect multiple Lora boards to one Arduino. Depends on pin types required and availability.
Likely need to power the Lora boards separately from the Arduino.
Excellent,thank your effort!!
You are welcome!
Very nice.
I'm in Australia. Need to check which frequencies are acceptable and supported by the Lora networks being built.
You should find the answer by googling. Maybe you check gateways on ttnmapper
Hi Andreas, in 1:28 one can se that you have connected the 5V and ground cable on the RF95 modul, what are they for? can't the RF95 modul get the 3.3V from the ESP8266?
thanx alot.
I figured it out, the RF95 gets its power from the ESP shield, no need to any power wire for the RF95 shield
Thanx for the video
:-)
Hi Andreas,
It seems the Lora Node PCB order link on above PCB link no longer working. Any idea how I can order the boards?
Thanks,
Jon
I tried it out (not till the end) and the link worked.
Thanks. Looks like pcbs.io gone out of biz? Not able to checkout with all payment options.
Type "WeMos-Lora" into the OSH Park search in the "Shared Projects" section.
GREAT!!! What about range? Congratulations once again for your work!
200 km (see ruclips.net/video/adhWIo-7gr4/видео.html and ruclips.net/video/9qcghiz246E/видео.html)
Yes, I already had seen those videos but the 200km were obtained with your other gateway. So my question is not the LoRa range in general but the range you can get with this particular ESP8266+RFM95 gateway!
+Hélio Mendonça The technology is the same. The other gateways just have more parallel channels an SF.
a very good question.
you are such a great person to have put out these videos. Gave me a head-start in my learning!
Andreas,
Excellent video.
One question, the Wemos board in your video is stenciled as V2, the photos of bang good boards are not stenciled with the same V2. I've searched the Wemos site and several other sources and I can't find any others with the V2 stencil. My question, is there a difference between the version 2 and the others that you're aware of.
Most sources describe the boards as V2 in the photos but lack the same stencil or label as yours.
Thanks again for all your excellent work.
There are many different Wemos boards, and all should work. There are only minor differences.I usually order the ones with the Wemos logo because I want to support them. But I have also a few others.
Thank you for the clarification.
Andreas, have you given any thought to a solar-powered LoRa Gateway?
The ESP 8266 is notoriously hungry for current, so maybe using an ESP32?
I'd like to set up a gateway but the only location available to me has no possibility for mains power and I can't run cables, however small (conditions of the building) but there us a good WiFi signal for the Internet access - a self-contained Gateway would be the only option...
I made videos about solar power which should be useful for any microprocessor project. There you can calculate the needed size of the panel and the battery. I do not see why the ESP32 should need less power than the ESP8266 in this configuration.
I may have totally misunderstood, but my thinking was that the ESP32's low power mode with the radios off and the co-processor running, would allow for the NRF to receive incoming traffic and only power up the WiFi to pass that data to the Internet, then go back into low power receive mode.
This, of course, wouldn't work if there was a requirement for unsolicited traffic from the Internet to a node - but for most 'sensor to Internet' applications, the data flow is one way, apart from any acknowledgements, which could be handled easily.
I don't think that's possible (or maybe not as easily achieved) with the ESP8266 - or is it?
Sorry RFM not NRF (they're in my head at the moment from another project - it's a problem of old age!!!)
The Asian frequency plans from TTN, shown in your video, are 920-923MHz and 923-925MHz. The best (and almost only) information I can find about the LoRa government frequency plan for the Philippines is 918-920MHz. I spent hours trying to track down the actual information, from more than just one unofficial source, but failed. There is no LoRa gateway in the Phiippines on the TTN map. There is supposedly a small TTN group in Manila, but I haven't heard from them yet.
I read that the frequency plan published in the LoRaWAN spec is for the full 902-928MHz band. In countries where the band is restricted makes it far less easy to use LoRa.
The TTN frequency plan for Australia says 915MHz, but I understand that theirs is a restricted 918-926MHz (commercial use below and military use above). I thought that the USA had the entire band, but the TTN setting in your video shows only 915MHz.
I would appreciate hearing from anyone who can help me figure out LoRa in the Philippines.
Hey Andreas, weißt du, ob man ein Gateway mit einem ähnlichen Preis bauen kann, welches mehrere Kanäle unterstützt? Ich überlege ein Nischenprodukt zu kreieren, bei dem in jeder Base ein LoRa Gateway integriert ist. Zudem plane ich auch diverse andere Standards zu integrieren. So als All-in-one Lösung.
Ich habe vor kurzem ein Video über die aktuellen Gateways gemacht. Unter 100 Euro ist es schwierig weil das Gateway schon 30-40 kostet. Dazu braucht es noch einen Raspberry und Zugemüse. Die haben alle 8 Kanäle.
As always, great video explanation..! :-)
Thanks!
Do you still looking for Spanish translator for your videos?
+Carlos Echeverria Yes, of course. My dream would be that all my new videos are translated the first day after publishing... And there are still many waiting. There is a "tutorial" on sensorsiot.org and you can start whenever you want.
Cool. Du solltest auch mal was zu deinem Reflow-Ofen verzählen!
Btw.: The early bird may catch the worm, but only the second mouse gets the cheese... :-)
jayseeee jajza
Amazing video!
Thanks!
Thanks!
Hello! May I ask you a question, have to read about RFM95TW? Im doing my thresis and I need a LoRa RFM95 with TCXO but I dont really understand if the datasheet of this one has or not TCXO already installed, I would be really grateful if you help me understing if it has it as you understand the topic so well.
Thanks, your videos are beign really important to my EE career! Greetings from Argentina
I did not find the word TXCO in the datasheet. So it most probably does not have one.
@@AndreasSpiess I asked to HopeRF and they told us RFM95TW have indeed TCXO integrated.
In the hallard board it writen : "cut wire if you need to put d1 to avoid LED pb" right above the d1 diode. So did you cut it? you didnt mention it in video...
thanks for excellet and informative videos
I do not remember that I had to cut something.
I follow your videos with great interest.
Do you with your background have knowledgment about what type of lightning protection that is needed if one would like to place the GW outside or maybe only placing the GW Antenna outside? I suppose that an outdoor antenna/outdoor gateway would provide much better coverage but when looking in to thismatter, most forum thread etc i found on the subject says "Make sure that you properly protect the device against lightning so that your house doesn't catch fire", but then i can't seem to find any info on how to properly protect a device against lightning or if the device/antenna can be placed in another spot where one still has good coverage but isn't a subject to lightning.
If you have knowledgement about this subject then a video on this subjet would be highly appriciated :)
I do not know about lightning protection. So you have to find other sources.
Why are we using The Things Network? We have WiFi Module, and LoRa to receive data, we can directly push that data to any other cloud services right?
You can do it yourself, of course. With TTN it is very easy because everything runs. Like with libraries...
Hi Andreas! Thanks a lot for the very useful video. :-) I have a question to you. I have my own pcb with RFM95. I have also node MCU board with ESP8266. Is to possible to use also your code to make it working? If yes, there should be some things to change or not? Thanks a lot :-)
This is an old video. Maybe you watch my newer video on the TTN V3 migration. There you should find a library.
Hi Andreas, is it possible to make cheap LoRa Gateway which supporting many nodes / clients using ESP32 LoRa?
This gateway supports many nodes
Have you been looking into the nb-iot stuff? I see that some operators offer a free trial kit with a number of sim cards and thinking that the standard might be interesting In locations that doesn't have lora coverage
Not yet. I think, it is too new for the moment. But it is for sure an interesting technology because it seems, that it is only a software update for the existing network...
Hi Andreas,
Very good job, well done.
Let me askyou some doubts about he OTAA
I've been trying to use the Single Gateway with TTN and Over The Air Activation without success.
My setup is: ESP8266+RFM95 as a pico GW and a RN2903+Arduino as a node.
When I Join to the network thru my Multitech GW and turn it off, my Pico GW works perfectlly.
If my node tries to join to the network directly thru the Pico GW, I can't join.
Have you joined using a setup like this?
Do you have any idea where I'm failing?
Regards,
Luis Viola
Maybe the gateway SW does not support OTAA?
Thanks for the replay.
I'm using github.com/things4u/ESP-1ch-Gateway-v4.0 with should support otaa.
Have you manage to get OTAA works? If yes, what SW are you using?
I have a full blown gateway (as shown in one of my videos). It supports OTAA
Hi Andreas,
how would you solve the issue of unique identifying of LoRa nodes in the networks ? Are the numbers provided by the thingnetwork sufficient or should we think about using an EUI ID number chip ? Thanks for your exciting videos so far !
Br Peter
I never thought about that because I either use TTN (and adapt to their standards) or I do not.
Hi, i have an issue, the gateway works perfectly fine but i have a small problem, i have the gpio15 pulled down to ground with a 10k resistor, but if i connect the 1n4148 diode for dio0 on gpio15 the esp12e will not boot. If i leave the diode disconnected, power up the board and only then connect the diode on gpio15 it works like a charm, any idea about the reason ?
Thanks a lot
Maybe you google gpio15? It has a special role.
@@AndreasSpiess it Is used for boot selection i know that, i solved by using two diode in series
Maybe this could help, so dio0 if not used correctly Is Active 3.3volt, so at boot It set gpio15 High and esp8266 Is not happy. But, addind another diode in series or a resistor in series solve the problem, because now gpio15 Is low at boot and esp8266 Is Happy and could handle LoRa packet properly. Thanks a lot for the like Andreas and well done for your Channel
Thanks for this video it help mi a lot in the research of my proyect, I have just one question, how many kilometers y can get whit this gateway ?
Maybe you watch all my LoRa videos, especially the ones "Wardriving" and "world Record"
Thanks for all you do, I really enjoy watching some of your posts
I like your comment at the end re ‘ cheap enough to make a few on different channels’
I have 2 nodemcu style boards with lora onboard, do you think I could create a bi- channel setup to start me off into Lora?
Because both LoRa chips have to be synchronized. I would deploy two single channel gateways a few meters apart from each other
I get the folowing error
conversion from 'const ip_addr_t* {aka const ip4_addr*}' to non-scalar type 'ip_addr_t {aka ip4_addr}' requested
I´ve got the same Error
This is an old video. Maybe there is a newer software version around somewhere.
i got the same error...if you found the fix ..please share
Hello Andreas i have a question for you. Would it be possible to make a rfM69HCW repeater? So say indoors you make the range longer?
Why not? RFM69 can receive and send. So the repeater could listen to the sensor data and broadcast it as soon as it got the data. Maybe an addressing scheme is necessary.
Is the single channel a software or hardware limitation? Is the radio using I2C so you might be able to hook up multiple radios to one esp? This was awesome to see and it's quite affordable, thanks for showcasing it!
Gateways should listen to multiple channels and multiple spreading factors (basically datarates) at the same time. The SX1301/SX1308 chip made to do the job basically contains the logic from ~40 receivers. That's how many modules you'd need to implement a compliant gateway from normal transceivers.
As donpalmera writes, it is the limitation of the RF chip
Hello Chef, can you do please a video about how to use a RACK811 Brakout lora Module with an ESP32. Thank you in advance
I think this board is quite simple to use.
Wow, the videos just get better each time. This is a project I can give a try. The link to the PCB didn' t work for me. Said Refused to connect.
This is a very old video...
If i have a gps tracker that sends 60bytes per second, how many gps tracker can i connect at once in one of these gateway?
Every second is not a good idea for LoRaWAN. Maybe you catch my introductory video about limitations. You have to use another technology for that.
Hi Andreas,
great work !
Unfortunately pcbs.io is not reachable. Is there another source for the shield PCB ?
Thanks in advance !
Br Peter
+Peter Impatience I do not know of another source. They are online now.
Andreas you mention in your video that you had to remove D4 because the gateway did not work properly... Can you elaborate a little on what problem you encountered with D4 being mounted... Thanks.
It just did not work. But I do not remember exactly.
same for me... removed D4 and now the gateway is working. Thanks for your help, great instruction video!
:-)
Hi, Andreas. Good video. Do you have a SW link for a ESP8266 with a Lora semtech sx1278? That will be very useful. Thanks
I have videos about building nodes. There you should find the link.
herer's the explanantion for the 3 diodes:
"If you use the Hallard PCB, you have to remember though that DIO0, DIO1 and DIO2 pins are multiplexed on the board using (very!) small diodes to GPIO pin 15 (D8)."
"On the top left you can see the place where to solder the 3 diodes which connect dio0, dio1 and dio2 to GPIO15.
The Hallard board is slightly different from the bare-board or ComResult pcb as it will share dio0, dio1 and dio2 with the same GPIO pin over 3 diodes."
Thank you for the additional info!
hello sir. i have some problem. i don't 433mhz frequency for my gateway in website: the things network. please help me
I do not understand your question. But maybe you go to the forum of TTN. There you might get help.
Which components do I need to buy in order to build such a gateway? I'm looking to build a small LoRa gateway for educational purposes. I already have an ESP8622. What else do I need? The RFM95W, The WeMos D1 Mini? Anything else? I'd appreciate your help
I think you should find all needed in the video or in the lint for the PCB.
Andreas - as of 2023, TTN no longer has an option to register a gateway using the SEMTECH packet forwarder, do you know if this single-channel implementation still works with TTN?
I do not know. I changed to a cheap 8 channel gateway...
Hi Andreas, thanks for your quality and useful videos, could i build a gate way with the ttgo esp32 ??? Do you know the library? Thanks
I do not know. I newer needed it so far.
Hi Andreas,
Great work! Great Video!
With the latest updated to Arudio IDE and libraries I'm getting the following error during compile:
"ESP-sc-gway-and:258:37: error: conversion from 'const ip_addr_t* {aka const ip4_addr*}' to non-scalar type 'ip_addr_t {aka ip4_addr}' requested"
How can we fix that ?
Thank you again.
This is an old video. Maybe you look for a newer library?
Hey Andreas, I have a question about the parts that you used.
I also ordered the 1206 capacitors, but which pull up resistors did you used? Is it possible to add a link where to buy this part?
I have a set of resistors in my lab and usually, you see, what I buy in my mailbags, where a leave all my links. Pullup resistors are usually about 4.7k and if I remember right, this PCB is made for 0805 size
Hi Andreas. If building a LoRa GW and a small temperature sensor today, would you still use this? Or are there new easier way on the market today?
I am not sure if they still support single channel gateways. Otherwise you have to buy a standard gateway if nobody else deployed one. Or you use a different project such as "Farm Data Relay system (I made a video about it)".
Grear vdo. How many sensor can connect to this gateway.
Maybe one hundred? Maybe you watch my other Lora videos where I talk about fair usage policy and laws around LoRa.
Hey I hope you're doing well and perhaps considering doing one more video on Lora.
I have a question. Can you tell us your opinion on RFM95 board and the SX1278? they both have same capabilities. Hence is there a better one in your opinion?
The chip on the RFM95 seems to be a licensed product of the SX. I have never used a SX board.
Thanks for another great video Andreas. What is the best form factor for the resistors and capacitors to put on Hallard's PCB? Sorry for the basic question, I am new to Surface Mounted Components!
I think, he uses 805 size for the resistors
Hello Andreas. Thanks for the video. I configured the gateway as you did , but how to send the data? I set the Gateway Node == 1 and filled the respective entries. Still there is no data being sent to the TTN. (But i see the gateway as connected)
Do you have a node? And are you sure the node works?
Well, Actually, I had to configure it through the web interface. Then it worked. (Even though i changed the code as GATEWAY NODE == 1, Line 217 in ESP-sc-gway.h). (Esp 1 ch gateway v5.0) But anyways, I am happy that it worked.
Hi Andreas, im working in a Marine LoRa project, i have a question , i have two modules TTGO T-BEAM (ESP32+LORA+GPS), how can i do the same thing like this, wicht my board?
You have to find the same software ported to an ESP32
@@AndreasSpiess i think i found It... Im going to try
Thanks for your tutorials!!!
You are a know person here in Vigo Spain
Thanks!!!
I want to order some SMA edge connectors, do you know the thickness of the little shield board?
It is 1.4 mm. I soldered a normal SMA connector and it fitted between the two pin rows.
Ok thanks Andreas.
Hi . one thing I didn't get is the TTN address to put in the config file. you said in film that is written in the blog but I couldn't find it.
Did you look for that? www.thethingsnetwork.org/wiki/Backend/Connect/Gateway
Yes I looked but when I register a gateway I have a list with other servers and 1901 port. the new gateway form was change a little from the time you created this movie. so I used the guide server and port but it keep showing it is unconnected. the gateway itself works and write "Ready".
hi ,can we use esp -3212 and make an multichannel lora gateway? Esp 32 has lot of capabilities in it.
Has nothing to do with the processor. Multichannel is a capability of the RF chip.
Hi Andreas, what alternatives could i use for 1N4148 diodes, because there are none of these in my country?? Can i use SS-16?
Ss16 should work. It is quite big.
@@AndreasSpiess After 3 or 4 hours of searching found 1N4148, do i need SOD-123 or SOD-323?
Pls check it out with the dimensions. I do not have the board in hand.
Ok, sorry for bothering, I just ordered all the things today. Thanks for your great project, keep up the good work :)
I get all sort of errors if i try to compile the code suggested, is it possible to know how to setup the enviroment and wich version of the libraries are needed to have the have the code compiled ?
This is an old project. Maybe you find newer versions using Google (or the forum of TTN)
Hi, Great videos as always, very educational;) I am wondering if the new Wemos D1 boards (v 3.1.0 or Wemos pro) are good for these types of projects as I can't seem to find a lot of the older versions on eBay
This is an old video and most people do no more build these simple gateways. First you have to check if you get the needed software and if it is up-to-date.
I was going to replicate this porject as i needed to create a point to point connection to trasfer sensor data as you showed on an other video. Because the viedio is not relevant anymore are there any good methods to still obtain a good enough point to point connection thanks🙂
@@kristianschembri7165 This was never a point-to-point project. You should find a point-to-point video on this channel.
@@AndreasSpiess ok thanks 🙂
Hello Andreas! You said you discovered how to mount pins to make this board compatible with other Wemos board too late - did you mean it is better to solder on opposite side as you have solder it?
And BTW: what is the purpose of EEPROM 24AA02E64T on the pcb?
Than you for another great video!
1. Concerning soldering: Pay attention that the pins of the Wemos and the pins of the PCB fit after soldering RST to RST, GND to GND etc). You can solder it the wrong side and then you have to redo it.
2. Concerning the EEPROM: I do not know. Maybe to store some keys? Maybe you ask the creator.
Great - thank you! As i see one question regarding pins of display remains open. You mentioned 1306 display can be connected directly. On the PCB is printed following order: 3V3, GND, SCL, SDA. But your 1306 display (also mine) has different pin order: GND, 3V3, SCK, SDA. Did i missed something?
Hallo Andreas,
Aus irgendeinem Grund gibt das WeMos-Modul nur eine GW-Adresse von '7.5' Byte ab. Irgendwie fehlt ein Zeichen. Fragt sich wie das kann?
Gateway ID: 03AE8FFFF359FEB,Listening at SF7 on 868.10 Mhz.
Gruss,
Ronald
Vielleicht ein Fehler im Code. Ich weiss es nicht. Mit ist das offenbar nicht aufgefallen...
Does this still work in 2022? Issues raised at the github site for the referenced "New Version of Gateway" say that single channel gateways are now prohibited by The Things Network.
Today, I would not go with a single channel Gateway anymore. You get a relatively cheap "full" gateway from TTN
It was usefull, interesting and great.
+argilaga Thanks!
Hi, I'm getting error "ESP-sc-gway:903: error: 'Open_Sans_13' was not declared in this scope" when compiling. Thanks
I never saw this error and also find nothing on google. So, maybe it is something specific to your setup?
I commented that line out and it compiled OK but it looks like I have a bad oled display, never easy... Keep up the good work on these great videos Andreas!!!
:-)
same error, comented and ok.
Just use other font ... :-)
Hi Andreas
I would like to rebuild the gateway. Is the project still up to date or are there already better alternatives with the ESP32? Greetings From Aarau
The project in the link seems to be maintained and should work. However, it is not simple to define all parameters. And I would use one of the ESP32 boards they support.
@@AndreasSpiess Which link? I can't find it.
What is the diferent between rfm95 vs sx1276?
The rfm95 is a module. The Rf96 on this module is the same as the SX1276.
Hello Andreas! Can we use an arduino promini + wemos d1 to do a single channel gateway but whithout a charles H pcb? Only for prototipe use...
I do not see why you would need an Arduino pro mini?
@@AndreasSpiess because there are not find any lora gateway with arduino uno in internet...only with rasperry pi B or yours with pro mini...
I am new in this stuff...
A gateway needs a internet connection. Maybe you watch my LoRa introduction video.
@@AndreasSpiess you are right....i am confuse with a node...thank you very much!
Hi, I am trying to make a gateway with a Raspberry and LoRa RAK5164 to be a local server, does anyone have related information?
I am trying to get this gateway setup on TTN and am curious where to enter the Gateway Key from TTN in the sketch? When I went on TTN to setup the gateway it gave me that key. Or did I do something wrong? Thanks for all your great videos by the way, I really enjoy them!
Actually I watched the video again and noticed I forgot to select "Packet Forwarder" oops. lol
Glad it works now!
hello Andreas, amazing channel! i'm try to see all your videos. i´m from Argentine. What's the difference between loralan and lorawan gateway? it is more appropriate for loralan? sorry , i´m very amateur in this...
Welcome to the channel. I never heard of a LoRaLan. WAN means wide area network. And LoRa is a technology to bridge bigger distances.
thanks for your quick answer! loralan is mentioned in this video..
ruclips.net/video/An-a8VLeZc4/видео.html (minute 27:55)
My project is similar to this. Thank you again!
I think it is the same technology.
Hello sir, for my rocket project i needed a long range data communication, which i think possible with lora. And i should have cheap things too, i javed watched almost all videos about lora in your youtube, i want to build this gateway but i cant find the pcb design link, if you can please update the link or please share me the file with what i can make it’s done
There is no PCB. But maybe you look also to the LoRa 1:1 video. I am not sure if a gateway is the right solution for your project.
You get boards (from TTGO, Heltec) with integrated LoRa modules, BTW
How about some links to ALL the parts needed? The diodes, the antenna, buttons, LED, etc. I wish you could order the PCB with all the parts on it.
This channel is more for the advanced tinkerer. And I have to pay attention to my time put into RUclips. So this will probably not happen. But you can buy a complete gateway like this one: www.aliexpress.com/store/product/LoRa-Gateway-Developer-Kit-RAK831-LoRa-LoRaWan-Module-with-Raspberry-base-on-SX1301-433-868-915MHz/2805180_32830271395.html
It would for sure help to know which capacitors and diodes to get. Any hints?
i'm using an adlx345 passing data to lora sender-----------Lora Receiver and now i want to send data to the esp8266, how i supose to do that?
Probably via Wi-Fi. E.g. ESPnow
@@AndreasSpiess I mean I need to wire the receiver with esp8266 but don't know how
my esp8266 is working like a gateway, and I want to recive Lora data there too
Single channel lora gateway is actually a lora node? It can connect to many lora nodes and gateways just not at once?
Also is there a way i can buy this board with all the parts already soldered?
1. It is a working LoRa gateway and you can connect many sensors through it.
2. I do not know of a pre-soldered device.
Thans for the great video. But for some reason my gateway ID gives only 7 bytes at the serial monitor. How can I solve this? And is there also a way to use this same setup for sending packets?
1. I do not know and remote diagnostics is not easy
2. Another video shows how to build a node. And you find others if you google.
Thanks for the quick response. I think I found the problem but I don't know a solution yet.
The row "Serial.print(MAC_array[1], HEX);" outputs a 1 instead of a 01.
Get the same error :-/
...and it's not printing anything - "just" the 0 ... and not the first part of the MAC adr.
WiFi.macAddress(MAC_array);
for (int i = 1; i < sizeof(MAC_array); ++i) {
sprintf(MAC_char, "%s%02x:", MAC_char, MAC_array[i]);
changed from "for (int i = 0" to "for (int i = 1" - now it's working. It dos not print the right MAC ... BUT you now have det right GW ID to put in thethingsnetwork! :-D Hope you get it to work!
the problem is no matter which libraries i install i always endded up with errors no idea whats going on?
getting error rom dns and so on i just stuck at the begining of
Remote diagnostics is not easy. Maybe you start with the blink sketch and go on till you discover the error
oh not that low knowledge
IPAddress getDnsIP() {
ip_addr_t dns_ip = dns_getserver(0);
IPAddress dns = IPAddress(dns_ip.addr);
return((IPAddress) dns);}
idk why but this is the part which makes the issue
any idea?
i have been able to build a local lora gateway with nodemcu and api for my own projects like automation house and etc. but im gonna give a try for this one to learn more
@@TheAlibigdeli Same situation, did you resolved it ?
Hallo, Andreas. Welches board haben sie in arduino IDE hardware ausgewählt, um die Skizze hochzuladen? Auf Wiedersehen Costel yo6osc
Normalerweise wähle ich das board, das ich verwende. Im Fall vom Wemos D1 mini das NodeMCU 1.0
I am new to this all. What kind of capacitors and resistors do I need to ask for (in Australia).
Maybe you ask somebody around you for some help or join an electronics club in your region. This is probably not a project for beginners, I think.
Got them. SMDs. Now the soldering :-)
There are some IoT clubs where I live. Waiting for next session to build the LoRa Nodes
Hello Andreas. Is there a way to change power output of TTGO transmitter?
Yes. There is a command where you can reduce power.
Great video. I like the fact the price is very low, so it is cheap to try it out. I also noticed your "ALDI reflow oven". I guess you built it yourself. Do you have video about it's build? If you do I must have missed it. That is also interesting topic to me.
Concerning oven: The only thing I added to the oven was a cheap temperature meter from Aliexpress (probe goes through a drilled hole) close to the PCB. Important is, that it has a fan inside (even temperature)
Interesting. So you are manually controlling the temperature for the process? I am considering to build reflow oven myself, so I am trying to find something that not very complex to do. If it works well that way that is a good thing to know.
+Marko Mrvelj not a lot to control. Just switch on, wait, and open the door...
Good to know. Thanks Andreas!
Hello!
Thanks for all the great videos! :-)
I recently stumbled upon LoRa, and your videos have been a great source of information, entertainment, and project ideas (regarding some of the ESP projects).
One question: Do you know of any attempts to make a Gateway using the 1 channel gateway for transmission, and a 10 bucks USB SDR dongle (e.g. RTL2832U, sdrangelove, DecodingLora) with a rPi?
The gateway has a transmitter and a receiver. No need for SDR. I made also a video of a gateway using an RPI
I know, I've watched it :-) I mean as a cheaper alternative for an 8ch Gateway :-)
I do not think SDR can help you here because it cannot send LoRa signals.
That's the point, SDR for receiving, A single RFM95W for broadcasting on whatever channel required.
While the RFM95W can only listen on one channel at a time, the rPi could listen via SDR and only use the RFM95 for transmission, setting it to the required channel.
I noticed you are using the RFM95W, but in earlier videos, you use the SX127(8). Also, there is an HPD13. Any reason you chose to switch from the SX1278 to RFM95W?
They all use the sam chip (inside). Only Semtech has the knowledge.
@@AndreasSpiess So are they all interchangeable then and I can just go for the cheapest price? Also, LoRa RF has been reverse-engineered. I had the docs on my system, then it crashed a few weeks back but I got the info from the net. He said that the Semtech app notes were basically wrong. It is a very interesting Phy. It would be nice to eventually get it into gnu-radio. From memory, I think it was a CSS chirp spread spectrum, had a frame beginning, beginning of data unit, then think it was data was time-based FSK in the up and down chirps. I think that is how it went. Semtech has a European patent 13154071.8 on LoRa. Then I put the link data on an analyzer and took some notes for the traffic between the gateway and network servers. Found it was using MQTT, and the upper layer is JSON. Your videos filled in lots of the blanks. There are a lot of Denial of Service security problems in the implementation. Basically, you can jam someone's end node out of existence fairly easily.
I never was interested in reverse engineering. Their chips are good and cheap...
thanks for your video sir, so have you test this gateway? how far can it get? it is same with the ic880a gateway?
It is different to the multi-channel gateways. But the reach is similar. You find videos about the reach on the channel
@@AndreasSpiess it's such a hardwork sir with those tower, god bless you. back to the topic, so as far as i can get the line of sight of this esp8266 gateway and clear weather, the node will reach gateway?
Maybe you watch my videos concerning LoRa propagation.
@@AndreasSpiess the #296 video one, yes sir. thanks a lot
@@AndreasSpiess hello sir it is me again. i have thinking about it. it will be nice if there is a video or tutorial how to build a LTE/cellular based LoRa gateway.. since it will be easier to be placed. and also it will be cool if it is integrated with solar cell power suply. is it possible?
Nice Video sir. My LoRa is using 915MHz, which part in programming should I change?
There is a variable to change the frequency. Maybe you search for 915 and replace it bay 868.1
Thanks sir, I'm still trying to set up this gateway
1. How many LoRa nodes this 1ch gateway can support?
2. Do this one support TTGO and other nodes?
It depends. Maybe you watch my other LoRa videos.
And you can also use TTGO boards
Hi Andreas! Great thank you for tutorials!
I want do similar gateway only through ethernet W5100 or ENC28J60. Could you help me with links? Thanks.
I have similar chips only SX1278 for Ukraine.