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
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. 👍
@@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.
@@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 😆
@@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.
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 ..
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.
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?
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.
Please do more video about antenna and wireless communication! I really like to understand them for a long time but can't seem to comprehend it. You always make me learn something by practical use, and at the end of the days I always understand it as you always fill the gap from the theory that I've learn.
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
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 ☹
@@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?
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.
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).
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.
Even if it is lockdown everywhere, our classes are going on via online. It's because of your videos I could easily understand my physics class especially the resistors and capacitors. Thankyou so much.😀😀😀
I am literally assembling my semester project prototype right now which uses Lora SX1278 Modules. While looking for some troubleshooting help online I found out that you have just uploaded a video about Lora modules. Great Scott is a mind-reader now.
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.
I'm studying telecommunications engineering, and we use are learning how to use the nucleo 32 boards as well as studying different smarth city solutions (my hometown has a system of sensors based on LoRa). Great video!
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.
Around 30 years ago I put together an almost complete set of the first 100 issues of Elector magazine (in english). I was a member of the Hull And District Amateur Radio Society (HADARS) at the time. A few years later my sister came across them when she was "making space" and threw them away. I will go the Elector website to see what I have been missing.
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.
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.
The hub sounds like a cool secondary system you can add to improve it. First, using a SMS service, you could configure your system when it receives an alarm signal to notify your phone. This way, even if you're not at home, you still can be notified, and plus, that doubles as a time-stamping data logger, since you can look at your phones timestamp on the SMS for record.
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.
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.😃😃
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 :)
Good video, and i do like to add something you didn't mention. the restrictions when using LoRa, the configurations you mentioned in the video and you skipped them because they was kinda complicated, they exist not only to improve the transmission, but also to set up the limits which depends on the law (roles) set by the government. so you need to watch out from that, can't wait to see the upgraded version of this project, keep up the good work
Interesting, as always ! A bit of explanation could be added : LoRa is like the low side layer of OSI (close to hardware stuff) and LoRaWAN is an application layer that can link you to the Internet (providing a service). I saw that there is at least one free LoRaWAN service (The things network). So, you could actually link your alarm to the Internet through a close enough gateway. If there is no such gateway, then you might use the provided gateway and create a LoRaWAN node. That can explain why you were given the gateway.
Hey Scott here is a tip for you to make programming easier. Try using VSCode and the extension Platformio. You don't need to mess around with the crappy Arduino IDE. It also supports programming and debugging STM devices, ESPs, Arduinos and many more.
If I were to break into your apartment in the dark of night it would be to steal one thing: That HORRIBLE soldering iron! But I would leave in its place a nice adjustable soldering pen with a variety of small tips. I love your videos.
You could use the LoRa gateway to send a picture from within the garage to your phone when the alarm is triggered, which should help out against false positives. The bitrate on LoRa should be good for relatively low resolution image.
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!
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.
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.
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 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.
I'd suggest to add a message signing function, like crc, to avoid most of the errors. I read some comments about a hearbeat periodical message, i'd recommend using a hashing + salt protocol like salted SHA256. A thief could just do a replay attack and deactivate the alarm. Car keyfobs use a "rolling code" to avoid replay attacks, but i don't think it would be easy or useful in your application, better use hashing + salt. Cheers, and great video as always ;)
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
If you get the gateway working, you could have it set up so you get an email or text when the alarm is tripped, or even have a custom app on your phone that does alarm noises
Still too expensive to connect with it. I'll be better off with sd data collection and bluetooth current data view, and not be able to get notifications for swarming and putting data online.
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!!
The benefits of using lorawan you've missed are: Lorawan takes care of the max duty cycle and other non-frequency things you need to be aware of to operate legally, error detection etc, security and privacy. You don't need an internet connection for the gateway either. You can run the lorawan backend part locally.
Love your content! I know it's not DIY in the aspect of circuits, but you could always do a Ubiquiti PTP setup from your home to your garage. It could kill 2 birds with 1 stone, get you great internet connectivity at your garage which would in turn give you a good way to talk with your security system(moot now with your new LoRa sytem, but maybe live feeds of future security cameras?). I've used their NanoStation 5AC Loco 5GHZ radios a couple times now, and they are amazing @ $50/ea. With clear line of sight, I've gotten ~250-300Mbps up and down with Iperf testing. Just thought i'd throw the info out there, didn't know if you had been wanting to get your internet connection out there, but this is a really cost effective and relatively straightforward way to do it (there is a lot of documentation out there).
I want to share with you an idea. I make an alarm for my garage like you and I also added a Magnetic Lock, so in the night while sleeping, if there is an unauthorized attemp of opening it completely lock down and you can unlock only with lora signal. Day time the magnetic lock doesn't work so you can acces as always.
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:5810:16). No worries if this isn’t something helpful.
just a tip mate don't run straight to the garage when the alarm goes off, also it would be fun if you add FPV wireless 5.8GHz long range Video TX/RV . only a thought, however great video as always
Instead of sending when there is a unauthorized open, you should send continuously and stop, when theft is detected. This way you also detect malfunction and prevent jamming or power lost attacks. Also I would recomend a rolling key. To prevent replay attacks.
I don't think he's allowed to do that, in fact, with LoRa you can't do such thing, when you use ISM band you must follow the law. duty cycle and max tx power etc.
I have some experience with G-NiceRF 1276 modules which works quite nicely with Semtech LoRaWAN stack + ChirpStack. Oh, also did some SAM R34/35 project.
So happy to see that you gave up on the Gateway, i have one and its not easy to make it do what you want ...... I try to use it as LORA to MQTT no success so far.
I had a fiend, who had his basement door iron bars electrified. Supposedly under "mains" power. I remember him disconecting a hidden wire. He was the only one in the building, that did not get anything stolen xD Pretty effective i must say :D
Nice man! I have the same sort of setup for some boat slip lights since it’s too far for Wi-Fi. Used two nrf24 modules and an ESP12E so I can control them through my phone from anywhere
The most bad ass alarm, is the one that everyone understands and won't F with. Like a tesla coil arc warning speech, which counts down to initiate a lethal arc ... yup Good luck with that non-contact taser.... After-all > who wants to go "out to the garage to ward off a burglar" ??
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
As always, another great video. Thank you. Could you please advance your alarm system gateway to send a text to your phone when an event occurs and how about requiring the system to send a once a day signal to indicate the system is functioning properly.
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
I like this idea. So simple yet quite important.
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. 👍
@@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.
Good idea😀
@@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 😆
Plot twist: The guy breaking in is a channel's sub and you're showing them every time how your security system works
Stop breaking into his house sergio
lol
how do you know that
Oh yeah... I was thinking about that lol
He is getting paid, for their advantage.
So, he made a video on how exactly the alarm of his garage works. Sound like a great safety feature to me ;)
those idiots couldn't reverse engineer this of they had an eternity to figure it out. Most thrives are borderline fucking nitwits
You bet!
@@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.
@@colesherrill7472 I mean probably the good thiefs also wouldn't see any apeal in the stuff he stores there.
😆
The "see you next time!" is getting more enthusiastic every video 🙂
yes, it is nice to hear 😊👍
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 ..
Now when they trigger the alarm you run to the garage, and they rob your house.Perfect!
He lives in a flat.
Lol
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.
Maybe install a camera that takes a picture when the alarm goes off?
Maybe next time
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?
Have the gateway recieve the camera image and send you an email with the situation.
Lightning FX just put a creeper in ur garage
@@greatscottlab > Maybe next time
That's when we'll see you.
"Not only but also" is your favorite 😊
Malayaly watching greatscott's video amazing💕😍
Malayali chettan 😘😘😘
I wondering if Great Scot know what is Malayali..😇 If u know...plz reply here Great Scott😃
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.
Yeah running on 3.3V is barely an advantage - at the very least you can just use a voltage divider.
Or maybe you use an ESP instead of crappy arduinos
Please do more video about antenna and wireless communication! I really like to understand them for a long time but can't seem to comprehend it. You always make me learn something by practical use, and at the end of the days I always understand it as you always fill the gap from the theory that I've learn.
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 :)
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
Bob Lewis Colin will probably use a v8 engine as the motor that opens/closes the garage door.
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.
Haha well, you will have to wait to find that out ;-)
Did they give 25% discount on their 25th anniversary
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 ☹
How about 150th anniversary? We get money back? 😂
@@littlechestnutorchard 41 years!?! Amazing!
You videos are great!. Your way of teaching has been a great inspiration for me to do many things. Thank you. Keep it up!👍
Inspire you to do what?
@@rajkumarm2868 As I said Many things 😉. To start my own channel for example.
Wait your channel is not about electronics 🤔
@@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?
I have run 16mhz arduino unos/nanos at 3.3v. They worked fine for me with no noticable issues.
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.
Great topic, simple build, no misunderstandings. Superb video. And I get your "aversion" towards all the different types of communication interfaces.
I like your simson 👌
Nobody:
Console: MEDLN WO?LD
Freezex121 that means hello world in german
@@ayden282 N....no.
@@ayden282 No it does not lol.
"Hallo Welt" is Hello word
Ayden Pulles, heallo werld
Apparently some people do not understand humour, here. *facepalm*
5:15 „we can see, that the receiver gets successfully the messages“, the console: „MEDLN WO?LD“.
That was successful.
Lol😂
I love that you have done a video on this. I've been looking at getting into LoRa myself!
You're welcome😁
You need to implement checksum and retry into this as you clearly had issues with invalid data.
For anyone not sure what those are, check out ben eater’s yt channel
@@jamesdavis2027 thnx
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).
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.
5:16
HELLO WORLD
HELLO WORLD
HELLO WORLD
*MEDLIN WORLD*
Could benefit from crc8 and retries
MEDLN WOR⸮D*
MEDLN WO⸮LD**
Needs error correction / checksumming
Even if it is lockdown everywhere, our classes are going on via online. It's because of your videos I could easily understand my physics class especially the resistors and capacitors. Thankyou so much.😀😀😀
Happy to help!
I am literally assembling my semester project prototype right now which uses Lora SX1278 Modules. While looking for some troubleshooting help online I found out that you have just uploaded a video about Lora modules. Great Scott is a mind-reader now.
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.
The most engergetic closing ever!
You're being so nice to tell thieves what kind of alarm you have and to show them what else you have in your garage. I'm sure they will appreciate. :D
I'm studying telecommunications engineering, and we use are learning how to use the nucleo 32 boards as well as studying different smarth city solutions (my hometown has a system of sensors based on LoRa). Great video!
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.
Sadly there are no gateways in my area.
Around 30 years ago I put together an almost complete set of the first 100 issues of Elector magazine (in english). I was a member of the Hull And District Amateur Radio Society (HADARS) at the time. A few years later my sister came across them when she was "making space" and threw them away. I will go the Elector website to see what I have been missing.
Thank you! We have an online archive! We really appreciate your interest.
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.
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
@@General-vi3zh ahh naughty but clever.
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.
We are happy you found Elektor again! We publish the magazine in English, Dutch, French, and German. Welcome back!
The hub sounds like a cool secondary system you can add to improve it. First, using a SMS service, you could configure your system when it receives an alarm signal to notify your phone. This way, even if you're not at home, you still can be notified, and plus, that doubles as a time-stamping data logger, since you can look at your phones timestamp on the SMS for record.
Years ago my Dad rigged up a shotgun shell with the load removed as a sort of garage alarm, it worked really well.
Scott i really write any comments, but the box 9:46 was looked good and you soldered to the pin header my eyes my eyes ! YES I know nitpicking
Very good project. I liked it
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.
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.😃😃
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 :)
Good video, and i do like to add something you didn't mention. the restrictions when using LoRa, the configurations you mentioned in the video and you skipped them because they was kinda complicated, they exist not only to improve the transmission, but also to set up the limits which depends on the law (roles) set by the government. so you need to watch out from that, can't wait to see the upgraded version of this project, keep up the good work
Interesting, as always ! A bit of explanation could be added : LoRa is like the low side layer of OSI (close to hardware stuff) and LoRaWAN is an application layer that can link you to the Internet (providing a service). I saw that there is at least one free LoRaWAN service (The things network).
So, you could actually link your alarm to the Internet through a close enough gateway. If there is no such gateway, then you might use the provided gateway and create a LoRaWAN node. That can explain why you were given the gateway.
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 !.
Hey Scott here is a tip for you to make programming easier.
Try using VSCode and the extension Platformio.
You don't need to mess around with the crappy Arduino IDE.
It also supports programming and debugging STM devices, ESPs, Arduinos and many more.
If I were to break into your apartment in the dark of night it would be to steal one thing: That HORRIBLE soldering iron! But I would leave in its place a nice adjustable soldering pen with a variety of small tips.
I love your videos.
You could use the LoRa gateway to send a picture from within the garage to your phone when the alarm is triggered, which should help out against false positives. The bitrate on LoRa should be good for relatively low resolution image.
That moment in which you realize Elektor break-in in his garage to have an excuse for sending sponsored material.
We really need to get you a hot air soldering station for your SMDs.
Vielen Dank für alle deine videos!
Ich schaudere, wenn ich dich sehen SMD soldering gemacht.
Tut mier leid, mein Deutsch ist zu viele rostig. 😁
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!
LOL, awesome
Identifiers love to see the lora temp and humidity sensor for the greenhouse!
i think the Ard. DUE also is 3.3v, it is quite cheap and should also work
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.
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.
Also take a look on mbed.
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.
Cooles Projekt was du da mit Lora gebastelt hast :)
6:48 I have that buzzer, it scared the shit out of me when I powered it for the first time.
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.
Bluetooth might be useful
@@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.
Check out Andreas Spiess’ RUclips channel specifically this video for his mailbox solution ruclips.net/video/WV_VumvI-0A/видео.html
Nice
You can use Lora gateway for send a Push notification to your smartphone ^^
I'd suggest to add a message signing function, like crc, to avoid most of the errors.
I read some comments about a hearbeat periodical message, i'd recommend using a hashing + salt protocol like salted SHA256. A thief could just do a replay attack and deactivate the alarm. Car keyfobs use a "rolling code" to avoid replay attacks, but i don't think it would be easy or useful in your application, better use hashing + salt. Cheers, and great video as always ;)
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
If you get the gateway working, you could have it set up so you get an email or text when the alarm is tripped, or even have a custom app on your phone that does alarm noises
Könntest du für das nächste Sicherheitssystem ein Tränengassystem machen? Wäre voll geil!!
Your videos are fantastics! I love the way in which you do them. Great, GreatScott! :)
Glad you like them!
I just watch this video at 11:20p.m. Nice video gonna try this myself.
Don't forget the hardware debugger on the STM32 development boards. Worth it just for that alone.
Yesterday I was searching for LoRa technology if it is suitable for my beehive station and now GreatScott reviews it. Nice :D
Still too expensive to connect with it. I'll be better off with sd data collection and bluetooth current data view, and not be able to get notifications for swarming and putting data online.
The patented "After about 2 hours of soldering" :)
Also a GSM module would be cool, so you get a SMS to your phone in case you're not at home.
Some places in the video, your device ID is 8642 (05:54) other places it is 8624 (09:19).
I really like your thinking
More Lora Content please, your Post are very nice Content
Please please please do more videos (projects) with STM32 Nucleo boards. Thank you!
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!!
The benefits of using lorawan you've missed are: Lorawan takes care of the max duty cycle and other non-frequency things you need to be aware of to operate legally, error detection etc, security and privacy. You don't need an internet connection for the gateway either. You can run the lorawan backend part locally.
Love your content! I know it's not DIY in the aspect of circuits, but you could always do a Ubiquiti PTP setup from your home to your garage. It could kill 2 birds with 1 stone, get you great internet connectivity at your garage which would in turn give you a good way to talk with your security system(moot now with your new LoRa sytem, but maybe live feeds of future security cameras?). I've used their NanoStation 5AC Loco 5GHZ radios a couple times now, and they are amazing @ $50/ea. With clear line of sight, I've gotten ~250-300Mbps up and down with Iperf testing. Just thought i'd throw the info out there, didn't know if you had been wanting to get your internet connection out there, but this is a really cost effective and relatively straightforward way to do it (there is a lot of documentation out there).
I want to share with you an idea. I make an alarm for my garage like you and I also added a Magnetic Lock, so in the night while sleeping, if there is an unauthorized attemp of opening it completely lock down and you can unlock only with lora signal. Day time the magnetic lock doesn't work so you can acces as always.
Consider implementing sending push notifications to your phone using the gateway
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.
just a tip mate don't run straight to the garage when the alarm goes off, also it would be fun if you add FPV wireless 5.8GHz long range Video TX/RV . only a thought, however great video as always
It would be nice to add some battery if somebody cuts the power and of course a heartbeat message as mentioned below by @LeoDj. Nice video!
Instead of sending when there is a unauthorized open, you should send continuously and stop, when theft is detected.
This way you also detect malfunction and prevent jamming or power lost attacks.
Also I would recomend a rolling key. To prevent replay attacks.
I don't think he's allowed to do that, in fact, with LoRa you can't do such thing, when you use ISM band you must follow the law. duty cycle and max tx power etc.
Great project
Thanks for sharing👍😀
You are my inspiration and role model.
Thanx Scott..your video alway give the initial inspiration to start with new things.
Believe me his name is not scott
It's adolf
@@arthurmead5341 Thanx..great to know that.
So cool
Great video Scott....Thanks
I have some experience with G-NiceRF 1276 modules which works quite nicely with Semtech LoRaWAN stack + ChirpStack.
Oh, also did some SAM R34/35 project.
So happy to see that you gave up on the Gateway, i have one and its not easy to make it do what you want ...... I try to use it as LORA to MQTT no success so far.
Congratulations
Omg im just looking for lora stuff online and you uploud a video about it lovely
You should add more solar power to garage to make sure it doesn't drain or run out of power.
hello sir. for next video, how about you try to make fuly function DIY ECU...
This guy is amazing... Awesome videos Scott,keep it up
Love from india
I had a fiend, who had his basement door iron bars electrified. Supposedly under "mains" power. I remember him disconecting a hidden wire. He was the only one in the building, that did not get anything stolen xD Pretty effective i must say :D
You should make a diy usb dock, diy or buy? I bet it’d be fun and bring lots of attention.
Great research as always 👍🏻👍🏻👌🏻
Nice man! I have the same sort of setup for some boat slip lights since it’s too far for Wi-Fi. Used two nrf24 modules and an ESP12E so I can control them through my phone from anywhere
Add a solenoid valve which can spray pepper solution to make the system active rather then passive?
I suggested it and there it is!!!
Omg!
The most bad ass alarm, is the one that everyone understands and won't F with. Like a tesla coil arc warning speech, which counts down to initiate a lethal arc ... yup Good luck with that non-contact taser.... After-all > who wants to go "out to the garage to ward off a burglar" ??
keep up the good work mr scott ;)
Thanks, will do!
would you be shocked if i told you that his name IS NOT SCOTT
you could use the Gateway and link it to TheThingsNetwork. This way the Garage can send you a Notification to your Phone...
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
As always, another great video. Thank you. Could you please advance your alarm system gateway to send a text to your phone when an event occurs and how about requiring the system to send a once a day signal to indicate the system is functioning properly.
¹mqápkli