Page 1 of 1
IO via USB on RaspPi
Posted: Friday 04 November 2016 9:29
by Lectere
Ik ben van plan om mijn deurbel aan te sluiten op mijn RaspberryPi.
Nu zit mijn RaspberryPi in de meterkast, en het draadje van de deurbel ook. Dus ik heb eigen geen zin om hier een dure zwave io module voor te kopen.
Nu heb ik gezien dat dat je voor de Raspberry Pi een IO poort is (PiFace), maar dat heb ik liever niet, beetje duur en ik sluit het liever aan via USB, omdat deze dan makkelijk bij een ander apparaat te gebruiken is.
Dus de vraag is:
-IO poort via USB
-Compatible met domoticz
-Die werkt op linux, Rasperry pi
-Beetje normale prijs < 30 euro
Re: IO via USB on RaspPi
Posted: Friday 04 November 2016 9:43
by stlaha2007
Hey Lecture,
Alstublieft/Please
Retype your question in English
Sent from my D6603 using Tapatalk
Re: IO via USB on RaspPi
Posted: Friday 04 November 2016 10:49
by Lectere
I'm looking for a way to connect my doorbel switch to Domoticz; just two simple wires making contact;
I want a:
-IO port via USB
-Has to be compatible with domoticz
-Has to work on Linux/RaspPi
-Die werkt op linux, Rasperry pi
-Low price/ at least below 30 euro's.
Re: IO via USB on RaspPi
Posted: Friday 04 November 2016 11:29
by niwreg
I think the easiest way is to just th GPIO of the raspberry (without the piface)
Alternative can be an Velleman interface board but they are already 50 euro or something like that.
For GPIO you can use an optocoupler an some pins that wil set you back, including housing etc probaly around 7 euro max

Re: IO via USB on RaspPi
Posted: Friday 04 November 2016 13:47
by Lectere
Thanks for pointing out the alternatives, but I'm actually looking for a USB solution
Re: IO via USB on RaspPi
Posted: Friday 04 November 2016 13:58
by deennoo
Rflink ? Since last fw it allow mini gpio in and out.
Just an arduino mega price (7€ from ebay)
Re: IO via USB on RaspPi
Posted: Friday 04 November 2016 14:36
by Lectere
I don't get it, can you send me a link of that product...? thnx...
Re: IO via USB on RaspPi
Posted: Friday 04 November 2016 17:05
by deennoo
Re: RE: Re: IO via USB on RaspPi
Posted: Saturday 05 November 2016 13:09
by stlaha2007
Lectere wrote:Thanks for pointing out the alternatives, but I'm actually looking for a USB solution
Are you sure? RPi/Arduino/RFlink are devices that have logic buildin to turn gpio-pins in high/low or better said on/off. They also are able to read the status. You DO need something between the high voltage (between 12 and 24Volt) and the doorbell-button what is capable of seperate it from the lower Voltage used on Serial-ports (around 5V) or USB. And also capable of telling you if that button is pressed or is been pressed continiously or not pressed at all.
Hope the following will explain to you what your trying to do. As i'm also want my doorbell connected to my RPi to let Domoticz know theres someone at the door when i'm on the second floor and i can't here the doorbell ring.
To get the status or switch the status theres the commucation layer between you and the gpio-pin. Eg. Domoticz - RPi GPIO-pin X.
This layer can be split in a terminal-session through LAN (search for socat or ser2net) or directly with Serial interface under linux TTY or USB.
Sent from my D6603 using Tapatalk
Re: IO via USB on RaspPi
Posted: Monday 07 November 2016 14:31
by Lectere
I don't get it. I have a this;
A doorbell, normal push button model, like in 1983. You push it, it makes contact.
The wires are comming out next to my Pi running domoticz. I don't know to much about electronics. I want to connect the simple doorbell with the Pi. I don't want to spend a lot of time in soldering and ordering parts etc.
Is there not a 'off the shelf' usb solution?
Re: IO via USB on RaspPi
Posted: Sunday 27 November 2016 13:37
by niwreg
USB I/O input isn't quite a normal operation. However maybe if you loose USB and use an PiFace Digital, it's 1 module that you connect to the GPIO header and there is minimal soldering because it is an I/O module and it is supported by Domoticz
Re: RE: Re: IO via USB on RaspPi
Posted: Sunday 27 November 2016 23:09
by stlaha2007
Lectere wrote:I don't get it. I have a this;
A doorbell, normal push button model, like in 1983. You push it, it makes contact.
The wires are comming out next to my Pi running domoticz. I don't know to much about electronics. I want to connect the simple doorbell with the Pi. I don't want to spend a lot of time in soldering and ordering parts etc.
Is there not a 'off the shelf' usb solution?
I sorry to say. Switching a relay through USB is not very common and whats available is more expensive. Not speaking about getting things working (Windows COMport stuff etcetera).
The pi, as suggested earlier already capable of switching On/Off. With the help of PiFace more easier... It sits on top off the gpio headerpins !!!
Your old doorbell can be used to trigger an On/Off event on your Pi or PiFace. Adafruit and others have completely written out how its done including python script examples.
The hardest part is to seperate the 8 to 12Volts to your noise making horn or bell. You don't want that on your Pi or USB-port. These can handle only 3.3V (Pi) or 5V(USB).
Quick and simple. You will gonna toast on or another...
We are willing to help you out, but i have the impression you want something out of the box... and than the short answer would be No its not there.
Sent from my K00C using Tapatalk