I’m trying to get a mesh of XBee 3 Digimesh devices (flashed Zigbee as DM seems unready) to control end-devices without putting an MCU on the routers.
I need to command a router (n of 24) to accept a small set of parameters:
-> Timer1 var, 5 to 120sec, from trigger input sent by either the coord or another router
-> Timer2 var, 5 to 60sec, from end Timer 1 to (1 (of 3) digi pin input) || time-out
-> TBA (under dev) var
<- Digi pin number activated
<- TimeVal (Millis from Start Timer2 to pin activation)
<- SensorVal from Analog pin at time of activation
I have the mesh running perfectly, and I can trigger the individual Nodes on demand firing pins etc from a CommandLine interface/Teensy/Coordinator and read and ID pin-activations on individual Nodes
I am aware that these devices can be programmed to handle Py scripts, which would mean that rather than treating them like serial cables, I could dispense with the MCU on the Node end, but I am having serious difficulty finding any suitable application examples at my level of understanding.
I have coded the above in C for Arduino using NRF modules and a Teensy 3.6 as MCU on the control interface, but the NRFs proved flaky at best in a mesh config. So, now I’m trying to get the functionality ported to the XBee mesh system - which seems rock solid so far.
If you can offer any assistance to enable me to progress my project, an example of a triggerable timer event on a Node for example, and advise how to mount and save the code on the nodes, I would be well on my way.
btw, I purchased the XBee3-Digimesh 24 602-2205-ND and had to re-flash them as Zigbee devices as the micro-python firmware is not released as yet…