Libelium is offering new technical support channels, to contact with de Technical Support team to solve any issue our doubt please contact with your sales agent or visit our contact site



Post a new topicPost a reply Page 1 of 1   [ 4 posts ]
Author Message
 Post subject: OpenGarden Node "not connecting"
PostPosted: Fri Jul 26, 2019 11:51 am 

Joined: Wed Jul 24, 2019 12:48 pm
Posts: 5
Hello,
I am trying to get sensor data from an opengarden node to an opengareden gateway, but failing so far.

When I upload the TX example sketch to the opengarden node (I only changed the 60 to 6 in order to send information every 6 seconds), and the "indoor _and outdoor" example sketch (or the node debug sketch) I get no information from the node ("No node connected" message).

Maybe I miss something very basic. Here are the steps.



- Node is bootloaded. I followed the steps to upload the bootloader to the ATtiny and I can upload and see that the blink sketch is working on pin 7 of the ATtiny so I understand that it is properly bootloaded.
- Uploaded the TX sketch from GardenNode example (only changing the 60 to 6 in the nodewait command)
- ATyni is on the node, turned on (green light) Moist sensor connected to node

-OpenGarden Gateway is on Arduino Uno, with the 'Indoor_and_Outdoor' sketch from example folder, unchanged.

Result: every minute, I can see the values for Luminosity, temperature etc from the gateway, but the message 'No node connected' for nodes 1 2 and 3

Hope someone can help .
Thanks


This is the sketch on the node:


#include <OpenGardenNode.h>

Payload nodePacket;

void setup() {
//Initialize the transceiver
OpenGardenNode.initRF(1); //Write here the number for your node ID (1 to 6)
OpenGardenNode.initSensors(); //Initialize sensors power
}

void loop() {
OpenGardenNode.sensorPowerON(); //Turns on the sensor power supply
OpenGardenNode.readSensors(); //Read all node sensors
OpenGardenNode.sensorPowerOFF(); //Turns off the sensor power supply

OpenGardenNode.sendPackage(); // Send data via RF asking for ACK
OpenGardenNode.nodeWait(6); //Enter low power mode for 6 seconds (max: 60 seconds)
}


Top
 Profile  
 
 Post subject: Re: OpenGarden Node "not connecting"
PostPosted: Tue Jul 30, 2019 10:23 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hi,

Are you using 1.0.5 or 1.0.6 Arduino IDE to upload the codes?

Regards


Top
 Profile  
 
 Post subject: Re: OpenGarden Node "not connecting"
PostPosted: Wed Jul 31, 2019 12:57 pm 

Joined: Wed Jul 24, 2019 12:48 pm
Posts: 5
Hi,
Thank you for the reply. I am not using the 1.0.5 or 1.0.6 IDE since they will not install on my computer.
I am using 1.8.9.
Can you tell me if there a specific part that needs the 1.0.5 IDE ?
I mean if it has to do with the bootloader, the open garden libraries or..
Basically to know whether I can find a computer with 1.0.5 and leave the ATTiny programed and work on my computer to program the Arduino with the gateway or if the whole thing has to rely on IDE 1.0.5

Thanks


Top
 Profile  
 
 Post subject: Re: OpenGarden Node "not connecting"
PostPosted: Thu Aug 01, 2019 6:50 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hi,

It has to do with the libraries, you can try to use the libraries used in 1.0.5 IDE with the IDE that works in your computer.

We're sorry we could give you better support to solve the issue.

Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 4 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use.