RFLink connected to Rasp GPIO instead of USB!!
Moderators: rtenklooster, Voyager, BertB, Stuntteam
Re: RFLink connected to Rasp GPIO instead of USB!!
Arduino Mega Pin 0 (RX0) and 1 (TX0) are exactly the same in terms of signals as to what is available on the USB port.
The Arduino Mega pins are 5 volt. So you will need to convert at least the TX pin to 3.3 volt for the Pi.. otherwise you can harm the Pi.
No idea what software you will need on the Pi or what GPIO pins you need to use on the Pi.
The Arduino Mega pins are 5 volt. So you will need to convert at least the TX pin to 3.3 volt for the Pi.. otherwise you can harm the Pi.
No idea what software you will need on the Pi or what GPIO pins you need to use on the Pi.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Re: RFLink connected to Rasp GPIO instead of USB!!
Stuntteam wrote:Arduino Mega Pin 0 (RX0) and 1 (TX0) are exactly the same in terms of signals as to what is available on the USB port.
The Arduino Mega pins are 5 volt. So you will need to convert at least the TX pin to 3.3 volt for the Pi.. otherwise you can harm the Pi.
No idea what software you will need on the Pi or what GPIO pins you need to use on the Pi.
I don't care about hardware! I can easilly deal with it!
The issue here is the sofware part!
And like you... I have no idea about the mods in software needed!
Thanks again!
Re: RFLink connected to Rasp GPIO instead of USB!!
From the Arduino/RFlink side there are no modifications needed in the software.
You will need to install some serial port software on the Pi.
You will need to install some serial port software on the Pi.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8
Re: RFLink connected to Rasp GPIO instead of USB!!
The tx/rx pins on raspi are a hardware serial port. You can talk to it directly on ttyAMA0 if I remember correctly. I don't think you need special software.
Re: RFLink connected to Rasp GPIO instead of USB!!
Justblair wrote:The tx/rx pins on raspi are a hardware serial port. You can talk to it directly on ttyAMA0 if I remember correctly. I don't think you need special software.
Hello Justblair!!
That's interesting indeed!! Is there any project that uses the Rasp TX/RX pins instead of the USB?
Tkanks for your reply!!
Re: RFLink connected to Rasp GPIO instead of USB!!
You mean home automation project?
I use openhab and am pretty confident that you can talk to ttyAMA0 using the serial binding.. I dont know how the other home auto softwares work. but it seems likely they can too.
I use openhab and am pretty confident that you can talk to ttyAMA0 using the serial binding.. I dont know how the other home auto softwares work. but it seems likely they can too.
Re: RFLink connected to Rasp GPIO instead of USB!!
HI all!!
Finally i managed to get rid of the USB cable!!
Thanks to Justblair (thanks a lot Justblair)!
And all the others of course.
No extra software is needed!!!!
All you have to do is to disable the serial console and take yourself the control of the serial port dev/ttyAMA0
(You can use minicom if you need to see the RFLink messages.)
Next, go to domoticz :
-Settings
-Hardware
-Select RFLink gateway USB
-Go to serial port field
-Select /dev/ttyAMA0 instead of /dev/ttyAMC0
-Press update
-Thats all!!!!
Now the Arduino mega is connected to the Rasp without USB but with two wires TX/RX.
(don't forget the voltage levels) use a voltage divider or a transistor
Is now time to design an (all in one) RFLink Rasp shield
Thanks
Finally i managed to get rid of the USB cable!!
Thanks to Justblair (thanks a lot Justblair)!
And all the others of course.
No extra software is needed!!!!
All you have to do is to disable the serial console and take yourself the control of the serial port dev/ttyAMA0
(You can use minicom if you need to see the RFLink messages.)
Next, go to domoticz :
-Settings
-Hardware
-Select RFLink gateway USB
-Go to serial port field
-Select /dev/ttyAMA0 instead of /dev/ttyAMC0
-Press update
-Thats all!!!!
Now the Arduino mega is connected to the Rasp without USB but with two wires TX/RX.
(don't forget the voltage levels) use a voltage divider or a transistor
Is now time to design an (all in one) RFLink Rasp shield
Thanks
Re: RFLink connected to Rasp GPIO instead of USB!!
I think, that autor wants replace hole Arduino Meg, not connect it through serial port on GPIO.
If you want connect 433Mhz receiver and transmitter pins directly to Rasp PI gpio pins - yes, it is possible.
RfLink sw runs on Rasp pi intead of Arduino then. No Arduino nedded.
Github:
https://github.com/seahu/rflink
Install info ( only czech language ):§
http://seahu.webnode.cz/l/dokoncna-portace-rflink-u/
If you want connect 433Mhz receiver and transmitter pins directly to Rasp PI gpio pins - yes, it is possible.
RfLink sw runs on Rasp pi intead of Arduino then. No Arduino nedded.
Github:
https://github.com/seahu/rflink
Install info ( only czech language ):§
http://seahu.webnode.cz/l/dokoncna-portace-rflink-u/
Who is online
Users browsing this forum: No registered users and 23 guests