background image

- 36 -

HC-06

GND

GND

4

7

k

27k

GND

470

GND

REG1117

GND

GN

D

GND

GND

100nF

10uF

GND

100nF

GND

B

L

U

E

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

1

4

V

B

US

D-

1

5

CS

B

1

6

M

O

S

I

1

7

M

IS

O

1

8

CL

K

1

9

V

B

US

D+

2

0

G

ND1

2

1

GND2

22

PIO0

23

PIO1

24

PIO2

25

PIO3

26

PIO4

27

PIO5

28

PIO6

29

PIO7

30

PIO8

31

PIO9

32

PIO10

33

PIO11

34

HC-06-S_MODULE

1

2

3

4

5

6

7

CON

R

1

R2

R3

VIN

3

VOUT

2

G

ND

1

IC1

C2

1

2

PIN

C1

C3

L

E

D

1

A

B

C

D

E

1

2

3

4

5

6

7

8

A

B

C

D

E

1

2

3

4

5

6

7

8

Designed by:

Bluetooth Slave PCB

AREXX Engineering

Joris Kok

25-10-2011

www.arexx.com

HC-06

GND

GND

4

7

k

27k

GND

470

GND

REG1117

GND

GN

D

GND

GND

100nF

10uF

GND

100nF

GND

B

L

U

E

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

1

4

V

B

US

D-

1

5

CS

B

1

6

M

O

S

I

1

7

M

IS

O

1

8

CL

K

1

9

V

B

US

D+

2

0

G

ND1

2

1

GND2

22

PIO0

23

PIO1

24

PIO2

25

PIO3

26

PIO4

27

PIO5

28

PIO6

29

PIO7

30

PIO8

31

PIO9

32

PIO10

33

PIO11

34

HC-06-M_MODULE

1

2

3

4

5

6

7

CON

R

1

R2

3

1
2

4

S1

R3

VIN

3

VOUT

2

G

ND

1

IC1

C2

1

2

PIN

C1

C3

L

E

D

1

A

B

C

D

E

1

2

3

4

5

6

7

8

A

B

C

D

E

1

2

3

4

5

6

7

8

Designed by:

Bluetooth Master PCB

AREXX Engineering

Joris Kok

25-10-2011

www.arexx.com

E. CIRCUIT DIAGRAM BLUETOOTH SLAVE

F. CIRCUIT DIAGRAM BLUETOOTH MASTER

Summary of Contents for ARX-WRL

Page 1: ......

Page 2: ... 2013 Global Specialties ...

Page 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...

Page 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...

Page 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...

Page 6: ......

Page 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...

Page 8: ......

Page 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...

Page 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 ...

Page 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...

Page 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 ...

Page 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 ...

Page 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...

Page 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 ...

Page 16: ......

Page 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...

Page 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...

Page 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...

Page 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...

Page 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 ...

Page 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...

Page 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 ...

Page 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...

Page 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...

Page 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...

Page 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 ...

Page 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 ...

Page 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 ...

Page 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...

Page 31: ... 31 APPENDIX ...

Page 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 ...

Page 33: ... 33 A RP6v2 USB Programmer WT DONGLE ...

Page 34: ......

Page 35: ... 35 ONLY FOR POSITION PINHEADER LAY OUT other components are not drawn or wrong C WIRELESS EXTENSION KIT ...

Page 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...

Reviews: