Transmitting an Alarm Signal with LoRa (600m)! || Improving my Garage Alarm System

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • Elektor offer: www.elektormag...
    Coupon Codes:
    Elektor GREEN - 1 Year - : greatscott50
    Elektor TRIAL (Gold) - 4 Months - : greatscott50t
    Elektor Book Store (50% off 2 books) - : greatscott50 ( www.elektor.co... )
    Previous video: • Essential Electronics ...
    DIY Light Barrier Alarm System video: • DIY Light Barrier Alar...
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    Support me for more videos: www.patreon.co...
    More project information (schematic, pictures, code.....) on instructables: www.instructab...
    Parts list (affiliate links):
    RFM95 Break-out Board - Bare PCB: www.elektor.co...
    RFM95 Ultra LoRa Transceiver Module (868/915 MHz): www.elektor.co...
    STM32 Nucleo L476RG Board: www.elektor.co...
    Dragino LG02 Dual Channels LoRa IoT Gateway: www.elektor.co...
    5V Buzzer: s.click.aliexp...
    MOSFET: s.click.aliexp...
    PCB Terminal: s.click.aliexp...
    10 ohm Resistor: s.click.aliexp...
    In this project I will show you how to build a small LoRa transmitter and receiver with the help of STM32 development boards and RFM95 LoRa modules. This LoRa System can basically transmit an alarm signal from my garage to my apartment wirelessly through the air. The transmitter and receiver feature a distance of around 600m to one another. Let's get started!
    Thanks to Elektor for sponsoring this video!
    Visit www.elektormag... to read their magazines and buy electronic components.
    Music:
    2011 Lookalike by Bartlebeats

Комментарии • 623

  • @LeoDDJ
    @LeoDDJ 4 года назад +404

    I would suggest adding a heartbeat feature to the code. So the transmitter always sends a "I'm still alive" packet every x seconds and when the receiver misses y amount of packets you know that the connection got broken

    • @dauf69
      @dauf69 4 года назад +31

      I like this idea. So simple yet quite important.

    • @SlyerFox666
      @SlyerFox666 4 года назад +4

      One of the limitations of lora is An average of 30 seconds uplink time on air per day per device and at most 10 downlink msgs per day including acks for confirmed uplinks. Maybe different in other countries but that's the practical limitations we have run into using this tech. An not to mention the number of hacking articles out there which as far as I'm aware are untraceable using lora but I'm not an expert. 👍

    • @GRBtutorials
      @GRBtutorials 4 года назад +38

      @@SlyerFox666 That's for LoRaWAN, not LoRa. You can use LoRa however you want, it's just a radio transmitting protocol. LoRaWAN is an international collaborative WAN (meaning it's not yours), which has a limited bandwidth, so they have to put restrictions in place.

    • @greatscottlab
      @greatscottlab  4 года назад +79

      Good idea😀

    • @SlyerFox666
      @SlyerFox666 4 года назад +9

      @@GRBtutorials Oh ok I didn't realise there was a difference thanks for the info 👍 I had to re watch the video again tho as I thought he was using the gateway via the WAN 😆

  • @hackeitos
    @hackeitos 4 года назад +230

    Plot twist: The guy breaking in is a channel's sub and you're showing them every time how your security system works

    • @Fractured_Code
      @Fractured_Code 4 года назад +36

      Stop breaking into his house sergio

    • @oniruddhoalam2039
      @oniruddhoalam2039 4 года назад +3

      lol

    • @jjoosshhb2193
      @jjoosshhb2193 4 года назад +1

      how do you know that

    • @_xwtk
      @_xwtk 4 года назад +2

      Oh yeah... I was thinking about that lol

    • @sahibasif
      @sahibasif Год назад

      He is getting paid, for their advantage.

  • @moritzl.8060
    @moritzl.8060 4 года назад +275

    So, he made a video on how exactly the alarm of his garage works. Sound like a great safety feature to me ;)

    • @ryanmalin
      @ryanmalin 4 года назад +73

      those idiots couldn't reverse engineer this of they had an eternity to figure it out. Most thrives are borderline fucking nitwits

    • @greatscottlab
      @greatscottlab  4 года назад +96

      You bet!

    • @colesherrill7472
      @colesherrill7472 4 года назад +38

      @@ryanmalin yeah and not to mention, any GOOD thief would be able to bypass these kinds of protections. I'm thinking hes not worried about the handful of good thiefs, but instead the plethora of shitbags.

    • @Ramog1000
      @Ramog1000 4 года назад +25

      @@colesherrill7472 I mean probably the good thiefs also wouldn't see any apeal in the stuff he stores there.

    • @blackferrets820
      @blackferrets820 4 года назад +2

      😆

  • @oskarpolanski3152
    @oskarpolanski3152 4 года назад +184

    Now when they trigger the alarm you run to the garage, and they rob your house.Perfect!

    • @beni5154
      @beni5154 4 года назад +3

      He lives in a flat.

    • @gauravraj9328
      @gauravraj9328 4 года назад +1

      Lol

    • @emmanuelr6698
      @emmanuelr6698 4 года назад +4

      Oh well, since the robber knows that his victim knows that he knows, he might in fact trigger the alarm to peacefully enter the garage. But, since the victim knows that too... My head hurts, need a beer.

  • @Cl0udWolf
    @Cl0udWolf 4 года назад +133

    Maybe install a camera that takes a picture when the alarm goes off?

    • @greatscottlab
      @greatscottlab  4 года назад +66

      Maybe next time

    • @lightningdev1
      @lightningdev1 4 года назад +80

      Maybe get a retractable floor that retracts when it senses someone with the alarm on and let's them fall in to a pool of lava 500 blocks under the garage?

    • @Wolfletech
      @Wolfletech 4 года назад

      Have the gateway recieve the camera image and send you an email with the situation.

    • @Cl0udWolf
      @Cl0udWolf 4 года назад +8

      Lightning FX just put a creeper in ur garage

    • @andrewkieran8942
      @andrewkieran8942 4 года назад +7

      @@greatscottlab > Maybe next time
      That's when we'll see you.

  • @freezex121
    @freezex121 4 года назад +69

    Nobody:
    Console: MEDLN WO?LD

    • @ayden282
      @ayden282 4 года назад +5

      Freezex121 that means hello world in german

    • @user-dp5fq4vc8m
      @user-dp5fq4vc8m 4 года назад +7

      @@ayden282 N....no.

    • @tobimai4843
      @tobimai4843 4 года назад +1

      @@ayden282 No it does not lol.
      "Hallo Welt" is Hello word

    •  4 года назад +1

      Ayden Pulles, heallo werld

    • @Hexalyse
      @Hexalyse 4 года назад +3

      Apparently some people do not understand humour, here. *facepalm*

  • @oniruddhoalam2039
    @oniruddhoalam2039 4 года назад +139

    Elector is giving 50 percent discount for a fifty years anniversary so does it mean that it will give 100 percent discount on its 100 yr anniversary.

    • @greatscottlab
      @greatscottlab  4 года назад +64

      Haha well, you will have to wait to find that out ;-)

    • @nareshkumarnaresh82423
      @nareshkumarnaresh82423 4 года назад +5

      Did they give 25% discount on their 25th anniversary

    • @littlechestnutorchard
      @littlechestnutorchard 4 года назад +9

      I renewed my 41st years of Elektor subscription a month ago and obviously missed that great discount offer, but one thing is sure I will never be able to catch the 100th year anniversary ☹

    • @Shenron557
      @Shenron557 4 года назад +15

      How about 150th anniversary? We get money back? 😂

    • @ElektorTV
      @ElektorTV 4 года назад +2

      @@littlechestnutorchard 41 years!?! Amazing!

  • @wunderwaffeyt4077
    @wunderwaffeyt4077 4 года назад +52

    5:16
    HELLO WORLD
    HELLO WORLD
    HELLO WORLD
    *MEDLIN WORLD*

    • @thomasandrews9355
      @thomasandrews9355 4 года назад +4

      Could benefit from crc8 and retries

    • @GRBtutorials
      @GRBtutorials 4 года назад +6

      MEDLN WOR⸮D*

    • @HebaruSan
      @HebaruSan 4 года назад +6

      MEDLN WO⸮LD**

    • @yepo
      @yepo 4 года назад +1

      Needs error correction / checksumming

  • @MichalKottman
    @MichalKottman 4 года назад +63

    The "see you next time!" is getting more enthusiastic every video 🙂

    • @ronen124
      @ronen124 4 года назад +3

      yes, it is nice to hear 😊👍

    • @scratchpad7954
      @scratchpad7954 2 года назад

      I agree, and he always seems to caption it ever so slightly wrong. It often reads "Stay creative and I will see you next time." Given the ever enthusiastic tonal inflections, the sentence should definitely be punctuated with an ! versus a ..

  • @christiannielsen3863
    @christiannielsen3863 4 года назад +25

    Forget the alarm if its 600 meters away. You need to make an instant garage door closer to catch the burglar. Try to collap with Colin Furze :)

    • @boblewis5558
      @boblewis5558 4 года назад +5

      If he collaborates with Mr Furze on something like that, his garage will end up with the back end of a JCB (BacHo for US types) rigged to slice the guy's head off or at the very least pin him down until you get home - preferably after a fortnight's holiday! LOL

    • @advisedpotato8983
      @advisedpotato8983 4 года назад +2

      Bob Lewis Colin will probably use a v8 engine as the motor that opens/closes the garage door.

  • @bctechmalayalam5391
    @bctechmalayalam5391 4 года назад +56

    "Not only but also" is your favorite 😊

    • @nazartholakkara4535
      @nazartholakkara4535 4 года назад

      Malayaly watching greatscott's video amazing💕😍

    • @dhekshith4113
      @dhekshith4113 4 года назад

      Malayali chettan 😘😘😘

    • @mubaraquecp6012
      @mubaraquecp6012 4 года назад

      I wondering if Great Scot know what is Malayali..😇 If u know...plz reply here Great Scott😃

  • @thomasandrews9355
    @thomasandrews9355 4 года назад +26

    You need to implement checksum and retry into this as you clearly had issues with invalid data.

    • @jamesdavis2027
      @jamesdavis2027 4 года назад +2

      For anyone not sure what those are, check out ben eater’s yt channel

    • @nityodaytekchandani701
      @nityodaytekchandani701 4 года назад

      @@jamesdavis2027 thnx

    • @Piktogrammdd1234
      @Piktogrammdd1234 4 года назад +4

      The LoRa Modems are implementing checksumming on lower protocol levels. That's usually not a problem. The Problem is, Scott ignores the higher levels (encryption and verification).

    • @someguy4915
      @someguy4915 4 года назад

      Not really, he just sends the same code multiple times, checksum won't fix anything here it will only make the receiver aware of corrupt data. The receiver already does this where if the received data is not the alarm trigger code, the data is corrupt...
      In a more complex system you would absolutely want checksum or even ecc features but here it wouldn't serve a purpose.

  •  4 года назад +8

    5:15 „we can see, that the receiver gets successfully the messages“, the console: „MEDLN WO?LD“.
    That was successful.

  • @BlackXeno
    @BlackXeno 4 года назад +9

    That moment in which you realize Elektor break-in in his garage to have an excuse for sending sponsored material.

  • @juststeve5542
    @juststeve5542 4 года назад +12

    FYI - Arduino pro mini's are available that run at 8Mhz on 3.3v.
    Although in my experience, you can run an ATmega328 at 16Mhz on 3.3v without an any problem (even if it is out of spec).
    The Jeenode V6 has been doing this for years precisely so it can run an onboard RFM radio module.

    • @kand198
      @kand198 4 года назад +1

      Yeah running on 3.3V is barely an advantage - at the very least you can just use a voltage divider.

    • @Jbrimbelibap
      @Jbrimbelibap Год назад +1

      Or maybe you use an ESP instead of crappy arduinos

  • @ALPHATHEREAL
    @ALPHATHEREAL 4 года назад +9

    You videos are great!. Your way of teaching has been a great inspiration for me to do many things. Thank you. Keep it up!👍

    • @rajkumarm2868
      @rajkumarm2868 4 года назад +5

      Inspire you to do what?

    • @ALPHATHEREAL
      @ALPHATHEREAL 4 года назад +6

      @@rajkumarm2868 As I said Many things 😉. To start my own channel for example.

    • @m.selvamantony6136
      @m.selvamantony6136 4 года назад

      Wait your channel is not about electronics 🤔

    • @ALPHATHEREAL
      @ALPHATHEREAL 4 года назад +6

      @@m.selvamantony6136 It is about Knowledge. For now I haven't covered electronics,I have covered other scientific topics for now. I will in the future. Is it wrong to take inspiration from good RUclipsrs?

  • @leonardodicappuccino8144
    @leonardodicappuccino8144 4 года назад +13

    Only germans understand the joke: "Wie viel Kapazität hat der Kondensator?",
    "Das FARAD ich dir nicht".

    • @LolLol-ih5je
      @LolLol-ih5je 4 года назад +1

      Den hab ich noch nicht gehört

  • @dj_paultuk7052
    @dj_paultuk7052 4 года назад +6

    I have a really good alarm on my garage door. A Cattle Grid charger activated by remote. Anyone that touches that garage door will soon let go !.

  • @duncyy7471
    @duncyy7471 4 года назад +25

    The next time someone breaks in without you knowing, at least you know it's a viewer of the channel.
    Completely unrelated question, what is your adres?

    • @Kowalski273
      @Kowalski273 4 года назад +3

      Are you asking for a friend?

    • @duncyy7471
      @duncyy7471 4 года назад

      @@Kowalski273 maybe....

  • @kewakl8891
    @kewakl8891 4 года назад +1

    Some places in the video, your device ID is 8642 (05:54) other places it is 8624 (09:19).

  • @dogwalker666
    @dogwalker666 4 года назад +8

    I used to read Elector when I was a kid I had no idea it still existed.
    In the UK any of transmitter that can transmit over 100 Meters requires a license.

    • @General-vi3zh
      @General-vi3zh 4 года назад +2

      The charm of LoRa ist that its not "visible" in the air. It's signal is hidden under the cosmic noise. So you dont't have to worfy about that

    • @dogwalker666
      @dogwalker666 4 года назад +1

      @@General-vi3zh ahh naughty but clever.

    • @arnaud7671
      @arnaud7671 4 года назад +5

      I'm not sure about the 100m rule. It's probably a power limitation, not a distance limitation. Because with the right antenna you can totally connect to a vanilla WiFi network more than 100m away. And it work the same with LoRa , 433MHz hardware, or any other frequency. As long as the emitter respect the rated EIRP for the used frequency, you can improve the range by improving the sensitivity of the receiver.

    • @ElektorTV
      @ElektorTV 4 года назад +1

      We are happy you found Elektor again! We publish the magazine in English, Dutch, French, and German. Welcome back!

  • @abhinab100
    @abhinab100 4 года назад +1

    Hello.Great Scott.. please make a smart hand sanitizer dispenser . I request you to provide provision of rechargeable battery with battery indicator. I love the way you fabricate all your devices. Thank you sir for all your videos. So much to learn from you. Thank you again.😃😃

  • @Danixu86
    @Danixu86 4 года назад +1

    600 meters... when you go to you garage to see what happens, the thieves are already in their home :P

  • @ProjektHeld
    @ProjektHeld 4 года назад +2

    I like your simson 👌

  • @greenteckgreece5180
    @greenteckgreece5180 4 года назад +1

    What about making an automated garden which might sound ease but trust me it isnt.
    I am going to make my own hydroponic gardening system and i what an arduino measuring and creating a graf of the temperature and humidity of the rain shelter .
    Remember the peristaltic pumps you used for the cocktail machine?? Why not making a hydroponic system that is fully mixing and measuring the nutrient solution on its own as long as uploading the data to your phone so you can see if the solution has ended . I thing is a great idea and it will be very interesting for the viewers too. Tell me your opinion and have a nice day.

  • @olivermj69
    @olivermj69 4 года назад +1

    i think the Ard. DUE also is 3.3v, it is quite cheap and should also work

  • @JeSuisLeMecInutile
    @JeSuisLeMecInutile 4 года назад +1

    Ouch, what about security? Here you send a fixed message on every break-in. What happens if someone is able to block the transmission? Or someone could listen to what you send (or guess it by bruteforce) and just wake you up whenever they want.
    Something like a heartbeat (as said in top comment) which sends the hash of the timestamp (not at millisecond resolution though) + a secret salt should work much better. To make sure the salt is never found you should probably establish a protocol to change it regularly, but that starts to make the whole project a bit more difficult as you need to check data integrity in this salt-rotation protocol.
    If the connection breaks, you know it, and no one can block the initial transmitter and have their own transmit on the frequency because they don't know the secret salt.

  • @GRBtutorials
    @GRBtutorials 4 года назад +1

    Now he has a $300 alarm system with only a few basic features. Best buck for your bang! Though he probably paid only a small amount, as the expensive parts (mainly the Controllino, which is not exactly adequate for the purpose, it's like using a bazooka to kill a mosquito, but I guess he had no other use for it) were given to him for free, not to mention that even just the ad revenue of a single video most likely gives him more than enough to cover it.

  • @ryanmalin
    @ryanmalin 4 года назад +1

    some low life broke my truck window about 2 months ago to steal a $30 dash cam and a $20 microsd card. Sorry about the break in. Glad to see you're doing so well that the locals have noticed and they're jealous. I have a ton of haters now that I'm sucessful. Broke people mindset is toxic. They feel like a victim instead of the creator of their own world.

  • @nedosgez
    @nedosgez 4 года назад +1

    What happened after that robber broke into your garage? Did he/she stole anything or did you catch him?

  • @pacbreezy310
    @pacbreezy310 4 года назад +1

    😆 He gotta chill with the highlighters. 1 or 2 strokes is fine

  • @benjamincrall8065
    @benjamincrall8065 4 года назад +1

    I have run 16mhz arduino unos/nanos at 3.3v. They worked fine for me with no noticable issues.

  • @stevenarisnugroho8462
    @stevenarisnugroho8462 4 года назад +1

    hello sir. for next video, how about you try to make fuly function DIY ECU...

  • @electronic7979
    @electronic7979 4 года назад +1

    Very good project. I liked it

  • @jaishankarm5920
    @jaishankarm5920 4 года назад +3

    STM is a overkill, why should you use Arduino Pro mini(3.3 v) ?

    • @rofo88
      @rofo88 4 года назад +3

      you are right, a small Arduino would be enough

    • @dhekshith4113
      @dhekshith4113 4 года назад

      Stm32 has more speed...and we can write long long code so he can add extra features in the future...watch Great Scott's video on stm32(72mhz crystal )

    • @thesabre8458
      @thesabre8458 4 года назад +1

      Jaishankar M well, he was sent those by his sponsor...

  • @ShaunakDe
    @ShaunakDe 4 года назад +1

    Add a solenoid valve which can spray pepper solution to make the system active rather then passive?

  • @quoit99training83
    @quoit99training83 4 года назад +1

    Please please please do more videos (projects) with STM32 Nucleo boards. Thank you!

  • @Brutaltronics
    @Brutaltronics 4 года назад +2

    oh boii, i really wanna play around with those LoRa modules, but with my freakin country being shutdown i can't really buy anything from abroad. smh

  • @EthanSeville
    @EthanSeville 4 года назад +3

    Whats this a non JLC PCB sponsors :O

  • @crazypotatoperson
    @crazypotatoperson 4 года назад +2

    You have a buffer overflow in your receiver code which might cause your receiver to crash when receiving long message. You should probably add a check for the message length :)

  • @bekker8733
    @bekker8733 4 года назад +1

    Heavy Breathing between every sentence. Are u a heavy smoker?

    • @vinayakonimani7628
      @vinayakonimani7628 4 года назад

      Mai boi, u seem 2 be a puffmaster.... Do u even smoke your kitchen chimney?

  • @Stefan_Van_pellicom
    @Stefan_Van_pellicom 4 года назад +4

    “Elektuur” Loved it back then ...

    • @ElektorTV
      @ElektorTV 4 года назад +1

      Thank you! We have a great community of both new and long-time readers!

  • @marcel151
    @marcel151 4 года назад +1

    Heard about "The Things Network"? There are a lot of LoRaWAN gateways installed in Germany - maybe one of them reachable to your place - where you just need a node. The node sends signals to the gateway which will then upload data to the network and you can use it as you want.

    • @greatscottlab
      @greatscottlab  4 года назад

      Sadly there are no gateways in my area.

  • @ninaddeshmukh654
    @ninaddeshmukh654 4 года назад +1

    Looks like the thief is your subscriber 😂😂

  • @supernova86
    @supernova86 4 года назад +1

    In my experience, LoRaWAN is a pain in the ass to develop with... Limited number of transmissions a node can send makes it very difficult to debug things

    • @MisoNyah
      @MisoNyah 4 года назад

      US region is a lot better than EU. EU is so restrictive. Also, downlinks suck anyway for LoRaWAN 1.0.x

  • @danielsteger5467
    @danielsteger5467 4 года назад +1

    Can you make a high current dc motor controller

  • @szymonszewcjr
    @szymonszewcjr 4 года назад +1

    Do a video on mqtt home automation thingymajig

  • @samuelhulme8347
    @samuelhulme8347 4 года назад +2

    And then the receiver can send a message to your phone that the alarm went off!

  • @jamesdavis2027
    @jamesdavis2027 4 года назад +1

    Awesome vid! Not sure how you feel about english tips, especially since you’re pretty fluent, but I think a lot of times you use “got” when you could use “have” (2:58 10:16). No worries if this isn’t something helpful.

  • @Od3o_ela_sabil_rabek
    @Od3o_ela_sabil_rabek 4 года назад

    OK the project works but you need this project to send wireless signal for 600 meter (as you say in the beginning of this video that your home is 600 M far away from your garage) this doesn't make sense to me

  • @emilalmberg1096
    @emilalmberg1096 4 года назад +2

    I prefer you get sponsored by Elektor, instead of "other", about zillion times!

  • @m.a.s.engineeringgadgets4867
    @m.a.s.engineeringgadgets4867 4 года назад +1

    Also a GSM module would be cool, so you get a SMS to your phone in case you're not at home.

  • @budandbean1
    @budandbean1 4 года назад +1

    I really like this! I’d like the same type of thing for my mailbox, which is about 650’ (200m) away from the house. It such a waste of time to walk down to check the mail when there isn’t any... I’m sure it could work on a photo cell and battery to run the transmitter.

  • @eumesmo-kd1tr
    @eumesmo-kd1tr 4 года назад +1

    How can we get electron magazine world wide? Thanks

    • @ElektorTV
      @ElektorTV 4 года назад +1

      Absolutely. Elektor is global, with readers and members in dozens of countries. We publish in English, Dutch, French, and German. The GREEN membership referenced in the video description includes a digital membership!

  • @klemenpetrovcic3737
    @klemenpetrovcic3737 4 года назад +3

    I actually have a TTIG gateway, that I haven't played with yet. Didn't know you could program STM devices in Arduino IDE. Great video.

    • @noweare1
      @noweare1 4 года назад

      STM has written an Arduino core for pretty much all their micros. Been out for about a year or so. But actually they have their own system called stm32CubeIDE which is awesome and includes a debugger so better than using arduino IDE.

    • @The_Novo
      @The_Novo 4 года назад

      Also take a look on mbed.

  • @efa666
    @efa666 4 года назад +4

    Years ago my Dad rigged up a shotgun shell with the load removed as a sort of garage alarm, it worked really well.

  • @RapiBurrito
    @RapiBurrito 4 года назад +2

    Remember German robbers: Jam LoRa frequencies before breaking into his garage.

    • @jakecrowley6
      @jakecrowley6 4 года назад

      The LoRa transmitter is so low power that just holding the button down on a standard 433Mhz remote would probably block the signal. Especially at that distance.

    • @jakecrowley6
      @jakecrowley6 4 года назад

      As demonstrated in this video - ruclips.net/video/UlNkQJzw4oA/видео.html - such 433Mhz remotes can be purchase for very cheap ($2 in his case!) and completely drowned out the signal from the sensor..

  • @flames971
    @flames971 4 года назад +1

    you could use the Gateway and link it to TheThingsNetwork. This way the Garage can send you a Notification to your Phone...

  • @KentHambrock
    @KentHambrock 4 года назад +15

    I might actually need something like this for the place I'm moving to. The mailbox is way out of sight of the cabin on the property and since I use Amazon Prime quite heavily, I'm going to want to build a package locker(to prevent theft and weather damage) with a notification system that ideally doesn't require internet.

    • @thesabre8458
      @thesabre8458 4 года назад

      Bluetooth might be useful

    • @vatterger
      @vatterger 4 года назад +1

      @@thesabre8458 Bluetooth has a LOS range of ~300 meters, add trees and vegetation to that and you're dead in the water. LoRa in 433/868MHz is just the right thing for that. I used an RFM69 module (GFSK) for a drone and got ~600m through buildings and >2km in LOS. With an RFM96 (LoRa) you can easily reach 2km even under bad conditions because of the better modulation.

    • @The1tjc
      @The1tjc 4 года назад

      Check out Andreas Spiess’ RUclips channel specifically this video for his mailbox solution ruclips.net/video/WV_VumvI-0A/видео.html

  • @crckdns
    @crckdns 4 года назад +1

    Funfact: LoRa is also being used in the RC Community to control drones (fixed-wing, Quad/hexa, etc) for longrange flights (up to 10km) and also to have a stable RC link while flying behind buildings and trees :D

  • @Kitsu_no_mirai
    @Kitsu_no_mirai 4 года назад +4

    Is LoRa and NRF different?

    • @greatscottlab
      @greatscottlab  4 года назад +2

      Yes

    • @MisoNyah
      @MisoNyah 4 года назад

      LoRa is a modulation type, NRF is Nordic RF, known for Bluetooth etc (NRF51,52...)

  • @darkstatehk
    @darkstatehk 4 года назад

    You must install a *SECURITY FOG SYSTEM* AKA Disco smoke machine on adrenaline. Search youtube for security fog / security fog machines. Some impressive systems out there. I made one for my garage (which had been broken into twice). Another attempt was made to break in my garage after I had installed this system, but this time NOTHING was stolen and that was now 4 years ago and still protecting my stuff.

  • @-_-boring340
    @-_-boring340 4 года назад +1

    Kann er du bitte wieder ein Video auf deutsch machen

  • @Azagro
    @Azagro 4 года назад

    Becareful with transmitting above 14 dBm, since that's the maximum allowable uplink power in Europe. Everything above is deemed "illegal".

  • @MrBrelindm
    @MrBrelindm 4 года назад +1

    I would've started with the antenna system. Since you have just one garage and one home it makes sense to utilize a beam forming antenna system between the two. This is an easy way to comply with legal maximum broadcast power requirements.
    Assuming the radio frequencies involved are in the 900Mhz band, the size of the required antennas is acceptably small and would not run afoul of HOA rules or other local regulations.
    High gain antennas with tight beam patterns raise the effective radiated power without breaching broadcast power requirements.
    I once rebuilt an 11 element left hand circular polarized antenna for the 2 meter amateur band. It had a gain of 22dbm and a beam divergence of 7°. I used it to talk with stations all up and down the eastern seaboard from southeastern Michigan on just 2 watts of power!
    I had started out using 12 watts input but had to dial it back after my next door neighbor knocked on my door to tell me that he and his wife could hear my side of my conversations through their television's speakers, and they weren't even watching television at the time!

    • @noweare1
      @noweare1 4 года назад

      LOL, awesome

  • @Willy_Tepes
    @Willy_Tepes 4 года назад

    I am working on a small drone and need a very small camera like the ones found in cell phones. I want to interface a MIPI camera to my teensy 4.0 but am having a hard time understanding what is required of hardware for this project. I would like to save video to an onboard SD-card and also stream it via a 5,8GHz transmitter. Please help me out if you know anything about this.
    As my drone project has very strict size requirements any pcb I use must be less than 20 mm wide and no longer than 30-40 mm. None of the breakout boards I can find that use MIPI camera interface are that small.

  • @guywhoknows
    @guywhoknows 3 года назад

    Ah you missed some points with the hardware.
    If you installed the gateway and a app on your phone, then you could have pushed alarm notification to the phone, from the garage/gateway and appartment.
    I think that LoRa is not as widely used as the claims.
    Most people use mobile data or WiFi as the data rate and performance is low, but you can connect on a good day with ligh of sight. (Like almost all connections).
    It is for tiny data as i /they show a 53bit/s transfer speeds.
    And 56k modems are slow lol..

  • @RoelBaardman
    @RoelBaardman Год назад

    In the beginning of your video you can see that one of the "Hello world" strings arrives corrupted. Did you do anything to correct this?
    Otherwise the receiving side might ignore an alarm, because the code did not arrive uncorrupted. And you might miss an alarm.

  • @paulbehrens5842
    @paulbehrens5842 4 года назад +1

    The most engergetic closing ever!

  • @cypherf0x
    @cypherf0x 4 года назад +1

    600m? Be far more interesting with some high gain antennas at 1KM+

  • @wonderofu8073
    @wonderofu8073 4 года назад +1

    So cool

  • @-_-boring340
    @-_-boring340 4 года назад +1

    So cool

  • @wottiger5559
    @wottiger5559 4 года назад +1

    Du fährst Simson?
    Find ich gut. 👍

    • @vinayakonimani7628
      @vinayakonimani7628 4 года назад

      Hallo!
      Ich bin vinayak. Es Video ist groß, und gut. Danke.

  • @pahom2
    @pahom2 4 года назад

    Who is setting the receiver address? How can you be sure that a thief (an advanced maniac) wouldn't sniff the network, get the address and flood your communication channel with garbage noise limiting its ability to receive the actual alarm packet.

  • @DanielVoyles
    @DanielVoyles 4 года назад +1

    Wow, what was that "MEDLN WO?LD" console output at 5:15?

  • @myshoeisonfire
    @myshoeisonfire 4 года назад

    Mmmm cakeulations... Watching these videos is gonna make me fat!!!

  • @izzieb
    @izzieb 4 года назад +1

    I'm sorry to hear people keep breaking in. It makes for interesting content but sucks that you are continually being targeted.

    • @saranidas
      @saranidas 4 года назад

      Yeah maybe because he's posting an other video about his secret garage.. I guess someone watched this videos and know him or location. It's not that impossible. I would be more cautious in internet.

  • @rafaelcabelo6616
    @rafaelcabelo6616 4 года назад +1

    After all these years training, I still not able to get your high quality hand work at perforated boards.

    • @theodiscusgaming3909
      @theodiscusgaming3909 4 года назад

      With how cheap PCBs are these days, you're probably better off ordering one instead of making a circuit on a perfboard. Perfboards are a pain and you can't use SMD components on them.

  • @tornadokat
    @tornadokat 3 года назад +1

    LeoDJ made a great suggestion about a heartbeat. Having designed a LoRa alarm system myself, I second that and add voltage monitoring into the message so you can detect if the battery is getting low for some reason. Also to avoid the risk of a single transmission failing thus not triggering the alarm, I would like to suggest having the transmitter keep sending the alarm message until the receiver sends a message back that says "Hey I got your alarm message" and the transmitter then stops re-sending the message.

  • @juanandresmezzera9304
    @juanandresmezzera9304 4 года назад +1

    Hi! You could actually upload Arduino sketches to the dragino board instead of shell scripting. It may make the job easier if you plan to use it anytime in the future

  • @kamingcheng4830
    @kamingcheng4830 4 года назад

    Why still using Arduino IDE to program STM32? Why not using STM32Cude IDE instead?

  • @pinoylikes2408
    @pinoylikes2408 4 года назад

    Hi Great Scott . Hope you see my post. Can you make a video a depth calculation of one of your project?

  • @AndreLTR
    @AndreLTR 3 года назад

    Hello,
    Can the STM32, RFM95 and Draguino band be customized for another frequency range, for instance 920MHz? The 915MHz frequency is reserved thus it isn't available for public usage where I live. Thanks!

  • @fivizzano
    @fivizzano 4 года назад

    add a VERY RABID PITT BULL... once the thief is IN LOCK THE DOOR... enjoy the silence and bloodbath afterwards 😂☠️
    ( HEY ! its A JOKE ! ...)

  • @Piktogrammdd1234
    @Piktogrammdd1234 4 года назад

    Hi Scott,
    the LoRa.h library from sandeepmistry (Arduino LoRa.h) does not really implement the LoRa protocol stack. It uses the LoRa radio layer, but begins to divert on the next and all following protocol layers (PHY, MAC and APP). It would be nice, if you could use a syncword other than 0x34 (reserved for proper LoRa networks) use 0x12 instead (reference: Semtech SX1276 data sheet) or implement a proper LoRa Wan network (e.g. as part of "The Things Network").
    Also Arduino LoRa.h does not provide encryption and verification, so you connection is hackable.
    The Dragino "Gateway" you bought is not a real Gateway. It's two normal LoRa modems hacked together to emulate a minimum of gateway functionality.
    And a privacy hint: If your garage has a LoRa Device sending X-times a day, your garage can be triangulated.

  • @hasanraif8465
    @hasanraif8465 4 года назад +1

    I am wondering what will happen if someone used Jammer circuit

    • @vinayakonimani7628
      @vinayakonimani7628 4 года назад

      Dude, even I was thinking the same.... *still 🤔 *

  • @SumaGouriPannala
    @SumaGouriPannala 3 года назад

    Hi, can streaming video be transmitted wirelessly through LoRa or LoRaWAN? If yes, then which protocol - LoRa or LoRaWAN? Thanks

  • @billglass5160
    @billglass5160 Год назад

    How do you get 600M range with a wire antenna? I'm using a helocoidal antenna and I get 150M on an obstructed environment ( 5 houses on the xmit path)? Is your garage without obstructions? Maybe I should use a more sophisticated antenna with IPX connectors?

  • @jorditribo94
    @jorditribo94 4 года назад

    Ok, now you can integrate the STM32 microcontroller, the LoRa transceiver, the antenna and battery in a custom PCB made with JLCPCB. Ohhh and a 3D printed enclosure of course! And you program the micro with stm32cube IDE software in order to reduce the power consumption!!

  • @revathinadar532
    @revathinadar532 4 года назад

    Bro can u pls test the maximum range of Lora modules (Lora RA02).
    We never got the half of range defined by the Lora manufacturers.
    Getting range in Lora RA02 or any Lora modules is complicated.....

  • @DoBaMan77
    @DoBaMan77 Год назад

    Hi Scott, that is a really nice project. Do you think the Seeed will e5 can do the same? It got the LoRa module already on the same chip. Most difficult part is the stm32wle5j setup 😅 I mess this up all the time. Maybe I should try it with the arduino IDE instead of the stm IDE? Regards Dom

  • @PrajjalakChattopadhyay
    @PrajjalakChattopadhyay 4 года назад

    Your kids will never try to steal chocolates from your fridge.

  • @OJeyjunior
    @OJeyjunior Год назад

    next vid: So last weekend I woke up around 2 in the morning with my home invasion allarm and realized we hadn't set up a routine for invasion, so today we are going to build an AK-47 feturing the channel "I Did a Thing", we also called FPSRussia to test it against a store bought glock

  • @davider563
    @davider563 6 месяцев назад

    Are the capacitors that you included on the breakout board required? What pins of the rfm96 board are they connected to? I am trying to work with the same modules and am having a tough time so any help is appreciated!

  • @BarackObama090
    @BarackObama090 4 года назад

    ESP32 or ESP8266 instead of STM or Arduino boards and you have Lora, WiFi and/or Bluetooth all together. 3.3V and no need to use LoRa Gateways.

  • @jBurn_
    @jBurn_ 4 года назад

    if you really want to screw with the intruders brain just make the flashing frequency of your strobe random. Randomize the pause between each flash (40 ~ 200ms) and your vision is totally blocked. Your brain can't process this, you become almost disorientated.

  • @giorgosiotis1557
    @giorgosiotis1557 3 года назад

    Your videos are Perfect. I like your work also yur designsby hand on paper. I also madesame Lora module comunication with arduino Nano. Because of you experience can you describe at new videos more powerfull LORA systems for very long distances ??? Thank you very much.

  • @hakology
    @hakology 4 года назад +2

    keep up the good work mr scott ;)

    • @greatscottlab
      @greatscottlab  4 года назад +2

      Thanks, will do!

    • @big_o1952
      @big_o1952 4 года назад

      would you be shocked if i told you that his name IS NOT SCOTT

  • @himasimple8102
    @himasimple8102 4 года назад

    Hhhhh i dont have a garage so i am not worried that someone can steal my bike😂😂😂wait what

  • @techtechnicalgaming
    @techtechnicalgaming 9 месяцев назад

    Lora technology ☠️ if you are indian you know