mweintra / ZigBee

An Energia library for ZigBee (based on Anaren's A2530 module)
17 stars 5 forks source link

a2530-msp432 implemantation and a2530 zigbee usage #1

Open cevatbostancioglu opened 9 years ago

cevatbostancioglu commented 9 years ago

hello , i download your code , it's nice to work with boosterpack kits. i also try to implement to msp432 but i failed. and you are using simple api , it's too bad choice , because people cannot usage module %60. did you have a success solution for msp432 ? thanks.

mweintra commented 9 years ago

Hi Cevat,

Thanks for trying out the code! I haven't updated it for the msp432 yet (I don't have this boosterpack). It doesn't use simple API, it actually is built on an AF/ZDO interface. I'm not sure I understand module %60?

On Tue, Aug 11, 2015 at 5:55 AM, Cevat Bostancıoğlu < notifications@github.com> wrote:

hello , i download your code , it's nice to work with boosterpack kits. i also try to implement to msp432 but i failed. and you are using simple api , it's too bad choice , because people cannot usage module %60. did you have a success solution for msp432 ? thanks.

— Reply to this email directly or view it on GitHub https://github.com/mweintra/ZigBee/issues/1.

cevatbostancioglu commented 9 years ago

actually i'm try to say , if firmware use simple api , firmware can just use modules %60 skill. and it's doesn't matter right now. thanks for reply. i think msp432 spi interface have a bug. i use msp432 p1_5,p3_0,p5_7,p1_7,p1_6,p2_5 pins but the firmware didn't work.

dagarott commented 8 years ago

Hello, first of all great job. Could you please, specify if there is any function in your code to get number of node that join the network, I mean, how many nodes form the mesh

Thanks and regards

medsimo commented 7 years ago

how can i do to connect 2 sensores node with 1 coordinator (gateway) ? i have many difficult to do this .... !!! help please.

mweintra commented 7 years ago

What kind of issues are you experiencing, specifically? Multiple sensors should usually be able to connect to a Coordinator without any modifications.

On Mon, Feb 6, 2017 at 7:45 AM, medsimo notifications@github.com wrote:

how can i do to connect 2 sensores node with 1 coordinator (gateway) ? i have many difficult to do this .... !!! help please.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mweintra/ZigBee/issues/1#issuecomment-277670417, or mute the thread https://github.com/notifications/unsubscribe-auth/AA44UL2R8jproAmwwmGA9F7eamibaxmDks5rZxYHgaJpZM4FpWtN .

medsimo commented 7 years ago

The problem I have is, when I am going to connect two nodes to measure voltage and temperature, it turns out that one sends me the data well but the data is confused when I connect the second because they are repeated in the coordinator and I do not know why?   With one I want to send external voltage and with another I want to send external frequency how how I could do it?

medsimo commented 7 years ago

Well, I also use an external voltage (read a source of 2.5 V, 3 V) and temperature sensor TMP006. How I do it. Some sample code or some help please. I am in a job end of career and I am very overwhelmed with these modules.

please mweintra !! regards. Med :)

mweintra commented 7 years ago

How do you know the data received at the Coordinator is "repeated"? When you receive a message do they have the same MAC or network address (you can find this by using the .address() function)

As for the other questions not regarding this library you should try posting it on http://forum.43oh.com/

On Mon, Feb 6, 2017 at 10:55 AM, medsimo notifications@github.com wrote:

Well, I also use an external voltage (read a source of 2.5 V, 3 V) and temperature sensor TMP006. How I do it. Some sample code or some help please. I am in a job end of career and I am very overwhelmed with these modules.

please mweintra !! regards. Med :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mweintra/ZigBee/issues/1#issuecomment-277724722, or mute the thread https://github.com/notifications/unsubscribe-auth/AA44UPaeFOaqfLJkqZ6Qhf6sRLz2Lbdyks5rZ0JcgaJpZM4FpWtN .

medsimo commented 7 years ago

i don't know, because i can't use the MAC address (), Gives me bugs when I include the MAC address. can you give me your E.Mail, i will send you result and codes i have been using ? coordinador ed res 2 res1 router

mweintra commented 7 years ago

It looks the coordinator is receiving data from both devices.

Add this to your main loop within the coordinator device:

Serial.println(ZigBee.address(),HEX);

This will tell you the address of the device sending you data. The data is corrupted because of the misuse of the ZigBee.read() and write() functions. Please take a look at the tutorials for proper usage.

On Mon, Feb 6, 2017 at 11:20 AM, medsimo notifications@github.com wrote:

i don't know, because i can't use the MAC address (), Gives me bugs when I include the MAC address. can you give me your E.Mail, i will send you result and codes i have been using ? [image: coordinador] https://cloud.githubusercontent.com/assets/23233776/22655487/994b016e-ec90-11e6-8ef6-197859ab7831.PNG [image: ed] https://cloud.githubusercontent.com/assets/23233776/22655489/994e6dfe-ec90-11e6-9655-3f6fff8e91f2.PNG [image: res 2] https://cloud.githubusercontent.com/assets/23233776/22655488/994cb75c-ec90-11e6-86c4-7d88c35f7c0c.png [image: res1] https://cloud.githubusercontent.com/assets/23233776/22655491/99743cdc-ec90-11e6-854a-ffde815476f8.png [image: router] https://cloud.githubusercontent.com/assets/23233776/22655490/994efa8a-ec90-11e6-9569-0795ccb51b23.PNG

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mweintra/ZigBee/issues/1#issuecomment-277732410, or mute the thread https://github.com/notifications/unsubscribe-auth/AA44UI-8mSI1AqO3vI4VbCSAQtVPnhczks5rZ0hngaJpZM4FpWtN .

medsimo commented 7 years ago

yes, the coordinator receive data from both devices. but ... data that it gives me are wrong, because I need the router to just send me the "counter" and the "phrase", and the end device, "voltage" and "temperature".

And it turns out that the data is sent to me twice !!! How can I solve it? I'm really bothering a lot ... sorry :( but i need helps.

1

medsimo commented 7 years ago

Okay, I have something, but I would like to know if these data are correct, because 18 degrees seem exaggerated to me in a room where the maximum is 13 degrees. The voltage does not know if it is good or not.

another question. How could you measure the temperature with the TMP006 of the CC2530 module and send it to the coordinator? 1

mweintra commented 7 years ago

Please post questions to issues other than this library to http://forum.43oh.com/

On Wed, Feb 8, 2017 at 11:54 AM, medsimo notifications@github.com wrote:

Okay, I have something, but I would like to know if these data are correct, because 18 degrees seem exaggerated to me in a room where the maximum is 13 degrees. The voltage does not know if it is good or not.

another question. How could you measure the temperature with the TMP006 of the CC2530 module and send it to the coordinator? [image: 1] https://cloud.githubusercontent.com/assets/23233776/22747556/a8087518-ee27-11e6-9fe7-a0444c27c408.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mweintra/ZigBee/issues/1#issuecomment-278387776, or mute the thread https://github.com/notifications/unsubscribe-auth/AA44UFFBQq-zHeWwyJ_4yRq0nXM1Se9iks5rafNRgaJpZM4FpWtN .

medsimo commented 7 years ago

Ook !! I already have it in the forum, to see if someone answers me in a short time !!!

http://forum.43oh.com/topic/6082-energia-library-zigbee/

medsimo commented 7 years ago

http://forum.43oh.com/topic/10184-mweintra-zigbee-examples-for-cc2530/

any request !!

medsimo commented 7 years ago

Is there any way to be able to separate the data from the final device, and ROUTER? That is, what I want to do is, put two boucles if with (DEVICE_ANNOUNCE), so that when the two are connected with the coordinator, the latter can read the data simultaneously, even the two of a command voltage and temperature, But they will be the recipients of the data. I do not know if I get the DEVICE_ANNOUNCE I get nothing.

Any idea of ​​how the boucles have to be?