Page 1 of 1
arduino mega 2560 r3 ch340g
Posted: Thursday 07 January 2016 20:35
by eddiex666
Hi,
I am testing a "arduino mega 2560 r3 ch340g" and I have some questions....
1. Does this device work with domoticz?
2. do I have to do something to get it working? (script, patch, drivers, flashing tools?)
Any tips will be nice...
Eddie
Re: arduino mega 2560 r3 ch340g
Posted: Thursday 07 January 2016 21:23
by nayr
1. Natively, no.. domoticz cannot run on it nor can it talk directly to it without you doing the heavy work.
2. Yep, write them your self.. I suggest looking at the MQTT support in Domoticz.
Tip: Buy a Raspberry Pi, it can run linux and domoticz natively, has a network interface, and the GPIO pins are supported directly in Domoticz.. ie, the drivers have already been written for you.
Re: arduino mega 2560 r3 ch340g
Posted: Thursday 07 January 2016 21:40
by eddiex666
Hey hey... Nayr...
thats good and good answers
I allready have a pie B... with domoticz on... so its just to plug it on the GPIO port?
Do I have to do any special config?
Eddie
Re: arduino mega 2560 r3 ch340g
Posted: Thursday 07 January 2016 21:50
by eddiex666
hmmm, I may be newbee
I have a Aruino mega 2560 r3 (USB to Serial) adapter, with a RF-Link module on it...
So I see that Domoticz support RF-Link, have I missed something?
Eddie
Re: arduino mega 2560 r3 ch340g
Posted: Thursday 07 January 2016 21:54
by eddiex666
I have connected the Arduino USB to my Raspberry PIE B+ with domoticz....
and I have added the "hardware" called RF-Link USB...
(as the same I did for RFX433E)
But i cannot see any received protocols, and I guess I may have to flash the Arduino???
Eddie
Re: arduino mega 2560 r3 ch340g
Posted: Thursday 07 January 2016 21:59
by eddiex666
a dmesg shows:
[ 4.910210] ftdi_sio 1-1.2:1.0: FTDI USB Serial Device converter detected
[ 4.912702] usb 1-1.2: Detected FT232RL
[ 5.008640] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB0
and in the Domoticz I added "RFLink gateway USB" on /dev/ttyUSB0"
But I dont see any received RF signals... I have a RF 433 mhz sender and receiver...
I have a 433 MHZ remote control from Nexa to send signals...
Tips?
Eddie
Re: arduino mega 2560 r3 ch340g
Posted: Thursday 07 January 2016 22:00
by nayr
For Rasbery GPIO go here,
http://www.domoticz.com/forum/viewforum.php?f=32
For RF-Link you need a gateway i think, I have no experience with it so I can only point you to the Wiki to look for guidence:
http://www.domoticz.com/wiki/FAQ#RFXCom
I am a HAM and 433MHz is in a band I operate in, so I have no desire to flood my house with UHF transmitters..
SOLVED - Re: arduino mega 2560 r3 ch340g
Posted: Friday 08 January 2016 10:04
by eddiex666
So I found the info I needed....
I bougth the Arduino USB to Serial adapter, RFLink Tranceiver (send and receive) kit.
the kit is here:
http://www.nodo-shop.nl/en/rflink-gatew ... tenna.html
And I after soldering, i connected it to a windows pc and flashed it with the firmware.
How to guide is here....
http://www.nemcon.nl/blog2/
So now it works like tellstick, RFX433E etc.. on my Raspberry PI B+ ith Domotics....
Its nice...
Benefits.... it supports many protocols, I am not soure how many, but more that tellstick or Nexa
and its "opensource"
Minus: the case for this kit its terrible big
, twice as Raspberry PI B+....
Price: aprox 50 euros for kit and case.
Have a nice day folks...