Testing LoRaWAN Gateway using Arduino | Dragino LG01-N

  Рет қаралды 44,538

techiesms

techiesms

Күн бұрын

Пікірлер: 133
@siliconhub6492
@siliconhub6492 4 жыл бұрын
Indian Great Scott
@kyle.pereira
@kyle.pereira 4 жыл бұрын
Great video as always!
@avinashreddybhavanam
@avinashreddybhavanam 4 жыл бұрын
super information bro... eagerly waiting for the upcoming videos on LORA.....
@techiesms
@techiesms 4 жыл бұрын
Thank you Glad to hear that you loved it
@SUSMITRUDRA
@SUSMITRUDRA 4 жыл бұрын
Abbey salee...itna kuch karne ki zarurat nehi hai... Take an Arduino UNO and connect a NRFL01 module or LORA module and also attach an ESP8266 node mcu and connect the mcu with internet and firebase. No need to spend so much for this simple task. It will even make your fundamentals clear
@D0gByte
@D0gByte 2 жыл бұрын
Thanks - useful video :-) (however, I nearly didn't get to the good parts because the intro music was so distracting. I gave up, but then really wanted to find out more about this LoRa gateway so skipped through and found that you'd stopped the music, eventually - huzzah! It started up again at the end, but that was less critical info. Just a suggestion, but maybe consider dropping the music track down by 6dB next time?) Anyway, thanks again for great content.
@mr.engsha7696
@mr.engsha7696 3 жыл бұрын
Just an informative video !!! is there any other examples/ applications for this system ?
@ANTOSGARAGE
@ANTOSGARAGE 4 жыл бұрын
Great video bro😘😘😎
@saurabhshukla9448
@saurabhshukla9448 4 жыл бұрын
Sir, please make a video on 8 home appliances home automation which can be controlled by Alexa and manual. You have made on 4 and 16 but some people want 8 which is not smaller not bigger. If you read my comment please reply me. Who agree hit like button.
@Piotr_Sikora
@Piotr_Sikora 9 ай бұрын
Did you set TX power in arduino device?
@jeetz12
@jeetz12 4 жыл бұрын
Great video..... Most of the thing about I.O.T , arduino, etc one can learn from here with best explanation. 💚💚💚
@rahulsurya7596
@rahulsurya7596 2 жыл бұрын
Transmitted and receive ?.......Lora......?
@Adamm522
@Adamm522 Жыл бұрын
Can u help me please? i have Arduino UNO and a Gateway hotspot.. can i do this system ?
@deepanshupandey2204
@deepanshupandey2204 4 жыл бұрын
You can follow "Andreas spiess" for LoRa. Nobody on KZbin has explored much yet than him.
@prajwalshetty4910
@prajwalshetty4910 4 жыл бұрын
which u selected frequency for lora is correct!!!! is it work if i select different country frequency? in the gateway side i am asking not cloud side
@ravipujari360
@ravipujari360 4 жыл бұрын
great video. thanku you
@krishk4870
@krishk4870 4 ай бұрын
but bro in device registration you are coping things like network session id and app session id all are OK but Device address(DevAddr) should be given by board manufacturer only right? and that shoukd be provide to device registartion page in device id so that that server can identify which device sending the data like that !!!??? am i coorect?
@yogeshitaliya473
@yogeshitaliya473 4 жыл бұрын
સરસ ભાઈ
@luminary_dagger
@luminary_dagger Жыл бұрын
Bro the interface of TTN is now totally changed and i m unable to register LG01-N as the end device in application. Pls help.
@manodipansahoo2999
@manodipansahoo2999 3 жыл бұрын
Can i setup LoRa gateway in underground mines for connecting devices?
@krishk4870
@krishk4870 4 ай бұрын
if you adding flow of this entire process step by step in animated video then it would be 100% one!
@sanjeycrypto805
@sanjeycrypto805 3 жыл бұрын
Sir, your LoRa modules Using EU868 frequency in India, is it working and india supports only 865 - 867 MHz without license.. Kindly clear my doubt.. Thanks in advance
@nakhachainaksith959
@nakhachainaksith959 3 жыл бұрын
May I ask please. I use ttgo module. How can I send data to ttn without pressing rst button.
@ihebchhaibi4831
@ihebchhaibi4831 3 жыл бұрын
HI, I'm using bl072cz-lorawan and it doesn't work for me can you help me thnx.
@yuvrajkukreja9727
@yuvrajkukreja9727 3 жыл бұрын
16:44 make a long range range on video 👍👍🙂
@amrutagharge6700
@amrutagharge6700 4 жыл бұрын
Please make a video on Bluetooth retro watch please 🙏🙏🙏
@dolefo
@dolefo 3 жыл бұрын
Thank you for the help brother, real recognize real great work
@deepakkoirala2296
@deepakkoirala2296 Жыл бұрын
Will the gateway open to any LoraWan client Node or it will just work for your Lora Node.
@hrishikeshshinde4903
@hrishikeshshinde4903 4 жыл бұрын
Bro please tell me can I use arduino nano for home automation project with esp32??
@rcryptop2e182
@rcryptop2e182 3 жыл бұрын
Bruh do we require lisence for operating on 868 mhz in India?
@pewdiepiofficial6030
@pewdiepiofficial6030 4 жыл бұрын
Great 👌👌
@skyno08
@skyno08 4 жыл бұрын
u said Price is reasonable but it is not the price is around 15,000 except the Lora and Lora Gps shield , Router we can buy all the components only for less than 2k Does it mean those 3 are around 13 K it's too much they are charging those two shields nd Router for around 13K which is not reasonable
@techiesms
@techiesms 4 жыл бұрын
You can check out the price of this kit on other platforms like amazon etc By comparing them I told it’s a reasonable price
@techiesms
@techiesms 4 жыл бұрын
The gateway itself costs around 7-9k
@skyno08
@skyno08 4 жыл бұрын
@@techiesms oh ok i will check nd reply Thank you
@skyno08
@skyno08 4 жыл бұрын
@@techiesms Fine then It is fine then actually it is reasonable , I agree
@pema4366
@pema4366 3 жыл бұрын
the status on TTN is showing disconnect??, i cant get to work it out
@ramaswamyranganathan9171
@ramaswamyranganathan9171 7 ай бұрын
Is it possible without internet?
@joblessguy987
@joblessguy987 4 жыл бұрын
I live at distance of 13 km from the place that has a stable wired internet (fibernet) I would like to know if there is any economical way for me to transmit the internet from such a distance and still get atleast 5 Mbps symmetric speed.
@sanajyvinai2736
@sanajyvinai2736 4 жыл бұрын
Lora is mainly intended for IoT device to send small packet of data
@joblessguy987
@joblessguy987 4 жыл бұрын
@@sanajyvinai2736 Yes but I'm not asking how to use lora to fit my purpose I'm asking if there's any way to do so.
@sanajyvinai2736
@sanajyvinai2736 4 жыл бұрын
kusumanchi ashish if ur using gateway u can’t transmit data there is a limit per day
@ankurrsoni8648
@ankurrsoni8648 3 жыл бұрын
@@joblessguy987 you can use air fibre antenna
@bektinurwanto
@bektinurwanto Жыл бұрын
Where i see the id dragino gateway sir?
@shubhanshurastogi7774
@shubhanshurastogi7774 4 жыл бұрын
Hello Sir, I need help in developing the Lora interface with stmf32f030 controller, Can you please help?
@terryterry1655
@terryterry1655 2 жыл бұрын
can it be used to mine helium crypto ?
@bharathnaik8617
@bharathnaik8617 Жыл бұрын
literally amazing video all my doubts are cleared abt configuration info abt gateways how they works thanks man................ its amazing.............. 🥳🥳🥳🥳
@samuelbrancomonteiro6036
@samuelbrancomonteiro6036 4 жыл бұрын
Hello from Brasil. I really enjoy your videos.
@divinicus
@divinicus 2 жыл бұрын
Link says forbidden
@mr.engsha7696
@mr.engsha7696 3 жыл бұрын
Hi , man It also mentioned we should modify radio paramters in config.c file To match your region. But unfortunately i got error rype 441 in radio.c Any idea?
@AmazingMJ07
@AmazingMJ07 4 жыл бұрын
👍👍♥
@NEWSVBK
@NEWSVBK 4 жыл бұрын
Wowww... Means woww I enjoyed I am gonna try it for my last year project thank you sir❤️
@techiesms
@techiesms 4 жыл бұрын
Happy making 😇😇
@rajakrishnan7662
@rajakrishnan7662 4 жыл бұрын
Wishes man
@prarthitjoshi7031
@prarthitjoshi7031 4 жыл бұрын
Can we transmite internet data.... with this set up..??
@prarthitjoshi7031
@prarthitjoshi7031 4 жыл бұрын
Like wireless LAN...? Is it possible..?
@RakshithPrakash
@RakshithPrakash 4 жыл бұрын
@@prarthitjoshi7031 you can transmit whatever you want at 2.4kbps
@prarthitjoshi7031
@prarthitjoshi7031 4 жыл бұрын
@@RakshithPrakash omg....why so much less speed..??
@rohitangane507
@rohitangane507 3 жыл бұрын
@@prarthitjoshi7031 transfer data in mhz not ghz
@dinesh8238
@dinesh8238 4 жыл бұрын
Cool
@gsvasanth9077
@gsvasanth9077 4 жыл бұрын
Waiting 50000 subscribe techiesms family Special 😍
@techiesms
@techiesms 4 жыл бұрын
Me too 😍😍😍
@andresc4
@andresc4 4 жыл бұрын
you have an issue with the antenas , you can get up to 7km between 2 sx1276 @ fr11 , maybe those antenas are not properly tuned. folow andrea spiess
@mr.engsha7696
@mr.engsha7696 3 жыл бұрын
Have you tried downlink ? By sending command from ttn to lora node???
@JB-po3rb
@JB-po3rb 3 жыл бұрын
😅😅😅😅😅😅😅😅😅😅😅😅😅
@whatsup2798
@whatsup2798 4 жыл бұрын
nice... bro please share what is the actual cost paid by ordering pcb from jlcpcb since i have heard that custom charge we have to pay
@gsvasanth9077
@gsvasanth9077 4 жыл бұрын
Wow 🤩😍
@ddee2501
@ddee2501 3 жыл бұрын
Thanks, explains why my node wouldn't connect !!!
@20rakshith
@20rakshith 3 жыл бұрын
Sir, can you please give the code for sensor application using lora
@msbanda2123
@msbanda2123 4 жыл бұрын
This is LoRa Gateway! not LoRaWAN Gateway!
@SaddatAkber
@SaddatAkber 4 жыл бұрын
Hay! Techie, is there any option to have your own local dashboard for this gateway not having to use the cloud or internet, will be glad to know, and thanks a lot once again for all this wonderful work.
@afsanehakhbari8880
@afsanehakhbari8880 3 жыл бұрын
great video thank you, is there any library for sending sensor node data (dragino lora shield+dht11+arduino) to TTN?
@yinyin4177
@yinyin4177 3 жыл бұрын
Where I can find your Arduino code? Thanks.
@rahulsurya7596
@rahulsurya7596 2 жыл бұрын
Drone.... Please.... 🙏🙏
@galangwedana7484
@galangwedana7484 4 жыл бұрын
Thanks to you that we could study LoRa with detailed step. I want to ask one thing, did you need to wait for more than 5 minutes till the end node connect with ttn server?. Thanks
@deepshekhat281
@deepshekhat281 3 жыл бұрын
hindi me banaie....
@techbhatia
@techbhatia 4 жыл бұрын
How can I get the Gerber files for the PCB you use in your projects?
@Moti1112
@Moti1112 4 жыл бұрын
Sir also make a video for all in one board voice-controlled command using Alex
@vvrn0
@vvrn0 4 жыл бұрын
Can anyone tell me whether "NodeMCU" or "Arduino Uno" or "Raspberry Pi" etc.. Which is better as a beginner and also which is best affordable board with good 'specification'.
@ADDOTCOM
@ADDOTCOM 4 жыл бұрын
@VV RN you are poor! hahaha! LoL !
@vvrn0
@vvrn0 4 жыл бұрын
@@ADDOTCOM poor like me also want to build one 😌.
@BetulKaplan
@BetulKaplan 3 жыл бұрын
Hey thank you for sharing your experience with Lorawan. Helped me a lot!
@rahulsurya7596
@rahulsurya7596 2 жыл бұрын
Bro drone project and Lora
@yogeshkumarsunda5997
@yogeshkumarsunda5997 10 ай бұрын
Are you done Lora project
@logcom482
@logcom482 3 жыл бұрын
Wery nise look))))
@rsingh2083
@rsingh2083 4 жыл бұрын
Now we need to make लहसुन wan
@pavankumar-ff9bo8zc5y
@pavankumar-ff9bo8zc5y 4 жыл бұрын
Finally a video without blynk app 😬
@SupriyoSarkar
@SupriyoSarkar 4 жыл бұрын
really appreciate you effort bro👍..but we want to see 10/20/50/100 km range results using lora module..please try to make that🙏
@sairamsanthoshp
@sairamsanthoshp 4 жыл бұрын
You can use repeaters
@sebastiandiaz339
@sebastiandiaz339 2 жыл бұрын
@@sairamsanthoshp Hello sam, you know how can i have +100 lora devices conected to a single gateway?
@foreveryone6990
@foreveryone6990 4 жыл бұрын
hey bro ......i badly need your help
@LP_APUgamer
@LP_APUgamer 3 жыл бұрын
really cool network but too much fiddling around to just send hello in text...
@ehtishamliaqat9510
@ehtishamliaqat9510 4 жыл бұрын
Great
@rishabhmahajan3294
@rishabhmahajan3294 3 жыл бұрын
dude awesome work
@msbanda2123
@msbanda2123 4 жыл бұрын
Awesome analysis 👍 Keep it up . . .
@all-about-automation
@all-about-automation 4 жыл бұрын
it's costly device
@manostb
@manostb 4 жыл бұрын
KIT is arnd 15k but the Gateway is 7.5k.. outdoor Multi is 30k.. seems institutions can install Gateway and Enthusiasts can play with senders / receivers. Long way to go in India compared to European Market. Need to work on creating DIY type gateways. Gr8 effort Techie. Is there a Indian DIY forum to discuss IoT, Robotics & Lora kinda technologies.?
@gowthamrajg4004
@gowthamrajg4004 4 жыл бұрын
Having multi channel gateway around 13k.
@manostb
@manostb 4 жыл бұрын
Might be indoor gateway. For public use outdoor is needed. But for own use indoor might be ok. Thanks for the reply. If you have seen someother outdoor multi GW do share the link or site name. Tx again
@nirmalroot
@nirmalroot 4 жыл бұрын
It is 15000 rs
@MagicSmoke11
@MagicSmoke11 3 жыл бұрын
Nicely explained...👍
@harikamalakarreddydarapu7410
@harikamalakarreddydarapu7410 4 жыл бұрын
you are awesome
@ramkrushnashinde6689
@ramkrushnashinde6689 4 жыл бұрын
Nice
@sukanyajewsakul4515
@sukanyajewsakul4515 4 жыл бұрын
Cool stuff!
@shanmugamkanagaraj4877
@shanmugamkanagaraj4877 4 жыл бұрын
Hi nice video, can you please share the purchase link
@techiesms
@techiesms 4 жыл бұрын
It’s in the description
@ramkrushnashinde6689
@ramkrushnashinde6689 4 жыл бұрын
Congrats in advance for 50k subscribers
@techiesms
@techiesms 4 жыл бұрын
Thanks 🙌🏻
@mr.electroz283
@mr.electroz283 4 жыл бұрын
Awesome Tutorial #soon 50k subcribers
@techiesms
@techiesms 4 жыл бұрын
Yeahhh
@all-about-automation
@all-about-automation 4 жыл бұрын
Can it do satellite communication too
@chaitanyasudarsantholeti2489
@chaitanyasudarsantholeti2489 3 жыл бұрын
It is possible and it is planning. More details are available here lacuna.space/the-things-network-to-provide-lorawan-satellite-connectivity-for-evaluation-in-2020/
@Momfasa
@Momfasa 3 жыл бұрын
Thank you for this video! Most helpful!!
@techiesms
@techiesms 3 жыл бұрын
Glad it was helpful!
@emiliotec5329
@emiliotec5329 3 жыл бұрын
What and amazing work! Greetings from Ecuador I have a problem, I have a similar case as you found at 9:40 (node and gateway are not communicating) So I followed your instructions, my band is 915000000, which is already set on my dragino LG02 gateway at rx and tx, but finding that file from lmic, it happens that is not the same structure,I can't find the spot to replace with 915000000 (as you did with 865...). The difference is that TTN migrated to the things stack, but everything else is the same, so I really need to try your suggestion in order to see if it solves my problem
@emiliotec5329
@emiliotec5329 3 жыл бұрын
1) /* * Copyright (c) 2014-2016 IBM Corporation. * Copyright (c) 2017-2021 MCCI Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of the nor the * names of its contributors may be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef _lorabase_h_ #define _lorabase_h_ #ifdef __cplusplus extern "C"{ #endif // ================================================================================ // BEG: Keep in sync with lorabase.hpp // enum _cr_t { CR_4_5=0, CR_4_6, CR_4_7, CR_4_8 }; enum _sf_t { FSK=0, SF7, SF8, SF9, SF10, SF11, SF12, SFrfu }; enum _bw_t { BW125=0, BW250, BW500, BWrfu }; typedef u1_t cr_t; typedef u1_t sf_t; typedef u1_t bw_t; typedef u1_t dr_t; typedef u2_t rxsyms_t; // Radio parameter set (encodes SF/BW/CR/IH/NOCRC) // 2..0: Spreading factor // 4..3: bandwidth: 0 == 125kHz, 1 == 250 kHz, 2 == 500 kHz. 3 == reserved. // 6..5: coding rate: 0 == 4/5, 1 == 4/6, 2 == 4/7, 3 == 4/8 // 7: nocrc: 0 == with crc, 1 == without crc // 15..8: Implicit header control: 0 ==> none, 1..0xFF ==> length in bytes. typedef u2_t rps_t; TYPEDEF_xref2rps_t; enum { ILLEGAL_RPS = 0xFF }; // Global maximum frame length enum { STD_PREAMBLE_LEN = 8 }; enum { MAX_LEN_FRAME = LMIC_MAX_FRAME_LENGTH }; enum { LEN_DEVNONCE = 2 }; enum { LEN_ARTNONCE = 3 }; enum { LEN_NETID = 3 }; enum { DELAY_JACC1 = 5 }; // in secs enum { DELAY_DNW1 = 1 }; // in secs down window #1 enum { DELAY_EXTDNW2 = 1 }; // in secs enum { DELAY_JACC2 = DELAY_JACC1+(int)DELAY_EXTDNW2 }; // in secs enum { DELAY_DNW2 = DELAY_DNW1 +(int)DELAY_EXTDNW2 }; // in secs down window #1 enum { BCN_INTV_exp = 7 }; enum { BCN_INTV_sec = 1
@emiliotec5329
@emiliotec5329 3 жыл бұрын
2) // post conditions from this block: symbols used by general code that is not // ostensiblly region-specific. // DR_DFLTMIN must be defined as a suitable substititute value if we get a bogus DR // It is misnamed, it should be the maximum DR (which is the minimum SF) for // 125 kHz. // DR_PAGE is used only for a non-supported debug system, but should be defined. // CHNL_DNW2 is the channel to be used for RX2 // FREQ_DNW2 is the frequency to be used for RX2 // DR_DNW2 is the data-rate to be used for RX2 // // The Class B stuff is untested and definitely wrong in parts for LoRaWAN 1.02 // CHNL_PING is the channel to be used for pinging. // FREQ_PING is the default ping channel frequency // DR_PING is the data-rate to be used for pings. // CHNL_BCN is the channel to be used for the beacon (or perhaps the start chan) // FREQ_BCN is the frequency to be used for the beacon // DR_BCN is the datarate to be used for the beacon // AIRTIME_BCN is the airtime for the beacon #if defined(CFG_eu868) // ============================================== #include "lorabase_eu868.h" // per 2.1.3: not implemented #define LMIC_ENABLE_TxParamSetupReq 0 enum { DR_DFLTMIN = EU868_DR_SF7 }; // DR5 // DR_PAGE is a debugging parameter enum { DR_PAGE = DR_PAGE_EU868 }; //enum { CHNL_PING = 5 }; enum { FREQ_PING = EU868_F6 }; // default ping freq enum { DR_PING = EU868_DR_SF9 }; // default ping DR //enum { CHNL_DNW2 = 5 }; enum { FREQ_DNW2 = EU868_F6 }; enum { DR_DNW2 = EU868_DR_SF12 }; enum { CHNL_BCN = 5 }; enum { FREQ_BCN = EU868_F6 }; enum { DR_BCN = EU868_DR_SF9 }; enum { AIRTIME_BCN = 144384 }; // micros enum { LMIC_REGION_EIRP = EU868_LMIC_REGION_EIRP }; // region uses EIRP enum { // Beacon frame format EU SF9 OFF_BCN_NETID = 0, OFF_BCN_TIME = 3, OFF_BCN_CRC1 = 7, OFF_BCN_INFO = 8, OFF_BCN_LAT = 9, OFF_BCN_LON = 12, OFF_BCN_CRC2 = 15, LEN_BCN = 17 }; // for backwards compatibility. This must match _dr_eu868_t # if LMIC_DR_LEGACY enum _dr_configured_t { DR_SF12 = EU868_DR_SF12, DR_SF11 = EU868_DR_SF11, DR_SF10 = EU868_DR_SF10, DR_SF9 = EU868_DR_SF9, DR_SF8 = EU868_DR_SF8, DR_SF7 = EU868_DR_SF7, DR_SF7B = EU868_DR_SF7B, DR_FSK = EU868_DR_FSK, DR_NONE = EU868_DR_NONE }; # endif // LMIC_DR_LEGACY #elif defined(CFG_us915) // ========================================= #include "lorabase_us915.h" // per 2.2.3: not implemented #define LMIC_ENABLE_TxParamSetupReq 0 enum { DR_DFLTMIN = US915_DR_SF7 }; // DR5 // DR_PAGE is a debugging parameter; it must be defined but it has no use in arduino-lmic enum { DR_PAGE = DR_PAGE_US915 }; //enum { CHNL_PING = 0 }; // used only for default init of state (follows beacon - rotating) enum { FREQ_PING = US915_500kHz_DNFBASE + 0*US915_500kHz_DNFSTEP }; // default ping freq enum { DR_PING = US915_DR_SF10CR }; // default ping DR //enum { CHNL_DNW2 = 0 }; enum { FREQ_DNW2 = US915_500kHz_DNFBASE + 0*US915_500kHz_DNFSTEP }; enum { DR_DNW2 = US915_DR_SF12CR }; enum { CHNL_BCN = 0 }; // used only for default init of state (rotating beacon scheme) enum { DR_BCN = US915_DR_SF12CR }; // TODO(tmm@mcci.com): check this, as beacon DR was SF10 in IBM code. enum { AIRTIME_BCN = 72192 }; // micros enum { LMIC_REGION_EIRP = US915_LMIC_REGION_EIRP }; // region uses EIRP enum { // Beacon frame format US SF10 OFF_BCN_NETID = 0, OFF_BCN_TIME = 3, OFF_BCN_CRC1 = 7, OFF_BCN_INFO = 9, OFF_BCN_LAT = 10, OFF_BCN_LON = 13, OFF_BCN_RFU1 = 16, OFF_BCN_CRC2 = 17, LEN_BCN = 19 }; # if LMIC_DR_LEGACY enum _dr_configured_t { DR_SF10 = US915_DR_SF10, DR_SF9 = US915_DR_SF9, DR_SF8 = US915_DR_SF8, DR_SF7 = US915_DR_SF7, DR_SF8C = US915_DR_SF8C, DR_NONE = US915_DR_NONE, DR_SF12CR = US915_DR_SF12CR, DR_SF11CR = US915_DR_SF11CR, DR_SF10CR = US915_DR_SF10CR, DR_SF9CR = US915_DR_SF9CR, DR_SF8CR = US915_DR_SF8CR, DR_SF7CR = US915_DR_SF7CR }; # endif // LMIC_DR_LEGACY #elif defined(CFG_au915) // ========================================= #include "lorabase_au915.h" // per 2.5.3: must be implemented #define LMIC_ENABLE_TxParamSetupReq 1 enum { DR_DFLTMIN = AU915_DR_SF7 }; // DR5 // DR_PAGE is a debugging parameter; it must be defined but it has no use in arduino-lmic enum { DR_PAGE = DR_PAGE_AU915 }; //enum { CHNL_PING = 0 }; // used only for default init of state (follows beacon - rotating) enum { FREQ_PING = AU915_500kHz_DNFBASE + 0*AU915_500kHz_DNFSTEP }; // default ping freq enum { DR_PING = AU915_DR_SF10CR }; // default ping DR //enum { CHNL_DNW2 = 0 }; enum { FREQ_DNW2 = AU915_500kHz_DNFBASE + 0*AU915_500kHz_DNFSTEP }; enum { DR_DNW2 = AU915_DR_SF12CR }; // DR8 enum { CHNL_BCN = 0 }; // used only for default init of state (rotating beacon scheme) enum { DR_BCN = AU915_DR_SF10CR }; enum { AIRTIME_BCN = 72192 }; // micros ... TODO(tmm@mcci.com) check. enum { LMIC_REGION_EIRP = AU915_LMIC_REGION_EIRP }; // region uses EIRP
@emiliotec5329
@emiliotec5329 3 жыл бұрын
3) enum { // Beacon frame format AU DR10/SF10 500kHz OFF_BCN_NETID = 0, OFF_BCN_TIME = 3, OFF_BCN_CRC1 = 7, OFF_BCN_INFO = 9, OFF_BCN_LAT = 10, OFF_BCN_LON = 13, OFF_BCN_RFU1 = 16, OFF_BCN_CRC2 = 17, LEN_BCN = 19 }; # if LMIC_DR_LEGACY enum _dr_configured_t { DR_SF12 = AU915_DR_SF12, DR_SF11 = AU915_DR_SF11, DR_SF10 = AU915_DR_SF10, DR_SF9 = AU915_DR_SF9, DR_SF8 = AU915_DR_SF8, DR_SF7 = AU915_DR_SF7, DR_SF8C = AU915_DR_SF8C, DR_NONE = AU915_DR_NONE, DR_SF12CR = AU915_DR_SF12CR, DR_SF11CR = AU915_DR_SF11CR, DR_SF10CR = AU915_DR_SF10CR, DR_SF9CR = AU915_DR_SF9CR, DR_SF8CR = AU915_DR_SF8CR, DR_SF7CR = AU915_DR_SF7CR }; # endif // LMIC_DR_LEGACY #elif defined(CFG_as923) // ============================================== #include "lorabase_as923.h" // per 2.7.3: must be implemented #define LMIC_ENABLE_TxParamSetupReq 1 enum { DR_DFLTMIN = AS923_DR_SF10 }; // DR2 // DR_PAGE is a debugging parameter enum { DR_PAGE = DR_PAGE_AS923 }; enum { FREQ_PING = AS923_F2 }; // default ping freq enum { DR_PING = AS923_DR_SF9 }; // default ping DR: DR3 enum { FREQ_DNW2 = AS923_FDOWN }; enum { DR_DNW2 = AS923_DR_SF10 }; enum { CHNL_BCN = 5 }; enum { FREQ_BCN = AS923_FBCN }; enum { DR_BCN = AS923_DR_SF9 }; enum { AIRTIME_BCN = 144384 }; // micros enum { LMIC_REGION_EIRP = AS923_LMIC_REGION_EIRP }; // region uses EIRP enum { // Beacon frame format AS SF9 OFF_BCN_NETID = 0, OFF_BCN_TIME = 2, OFF_BCN_CRC1 = 6, OFF_BCN_INFO = 8, OFF_BCN_LAT = 9, OFF_BCN_LON = 12, OFF_BCN_CRC2 = 15, LEN_BCN = 17 }; # if LMIC_DR_LEGACY enum _dr_configured_t { DR_SF12 = AS923_DR_SF12, DR_SF11 = AS923_DR_SF11, DR_SF10 = AS923_DR_SF10, DR_SF9 = AS923_DR_SF9, DR_SF8 = AS923_DR_SF8, DR_SF7 = AS923_DR_SF7, DR_SF7B = AS923_DR_SF7B, DR_FSK = AS923_DR_FSK, DR_NONE = AS923_DR_NONE }; # endif // LMIC_DR_LEGACY #elif defined(CFG_kr920) // ============================================== #include "lorabase_kr920.h" // per 2.8.3 (1.0.3 2.9.3): is not implemented #define LMIC_ENABLE_TxParamSetupReq 0 enum { DR_DFLTMIN = KR920_DR_SF12 }; // DR2 // DR_PAGE is a debugging parameter enum { DR_PAGE = DR_PAGE_KR920 }; enum { FREQ_PING = KR920_FBCN }; // default ping freq enum { DR_PING = KR920_DR_SF9 }; // default ping DR: DR3 enum { FREQ_DNW2 = KR920_FDOWN }; enum { DR_DNW2 = KR920_DR_SF12 }; enum { CHNL_BCN = 11 }; enum { FREQ_BCN = KR920_FBCN }; enum { DR_BCN = KR920_DR_SF9 }; enum { AIRTIME_BCN = 144384 }; // micros enum { LMIC_REGION_EIRP = KR920_LMIC_REGION_EIRP }; // region uses EIRP enum { // Beacon frame format KR SF9 OFF_BCN_NETID = 0, OFF_BCN_TIME = 2, OFF_BCN_CRC1 = 6, OFF_BCN_INFO = 8, OFF_BCN_LAT = 9, OFF_BCN_LON = 12, OFF_BCN_CRC2 = 15, LEN_BCN = 17 }; # if LMIC_DR_LEGACY enum _dr_configured_t { DR_SF12 = KR920_DR_SF12, DR_SF11 = KR920_DR_SF11, DR_SF10 = KR920_DR_SF10, DR_SF9 = KR920_DR_SF9, DR_SF8 = KR920_DR_SF8, DR_SF7 = KR920_DR_SF7, DR_NONE = KR920_DR_NONE }; # endif // LMIC_DR_LEGACY #elif defined(CFG_in866) // ============================================== #include "lorabase_in866.h" // per 2.9.3: not implemented #define LMIC_ENABLE_TxParamSetupReq 0 enum { DR_DFLTMIN = IN866_DR_SF7 }; // DR5 enum { DR_PAGE = DR_PAGE_IN866 }; // DR_PAGE is a debugging parameter enum { FREQ_PING = IN866_FB }; // default ping freq enum { DR_PING = IN866_DR_SF8 }; // default ping DR enum { FREQ_DNW2 = IN866_FB }; enum { DR_DNW2 = IN866_DR_SF10 }; enum { CHNL_BCN = 5 }; enum { FREQ_BCN = IN866_FB }; enum { DR_BCN = IN866_DR_SF8 }; enum { AIRTIME_BCN = 144384 }; // micros enum { LMIC_REGION_EIRP = IN866_LMIC_REGION_EIRP }; // region uses EIRP
@emiliotec5329
@emiliotec5329 3 жыл бұрын
4) enum { // Beacon frame format IN SF9 OFF_BCN_NETID = 0, OFF_BCN_TIME = 1, OFF_BCN_CRC1 = 5, OFF_BCN_INFO = 7, OFF_BCN_LAT = 8, OFF_BCN_LON = 11, OFF_BCN_CRC2 = 17, LEN_BCN = 19 }; # if LMIC_DR_LEGACY enum _dr_configured_t { DR_SF12 = IN866_DR_SF12, // DR0 DR_SF11 = IN866_DR_SF11, // DR1 DR_SF10 = IN866_DR_SF10, // DR2 DR_SF9 = IN866_DR_SF9, // DR3 DR_SF8 = IN866_DR_SF8, // DR4 DR_SF7 = IN866_DR_SF7, // DR5 DR_FSK = IN866_DR_FSK, // DR7 DR_NONE = IN866_DR_NONE }; # endif // LMIC_DR_LEGACY #else # error Unsupported configuration setting #endif // =================================================== enum { // Join Request frame format OFF_JR_HDR = 0, OFF_JR_ARTEUI = 1, OFF_JR_DEVEUI = 9, OFF_JR_DEVNONCE = 17, OFF_JR_MIC = 19, LEN_JR = 23 }; enum { // Join Accept frame format OFF_JA_HDR = 0, OFF_JA_ARTNONCE = 1, OFF_JA_NETID = 4, OFF_JA_DEVADDR = 7, OFF_JA_RFU = 11, OFF_JA_DLSET = 11, OFF_JA_RXDLY = 12, OFF_CFLIST = 13, LEN_JA = 17, LEN_JAEXT = 17+16 }; enum { // JoinAccept CFList types LORAWAN_JoinAccept_CFListType_FREQUENCIES = 0, ///< the CFList contains 5 frequencies LORAWAN_JoinAccept_CFListType_MASK = 1, ///< the CFList contains channel-mask data }; enum { // Data frame format OFF_DAT_HDR = 0, OFF_DAT_ADDR = 1, OFF_DAT_FCT = 5, OFF_DAT_SEQNO = 6, OFF_DAT_OPTS = 8, }; enum { MAX_LEN_PAYLOAD = MAX_LEN_FRAME-(int)OFF_DAT_OPTS-4 }; enum { // Bitfields in frame format octet HDR_FTYPE = 0xE0, HDR_RFU = 0x1C, HDR_MAJOR = 0x03 }; enum { HDR_FTYPE_DNFLAG = 0x20 }; // flags DN frame except for HDR_FTYPE_PROP enum { // Values of frame type bit field HDR_FTYPE_JREQ = 0x00, HDR_FTYPE_JACC = 0x20, HDR_FTYPE_DAUP = 0x40, // data (unconfirmed) up HDR_FTYPE_DADN = 0x60, // data (unconfirmed) dn HDR_FTYPE_DCUP = 0x80, // data confirmed up HDR_FTYPE_DCDN = 0xA0, // data confirmed dn HDR_FTYPE_PROP = 0xE0 }; enum { HDR_MAJOR_V1 = 0x00, }; enum { // Bitfields in frame control octet FCT_ADREN = 0x80, FCT_ADRACKReq = 0x40, FCT_ACK = 0x20, FCT_MORE = 0x10, // also in DN direction: Class B indicator FCT_OPTLEN = 0x0F, }; enum { // In UP direction: signals class B enabled FCT_CLASSB = FCT_MORE }; enum { LWAN_FCtrl_FOptsLen_MAX = 0x0Fu, // maximum size of embedded MAC commands }; enum { NWKID_MASK = (int)0xFE000000, NWKID_BITS = 7 }; // MAC uplink commands downwlink too enum { // Class A MCMD_LinkCheckReq = 0x02, // - MCMD_LinkADRAns = 0x03, // u1:7-3:RFU, 3/2/1: pow/DR/Ch ACK MCMD_DutyCycleAns = 0x04, // - MCMD_RXParamSetupAns = 0x05, // u1:7-2:RFU 1/0:datarate/channel ack MCMD_DevStatusAns = 0x06, // u1:battery 0,1-254,255=?, u1:7-6:RFU,5-0:margin(-32..31) MCMD_NewChannelAns = 0x07, // u1: 7-2=RFU, 1/0:DR/freq ACK MCMD_RXTimingSetupAns = 0x08, // - MCMD_TxParamSetupAns = 0x09, // - MCMD_DlChannelAns = 0x0A, // u1: [7-2]:RFU 1:exists 0:OK MCMD_DeviceTimeReq = 0x0D, // - // Class B MCMD_PingSlotInfoReq = 0x10, // u1: 7=RFU, 6-4:interval, 3-0:datarate MCMD_PingSlotChannelAns = 0x11, // u1: 7-1:RFU, 0:freq ok MCMD_BeaconInfoReq = 0x12, // - (DEPRECATED) MCMD_BeaconFreqAns = 0x13, // u1: 7-1:RFU, 0:freq ok };
@emiliotec5329
@emiliotec5329 3 жыл бұрын
5) // MAC downlink commands enum { // Class A MCMD_LinkCheckAns = 0x02, // u1:margin 0-254,255=unknown margin / u1:gwcnt LinkCheckReq MCMD_LinkADRReq = 0x03, // u1:DR/TXPow, u2:chmask, u1:chpage/repeat MCMD_DutyCycleReq = 0x04, // u1:255 dead [7-4]:RFU, [3-0]:cap 2^-k MCMD_RXParamSetupReq = 0x05, // u1:7-4:RFU/3-0:datarate, u3:freq MCMD_DevStatusReq = 0x06, // - MCMD_NewChannelReq = 0x07, // u1:chidx, u3:freq, u1:DRrange MCMD_RXTimingSetupReq = 0x08, // u1: [7-4]:RFU [3-0]: Delay 1-15s (0 => 1) MCMD_TxParamSetupReq = 0x09, // u1: [7-6]:RFU [5:4]: dl dwell/ul dwell [3:0] max EIRP MCMD_DlChannelReq = 0x0A, // u1: channel, u3: frequency MCMD_DeviceTimeAns = 0x0D, // u4: seconds since epoch, u1: fractional second // Class B MCMD_PingSlotInfoAns = 0x10, // - MCMD_PingSlotChannelReq = 0x11, // u3: freq, u1:dr [7-4]:RFU [3:0]:datarate MCMD_BeaconTimingAns = 0x12, // u2: delay(in TUNIT millis), u1:channel (DEPRECATED) MCMD_BeaconFreqReq = 0x13, // u3: freq }; enum { MCMD_BeaconTimingAns_TUNIT = 30 // time unit of delay value in millis }; enum { MCMD_LinkADRAns_RFU = 0xF8, // RFU bits MCMD_LinkADRAns_PowerACK = 0x04, // 0=not supported power level MCMD_LinkADRAns_DataRateACK = 0x02, // 0=unknown data rate MCMD_LinkADRAns_ChannelACK = 0x01, // 0=unknown channel enabled }; enum { MCMD_RXParamSetupAns_RFU = 0xF8, // RFU bits MCMD_RXParamSetupAns_RX1DrOffsetAck = 0x04, // 0=dr2 not allowed MCMD_RXParamSetupAns_RX2DataRateACK = 0x02, // 0=unknown data rate MCMD_RXParamSetupAns_ChannelACK = 0x01, // 0=unknown channel enabled }; enum { MCMD_NewChannelAns_RFU = 0xFC, // RFU bits MCMD_NewChannelAns_DataRateACK = 0x02, // 0=unknown data rate MCMD_NewChannelAns_ChannelACK = 0x01, // 0=rejected channel frequency }; enum { MCMD_RXTimingSetupReq_RFU = 0xF0, // RFU bits MCMD_RXTimingSetupReq_Delay = 0x0F, // delay in secs, 1..15; 0 is mapped to 1. }; enum { MCMD_DlChannelAns_RFU = 0xFC, // RFU bits MCMD_DlChannelAns_FreqACK = 0x02, // 0 = uplink frequency not defined for this channel MCMD_DlChannelAns_ChannelACK = 0x01, // 0 = rejected channel freq }; enum { MCMD_PingSlotFreqAns_RFU = 0xFC, MCMD_PingSlotFreqAns_DataRateACK = 0x02, MCMD_PingSlotFreqAns_ChannelACK = 0x01, }; enum { MCMD_DEVS_EXT_POWER = 0x00, // external power supply MCMD_DEVS_BATT_MIN = 0x01, // min battery value MCMD_DEVS_BATT_MAX = 0xFE, // max battery value MCMD_DEVS_BATT_NOINFO = 0xFF, // unknown battery level }; // Bit fields byte#3 of MCMD_LinkADRReq payload enum { MCMD_LinkADRReq_Redundancy_RFU = 0x80, MCMD_LinkADRReq_Redundancy_ChMaskCntl_MASK= 0x70, MCMD_LinkADRReq_Redundancy_NbTrans_MASK = 0x0F, MCMD_LinkADRReq_ChMaskCntl_EULIKE_DIRECT = 0x00, // direct masking for EU MCMD_LinkADRReq_ChMaskCntl_EULIKE_ALL_ON = 0x60, // EU: enable everything. MCMD_LinkADRReq_ChMaskCntl_USLIKE_500K = 0x40, // mask is for the 8 us-like 500 kHz channels MCMD_LinkADRReq_ChMaskCntl_USLIKE_SPECIAL = 0x50, // first special for us-like MCMD_LinkADRReq_ChMaskCntl_USLIKE_BANK = 0x50, // special: bits are banks. MCMD_LinkADRReq_ChMaskCntl_USLIKE_125ON = 0x60, // special channel page enable, bits applied to 64..71 MCMD_LinkADRReq_ChMaskCntl_USLIKE_125OFF = 0x70, // special channel page: disble 125K, bits apply to 64..71 MCMD_LinkADRReq_ChMaskCntl_CN470_ALL_ON = 0x60, // turn all on for China. };
@rishabhlavhale3096
@rishabhlavhale3096 4 жыл бұрын
Awesome
@techiesms
@techiesms 4 жыл бұрын
Thanks 😊
@Ganesh_vadlavalli
@Ganesh_vadlavalli 4 жыл бұрын
Can we use wifi with this
@techiesms
@techiesms 4 жыл бұрын
LoRaWAN gateway has built in wifi
@Ganesh_vadlavalli
@Ganesh_vadlavalli 4 жыл бұрын
I wanted to use this as router can we use it
@Ganesh_vadlavalli
@Ganesh_vadlavalli 4 жыл бұрын
@@techiesms i wanted to use this as router can i use
@Vikas_Singh_Kushwaha
@Vikas_Singh_Kushwaha 4 жыл бұрын
Biggest mistake, very small antenna ! Use fibre glass antenna for gateway ! And atleast 3dbi antenna for nodes. Hardware is ohk it's not underpowered
@techiesms
@techiesms 4 жыл бұрын
Can you give me some links from where I can purchase these antennas in India
@Vikas_Singh_Kushwaha
@Vikas_Singh_Kushwaha 4 жыл бұрын
@@techiesms they available on Amazon and AliExpress or even mouser electronics (just make sure everything is 868Mhz only) For Gateway - glass fiber antenna of above 3dbi (868Mhz)m.aliexpress.com/item/33028205416.html?spm=a2g0n.productlist.0.0.55ec1af5OT1ozc&browser_id=7e4ebd09e0fb493d91b3e02dcabd998d&aff_trace_key=&aff_platform=msite&m_page_id=upomfddf1ccabdxk17505262852236ef36401c95a9&gclid=&_imgsrc_=ae01.alicdn.com%2Fkf%2FH50382b4ffa1f49f9a03d328173980327e.jpg_640x640Q90.jpg_.webp For sensor nodes - helical antenna of minimum 3dbi(868Mhz)m.aliexpress.com/item/4001036512505.html?spm=a2g0n.productlist.0.0.572a43dezcH5gy&browser_id=7e4ebd09e0fb493d91b3e02dcabd998d&aff_trace_key=&aff_platform=msite&m_page_id=1750524b36af4dcb86723ad1c194fc1837081312ea&gclid=&_imgsrc_=ae01.alicdn.com%2Fkf%2FHa76ef7b3b1574917b7979582cd00ca63Y.jpg_640x640Q90.jpg_.webp
@tarunsridhar1830
@tarunsridhar1830 4 жыл бұрын
Can't wait🤩
Getting Started with LoRa & testing Range in my City
12:39
techiesms
Рет қаралды 121 М.
Spongebob ate Michael Jackson 😱 #meme #spongebob #gmod
00:14
Mr. LoLo
Рет қаралды 10 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
#120 LoRa / LoRaWAN  Range World Record Attempt. Will I succeed?
20:30
Andreas Spiess
Рет қаралды 255 М.
Running Gemini AI on ESP32🔥🔥
12:45
techiesms
Рет қаралды 16 М.
LoraWAN: Extremely long range, low power wireless communication
6:28
#186 SMS over LoRa: Long distance SMS without 4G // Project
4:39
All you need to know about LoRaWAN, in 40 mins
36:52
Sylvain Montagny
Рет қаралды 24 М.
Introduction to LoRaWAN and The Things Network
10:48
Microsoft Developer
Рет қаралды 43 М.
Spongebob ate Michael Jackson 😱 #meme #spongebob #gmod
00:14
Mr. LoLo
Рет қаралды 10 МЛН