Page 1 of 1

E-blocks 2 Zigbee (BL0152)

Posted: Tue Sep 18, 2018 9:41 pm
by VladimirRepin
Hi,

I have a problem which I hope you be able to solve.

There is no component Zigbee BL0152 (E-blocks2) in FlowCode 8. The macros of component Zigbee EB051 are not suitable.

Is it possible to release an update with this component?

Thanks in advance for your help.

Re: E-blocks 2 Zigbee (BL0152)

Posted: Wed Sep 19, 2018 4:00 pm
by Benj
Hello,

We haven't gotten around to making an E-blocks 2 specific version of the Zigbee component yet.

For now it should be possible to use the EB051 Zigbee component to drive the board.
The macros of component Zigbee EB051 are not suitable.
Not sure what you mean by this could you provide more detail.

Re: E-blocks 2 Zigbee (BL0152)

Posted: Mon Sep 24, 2018 6:53 pm
by VladimirRepin
Thank you for considering this issue, here are some details

I had a problem with connecting the end device to the coordinator.
In my case, there are two circuits, each made from the PIC MultiProgrammer BL0080, Combo Board BL0114 and Zigbee Board BL0152 components.
In the first one, Zigbee is a Coordinator, in the second - End device.
In both circuits, the settings of the components correspond to the selected components.

I initialize both components, then I use ConnectToAll and ConnectToCoordinator macros from Zigbee EB051 component for Coordinator and End devices respectively.
ConnectToCoordinator macro is not executed (I also tried ConnectToName, but got the same), so I tried to run the search for the nearest devices using ScanNetwork on both modules.
As a result of the program, I understand that they do not see each other.

Re: E-blocks 2 Zigbee (BL0152)

Posted: Tue Sep 25, 2018 3:18 pm
by Benj
Hello,

Please can you attach your various programs for us to have a look.

Re: E-blocks 2 Zigbee (BL0152)

Posted: Wed Oct 03, 2018 3:15 pm
by VladimirRepin
Ok, there are two files - one for Zigbee Coordinator device, another for Zigbee End device.
What I tried to do, I already wrote above.

Re: E-blocks 2 Zigbee (BL0152)

Posted: Wed Oct 03, 2018 3:17 pm
by VladimirRepin
And here are the other two files for the same devices.
I tried to use ScanNetwork macro.

Re: E-blocks 2 Zigbee (BL0152)

Posted: Wed Oct 03, 2018 5:01 pm
by Benj
Hello,

Your pin connections look wrong.
ZigbeePins.jpg
ZigbeePins.jpg (58.79 KiB) Viewed 15402 times
Should be like this instead assuming your plugging the Zigbee boards into Port C of the E-block.
ZigbeePins2.jpg
ZigbeePins2.jpg (25.14 KiB) Viewed 15402 times

Re: E-blocks 2 Zigbee (BL0152)

Posted: Mon Oct 22, 2018 6:32 pm
by VladimirRepin
Hi,

I tried it in different ways, but I can not connect two zigbee modules between.
Can you tell me what my problem is?

Below are examples of programs that should allow me to connect devices (programs dont go out of the loop where the connection occurs).
I tried macros ConnectToAll, ConnectToCoordinator and ConnectToName in different variations, but I was unable to establish a connection.

Thanks in advance for the answer

Re: E-blocks 2 Zigbee (BL0152)

Posted: Tue Oct 23, 2018 10:19 am
by Benj
Hello,

I've been through your program and cleaned things up a bit and also added a few more scan channels just in case channel 0x1A is currently in use e.g. by a nearby WIFI router.
ZigBee_lab1_EndDevice_FCv8_18877.fcfx
(15.05 KiB) Downloaded 310 times
ZigBee_lab1_Coordinator_FCv8_18877.fcfx
(17.54 KiB) Downloaded 327 times
Let us know how you get on.

Re: E-blocks 2 Zigbee (BL0152)

Posted: Tue Oct 30, 2018 4:35 pm
by VladimirRepin
Hello,

They still dont connect together.

Re: E-blocks 2 Zigbee (BL0152)

Posted: Tue Oct 30, 2018 5:09 pm
by Benj
Ok so have you tried anything further? what about adding more scan channels?

Do you have a wifi spectrum app on your phone so you can see active WIFI channels in your area?

Re: E-blocks 2 Zigbee (BL0152)

Posted: Tue Dec 04, 2018 1:30 pm
by LeighM
Some things to check/try:
Ensure the PAN ID for both projects are the same
Try enabling just scan channels 0x0b and 0x15
Do the LEDs on the ZigBee boards flash or just stay on?

Re: E-blocks 2 Zigbee (BL0152)

Posted: Fri Dec 07, 2018 8:22 am
by VladimirRepin
Hi,

Here are two files that I used.
In both the same PAN ID - 1234. And Scan channels only 0x0b and 0x15.
Coordinator led blinks, End device led just stays on.

They still dont connect

Re: E-blocks 2 Zigbee (BL0152)

Posted: Fri Dec 07, 2018 11:09 am
by LeighM
Hi,
Yes the constant LED on the end node indicates it is not connected with the coordinator.
I've added a repeat loop into the connect request of the end node, see if that helps, if not perhaps try other channels.

Re: E-blocks 2 Zigbee (BL0152)

Posted: Wed Dec 19, 2018 10:21 am
by VladimirRepin
Hello,

I tried your program, it did not work.The ConnectToCoordinator marco returns zero, regardless of whether a coordinator is turn on or not, so I tried to change the loop to wait for one (instead zero). But this also does not work, so I want to try other channels, as you suggested, but I don’t quite understand how (channel tuning is done in Scan Channels or somewhere else?).

Hope you help me with this. Thanks.

Re: E-blocks 2 Zigbee (BL0152)

Posted: Wed Dec 19, 2018 11:09 am
by LeighM
Hi,
The channels can be set yes/no in the ZigBee component properties.
Have you just got one board of each, BL0152C Coordinator and BL0152R Router?

Re: E-blocks 2 Zigbee (BL0152)

Posted: Mon Jan 14, 2019 5:30 pm
by VladimirRepin
Hi.
Yes, I have two BL0080 boards and Zigbee Board BL0152 is connected to each of them.

I think it does not work. Can you confirm that Zigbee (eblocks 2) works in Flowcode 8?

Just send me at least one version of the program that can connect Zigbee (eblocks 2) together?

Re: E-blocks 2 Zigbee (BL0152)

Posted: Tue Jan 15, 2019 12:17 pm
by LeighM
Hi,
Can you test your hardware with the attached program?
It will just check communication between the BL0080 board and Zigbee Board
and it will also check and display the type of Zigbee Board, either Coordinator or End Device
(You need to have one of each)
Leigh

Re: E-blocks 2 Zigbee (BL0152)

Posted: Thu Jan 17, 2019 3:35 pm
by VladimirRepin
Hi,

I checked my devices.
The program display on screen "Coordinator" for one device (with a Coordinator mark on it)
and "End device" for another (with a Router/End mark on it).

Maybe you have a program that can connect Zigbee devices?

Re: E-blocks 2 Zigbee (BL0152)

Posted: Fri Jan 18, 2019 11:14 am
by LeighM
Hi,
That's good then, hardware OK.
Try these ..
Leigh