Page 1 of 1

Bluetooth board

Posted: Thu Mar 06, 2008 4:40 pm
by MarkGeelen
Hi,

I have the AVR programmer E-block board. I use the ATMEGA 32 microcontroller. Now I was wondering what port I have to use to connect my bluetooth E block board?

Re: Bluetooth board

Posted: Mon Mar 10, 2008 3:30 pm
by Sean
The Bluetooth board uses the ATMEGA32's on-chip uart for communication. This is available on PORT D.

Here are the wire-link and jumper settings required for operation.

Jumpers:
RX & TX SELECTION = Option D (J6)
CTS & RTS SELECTION = Option 3 (J7)

Wire-links
P1-RX to P2-0
P1-TX to P2-1
P1-RTS to P2-(as selected in the Bluetooth component properties - default = 5)
P1-CTS to P2-(as selected in the Bluetooth component properties - default = 4)

Use J2 to select the active Bluetooth interface device.

Re: Bluetooth board

Posted: Tue Mar 11, 2008 10:18 am
by MarkGeelen
Hi Sean,

I have another problem. When I look in the documentation of the bleutooth board, I see another picture in it than the board that I have. I have the board EB024-00-2, but the bluetooth chip is from Ezurio. And the one on the picture is from TDK.
Also I don't have a jumper 6. Can you help me?

greetings

Re: Bluetooth board

Posted: Tue Mar 11, 2008 10:50 am
by Sean
The Ezurio bluetooth module is a replacement for the TDK module and does not affect the operation of the board or the documentation supplied with it.

Unfortunately the jumper information I supplied was incorrect :oops:

The board still needs to be connected to Port D.

The 4 groups of jumpers near the D-type connector should be moved to the left-hand side (J13, 14, 15, 16)

Connect wire links between the following 'patch System sockets (note the TX and RX connections have changed from the previous reply).

P1 - TX to P2 - 0
P1 - RX to P2 - 1
P1-RTS to P2-(as selected in the Bluetooth component properties - default = 5)
P1-CTS to P2-(as selected in the Bluetooth component properties - default = 4)


Make sure J8 is set to the 5v option.

Re: Bluetooth board

Posted: Tue Mar 11, 2008 12:56 pm
by MarkGeelen
Hi Sean,

Thanks for your fast reaction. I have done everything what you said. But now when I load the test program(found on the site), it is not working. He doesn't find another divice. Do the jumpers have to be in horizontal or vertical direction? I put them vertical in the long direction of the board. Is that the good direction? Or is the test program only for other microcontrollers?

Thanks a lot!

Re: Bluetooth board

Posted: Tue Mar 11, 2008 4:12 pm
by MarkGeelen
It's not working anymore. Is it possible to do a hardware reset for the second generation bleutooth board EB024-00-2?
I think I did something wrong, but I don't know what...

Re: Bluetooth board

Posted: Mon Mar 17, 2008 1:21 pm
by MarkGeelen
Hi ,

Sorry for the double post.
I found the problem!
I was looking in the datasheets of ezurio and found out that there where a few special commands for resetting to factory settings. So I created a hyperteminal link with a usb device and connect that one to the bluetooth board. After sending commands such as " !<BISM>!<cr> " it still didn't react. So I went to the website of ezurio and found out there is a updated available for the firmware. But you only have access to it after registering. After updating to the latest firmware and downloading it to the chip, the device reacts again to my comments.
When I sent the "AT" command with my hyperterminal it now sends "AT OK" back.
So what I have done is:
Updated to latest firmware. Then set the device to the right bautrate (default) for me that's 9600. Afterwards you just have to push the update buton, and it will autonomous set your board to the right settings.
The site where you can find the firmware is: http://www.ezurio.com/products/bism/ in the menu at the right-hand site.

Greetings,

Mark

Re: Bluetooth board

Posted: Mon Mar 17, 2008 1:36 pm
by Sean
There is a possible issue with the script property in the Bluetooth component.

Some commands can be interpreted incorrectly when typed in upper-case - especially characters following an '&' character

Example:
AT&W - interpreted incorrectly

The EZURiO module accepts commands in lower-case or mixed-case:
AT&w - interpreted correctly

Re: Bluetooth board

Posted: Mon Mar 17, 2008 2:17 pm
by MarkGeelen
HI Sean,

What do you mean exactly?
If I put a command in the bluetooth component scripts such as: AT&F (for example) should it be AT&f?
Is it an issue with all the AT& commands or just with a few of them?
Thanks for the tip!

Greets Mark

Re: Bluetooth board

Posted: Mon Mar 17, 2008 2:29 pm
by Sean
The AT&F options do not seem to be affected. This appears to be limited to AT&W.

If in doubt, the code from the Bluetooth scripts can be seen in the C code, defined as BLU_SCRIPT_1, BLU_SCRIPT_2 etc.
This can be viewed from the Chip->View C menu in Flowcode. The \r characters in the code are the new line markers.

Re: Bluetooth board

Posted: Mon Mar 17, 2008 2:31 pm
by MarkGeelen
Ok thanks a lot!

Bluetooth board inquiry

Posted: Thu Apr 17, 2008 10:55 am
by raghavmonga
hi!
i m using E-blocks bluetooth training solutions EB860. I've 2 nodes : node A and Node B
i tried to communicate between these 2 but it didn't work.
then i tried communication with my mobile phone where nodeA worked perfectly fine but Node B didn't work.
are Node A and Node B different in any respect?
is there any prerequisite or anything different to be done?
please guide me on this matter :)

Re: Bluetooth board inquiry

Posted: Tue May 06, 2008 2:24 pm
by MarkGeelen
raghavmonga wrote:hi!
i m using E-blocks bluetooth training solutions EB860. I've 2 nodes : node A and Node B
i tried to communicate between these 2 but it didn't work.
then i tried communication with my mobile phone where nodeA worked perfectly fine but Node B didn't work.
are Node A and Node B different in any respect?
is there any prerequisite or anything different to be done?
please guide me on this matter :)
I think this is because of 1 device is set as a master and the other one as a slave. Look in the script of the bluetooth component. Here you will see the code and then you know if it is set as a master device or as a slave device.

Cheers Mark

Re: Bluetooth board

Posted: Tue May 06, 2008 5:06 pm
by Benj
A similar problem was found recently.

Please make sure that the bluetooth module on the EB024 is sitting securly into its socket.