Wednesday, April 6, 2011

Vault-OS : CANBUS Support Working!!!

At least two people have written me and told me that I2C is an experimenter's network, not an industrial grade protocol. I don't agree at all but just to let the concerned know, tonight I got a single CANBUS sensor to read/write and answer with data under DOS and Windows using the most common interface chip the SJA-1000. I have a TSR for the RS-485 version of CANBUS but to date have not tested it. I may try to get that working in version 2.0 of VOS.

First version of Vault-OS will therefore have script support for I2C, CANBUS 1.0-2.0 and good old fashioned parallel port relays. That's the best I can do for the first version, I have to get this all working correctly with all pages before I release 1.0 as open source.

If you are interested I have been heavily influenced in my design of the web server by Mango. The primary difference is that you need a base machine with Linux and 500 MB ram to run their server, mine runs in DOS with all features in less than 640K of RAM, quite a gulf in terms of requirements. A single library in MANGO is bigger than all my source code combined with the web pages compiled into the executable.


Anonymous said...

Tex, I've got a-plenty of various relays ready for 'old fashioned' fashioned parallel ports.

Here: with one relay, and then either a volt meter or an amp meter, (and even without any computer) you can set up a perimeter intrusion system using PRIME NUMBER R VALUES.

1. run current through a perimeter loop wire through a reference resister R.

2. at each entry-way, or zone, install a different prime number multiple of R in the loop.

1 R (1 is your current limiting R)
2 R
3 R
5 R
7 R
11 R
13 R etc etc

(or use any other useful set of primes)

3. Short out all of the resistors above 1 with trip wires or switches.

4. Then, because the series resisters have relative-prime-number values, whenever any possible combination of intrusions occurs, you can determine exactly which zone or zones have been breached, just by watching the current in the loop!

This is what I had to do before computers (way back!) I'm sure one of your input relays could monitor the current and present the important info. I know this is stone-age tech, but it works.

Your OS sounds functional!

Anonymous said...

Per the loop-circuit above, a super-primitive display can be made with an old scrap of plywood. Draw your security map on it with a magic marker, and drill holes for old-style red LEDS to mount for each zone.

For single breaches, it's simple to set a V-threshold driver for each LED. (More complicated but always possible for multiple breaches.) Primitive tech with just a battery, wire, resistors, op-amps, LEDs, transistors and plywood.

Vault OS should be about