See also the minifarm control system built with MM6D, MM7D, MM8D and MM9A equipment!
The MM8D device consists of two parts: the control computer and the interface card.
1. Technical data- Supply voltage: 3.3/5 V DC SELV
- Supply current: max. 1 A
- Isolation class: Class 0
- Mechanical size: 240 x 60 x 25 mm
- IP protection: IP 00
- Mass of cover: termoplast (PC), only top cover
The control computer is a Raspberry Pi 2 B+ single-card computer with Raspberry Pi OS Lite or a small power PC with Debian GNU/Linux without GUI. The control program is common, designed for PC and Raspberry Pi. You can acces to set up device via local area network with SSH. Set values and measured data can be checked with a web browser.
The interface is connected to the GPIO ports or LPT port. The card can also be connected to 3.3 V and 5 V TTL systems. The adapter card has four 24 V, galvanically isolated, polarity-protected inputs. Of the eight outputs, four are morse-contact relay outputs and four are open collector outputs for lower load (e.g., LED). The load capacity of the relay output is 5 A (max. 240 V AC or 100 V DC), the load capacity of the open collector outputs is 80 mA (max. 24 V DC).
3. Look of board- 1: LEDs of input #1-4
- 2: LEDs of relay output #1-4
- 3: LEDs of LED output #1-4
- 4: LEDs of power inputs
- 5: J1 connector - inputs
- 6: J2 connector - to computer
- 7: J3 connector - from power supply
- 8: J4 connector - from computer
- 9: J5 connector - from computer
- 10: J6 connector - contactors of relay output #1
- 11: J7 connector - contactors of relay output #2
- 12: J8 connector - contactors of relay output #3
- 13: J9 connector - contactors of relay output #4
- 14: J10 connector - LED outputs #1-4
- 15: Mounting holes
- 16: Jumpers
You can download wiring diagrams as part of the complete documentation or in separate PDF, SVG and KiCAD formats from the developer/manufacturer's website. The Gerber files needed for production are included in the package.
5. Terms of useHardware documentation can be modified and/or redistributed under the Creativ Commons 4.0 Attribution Non-Commercial (CC-BY-NC-4.0) License.
6. Downloadable documentationThe complete documentation of the hardware in the.tar.gz format compressed file can be downloaded from the homepage or Github.
II. Software1. General descriptionThe software consists of four main parts:
Operating daemon
The connected MM6D, MM7D and MM9A electrical equipment is controlled by a Python program that runs as a service in the background. Utilities are Bash shell programs, configuration files are in text (INI) format. The configuration program has a full screen character interface, its source code (FreePascal) is only included in the tar.gz package.
Environmental characteristics adjustment program
The setup program has a full screen character interface, its source code (FreePascal) is included in the tar.gz package only.
Web interface
Data access is provided by CGI programs written in Perl, its Bash shell utility, and web content consists of static HTML files. This requires an Apache2 web server.
Hardware checker program
This Python program can be used to verify that the hardware is working properly. Before testing running service of the software must be stopped.
Note: Used Python version is 3.
2. Download and installationYou can download the installation package from the manufacturer's website or Github and install it with a package manager. In the latter case, the manufacturer's Debian repository must be set up on your system:
pi@raspberry$ sudo echo "deb http://www.szerafingomba.hu/deb/./" >> /etc/apt/sources.list
pi@raspberry$ sudo wget -q -O - http://www.szerafingomba.hu/deb/KEY.gpg | apt-key add -
pi@raspberry$ sudo apt-get update
Download program from homepage:
pi@raspberry$ wget http://www.szerafingomba.hu/softwares/mm8d/mm8d-sw-0.3-armhf.tar.gz
pi@raspberry$ tar -xzf mm8d-sw-0.3-armhf.tar.gz
Download latest version of program from Github:
pi@raspberry$ git clone https://github.com/pozsarzs/mm8d-sw.git
Installation from gzipped tarball:
pi@raspberry$ cd mm8d-sw
pi@raspberry$./prepare
pi@raspberry$./install
Download and install with Debian package manager:
pi@raspberry$ sudo apt-get install mm8d-prepare
pi@raspberry$ mm8d-prepare
pi@raspberry$ sudo apt-get install mm8d-sw mm8d-web mm8d-eec
3. SetupThe software can be set with the mm8d-editmainconf program, the environment values of the growing site can be set with the mm8d-editenvirconf program and the irrigator can be set with mm8d-editirrconf program.
The device works automatically after installation and does not require human intervention. Operation can only be checked remotely via a network.
The device can be configured via SSH or serial console, the environmental characteristics can be set via SSH, serial console or with XMMEEC program. In the third case, a key-based login is required.
The set environment characteristic, the current status and the measured data can be checked with a web browser or MM8DRead program. Many data can be queried over HTTP in plain text or XML format, without a browser. See getdata.cgi.7.gz manual page for details.
This program is free software: you can redistribute it and/or modify it under the terms of the European Union Public License 1.2 version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
6. Downloadable software packageThe package can be downloaded from the homepage in a.tar.gz compressed file or from Github.
Comments