dspMIAC Bluetooth
dspMIAC Bluetooth
Hi All,
Has anyone played with the BT Module inside the dspMIAC?, does anyone have some sample code?
Regards,
Gavin
Has anyone played with the BT Module inside the dspMIAC?, does anyone have some sample code?
Regards,
Gavin
- 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: dspMIAC Bluetooth
Hi Gavin,
Assuming you're using Flowcode 8, Please can you try this and let us know how you get on.
Assuming you're using Flowcode 8, Please can you try this and let us know how you get on.
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: dspMIAC Bluetooth
Hi Benj,
Please see attached Screen Grab of the Set-Up, I assume the Baud rate is 115200?
Please see attached Screen Grab of the Set-Up, I assume the Baud rate is 115200?
Re: dspMIAC Bluetooth
Thanks Leigh,
Still no connection, keeps saying FAIL, I also can't see the BT module in my "search" on my BT Terminal program
Any ideas what else I should check?
Regards,
Gavin
Still no connection, keeps saying FAIL, I also can't see the BT module in my "search" on my BT Terminal program
Any ideas what else I should check?
Regards,
Gavin
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: dspMIAC Bluetooth
Hi Gavin,
Might be worth just giving the MIAC a test.
Could you load the attached test program using mLoader
On running the program, the MIAC should display the message "MI8759 dsPIC + BT" if all is well and the Bluetooth module has been detected.
Thanks
Leigh
Might be worth just giving the MIAC a test.
Could you load the attached test program using mLoader
On running the program, the MIAC should display the message "MI8759 dsPIC + BT" if all is well and the Bluetooth module has been detected.
Thanks
Leigh
- Attachments
-
- MIAC_dsPIC_InputOutput.hex
- (40.9 KiB) Downloaded 348 times
Re: dspMIAC Bluetooth
Hi Leigh,
It only says MI5809 dsPIC
F1 for Input Test
F2 for Output Test
No BT
Regards,
Gavin
It only says MI5809 dsPIC
F1 for Input Test
F2 for Output Test
No BT
Regards,
Gavin
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: dspMIAC Bluetooth
Oh, that's not a good start then
If it was bought as a Bluetooth version MI8759, then it should look like this inside,
the Bluetooth module is on the right between the two white support pillars
To open the unit, pull at the sides slightly to release the top cover catches,
then pull off the top cover whilst pressing on the key pad to push the top pcb out of the cover.
If it was bought as a Bluetooth version MI8759, then it should look like this inside,
the Bluetooth module is on the right between the two white support pillars
To open the unit, pull at the sides slightly to release the top cover catches,
then pull off the top cover whilst pressing on the key pad to push the top pcb out of the cover.
Re: dspMIAC Bluetooth
Hi Leigh,
I opened the unit and saw the blue LED flashing on/off every 2-3 seconds. I tried both your code and the one from Benj with the no response from the BT module.
I have ordered any BT Miac so I will wait test that one incase something is no right with the hardware,
Regards,
Gavin
I opened the unit and saw the blue LED flashing on/off every 2-3 seconds. I tried both your code and the one from Benj with the no response from the BT module.
I have ordered any BT Miac so I will wait test that one incase something is no right with the hardware,
Regards,
Gavin
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: dspMIAC Bluetooth
Hi,
Here's another Bluetooth test program, this one checks the baud rate.
Leigh
Here's another Bluetooth test program, this one checks the baud rate.
Leigh
- Attachments
-
- MIAC (dsPIC) HP1001 (RN4677) Bluetooth setup.hex
- (41.64 KiB) Downloaded 266 times
Re: dspMIAC Bluetooth
Hi Leigh,
Its working 100%, I also loaded the code from Benj and now it also working,
Thanks allot!,
I would love to see the code the BT Setup..
Regards,
Gavin
Its working 100%, I also loaded the code from Benj and now it also working,
Thanks allot!,
I would love to see the code the BT Setup..
Regards,
Gavin
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: dspMIAC Bluetooth
Hi Gavin,
Thanks for the update, glad to hear it is working now
Setup program source attached.
It's an (old) Flowcode V6 program that was written prior to the CAL component property expose changes.
So when you load it into V8 the UART properties will all be incorrect.
I've not got around to fixing all that yet
But if you check and fix the UART properties all should be well
Leigh
Thanks for the update, glad to hear it is working now
Setup program source attached.
It's an (old) Flowcode V6 program that was written prior to the CAL component property expose changes.
So when you load it into V8 the UART properties will all be incorrect.
I've not got around to fixing all that yet
But if you check and fix the UART properties all should be well
Leigh
- Attachments
-
- MIAC (dsPIC) HP1001 (RN4677) Bluetooth setup.fcfx
- (34.97 KiB) Downloaded 257 times