Possibly Busted Eblock
Possibly Busted Eblock
Hi,
I have been working on the e blocks bluetooth board as an upgrade to the formula flowcode buggy. I have ordered 2 Eblocks the Bluetooth Board(EB0124) and the LCD Board(EB005). The LCD board is working just fine, its the bluetooth that bothers mi. The led of the bluetooth won't light nor powers on after it is already supplied. When both are connected (Bluetooth and LCD), only the lcd displays and the bluetooth wont initialize. The pogram I am using is the one that can be dowloaded in the Matrix Multimedia website.
Is it possible that the bluetooth is busted?
Attach is a pic of how we connected the bluetooth.
https://www.dropbox.com/s/zyk7a1ktrj6a9 ... .36.26.jpg
Marc
I have been working on the e blocks bluetooth board as an upgrade to the formula flowcode buggy. I have ordered 2 Eblocks the Bluetooth Board(EB0124) and the LCD Board(EB005). The LCD board is working just fine, its the bluetooth that bothers mi. The led of the bluetooth won't light nor powers on after it is already supplied. When both are connected (Bluetooth and LCD), only the lcd displays and the bluetooth wont initialize. The pogram I am using is the one that can be dowloaded in the Matrix Multimedia website.
Is it possible that the bluetooth is busted?
Attach is a pic of how we connected the bluetooth.
https://www.dropbox.com/s/zyk7a1ktrj6a9 ... .36.26.jpg
Marc
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Possibly Busted Eblock
Hello Marc,
The LED on the Bluetooth E-block only comes on when the Bluetooth is paired.
Can you attach your program so I can have a look and see if I can spot anything, the demo file will be using the hardware UART, you will need to change this to instead use the software UART on pins RD6 and RD7.
The LED on the Bluetooth E-block only comes on when the Bluetooth is paired.
Can you attach your program so I can have a look and see if I can spot anything, the demo file will be using the hardware UART, you will need to change this to instead use the software UART on pins RD6 and RD7.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Possibly Busted Eblock
Hi,
This one I used to test:
https://www.dropbox.com/s/rp69g5q6w9iadsv/bt2.fcf
Then I tried to make the bluetooth discoverable, I used this one:
https://www.dropbox.com/s/z91qg6uu0d4k2 ... 123123.fcf
This one I used to test:
https://www.dropbox.com/s/rp69g5q6w9iadsv/bt2.fcf
Then I tried to make the bluetooth discoverable, I used this one:
https://www.dropbox.com/s/z91qg6uu0d4k2 ... 123123.fcf
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Possibly Busted Eblock
Hello,
Right the Bluetooth component in v5 doesn't expose the software mode so you can either do what I have done and hard code it in via the custom code option or you can use the RS232 component.
In the attached file I have fixed the UART to software mode on pins RD6 and RD7 so hopefully it will start working for you now and be discoverable.
Example of the C code mods I made to the Defines section of component code.
Let me know how your getting on.
Right the Bluetooth component in v5 doesn't expose the software mode so you can either do what I have done and hard code it in via the custom code option or you can use the RS232 component.
In the attached file I have fixed the UART to software mode on pins RD6 and RD7 so hopefully it will start working for you now and be discoverable.
Example of the C code mods I made to the Defines section of component code.
Code: Select all
#ifndef MX_UART_REF1
#ifndef %a_MX_UART_UREF
#define MX_UART_REF1
#define %a_MX_UART_UREF 1
#define MX_UART_CHANNEL_1 0//%b
#define MX_UART_TX_PIN_1 6
#define MX_UART_TX_PORT_1 portd
#define MX_UART_TX_TRIS_1 trisd
#define MX_UART_RX_PIN_1 7
#define MX_UART_RX_PORT_1 portd
#define MX_UART_RX_TRIS_1 trisd
- Attachments
-
- BT-FF.fcf
- (26.7 KiB) Downloaded 330 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Possibly Busted Eblock
Hello Benj,
I tried the program and still no luck. I can't detect the device nor it has initialized.
I have set up the Bluetooth board together with the LCD just to see if it has initailize. But still no luck.
I have attached a picture of how I I had set it up.
https://www.dropbox.com/s/l3bm8k7sakz3q ... .50.18.jpg
I tried the program and still no luck. I can't detect the device nor it has initialized.
I have set up the Bluetooth board together with the LCD just to see if it has initailize. But still no luck.
I have attached a picture of how I I had set it up.
https://www.dropbox.com/s/l3bm8k7sakz3q ... .50.18.jpg
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Possibly Busted Eblock
Hello Marc,
The E-blocks won't work in this configuration, the Female D-type socket on the Bluetooth board is for an audio codec. You will need an E-blocks splitter cable to allow you to connect both boards directly to the D-type on the formula flowcode.
The E-blocks won't work in this configuration, the Female D-type socket on the Bluetooth board is for an audio codec. You will need an E-blocks splitter cable to allow you to connect both boards directly to the D-type on the formula flowcode.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Possibly Busted Eblock
Hi Benj,
Is it okay if I make my own? The Eblocks splitter cable is not available here.
Will the program that you have attached work without the LCD board? Because I tried having the bluetooth board only and I can't detect it nor make a pairing on a device. Is there a need to insert an address to the program? If there is, where should I insert it and how?
Thanks.
Marc
Is it okay if I make my own? The Eblocks splitter cable is not available here.
Will the program that you have attached work without the LCD board? Because I tried having the bluetooth board only and I can't detect it nor make a pairing on a device. Is there a need to insert an address to the program? If there is, where should I insert it and how?
Thanks.
Marc
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: Possibly Busted Eblock
Hello John,
What I meant was the cable is not available here in my country. It would take weeks to arrive if I order the cable.
What I meant was the cable is not available here in my country. It would take weeks to arrive if I order the cable.