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=Ag1OkO2AYZo
height300px

...

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

...

What is a Motion Sensor?

...

A Motion Sensor sends out infrared waves which detects objects. The change in temperature of a give area changes the infrared wave and so a motion of a body oder object can be transferred into data.

...

Assemble the Circuit

Picture

Name

Quantity

Link

Motion Sensor

1

You can purchase it here

Male to Male and Male to Female jumper wires

3

Included in Component Kit

Or you can purchase it here

Q-Client Builder Base

1

Q-Client

...

Connect the red wire to the 5V of the Builder Base and to the vcc pin of the motion sensor. The green wire is connected two the second pin of the motion sensor and the GP0 pin of the Builder Base. It is used to get the collected data of the motion sensor. The last wire is the black one. It is connected to the ground of the Builder Base and the motion sensor.

...

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 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 “PIR Sensor”. Hit “Create”.

...

Once you done click “Save + Run”.

...

Run the App!

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

...

If we put our hand now in front of the sensor the value will change to on.

...

...

Philips Hue light bulb

For the next demo we wan to activate a Philips Hue light bulb when we put our hand in front of the motion sensor.

...

To make the system more compact and usable we made a 3d casing for the sensor and the Builder Base.

...

This is how you connect and use a Motion Sensor with the Quantum System. We also learned how to practically use the sensor with some Philips Hue light bulbs.

...