background image

- 5 -

2. Bluetooth 

2.1 History

The Bluetooth technology was developed by the company Ericsson. 

Bluetooth is an open standard for wireless transmission between 

units over short distances. Just imagine mobile radio units with a 

wireless headphone connection or data transfer between mobile ra-

dio units or a GPS receiver that sends wirelessly data to a 

phone.

In 1994, Ericsson developped Bluetooth as a wireless way of com

-

munication between mobile radio units and other systems.  

Jaap Haarsen who worked at that time for Ericsson, developed the 

most important technical part. The name Bluetooth comes from the 

king of the vikings Harald Bluetooth. Initially, Bluetooth was the 

name of the project and as no better alternative had been found, 

this name has been kept for the end product.

The communication system spreads very quickly and after a short 

time, the biggest electronic companies come together to set up the 

‘Bluetooth Special Interest Group’ (SIG).

A worldwide application needs to be made available worldwide. 

Therefore a universally applicable frequency has been searched and 

found in the 2,45GHz frequency range.

2.2 Technology

Bluetooth is a radio transmission of speech and data over short 

distances. The selected communication structure is a point to multi-

point link which means that one transmitter can transmit to several 

receivers. As soon as two Bluetooth units start communicating, a 

so-called 

"

piconet

"

 is set up. Several pico networks make a scatter 

network.  

Содержание ARX-WRL

Страница 1: ......

Страница 2: ... 2013 Global Specialties ...

Страница 3: ...a an android mobile phone The Wireless transmission module is supplied fully mounted Only the contact pins need to be soldered Almost all components are pre soldered so that you need no extra time for the soldering The challenge of the set lies in the programming of the control software Programming tutorials are available on the website The control can be done via a PC or an android mobile phone V...

Страница 4: ...cially be careful about sharp tools such as nippers or a cutter knife to prevent any injuries or accidents Never assemble the kit when a younger child is around The child might touch sharp tools or swallow parts or the vinyl bag Be careful about sharp edges of parts Do not mix old and new or recharchable and non rechargeble batteries Take out the batteries when you do not use the robot for more th...

Страница 5: ...Bluetooth Initially Bluetooth was the name of the project and as no better alternative had been found this name has been kept for the end product The communication system spreads very quickly and after a short time the biggest electronic companies come together to set up the Bluetooth Special Interest Group SIG A worldwide application needs to be made available worldwide Therefore a universally ap...

Страница 6: ......

Страница 7: ...velopment Kit allows not only Google but also other developers to create applications They can subsequently offer these applications to the android market On this market end users can search and install applications Here you can also find information about the applications The distribution of applications whether they are free of charge or charged is promoted The developers are allowed to offer th...

Страница 8: ......

Страница 9: ...pse Foundation a non profit association for software development environment The most popular application is the development environment for the Java pro gramming language The SDK contains an Eclipse plug in that enables a programmer to easily start compile debug and emulate an android project The Eclipse programme is an open source software and can be down loaded on following http www eclipse org...

Страница 10: ...The Wireless control set includes IR receiver or transmitter for the Flash transmission to ASURO Socket for the APC220 or Bluetooth RF module Switch for the IR or RF transmission Experiment board to build an additional circuit Connection options for free gates of ASUR The following figures show the layout of the PCB The free experimentation area for the additional circuit is clearly visible There ...

Страница 11: ...red and remove them from the PCB fig 5 Use a specific soldering iron or special unsoldering tin to unsolder the components Caution Make sure not to damage the solder lugs because you will need them later for the re soldering B 2 Solder the supplied socket parts on these connection areas Install the 1x3 socket on the connectors featuring three adjacent areas The shape of the area is not important N...

Страница 12: ...stall now the ASURO extension set on the ASURO PCB The set should fit accurately into the previously installed socket parts Fig 6 ASURO with radio control PCB Side view Fig 7 ASURO with radio control PCB Front view ...

Страница 13: ...rdware is finished Now you can establish a connection with the various applications In chapter APC220 we explain how you can control ASURO via the APC220 module The chapter Bluetooth module explains how the Bluetooth commu nication will work Fig 8 ASURO with Bluetooth Fig 9 ASURO with APC 220 ...

Страница 14: ...p of the WT dongle For this purpose a special software for the WT dongle has been written in Visual Basic VB which provides us with an easy setup This software may be found in the APC 220 application s software Connect the WT dongle with the PC by USB cable Additionally the RP6v2 programmer adapter requires the installation of a driver soft ware The most recent driver will be found at the RP robot...

Страница 15: ...ication should be loaded in an Android Smartphone or tablet In case of PC communication transceiver 1 is placed on RP6v2 USB Program Adapter WT dongle and the application must be installed on the PC TRANCEIVER 2 First the extension set must be installed with the RF module APC 220 or Bluetooth Finally the correct software has to be loaded in the robot The software depends on the robot type HEX Hex ...

Страница 16: ......

Страница 17: ...n the Refresh function triggers a request to all connected COM ports Once you have selected the correct COM port for the WT dongle the connection will be established by clicking on the Connect function on the ASURO control screen This command triggers the link between the WT dongle and the ASURO Control Consequently the motor speed and the battery voltage will be display ed in the bottom right cor...

Страница 18: ...he APC220 If several APC220 s are operating close to each other the protocol will make sure that the data will be sent to the right ASURO However it is recommended to avoid this kind of situation and if possible choose different transmission frequencies as some pro grams communicate several times per second with ASURO The APC220 operating parameters are set in the PC program and can be adjusted Cl...

Страница 19: ...T The master module right hand side is marked with a white dot on the upper IC Moreover the module features a switch The slave module left hand side has no white dot and no switch Once both modules are switched on the Master will look for a Slave and establish automatically a connection Once the connection has been established the Master will save the slave address If the connection is interrupted...

Страница 20: ...h unit the adjustment of the baud rate and the PIN code has been installed as an option You can change these parameters in the settings menu on the main page Click on settings in the software to display following contents The module that you want ot adjust must be in the WT dongle when you make the changes The changes will saved by clicking on the item save settings The Log protocol shows if the s...

Страница 21: ... the WT dongle or the Slave in the ASURO extension kit a communication link can be established with ASURO exactly as for the APC220 Start the ASURO Control program The COM port remains the same and the same steps as described in the APC220 chapter are executed ...

Страница 22: ...l Special ties website In the same area you can download the source code for this application so that you can input the source and match it to your own needs Most android mobile phones are fitted now with the operating system Android Therefore this application has been written for Android 2 1 or Android 2 1 or higher After the start of the application the program is asking for per mission to start...

Страница 23: ...ory first of all the phone has to establish a connection with the Slave module With the command Connect a device you are asking the phone to search for Bluetooth units nearby As soon as the name of a Slave module appears you can click on the name and the system will es tablish the connection Once the link has been set up you can control ASURO via the appli cation ...

Страница 24: ...ergy consumption is low 30mA and installation is rather simple These features are the basic reasons to choose the module for wireless communictions The communication range at a baud rate of 9600 bps is specified at a maximum of 250m and at 1200 bps at 1200 meters These speci fications may be found in the data sheet In a previous project Wild Thumper the same APC220 module was implemented and exten...

Страница 25: ...d as alternatives for cable connections and is used to interconnect all sorts of equipments The developers concentrated on cheap radio technology which enables us to integrate Bluetooth in any electronic design Bluetooth s low energy consumption 30 micro amperes in hold mode respectively 8 30 mA during active communication phases allows us to use the system in mobile equipment which depend on batt...

Страница 26: ...o choose Visual Basic which provides an easy way to develop applications Visual Basic VB is a programming language and a development tool allowing is to create software for the Windows operating sy stem The attribute Visual refers to the Graphical User Interface GUI and the attribute Basic refers to the programming language BASIC Beginners All Purpose Symbolic Instruction Code The project had been...

Страница 27: ...nd refer to these elements in your programming code If you press the refresh button at the window the button s driver software will be activated Private Sub Button_Refresh_Click ByVal sender As System Object ByVal e As System EventArgs Handles Button_Refresh Click GetSerialPortNames End Sub On activating the refresh button the above sample code will call the function GetSerialPortNames ...

Страница 28: ...pment Kit SDK This SDK provides us with a number of sophisticated tools such as a debugger and an emulator The relevant website also contains a great number of sample applications and tutorials The SDK Manager figure 22 allows the user to add platforms to his development workspace He may also choose to install various sample applications Fig 22 SDK Manager ...

Страница 29: ...fine a virtual device which allows the designer to emulate and debug his newly created software You may download the SDK from the following website http developer android com sdk This site provides us with the installation package including detailed instructions for the SDK s installation procedure Fig 23 Vritual device manager ...

Страница 30: ...he SDK has been equipped with an Eclipse plugin which enables a software developer to easily start an Android project including com piling debugging and emulating the software At completion the designer will create an apk file for the application s installation which may be transferred to any Android phone The freeware Eclipse software is available for download at the web site http www eclipse org...

Страница 31: ... 31 APPENDIX ...

Страница 32: ...UX 6 SET 7 M1 IC1 VCC 20 3V3OUT 17 USBDP 15 USBDM 16 OSCO 28 OSCI 27 GND 7 TXD 1 RXD 5 RTS 3 CTS 11 DTR 2 DSR 9 DCD 10 RI 6 CBUS0 23 CBUS1 22 CBUS2 13 CBUS3 14 CBUS4 12 VCCIO 4 RESET 19 GND 25 GND 18 TEST 26 GND 21 C1 C2 LED_TX R1 C4 LED_RX 1 2 3 4 X1 L1 R2 3 2 1 J1 C3 DTR 7 TX 9 RX 8 RTS 10 DSR 6 RI 5 HDR1 CBUS2 4 CBUS4 3 VTARGET 1 GND 2 VIN 3 VOUT 2 GND 1 IC2 C5 D1 C6 C7 C8 C9 T1 T2 R3 R4 R5 R6 ...

Страница 33: ... 33 A RP6v2 USB Programmer WT DONGLE ...

Страница 34: ......

Страница 35: ... 35 ONLY FOR POSITION PINHEADER LAY OUT other components are not drawn or wrong C WIRELESS EXTENSION KIT ...

Страница 36: ...T 2 GND 1 IC1 C2 1 2 PIN C1 C3 LED1 A B C D E 1 2 3 4 5 6 1 2 3 4 5 6 HC 06 GND GND 47k 27k GND 470 GND REG1117 GND GND GND GND 100nF 10uF GND 100nF GND BLUE TX 1 RX 2 CTS 3 RTS 4 PCM_CLK 5 PCM_OUT 6 PCM_IN 7 PCN_SYNC 8 AIO0 9 AIO1 10 RST 11 3V3 12 GND 13 NC 14 VBUSD 15 CSB 16 MOSI 17 MISO 18 CLK 19 VBUSD 20 GND1 21 GND2 22 PIO0 23 PIO1 24 PIO2 25 PIO3 26 PIO4 27 PIO5 28 PIO6 29 PIO7 30 PIO8 31 PI...

Отзывы: