Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width400px
urlhttps://www.youtube.com/watch?v=4SBvvZB4a2w
height300px

...

This tutorial will show you how to use a Magnetic Door Sensor, connect it to the Quantum system, and create a simple demo using it.

...

What is a Magnetic Door Sensor?

...

A Magnetic Door Sensor sends a signal when the magnets are connected or not connected.

...

Assemble the Circuit

Picture

Name

Quantity

Link

Magnetic Door Sensor

1

You can purchase it here

Q-Client Builder Base

1

Q-Client

...

One pin is connected to the GP6 pin of the Builder Base the other one is connected to the ground pin of the Builder Base. You could also connect the second pin to the 3.3V pin, but that would change the signal output we get.

...

Pair the Builder Base

Now we want to pair the Builder Base with our Q-Server. In order to do so, go to the Homescreen of your Q-Server.

...

Now you can edit your Client. Give him a Name you want and also a location where you are going to use it. Hit “Save” when you finished.

...

Build the Firmware

So once the Builder Base is paired and set up, we can start building our firmware. Move to the “Firmware” tab on the left side of your Q-Server interface. Hit “+ Create New”.

...

Choose the correct Builder Base in our case we named it “WS2812” and hit “Upload”. You should see a progress bar pop up at the right side of your screen.

...

Build the App

While the firmware is uploading, we can build the application for our Button. Move to the “Apps” tab on the left side. Click on “Create New” and give it a name you want. We named ours again “Door Contact”. Hit “Create”.

...

Once you done click “Save + Run”.

...

Run the App!

Click on the “Dashboard” icon in the top right corner.

...

And lets bring the magnets together. We should see a “Closed” then.

...

This is how you connect and use a Magnetic Door Sensor with the Quantum System.

...