Wireless advice for city environment - concrete and brick

I'd like to create an alarm system to detect break-in in my garage graffiti on the outside. Below is a scetch of how this would look. The sensors have to be placed inside a garage made of concrete, and I imagine I have to run a cable to an outside antenna since I don't get wifi in the garage (and poor phone reception). The line of sight from outside the garage door to my balcony is 20m.

I was planning around wifi, using an ESP32 as an access point on the balcony or inside near the balcony door. This ESP32 would be connected separately to my wifi router.

Since there are some privacy issues with installing a camera there (it's a shared garage), I'm thinking I could ditch the camera and rely on just receiving trigger alerts from the sensors. Is wifi still the best choice for relaying triggers to the balcony? I have some external antennas for ESP8266, but they are only about 20cm long. Is it possible to extend this up to a meter with a coax cable?

The maximum distance between the various sensors are about 3m. This may be an issue for serial communication. I have therefore considered using NRF24l01 between the different modules. Is that a good idea, or necessary at all?

Could I also use NRF24l01 for the garage-to-balcony transfer? What about RFM69, is that better with regard to interference? The wifi band is quite crowded here.

Sorry, lots of questions here. I'd appreciate any and all input :slight_smile:

WiFi is 2.4GHz which is essentially close to the home-microwave oven; therefore the ESP signals are microwaves and bounce and are easily absorbed by wood, concrent, and mostly anything with moisture content. Steel is especially nasty as it creates shadows in the RF path.

I would recommend backing down in frequency and using the lowest frequecy product that will be authorized in your region. Look into 433MHz or whatever you can find approved.

LoRa (Long-Range) is digital wireless data communication IoT technology. LoRa transmits over license-free megahertz radio frequency bands: 169 MHz, 433 MHz (Asia), 868 MHz (Europe) and 915 MHz (North America) . LoRa enables very-long-range wireless data transmission.

Lora might work indoor all the way to your apartment
would be worth trying

Thanks, I'll look into lora!

Definetly look into LoRa, well known for working well in and around buildings, especially the UHF versions.

As for the camera, you can make an ESP32CAM send the pictures it takes via LoRa ................

Image transfer is a nice option to have. I'll have to talk to the neighbors about that though.

I ordered a couple of Adafruit RFM95W 868 tranceivers.

Could I place the tranceiver inside the garage, and run a meter of coax for the antenna? Or will the signal would bounce up to the balcony so I can keep the antenna inside the garage? The building across from the garage is about 40m away.

Get it in writing... (from experience... )

Oh definetly.

And there can be, depending where you are in the World, significant data protection issues ........................

Impossible to say.

You need to test the comms, and the need for better\worse antennas in your actual situation.

I ordered a couple of Adafruit RFM95W 868 tranceivers.

You meant to order at least 3 ......................

Why 3?

if I need 2 of something I'll be tinkering with, I always buy some more just because it's soooo frustrating to wait for a replacement (esp. when you buy from the Far East) when you've done something bad and let the magic smoke out of the component :wink:

may be that's what @srnet meant?

Because if the TX and RX dont work its a bit difficult to work out if one module is faulty or not.

I don't have anything but a multimeter for diagnostics, so that's a good point.

Thanks for pointing me towards lora. I've been reading up and watching the Swiss guy.

Just to let you know, lora works great. I left a transmitter on my desk and walked out to the garage. I received packets in thebuilding, in the garage, and for about 1-2 blocks beyond that in heavy rain.

thanks for coming back - good news
hope you had an umbrella :slight_smile:

(not surprised it works well)

I should add, I used a straight wire antenna (868Mhz) and default settings in the lora library.

The default settings are normally not the long range ones.

For a simple alarm type system, you could implement long range LoRa settings, which would increase the distance covered by a factor of around 5.

And 434Mhz devices go around 2 times further than 868Mhz ones.

Cool, yeah I'll look into the settings. One idea here is that I can extend the remote operation of my garage door, from something like 40m with the current remote to several blocks. I often get stuck at the intersection near my house where the remote won't reach. When I get a green light, I get close enough to open the garage door but then I have to wait 10 seconds outside while the door is opening. Got to add some encryption of course.

There's a lot of fluff on lora when googling lorawan and gateways. Crypto mining and whatnot. I'm prettty sure I don't need an expensive gateway if I just have a couple of remotes and a sensor node.

Oh, and I'm in Europe so I guess 868 is the only legal route..