EB024 bluetooth Issue?
Moderator: Benj
-
- Posts: 7
- Joined: Tue Aug 27, 2013 10:44 am
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
EB024 bluetooth Issue?
I'm using both flowcode V4.0 and V5.2-V5.4 for PIC micro, I download example 1 on home page and download to my EB006 16F877A
the program idea: send string "Start up:" to LCD -> send script 1 to PC -> send string "done" to LCD -> wait for string send from my computer and display on LCD
script 1 from example:
ATS0=1
ATS536=1
ATS512=4
AT+BTK="1234"
AT&W
ATZ
In flowcode V4, it's OK, very fast and smooth, I use "Hercules Setup utility" to manage COM port, and it receive+show all script 1 and I can send string from PC to my LCD very good
In flowcode v5, it's stucked when send script 1, Hercules Setup utility only receive ATS0=1 and my LCD only show "Start up:" and i wait for 5 minutes but it didn't send lines from script 1 to my PC like V4.
Please help me! thank you very much, sorry for my bad english
the program idea: send string "Start up:" to LCD -> send script 1 to PC -> send string "done" to LCD -> wait for string send from my computer and display on LCD
script 1 from example:
ATS0=1
ATS536=1
ATS512=4
AT+BTK="1234"
AT&W
ATZ
In flowcode V4, it's OK, very fast and smooth, I use "Hercules Setup utility" to manage COM port, and it receive+show all script 1 and I can send string from PC to my LCD very good
In flowcode v5, it's stucked when send script 1, Hercules Setup utility only receive ATS0=1 and my LCD only show "Start up:" and i wait for 5 minutes but it didn't send lines from script 1 to my PC like V4.
Please help me! thank you very much, sorry for my bad english
-
- Posts: 594
- Joined: Thu Sep 17, 2009 7:52 am
- Location: Belgium
- Has thanked: 63 times
- Been thanked: 102 times
- Contact:
Re: EB024 bluetooth Issue?
Is there any difference between your v4 code and v5 ?
Could you post both of them on the forum so we can have a look ?
- Nicolas
Could you post both of them on the forum so we can have a look ?
- Nicolas
-
- Posts: 7
- Joined: Tue Aug 27, 2013 10:44 am
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
Re: EB024 bluetooth Issue?
Dear Niclolas,
Here is a page for an e-block EB024:
http://www.matrixmultimedia.com/product ... PHPSESSID=
I downloaded this file
EB024 - Bluetooth Board - Examples Flowcode v4
I opened file: BT_EX1_Node_A-fc4.fcf by flowcode V4 and downloaded to my 16F877A, I connected my laptop to eb024 successfully and I can send text to eblock-LCD
when my 16F877A+EB024 start or reset, it send all words of script 1 to my laptop( I saw it by "Terminal V1.9b")
after that I used flowcode V5 to open+download program to that 16F877A, i connected my laptop to eb024 successfully but the program stuck at LCD only show "start up" and I wait for 10 minute, it only send "ATS0=1" to my laptop
thanks again!!!
Here is a page for an e-block EB024:
http://www.matrixmultimedia.com/product ... PHPSESSID=
I downloaded this file
EB024 - Bluetooth Board - Examples Flowcode v4
I opened file: BT_EX1_Node_A-fc4.fcf by flowcode V4 and downloaded to my 16F877A, I connected my laptop to eb024 successfully and I can send text to eblock-LCD
when my 16F877A+EB024 start or reset, it send all words of script 1 to my laptop( I saw it by "Terminal V1.9b")
after that I used flowcode V5 to open+download program to that 16F877A, i connected my laptop to eb024 successfully but the program stuck at LCD only show "start up" and I wait for 10 minute, it only send "ATS0=1" to my laptop
thanks again!!!
- Attachments
-
- BT_EX1_Node_A-fc4.fcf
- from matrix e-block page
- (9.5 KiB) Downloaded 340 times
- 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: EB024 bluetooth Issue?
Hello,
Please can you update your v5 to version 5.5 and see if that helps with the issue at all.
If not then I will investigate the problem for you.
Please can you update your v5 to version 5.5 and see if that helps with the issue at all.
If not then I will investigate the problem for you.
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
-
- Posts: 7
- Joined: Tue Aug 27, 2013 10:44 am
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
Re: EB024 bluetooth Issue?
Hello Benj,
I updated my flowcode V5 to version v5.5.2.1 (30.1.2013) but nothing change.
I installed flowcode v5 on both Win XP and Win 7
Thank Benj very much.
I updated my flowcode V5 to version v5.5.2.1 (30.1.2013) but nothing change.
I installed flowcode v5 on both Win XP and Win 7
Thank Benj very much.
- 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: EB024 bluetooth Issue?
Hello,
I have made a minor modification to the Bluetooth code behind the scenes in the attached file. Please can you have a quick go using v5.5 and see if it helps the problem. If it does then I will roll out the mod to the component C file so the mod will be loaded into any project that uses Bluetooth.
I have made a minor modification to the Bluetooth code behind the scenes in the attached file. Please can you have a quick go using v5.5 and see if it helps the problem. If it does then I will roll out the mod to the component C file so the mod will be loaded into any project that uses Bluetooth.
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: EB024 bluetooth Issue?
Hello, Benj!
I've got the same trouble with EB-024. Your modification doesn't correct the problem in FC 5.5
Could you help with any other solution?
If I don't use a script it works perfectly. I use Create command and Send command macro and the example works.
But I can't understand how to use these macro with AT+BTK="1234" command. I can't create this command because I need to use quote sign (") four times in Create command macro attributes. So I'd like to use script with EB-024 e-block.
I've got the same trouble with EB-024. Your modification doesn't correct the problem in FC 5.5
Could you help with any other solution?
If I don't use a script it works perfectly. I use Create command and Send command macro and the example works.
But I can't understand how to use these macro with AT+BTK="1234" command. I can't create this command because I need to use quote sign (") four times in Create command macro attributes. So I'd like to use script with EB-024 e-block.
- 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: EB024 bluetooth Issue?
Hello,
You can add the quote to a string using this syntax.
"AT+BTK=\"1234\""
I'll have a look at the script code compared to the command code and see if I can spot what's going wrong.
You can add the quote to a string using this syntax.
"AT+BTK=\"1234\""
I'll have a look at the script code compared to the command code and see if I can spot what's going wrong.
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
-
- Posts: 78
- Joined: Mon Sep 26, 2011 4:18 pm
- Has thanked: 5 times
- Been thanked: 10 times
- Contact:
Re: EB024 bluetooth Issue?
Hello,
I have the same problem. It's OK without script...
I look forward to the feedback...this still does not work with the solution: "AT + BTK = \" 1234 \ ""
My version is not Free edition
Bruno
I have the same problem. It's OK without script...
I look forward to the feedback...this still does not work with the solution: "AT + BTK = \" 1234 \ ""
My version is not Free edition
Bruno
-
- Flowcode v5 User
- Posts: 3
- Joined: Tue May 27, 2014 2:38 pm
- Location: Cannes
- Has thanked: 1 time
- Contact:
Re: EB024 bluetooth Issue?
Hello,
I use the EB024 for Bluetooth communication.
My program worked fine under Flowcode 4. Since I use Flowcode V5.5 it does not work because the program stuck in the macro "sendscript".
Do you have the solution to debug this problem?
Regards,
Momo
I use the EB024 for Bluetooth communication.
My program worked fine under Flowcode 4. Since I use Flowcode V5.5 it does not work because the program stuck in the macro "sendscript".
Do you have the solution to debug this problem?
Regards,
Momo
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: EB024 bluetooth Issue?
Hi
If you are using sendscript, try this in the script, and ensure it has a carriage return (Ctrl+Enter) at the end
Regards,
Leigh
If you are using sendscript, try this in the script, and ensure it has a carriage return (Ctrl+Enter) at the end
Code: Select all
AT+BTK="1234"
Leigh
-
- Flowcode v5 User
- Posts: 3
- Joined: Tue May 27, 2014 2:38 pm
- Location: Cannes
- Has thanked: 1 time
- Contact:
Re: EB024 bluetooth Issue?
Thank you for your reply, here is my script and I've done a carriage return (Ctrl + Enter) at the end.
ATS0=1
ATS512=4
AT+BTK="1234"
AT&W
ATZ
When I look in a hyperterminal there is only the first line of the script is sent!
Momo
ATS0=1
ATS512=4
AT+BTK="1234"
AT&W
ATZ
When I look in a hyperterminal there is only the first line of the script is sent!
Momo
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: EB024 bluetooth Issue?
Is there any reply from the Bluetooth device?
If you have connected hyper terminal in place of the Bluetooth, what happens if you reply: OK<return>
If you have connected hyper terminal in place of the Bluetooth, what happens if you reply: OK<return>
-
- Flowcode v5 User
- Posts: 3
- Joined: Tue May 27, 2014 2:38 pm
- Location: Cannes
- Has thanked: 1 time
- Contact:
Re: EB024 bluetooth Issue?
Hello,
I finally arrived to set up the bluetooth module sending the AT command as the "senscript" function does not work under FLOWCODE 5.5.
I get to communicate with the module, against when I use the command "STRINGRECEIVE" to know the length of the character string it returns me random values.
Do you have a solution?
sincerely,
Momo
I finally arrived to set up the bluetooth module sending the AT command as the "senscript" function does not work under FLOWCODE 5.5.
I get to communicate with the module, against when I use the command "STRINGRECEIVE" to know the length of the character string it returns me random values.
Do you have a solution?
sincerely,
Momo