This repository contains the PCB design files, 3D renderings, and software libraries to implement the MySensors mother/daughter board system described in this thread.
It's a mother/daughter board design using an RFM69 radio (though it would be easy to change it to an NRF). I have about 10 sensors I need to make and they're all similar, but not quite the same. This system allows be to mix and match what I need for each application. It's designed to be AC powered and uses a single case (see below) for all of them (~$3/apiece for 10).
The main board has the basic components and supports two daughter boards (roughly 25mm x 35mm) which plug into the side so the whole assembly is basically flat (leaving more room in the case for the switches, connectors, and LED's). An additional third daughter board can be used for small boards mounted perpendicular to the main boards (the sensor board below does that) or mounting over the top of the arduino.
The main board contains:
Each daughter board header has 5V, 3.3V, ground, 3 input pins, and 3 output pins. I've designed seven different daughter boards so far.
Here's an image of the assembled boards:
The boards file contains the individual board designs (done in Eagle) as well as panelized versions. A single 10cm x 10cm panel contains 2 main boards, 1 each of the AC relay, DC relay, protected input, parking board, and I2C board; 2 valve boards; and 3 sensor boards.
The boards are designed to fit inside a specific case (size and mounting holes) which can be found here. There are many options for ordering this case on AliExpress (various quantities and vendors). Searching for "105*65*40mm" will generally show them all.
The lib directory contains a class for each board. Each child board class is constructed by passing it a structure from the main board class which defines which slot it's plugged in to. The boards (mother and children) all contain elements for manipulating their components (LED's, relays, sensors, etc) which abstract away the method by which their connected (call sensor.led[0].on() to turn on the 0'th LED of a sensor board) which makes writing the final sketches which use the boards very easy.
The software does depend on my arduino-core library classes.
All the software in this repository is covered by the GPL-V3 license (see LICENSE-software).
All the hardare in this repository is covered by the CERN Open Hardware Licence v1.2 (see LICENSE-hardware).
Name | Size | # Downloads |
---|---|---|
Mother.sch | 138.32 kB | 980 |
Mother-Child-merged.brd | 425.84 kB | 945 |
Mother-panelized.brd | 222.08 kB | 912 |
ms_mother_1.0.GBL | 498.26 kB | 599 |
ms_mother_1.0.GBO | 89.77 kB | 542 |
ms_mother_1.0.GBP | 34.65 kB | 616 |
ms_mother_1.0.GBS | 43.87 kB | 1822 |
ms_mother_1.0.GML | 34.65 kB | 803 |
ms_mother_1.0.GTL | 606.19 kB | 615 |
ms_mother_1.0.GTO | 375.12 kB | 593 |
ms_mother_1.0.GTP | 43.93 kB | 1818 |
ms_mother_1.0.GTS | 52.89 kB | 595 |
ms_mother_1.0.TXT | 8.72 kB | 674 |
Child.brd | 196.13 kB | 824 |
Child.sch | 175.11 kB | 965 |
merging_notes.txt | 307 B | 413 |
Mother.brd | 132.74 kB | 957 |
Child-panelized.brd | 258.27 kB | 901 |
Mother schematic.pdf | 68.6 kB | 317 |
Child schematic.pdf | 131.91 kB | 309 |
Child board.pdf | 156.48 kB | 306 |
Mother board.pdf | 80.75 kB | 300 |
Name | Size | # Downloads |
---|---|---|
DcRelayBoard.cpp | 2.74 kB | 693 |
DcRelayBoard.h | 1.41 kB | 704 |
InputBoard.cpp | 2.37 kB | 696 |
MsMother.cpp | 5.04 kB | 718 |
InputBoard.h | 1.4 kB | 691 |
MsMother.h | 4.8 kB | 714 |
SensorBoard.cpp | 2.38 kB | 708 |
SensorBoard.h | 1.6 kB | 702 |
ValveBoard.cpp | 3.33 kB | 698 |
AcRelayBoard.cpp | 2.46 kB | 694 |
ValveBoard.h | 1.49 kB | 738 |
AcRelayBoard.h | 1.4 kB | 663 |