Cooking Hacks Forum
https://www.cooking-hacks.com/forum/

OpenGarden Node "not connecting"
https://www.cooking-hacks.com/forum/viewtopic.php?f=43&t=19952
Page 1 of 1

Author:  al_baum [ Fri Jul 26, 2019 11:51 am ]
Post subject:  OpenGarden Node "not connecting"

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)
}

Author:  libelium-dev [ Tue Jul 30, 2019 10:23 am ]
Post subject:  Re: OpenGarden Node "not connecting"

Hi,

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

Regards

Author:  al_baum [ Wed Jul 31, 2019 12:57 pm ]
Post subject:  Re: OpenGarden Node "not connecting"

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

Author:  libelium-dev [ Thu Aug 01, 2019 6:50 am ]
Post subject:  Re: OpenGarden Node "not connecting"

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.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/