Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name your client and also set a Location, where the client is used then it is easier for you to determine which client is which later on. Then hit “Save”.

...

Build the Firmware

...

Head to the Firmware tab of your Q-Server and click on “+ Create New” to start a new firmware file.

...

Notice the Status of the Infrared service changes to “Running”.

Creating the App

...

Build the App

...

Here is the demo app that we created for the IR emitter. Basically it has a couple options on how you can configure, store and send your IR hex codes to the IR emitter in order to perform a certain action. The purple object is the Infrared object. It utilizes the infrared service we activated before on the Quantum Q-Server. The infrared service is basically a large database full of different IR hex codes for a bunch of different devices and is all stored in one place so you can easily configure what you want and then it will send it out through the IR emitter.

Let’s get into more detail. First we will start with the Initial Trigger object. When we start the application the Initial Trigger will start the Infrared service object. Trough the connected drop down interface objects we’ll be able to select what type of IR hex code, the brand and configurations we want. They will send the selected options back to the Infrared service object and it will send a code out and store it in a Static String object. The Pushbutton on the left is equivalent to the physical push button on the breadboard. It can be used to send out the stored information to our IR Emitter object in order to finally send it to the TV or any other receiving device that uses infrared. This setup is only able to perform a single action that you want to send out. If you want more actions to send out trough the IR Emitter object based on different buttons you press you will need multiple copies of this.

We also have a Interfacebutton right below the Pushbutton. With this button we can also send out our IR hex code via the dashboard or any device that can access the dashboard. On the right side we also have a Text object which will show us the IR hex codes once they send out to the IR Emitter object. This is usefull because once you know the IR hex code of certain actions you can simplify the app.

...

Once you know the desired IR hex codes you can simply copy them and paste them into the String port of the Static String object. This creates a smaller and manageable app but also harder to make quick changes to the send out signal.

After finishing building your app make sure to safe your application.

The next step is to map the hardware. Click on the play button to start the mapping progress.

...

We will now map the actual hardware we have to the software we made in the app. Select the right Client the IR emitter is connected to.

...

Select the right Client for the push button as well.

...

After mapping hit save and run.

...

Demo

Lastly we will use the app in a litte example now. So let’s head to the dashboard by clicking on the dashboard icon in the top right corner.

...

Now you can see four drop down interface objects. We have our button interface object and also below the text object. Since we are using a Samsung TV we are going to set everything up to control it via our IR Emitter app.

...

By clicking on the button the TV should be powered on and also we will get the hex code that is send out via the Static String object.

...

Like we mentioned before when you know the hex codes you can use them to simplify your app immensely.

Happy making!