Raspberry Pi add-on board 8xRelays, 14xDigital Input,...

Begonnen von Mysho, 11 Juli 2014, 11:29:24

Vorheriges Thema - Nächstes Thema

Mysho

Hello,

I would like to introduce my project.

It is an add-on board for the Raspberry Pi and features following devices:
8x Omron G5LA-1-E: 250V AC/5A or 24V DC/5A
14x 5-20V DC, min 5msec pulse
1X 0-10V Analog Output, max 20mA
2x 0-10V Analog Input
Real Time Clock module
1Wire single channel bus master

I have the hardware part ready and tested, now I need to find out the best way to make int communicate with Fhem. The base system is written in Python and uses Spyne.io for calling its methods and getting events from the board.

Any suggestions? I have some test boards left so if someone want to help me with implementation for Fhem, I am willing to send some.

Thanks.

klausw

Hi,

how do you communicate with your board?
If I2C is used, you may use it directly in FHEM.
RasPi B v2 mit FHEM 18B20 über 1Wire, LED PWM Treiber über I2C, Luchtdruck-, Feuchtesensor und ein paar Schalter/LED\'s zum testen
Module: RPI_GPIO, RPII2C, I2C_EEPROM, I2C_MCP23008, I2C_MCP23017, I2C_MCP342x, I2C_PCA9532, I2C_PCF8574, I2C_SHT21, I2C_BME280

Mysho

Wow. That is amazing. I haven't use checked new versions of FHEM since v5.2 but you guys made an amazing job!
Anyway thanks for the idea. It looks that most of the software is done. The only thing I am missing is support for MCP3422 that I am using as analog input and PWM on RPi GPIO pin 18 that I use for analog output. Any ideas on that?

klausw

Zitat von: Mysho am 11 Juli 2014, 14:09:01
Wow. That is amazing. I haven't use checked new versions of FHEM since v5.2 but you guys made an amazing job!
Anyway thanks for the idea. It looks that most of the software is done. The only thing I am missing is support for MCP3422 that I am using as analog input and PWM on RPi GPIO pin 18 that I use for analog output. Any ideas on that?
using the command update from time to time is not a bad idea ;)

for the pwm on GPIO pin 18: did you tried whether the gpio utility from wiring pi will work to set a desired pwm value?

For the MCP3422, a new module is needed. The MCP23017 can be used as reference.

RasPi B v2 mit FHEM 18B20 über 1Wire, LED PWM Treiber über I2C, Luchtdruck-, Feuchtesensor und ein paar Schalter/LED\'s zum testen
Module: RPI_GPIO, RPII2C, I2C_EEPROM, I2C_MCP23008, I2C_MCP23017, I2C_MCP342x, I2C_PCA9532, I2C_PCF8574, I2C_SHT21, I2C_BME280

Mysho

So we put the board to public on IndieGoGo since wee need some funds to put the first batch into production...
Please chceck it http://igg.me/at/unipi/x/6880686