Kit Rock PI S - Mini domotic controller
Nice gift to start home automation systems, for students and people with some skills.
Plug & Play KIT using Rock PI S mini computer with metal case, already equipped with high quality 32GB memory card, Debian Linux, Domoticz, firewall, backup, a RS485 to USB adapter and a DomBusTH domotic module.
Email: store@creasol.it - Telegram: CreasolTech - Whatsapp: +393283730010
Priority mail: fast and cheap - Express Courier: fast and safe
Before returning products, please contact us
Ready to use KIT for home automation system that includes Rock PI S single-board computer ARM 64bit, metal enclosure, high-endurance 32GB memory card within Debian Linux, Domoticz, firewall and backup system.
It also includes a USB to RS485 adapter, a DomBusTH module within temperature and humidity sensors, red green and white LEDs, 4 inputs and 2 outputs, and power supply (12Vdc for DomBus modules and 5Vdc for the single-board computer).
The idea is to supply a simple KIT, plug and play, that permits to build a domotic system easily.
As Domoticz software is reliable, powerful and cost effective, this is the best Christmas, Birthday and school gift to introduce students and people with some electric/electronic skills to home automation systems: it's possible to add our DomBus modules, as like as Zigbee, Zwave, WiFi and other domotic modules to build even large sensors and I/O network for your house.
We also have other KITs that already includes modules to read temperature and humidity, read electricity parameters (house power/energy consumption and production, ...), inputs and outputs.
When connected to the power supply and LAN, it's possible to connect to its IP address (automatically assigned by the DHCP service) through:
- www browser, on PC and smartphone, at address https://192.168.1.101 or http://192.168.1.101:8080 (replace 192.168.1.101 with its real IP address)
- smartphone app Domoticz
- SSH console
Rock PI S is a smaller and cheaper alternative for the (often not available) Raspberry PI 4 single board computer, with less RAM but with a compact form factor and very low power consumption, ideal solution for optimized software like Domoticz (written in C++).
Features:
- quad-core MCU, 1.3GHz, 64bit
- 512 MB ram
- 32GB storage
- Very compact: 50x50x30mm
- Very low power consumpion: 0.4W normally, up to 1.5W during heavy duty
- 1 USB + 1 100Mbps ethernet + 1 USB type-C for power supply
- Several GPIO available: see below to know how to use them
- Domoticz already installed, with python plugins manager and Creasol DomBus plugin
- Automatic backup system, that permits to export backup to a NAS or other storage
- Firewall, that permits to limit access to the device preventing unauthorized accesses
- The operating system is optimized to limit write access to the micro-sd, extending its life
It should be supplied by:
- USB Type-C power adapter, 5V 1A
- or USB Type-C DC/DC regulator, the ideal solution when battery-backupped 12V is available
Domoticz
The microSD already includes Domoticz home automation system: this is a free open source software written in C++, that works perfectly even in this small hardware.
Domoticz permits to manage serveral different type of hardwards, like ZigBee, ZWave, and many other wireless and wired protocols. Also, Creasol DomBus protocol is supported, so it's possible to connect through a RS485-USB adapter, many modules (for analog/digital inputs, analog/digital outputs, relay outputs, sensors, LEDs, lights management, EVSE to manage electric vehicle charging, ...).
Using Domoticz and DomBus modules it's possible to:
- monitor and control building power/energy, preventing disconnections for overload
- monitor the temperature and humidity
- improve the power consumption of the HVAC (heating , ventilation and air conditioning) to use the most power from renewables (photovoltaic)
- automate the garden and vegetable-garden watering
- send a picture to the smartphone when someone rings the doorbell
- manage the building lights
- charge one or more electric vehicles in a smart way, based on vehicle battery level (SoC), using full power, or using only extra power from photovoltaic
- manage alarm sensor to get a full function burglar alarm system, controllable from the smartphone
- send short videos to smartphone when a alarm sensor activates (for outdoor monitoring, for example)
- and much more
Many hardware plugins can be installed and updated automatically. Also, many scripting languages are available to create simple and complex automations, like Lua and Python. Very simple automations can be created using a graphical language, named Blocky.
Using GPIOs
- Pins marked with color orange are designed for default debug console.
- PWM: x2, PWM2/PWM3
- SPI: x2, SPI1, SPI2
- I2C: x3, I2C0/I2C1/I2C3
- UART: x4, UART0/UART1/UART2/UART3
- ADC: x1, ADC_IN0. The max input voltage is 1.8V.
- When I2C3 is used, you should only select one of the two groups, PIN#11/13 on 26-pin Header 1 and PIN#13/14 on 26-pin Header 2.
IO Voltage
RK3308 have two IO voltages, 1.8V/3.3V. For ROCK Pi S, the voltage level of GPIOs showed in the tables above are 3.3V and tolerance of those are 3.63V.
GPIO number
Rockchip RK3308 GPIO has 5 banks, GPIO0 to GPIO4, each bank has 32pins, naming as below:
GPIO0_A0 ~ A7 GPIO0_B0 ~ B7 GPIO0_C0 ~ C7 GPIO0_D0 ~ D7 GPIO1_A0 ~ A7 .... GPIO1_D0 ~ D7
For Rockchip 4.4 kernel, the GPIO number can be calculated as below, take GPIO4_D3(PIN8 on 26PIN GPIO) as an example:
GPIO4_D3 = 32*4 + 8*3 + 3 = 155
To set GPIO4_D3 output
cd /sys/class/gpio echo 155 > export cd gpio155 echo out > direction echo 1 > value # output high echo 0 > value # output low