maveric00 / homecantrol Goto Github PK
View Code? Open in Web Editor NEWHome automation with CAN nodes and ethernet backbone
License: Other
Home automation with CAN nodes and ethernet backbone
License: Other
HomeCANtrol: my own home automation system based on CAN nodes (using Atmel microcontrollers and MCP2515 CAN controller). CAN nodes are organized by CAN lines which are interconnected by CAN->Ethernet gateways. Currently, four node types exists: 1) Sensor node: based on ATTiny84, up to 6 inputs or outputs can be connected. Used for sensing e.g. push buttons or presence detectors or for actuation of single LEDs or (by usage of dual MOSFETs) higher power systems like 12V halogen lamps. Supply voltage is 12V. 2) Actor node: Uses 10 relays (5 on/off and 5 change over) to switch high voltage applications (designed for up to 230V/16A). Supply voltage is 5V for logic and 12V for relays 3) LED driver board: Used to control 1 high power RGBW LED (e.g. Cree MC-E) and 6 low power RGB LEDs (20 to 50 mA). Supply voltage: 5V for logic and 5V for LED drivers. 4) A derivative of the LED driver board driving 18 single LEDs and sensing one presence detector. CAN->Ethernet gateways are build on Carambola boards. Each Gateway contains 2*CAN, 2* Ethernet, 1*RS485, 1*RS232 and WLAN in a 2 units wide DIN-rail case. CAN messages are sent out or received as UDP packets containing the CAN identifier, message length and message data. This enables the use of a controller program on a PC connected to the same network. The system is in productive use since beginning of 2011 without a problem so far. I will add the sources of the controller software, the configuration tools and PC software as well as board schematics, layout and BOM as time permits. Please, have a look at the Wiki also - I will describe the elements there.
The commands to call a macro should be the same; currently it is either "Call" or "Action"
The macro Autonumeration is bad for already configured sensors, as numeration gets distorted if new macros are inserted
Currently the CANGateway number is assigned by configuration; it would be nicer if the numbering is generated e.g. by IP adress; at least the default should not be zero, as this is assigned to CANControl
If a macro tries to call a non-existing sub-macro, the execution of the macro is stopped without any comment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.