Posts

Showing posts with the label Led

Control a program from a web page.

Image
 To the page where the web options are. Now you need to choose and option. [code]   <html> <title> Offshore Educators (Main Page) </title>  <title> lights </title>  <body bgcolor="aquamarine">     <CENTER><h2><B><I>Test PPort</I></B></h2></CENTER> Press a button to perform an action     <form ACTION="kitt.php" method="post">     <p>     <input type="submit" value="Kitt">     </form>     <p>     <form ACTION="rnd.php" method="post">     <p>     <input type="submit" value="Random">     </form>     <form ACTION="allon.php" method="post">     <p>     <input type="submit" value="All led's on">...

Message lights.

Image
Blinking lights have been used on computers for years. What they mean varies from system to system.Manuals for the systems will hae documention on what all the variations mean.  Even on the home computer they most all have an led that signifies whether the power is turned on to the machine Maybe we could attach led to a local computer and then they are lit could mean one of ervera things depending on how ht e system is programmed.. You could start off with just two leds that you give you four possibilities.  Back then there were no computer screens to get information.  You could even add even more light for more possibilities.The traditional way was to add led]s to the parallel port. Eight leds would give you 2^8 or 256 possibilities. Possibly more than you would ever need. First setup we did like this was for the Atari ST computer. The picture is using a 32 bit computer. One could go a step further and instead of lights being on or off, a message could be s...

Making led control easy.

Image
Controlling leds can be a real challenge, unless you know how to use a bit shifter aka the 74hs595. Oversimplified here, but one you get the gist of it only the sky is the limit. From wikipedia:( https://en.wikipedia.org/wiki/Shift_register ) In digital circuits , a shift register is a cascade of flip flops , sharing the same clock , in which the output of each flip-flop is connected to the "data" input of the next flip-flop in the chain, resulting in a circuit that shifts by one position the " bit array " stored in it, shifting in the data present at its input and shifting out the last bit in the array, at each transition of the clock input. More generally, a shift register may be multidimensional, such that its "data in" and stage outputs are themselves bit arrays: this is implemented simply by running several shift registers of the same bit-length in parallel. Shift registers can have both parallel and serial inputs and outpu...

Baby steps to home automation, part 2

Image
When it comes to home automation, you could use any number of systems such as a off the shelf turnkey solution such as Insteon.Check with your hardware store for more details. You could build it yourself. Unless you are experienced at it, I would let a professional do it, if for no other reason of safety to yourself and others.  If you do do it yourself, you will have to write the software to make it all happen. Though most of it may not be that hard, it can be daunting to the inexperienced. Again get a professional and a mentor. Also any drawings in this article are oversimplified and not to be used in actual systems.  What to do first? You want to make a plan of what you want to do including any budget considerations. (What is it going to cost?) Home Automation – Requirements Checklist Functional Areas:     Controls         Standalone time-based controllers         Re...