IO via USB on RaspPi
Moderators: leecollings, remb0
- Lectere
- Posts: 24
- Joined: Saturday 04 April 2015 8:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
IO via USB on RaspPi
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
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
Last edited by Lectere on Friday 04 November 2016 9:51, edited 1 time in total.
Effictent and redundant two-factor authentication? http://www.smspassword.com
-
- Posts: 370
- Joined: Monday 05 October 2015 10:16
- Target OS: -
- Domoticz version:
- Contact:
Re: IO via USB on RaspPi
Hey Lecture,
Alstublieft/Please
Retype your question in English
Sent from my D6603 using Tapatalk
Alstublieft/Please
Retype your question in English
Sent from my D6603 using Tapatalk
- Lectere
- Posts: 24
- Joined: Saturday 04 April 2015 8:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: IO via USB on RaspPi
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.
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.
Effictent and redundant two-factor authentication? http://www.smspassword.com
-
- Posts: 25
- Joined: Thursday 19 February 2015 11:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: IO via USB on RaspPi
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
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

- Lectere
- Posts: 24
- Joined: Saturday 04 April 2015 8:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: IO via USB on RaspPi
Thanks for pointing out the alternatives, but I'm actually looking for a USB solution
Effictent and redundant two-factor authentication? http://www.smspassword.com
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: IO via USB on RaspPi
Rflink ? Since last fw it allow mini gpio in and out.
Just an arduino mega price (7€ from ebay)
Just an arduino mega price (7€ from ebay)
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
- Lectere
- Posts: 24
- Joined: Saturday 04 April 2015 8:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: IO via USB on RaspPi
I don't get it, can you send me a link of that product...? thnx...
Effictent and redundant two-factor authentication? http://www.smspassword.com
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: IO via USB on RaspPi
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 370
- Joined: Monday 05 October 2015 10:16
- Target OS: -
- Domoticz version:
- Contact:
Re: RE: Re: IO via USB on RaspPi
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.Lectere wrote:Thanks for pointing out the alternatives, but I'm actually looking for a USB solution
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
- Lectere
- Posts: 24
- Joined: Saturday 04 April 2015 8:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: IO via USB on RaspPi
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?


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?
Effictent and redundant two-factor authentication? http://www.smspassword.com
-
- Posts: 25
- Joined: Thursday 19 February 2015 11:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: IO via USB on RaspPi
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
-
- Posts: 370
- Joined: Monday 05 October 2015 10:16
- Target OS: -
- Domoticz version:
- Contact:
Re: RE: Re: IO via USB on RaspPi
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).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?
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
Who is online
Users browsing this forum: No registered users and 1 guest