Arduino as direct I/O Interface in Domoticz

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
jadijkstra2000
Posts: 58
Joined: Monday 26 May 2014 10:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Arduino as direct I/O Interface in Domoticz

Post by jadijkstra2000 »

Cannot find it...

Instead of my (not working) PiFace2, I want to use an Arduino (without wireless) for monitoring Electricity / Gas consumption.
I cannot find anything about this.
It is possible to directly connect Arduino to RPi and communicate over USB with each other with Python.
I cannot imagine that there is nobody who wants to have the same situation....

Using wireless over 15cm in space is very useless in my opinion...

Anyone? :)
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Arduino as direct I/O Interface in Domoticz

Post by bbqkees »

jadijkstra2000 wrote:Cannot find it...
I cannot imagine that there is nobody who wants to have the same situation....
Well, for others the PiFace is working just fine probably...

Did you try Google?
First hit:
http://blog.oscarliang.net/connect-rasp ... usb-cable/
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
SweetPants

Re: Arduino as direct I/O Interface in Domoticz

Post by SweetPants »

jadijkstra2000 wrote:I cannot find anything about this.
Did you google for it, there are numerous discussions on using an Arduino USB (Nano v3) for that. I'm personally working on a S0 interface to Domoticz to monitor my gas using a Nano v3 and avr-gcc. Waiting for some components to arrive (hall effect sensor) from china, but the software is already working using a reed switch.
jadijkstra2000
Posts: 58
Joined: Monday 26 May 2014 10:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Arduino as direct I/O Interface in Domoticz

Post by jadijkstra2000 »

Yes ofcourse there is a lot of information, and indeed I did the google trick :)

Maybe I should rephrase my question :) What is the best way / solution to implement an arduino with raspberry pi for domoticz through USB.

Maybe we should create a page specifically for all I/O possibilities for use with the Raspberry
PiFace(2) v.s. arduino advantages/disadvantages.

Something like:

- Arduino:
Pro's : Cheap, easy through USB, lot's of I/O
Con's : Extra USB port needed on RPI, Extra power consumption (not much), need to program at 2 levels, arduino sketch & RPI to interface

- PiFace:
Pro's : Directly attached to RPI, no additional USB Ports needed, Directly supported by Domomticz, 8 digital inputs / outputs, 2 relays, easy to config
Con's: Expensive, not always working on the RPI (different firmware's etc..)

- Onewire:
Pro's : ...
Con's : ...

- GPIO :
Pro's : ...
Con's :...

...
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest