Download Print this page

Egnite Codespot Pro Tutorial

Event player

Advertisement

Quick Links

Codespot Pro Event Player
Tutorial 1
This tutorial explains how to easily set up Codespot
Pro projects.
A phantom in a haunted house shall interact with the
visitors. Codespot Pro is used to teach it how to talk
and to make its eyes glow.

Advertisement

loading
Need help?

Need help?

Do you have a question about the Codespot Pro and is the answer not in the manual?

Questions and answers

Summary of Contents for Egnite Codespot Pro

  • Page 1 Tutorial 1 This tutorial explains how to easily set up Codespot Pro projects. A phantom in a haunted house shall interact with the visitors. Codespot Pro is used to teach it how to talk and to make its eyes glow.
  • Page 2: Table Of Contents

    Contents Introduction......................1 Hardware Setup.......................2 Getting Codespot Pro into operation ..............3 Configuration of Codespot Pro................5 Setup of Codespot Manager...................5 Configuration of the event player................8 Connecting and testing Hardware...............13...
  • Page 3: Introduction

    Introduction Codespot Pro is an event-controlled audio player. These Events can come from Codespot Pro itself. Examples are Power on at start-up or Audio End when the playback of an audio track has finished. External hardware, connected to Codespot Pro's two digital inputs or the RS 232-interface, can also notify the device of occurring events.
  • Page 4: Hardware Setup

    Hardware Setup This document only draws an outline on how to configure Codespot Pro. To follow the example no additional hardware, like light barriers or LED spots, is needed. Instead we are going to use the I/O testboard Bintest to simulate the setup.
  • Page 5: Getting Codespot Pro Into Operation

    Getting Codespot Pro into operation At first, you have to connect Codespot Pro to your PC, using a microUSB cable. Windows automatically recognizes a card reader and creates a new device. Copy all provided data to your hard drive. After installing Codespot Manager from the installation file, take any two audio files and save them on Codespot Pro.
  • Page 6 Otherwise Codespot Manager won't be able to establish a connection to Codespot Pro and an error message is shown. More information on how to put Codespot Pro into operation can be found in the manual.
  • Page 7: Configuration Of Codespot Pro

    4.1 Setup of Codespot Manager To configure Codespot Pro you need to connect it to your PC's RS-232 port using a serial cable. If you have no free serial port at your PC you can also use an USB / RS- 232 bridge that you can get at the local computer store.
  • Page 8 If everything works out, Codespot Manager will show the status Ready at the bottom left corner of the program window. If this status is not shown, something went wrong. Have a look at the manual to learn how to resolve communication problems.
  • Page 9 By clicking on the Read button you can import the current device configuration and check if everything is working properly.
  • Page 10: Configuration Of The Event Player

    After Power Up the Continue action is performed, which instructs Codespot Pro to play the first audio file on the microSD card. The event Audio End is triggered after Codespot Pro has finished the playback of a track. Here, the action...
  • Page 11 For the intended use in the haunted house we don't need the basic configuration and can hence delete it. Click on the list box just right of the event names (1) and choose the empty elements at the top (2).
  • Page 12 2 is played. Playback of audio files is very simple. Just assign Play 1 to Input 1 Change to play the first audio file on your Codespot Pro (1). Similarly assign Play 2 to Input 2 Change (2).
  • Page 13 Down Counter 1 . To set up a delay of 15 seconds, set the initial value to 150 (2). From this value, Codespot Pro should count down every 0.1 second. So choose 0.1s Clock from the list box (3).
  • Page 14 Now return to the Actions tab page. As third action assign Run Counter 1 to Input 1 Change (1). If a visitor passes the first light barrier, Codespot Pro runs Counter 1. Fifteen seconds later the event Counter 1 Reset is triggered. From the first listbox field right of this event you select the action Output 1 off (2) to turn off the LED spot.
  • Page 15: Connecting And Testing Hardware

    If you were really up to implementing a phantom, now the time had come to connect the light barriers and the LED spot to Codespot Pro. But as we are just doing a tutorial, you only need to connect the I/O testboard Bintest instead. Please follow the instructions in the manual.
  • Page 16 E-Mail: info@egnite.de Tel.: +49 (0)2305 441256 l Fax: +49 (0)2305 441487 egnite GmbH l Erinstrasse 9, 44575 Castrop-Rauxel, Germany Rev-1.0 l © egnite GmbH 2014...