It has been a while when I started real world testing of the whole system. I have polished the code, fixed few bugs. Now I'm deciding that do next. I have few things on mind:
new PCB, bigger with all things on it. I have moved from Eagle to KiCad, and curently designing something like this:
WizNet W5500 Ethernet chip, SIM900 for GSM, and also some other improvements like better analogue protection. Size would be 10x15cm and it will be drop in replacement for any old wired burglar alarm.
2. Move the software to Arduino 1.6
to resolve the last bug with SPI
transactions. Ethernet library disables interrupts and very seldom some interrupts are missed, causing a radio or RS485 packet to be not seen. That would mean to rewrite libraries too, namely W5500 and RFM12B.
3. Port the RTOS from Nil to newer version called ChibiOS
RT that allows dynamic threads and dynamic allocation of memory. This would eliminate the static allocation of memory for sensors and keys taking up RAM even if not needed.
For me all that work for many months is just fine, but I would like this to
maybe become some kind of community project, so I'm not alone in this. I would gladly accept any hints, help in coding or design, or give some help to anyone.
Let me know...
OHS is open source based burglar alarm and automation platform. It can work as new alarm gateway, or it can replace your old alarm panel. OHS can use any wired 12V sensor, PIR, smoke or reed switch. It has Web interface that is used to set it up. OHS has GSM modem that is able to send SMS or page you. It has radio interface for environmental sensors. OHS is self-contained, it does not need any cloud service, only optional SMTP server for emails, or MQTT server to publish collected sensor data.
Tuesday, October 27, 2015
Subscribe to: Posts (Atom)