INEXPENSIVE, STACKABLE BUILDING AUTOMATION Card for Raspberry Pi
Brings to Raspberry Pi all IO’s needed for Building Automation Systems. Eight universal inputs can be jumper selected to process 0-10V signals, read 1K or 10K temperature sensors or dry contact counters. Four TRIAC outputs can drive loads up to 0.5A and 500V. Four 0-10V outputs can control light dimmers. Status LEDs display the state of all outputs. Keep time indefinitely even during power failure using the Real Time Clock with battery backup. Activate the hardware watchdog to monitor and power cycle the Raspberry Pi in case of software lockup. TVS diodes on all inputs protect the card for external ESD, and the on-board resettable fuse protects is from accidental shorts.
DRIVING ADDITIONAL LOADS
Heavy loads of up to 8A and 250VAC can be driven adding one or more 4-RELAY Cards. High DC loads of up to 10A and 250V, with fast response time and unlimited endurance can he driven by adding one or more 8-MOSFETS cards.
Connect the card to other Industrial Automation systems using RS485/Modbus communication ports. The RS485 can be driven either from the local processor through I2C commands, or directly from the Raspberry Pi using the dedicated pins on the GPIO connector, which are routed on the Industrial board to the RS485 driver. In and out connectors simplify daisy-chain wiring to other devices.
The Building Automation Card share the I2C bus using only two of the Raspberry Pi’s GPIO pins to manage all eight cards. This feature leaves the remaining 24 GPIOs available for the user. The card is compatible with all Raspberry Pi versions from Zero to 4 and has all the necessary I/Os for your Building Automation projects.
The Building Automation card requires a 24VAC/1A external transformer to operate and has to be powered from it’s own pluggable connector. The card supplies 5V and up to 3A to the Raspberry Pi on the GPIO bus. A local 3.3V regulator powers the rest of the circuitry.
All the IO’s are connected to heavy duty, 3.5mm pitch pluggable connectors which make field wiring very convenient for installation and debugging.
You can write your control system in C, C++, PERL , of the language of your choice using the Command Line system or Python Drivers. Or you can implement everything in Node-Red and display it in the browser using the Node-Red node.
All the analog inputs and outputs are calibrated at the factory, but firmware commands permit the user to re-calibrate the board, or to calibrate it to better precision. All inputs and outputs are calibrated in two points; select the two points as close to possible to the two ends of scale. To calibrate the inputs, the user must provide analog signals. (Example: to calibrate 0-10V inputs, the user must provide a 10V adjustable power supply). To calibrate the outputs, the user must issue a command to set the output to a desired value, measure the result and issue the calibration command to store the value.
STACKING MULTIPLE CARDS
Up to eight Building Automation cards can be stacked on your Raspberry Pi. Each card is identified by jumpers you install to indicate the level in the stack. Cards can be installed in any order. For your convenience, two stack jumpers and the eight input selection jumpers are provided with each card.
OPEN SOURCE HARDWARE
Install your Raspberry Pi and up to eight Home Automation cards parallel to the DIN-Rail using our DIN-RAIL Kit Type-1. Install the whole assembly perpendicular to the DIN-Rail using the DIN-RAIL Kit Type-2.
WHAT’S IN YOUR KIT
Raspberry Pi Stackable Card for Building Automation
- Four M2.5x18mm male-female standoffs
- Four M2.5x5mm screws
- Four M2.5 nylon nuts
Eight jumpers for Universal Inputs selection
All connector plugs
- Four 8-pin female mating connector plugs for IO’s.
- Two 2-pin female mating connector plug for RS485 IN/OUT.
- One 2-pin female mating connector plug for power.
QUICK STARTUP GUIDE
- Plug your MEGA-BAS card on top of your Raspberry Pi and power up the system.
- Enable I2C communication on Raspberry Pi using raspi-config.
- Install the MEGA-BAS software from github.com:
- ~$ git clone https://github.com/SequentMicrosystems/megabas-rpi.git
- ~$ cd /home/pi/megabas-rpi
- ~/megabas-rpi$ sudo make install
- ~/megabas-rpi$ megabas
The program will respond with a list of available commands.