# BLE Wireless Magnetic Contact?

**URL:** <https://community.particle.io/t/ble-wireless-magnetic-contact/60455>\
**Category:** Hardware\
**Created:** [May 31, 2021, 12:31am UTC](https://community.particle.io/t/ble-wireless-magnetic-contact/60455 "2021-05-31T00:31:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gusgonnet](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/gusgonnet/32/27491_2.png) [@gusgonnet](https://community.particle.io/u/gusgonnet)\
**Post date:** [May 31, 2021, 12:31am UTC](https://community.particle.io/t/ble-wireless-magnetic-contact/60455/1 "2021-05-31T00:31:13Z")

</div>

Hi fellow community members,

I would like to sense when an electric gate is closed:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/f/8/f82cb986d0a9dae8bc4c2aea6bed03a3976aa6d5.png)

and was looking for something like this:  
[![image](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/4/3/43323c35c5a21f99748051d6811261d72a39a147.jpeg)](https://www.securityinfowatch.com/alarms-monitoring/alarm-systems-intrusion-detection/product/10441293/honeywell-international-inc-5816od-outdoor-wireless-magnetic-contact)

[Honeywell 5816od](https://www.securityinfowatch.com/alarms-monitoring/alarm-systems-intrusion-detection/product/10441293/honeywell-international-inc-5816od-outdoor-wireless-magnetic-contact)

* * *

I already have the wired ones:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/4/7/473b80a009d708b582e2c6aae38fa87d7dff82d0.png)

but I was looking for something less troublesome to install (no wires).

**Question:**  
Are any of you aware of any BLE Contact sensor?

Worse comes to worst, I guess I’m gonna go with what @mark_pdx used in his remote sensor and build it myself with [a Laird 654 series Bluetooth module, based on the nRF52840 (Laird PN 451-00001).](https://community.particle.io/t/ble-5-long-range-coded-phy-125-kbps-mode-how-to-engage/59028/27) (Thanks Mark for the details).

If you know something I haven’t found yet, please let me know.  
Thank you!  
Gustavo.

---

<div class="post-metadata">

**Author:** ![mark\_pdx](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mark_pdx/32/25761_2.png) [@mark\_pdx](https://community.particle.io/u/mark_pdx)\
**Post date:** [May 31, 2021, 4:46pm UTC](https://community.particle.io/t/ble-wireless-magnetic-contact/60455/2 "2021-05-31T16:46:55Z")

</div>

It’s a common application for a wireless security system, but it sounds like you want to use BLE instead. I’m not aware of a ready-made BLE contact sensor, but you could get a ready-made BLE 9-axis IMU sensor, set it for a slow data rate to conserve battery, and just monitor the magnetic field sensor value. Should change a lot when the gate magnet is nearby! You could also start with a BLE click-button, then hack in to connect your gate sensor to the button contacts. Finally, you could build your own, which will be the most work and the most fun.

---

<div class="post-metadata">

**Author:** ![gusgonnet](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/gusgonnet/32/27491_2.png) [@gusgonnet](https://community.particle.io/u/gusgonnet)\
**Post date:** [June 1, 2021, 12:15am UTC](https://community.particle.io/t/ble-wireless-magnetic-contact/60455/3 "2021-06-01T00:15:54Z")

</div>

interesting proposals, thank you, Mark.

---

<div class="post-metadata">

**Author:** ![ctmorrison](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ctmorrison/32/7396_2.png) [@ctmorrison](https://community.particle.io/u/ctmorrison)\
**Post date:** [June 1, 2021, 12:31pm UTC](https://community.particle.io/t/ble-wireless-magnetic-contact/60455/4 "2021-06-01T12:31:08Z")

</div>

Hi @gusgonnet , here’s something you might consider. I’ve been using some of their sensors, such as leak detection, PIR, outdoor PIR, etc. with great success. They’re based on LoRa which means the range is crazy long and the price point is great. The devices are inexpensive, but will also require a base station, which is also relatively inexpensive. In any case, it’s food for thought. You can integrate with Particle via IFTTT if desired.

> **[Amazon.com: YoLink Outdoor Contact Sensor, 1/4 Mile World's Longest Range Smart...](https://www.amazon.com/YoLink-Outdoor-Waterproof-Notifications-Required/dp/B08P1VQMCR)**
>
> Amazon.com: YoLink Outdoor Contact Sensor, 1/4 Mile World's Longest Range Smart Door Sensor/Window Sensor Works With Alexa and IFTTT, IP63 Waterproof for Indoor/Outdoor Use, App Notifications- YoLink Hub Required: Camera & Photo

---

<div class="post-metadata">

**Author:** ![gusgonnet](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/gusgonnet/32/27491_2.png) [@gusgonnet](https://community.particle.io/u/gusgonnet)\
**Post date:** [June 1, 2021, 1:06pm UTC](https://community.particle.io/t/ble-wireless-magnetic-contact/60455/5 "2021-06-01T13:06:25Z")

</div>

that’s an interesting option and good to know they worked for you.  
Thank you for chipping in, Tom!

---

<div class="post-metadata">

**Author:** ![ctmorrison](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ctmorrison/32/7396_2.png) [@ctmorrison](https://community.particle.io/u/ctmorrison)\
**Post date:** [June 1, 2021, 1:56pm UTC](https://community.particle.io/t/ble-wireless-magnetic-contact/60455/6 "2021-06-01T13:56:14Z")

</div>

Also, netvox makes a Wireless Dry Contact Interface R718J that’s also LoRa and could likely be used to send data directly to a Particle device with a LoRa Featherwing. FWIW…

---

<div class="post-metadata">

**Author:** ![magchecks](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/magchecks/32/21906_2.png) [@magchecks](https://community.particle.io/u/magchecks)\
**Post date:** [June 3, 2021, 1:46pm UTC](https://community.particle.io/t/ble-wireless-magnetic-contact/60455/7 "2021-06-03T13:46:30Z")

</div>

Laird makes the BT510

BLE with magnet sensor, temp and battery alarms.  
Plus accelerometer.

Stewart

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/3/2/3291e3c9351789fe8620ae5bcec8d3fec67ff221.png) [@system](https://community.particle.io/u/system)\
**Post date:** [December 3, 2021, 1:47am UTC](https://community.particle.io/t/ble-wireless-magnetic-contact/60455/8 "2021-12-03T01:47:04Z")

</div>

Closed on December 3, 2021, 1:47am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
