Page 1 of 1

Arduino+RFLink but use it for arduino sketch

Posted: Monday 19 December 2016 10:35
by denisj
Hi there all,
I just buy 2 kits of arduino + rflink in order to make some automation at my home.

First of all I will connect an arduino(1) with RFLink firmware to the raspberry, this one will be used in Domoticz also.

Then I need another arduino(2)... one that I will use with some personalized programs in order to monitor my garden thinks.
The arduino(1) must communicate with arduin(2) TX and RX also.

I will update on the arduino(1) the RFLink firmware (cause for Domoticz)
I will put the RFLink hardware on the arduino(2) in order to have RF interface.

The question is... what software I will charge on the arduino(2) in order to make my personalized sketch
and use it to monitor/make thinks in my garden and make it "speek" with the arduino(2) please ?

What I mean is... if I have the RFLink firmware on the chip... I can put other thinks on that chip ? ...i think no.
I think I'll need only some lb in order to send/receive data between arduino(1) and arduino(2).
Can anyone please help me ?

Thanks in advance
Denis

Re: Arduino+RFLink but use it for arduino sketch

Posted: Monday 19 December 2016 12:32
by CaesarPL
I really try to understand and help you, but I don't know how.

- What 'things' would you like to measure?
- Why would you need second RFLink?
- Do you want to write you own protocol to communicate between RFLinks? Why? What for?
- How would you like to power Arduino in the garden when you write your protocols? How would you like to cover it?

Let me give you an example.

I would like to make some automation in my garden also. So, I would like to:
- buy soil moisture sensor (e.g. Opus XT300)
- It will be then automatically recognized by my RFLink and added as Device in Domoticz
- based on the measures I will first send myself an e-mail - 'Water the plants', and then maybe I will buy a relay that will open valve for sprinklers (or any other idea that will be suitable)

Re: Arduino+RFLink but use it for arduino sketch

Posted: Monday 19 December 2016 14:47
by denisj
Great :-)

Also I must make some sketch that manage an hydroponic implant.

So the adrduino(2) wil must.
-take measurements of PH of water
-take measurements of nutrition of water
-take measurements of nutrition of water
-take measurements of water level
-send me a RF message with values of all this
-use a vacuum RELAY in order to add water ...etc...etc...lot of thinks

So in this case the arduino(2) wil make a lot of work and also must communicate
with raspberry via arduino(1) RF.

The raspberry with arduino(1) (act like RFLink) will stai in my house ...linked in Domoticz

The arduino(2) will stay in my garden and will do the work... and must communicate
to raspberry with arduino(1) (act like RFLink) in order to manage the Domoticz.

I think a picture will be better but I can't make is now cause I'm in office at work :-(

Thanks again
Denis

Re: Arduino+RFLink but use it for arduino sketch

Posted: Monday 19 December 2016 15:21
by denisj
And like an OT ... I let you this link ...maybe can help guys of RFLink to make some product like this one
http://panstamp.com/store/index.php?id_ ... er=product

:-)

Re: Arduino+RFLink but use it for arduino sketch

Posted: Monday 19 December 2016 15:40
by CaesarPL
Ah, now we can see that.

I still think that it will be easier to do that using ESP8266 (e.g. http://www.instructables.com/id/Water-L ... /?ALLSTEPS) or Arduino but transfer through WiFi through ESP: http://www.instructables.com/id/ORP-pH- ... ta-Logger/

Of course you can try, but then (correct me if I'm wrong), RF protocol will be up to you to develop.

RE: OT. As people developing RFlink told you - it's much better to do it through USB - it makes their hardware not dependent only on Raspberry. And then Raspberry Pi is not cleaning signals, etc. When I was using cheap RF transmitters directly linked to GPIO with Pilight on, I had RPi very, very often on 100% processor cause signal was crap.

Re: Arduino+RFLink but use it for arduino sketch

Posted: Monday 19 December 2016 15:56
by denisj
Well the raspberry will be linked at arduino(1) + RFlink surelly
This cause I want to monitor other think around my house via RFLink and Domoticz.

The problem is that on the other arduino(2) I will need aome lib in order to make the communication with the first one.

I think is not necessary to update the RFLink firmware on the 2-nd arduino... just some include :-)

Re: Arduino+RFLink but use it for arduino sketch

Posted: Wednesday 21 December 2016 11:13
by ijobain

Re: Arduino+RFLink but use it for arduino sketch

Posted: Wednesday 21 December 2016 11:22
by denisj
Thanks for the link
...but i will make all network on the 433MHz freq.

For this reason I have buy 2 pieces of arduino + rflink hardware.
One will go to be the rflink for raspberry and the other must work alone like an arduino...

Thanks again
Denis