Bluetooth project

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
OneFingerSalute
Posts: 1
Joined: Tue May 09, 2017 4:58 pm

Bluetooth project

Post by OneFingerSalute »

Hi

I am an beginner electronics student,
just been given a project, very little knowledge of flowcode and matrix systems. Can run basic programmes but I have not learnt bluetooth AT commands.

I have a 16f1937 PIC
Bluetooth Eblock EB024
LCD
Switches
LEDs

Attempting to code the chip to pair with my phone using AppInventor. we have an app up and running but cannot pair via bluetooth and then send weather data from sensors we have constructed
I have only done a week of basic flowcode and am struggling to use AT commands, does anyone have any ideas in regards to pairing and connecting to the bluetooth chip via a samsung smartphone.
Problem is definitely in the code as we essentially have nothing right now.
Have looked at AT COMMAND SET data sheet and it didnt help

Greatly appreciated :D

User avatar
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: Bluetooth project

Post by Benj »

Hello,

Have you looked at the examples here. Particularly the make device discoverable example, assuming you will initiate pairing from the phone.
https://www.matrixtsl.com/wikiv7/index. ... 5032bc886a

Hopefully they should help to get you up and running.

Should just be a case of initialising the Bluetooth v2 component with the Discoverable and Connectable properties set to Yes.

Post Reply