Posts

Showing posts from June, 2014

The Doctor is in.

Image
Here is a web based browser that emulates sort of the old Eliza program that has been around for years. The code: [code] <HTML><HEAD> <META NAME="Description" CONTENT="Talk to Eliza!"> <TITLE>Eliza, Computer Therapist</TITLE> <SCRIPT language="JavaScript"><!-- // Chat Bot by George Dunlop, www.peccavi.com // Note - Eliza is a Classic Model of chat Bots.. but this implementation is mine :) // May be used/modified if credit line is retained (c) 1997 All rights reserved     loaded = false;                // load flag for interlocking the pages // OBJECT TYPE DEFINITIONS // Keys    maxKey = 36;    keyNotFound = maxKey-1;    keyword = new Array(maxKey);     function key(key,idx,end){        this.key = key;                           // phrase to match         this.idx = idx;                           // first response to use         this.end = end;                           // last response t

Parallel port Arduino programmer.

Image
Notice: try this at your own risk. If you have a pre-usb computer system, you can still program your Arduino (with built in boot-loader). Stand alone Arduino chips are much cheaper than purchasing the retail board. There are two ports to consider. First is the parallel port and the second is the pin-out on the arduino. You will need three resistors. Two 470 and one 220 ohm resistors go build the circuit. Parallel connector with a 470 ohm resistor soldered to pin 1. Solder a 220 ohm resistor to pin 11 of the connector. Solder, in order, the three wires of one of the cables to the resistor on pin 11 (which goes to pin 18 on the Atmega8), to the resistor on pin 1 (which goes to pin 19 on the Atmega8), and directly to pin 16 (which goes to the reset, pin 1).  Parallel connector with two of the three wires of a cable soldered to pins 11 and 1, respectively.  Solder the middle wire of the second cable to the resistor on pin 2 (which goes to pin 17 on the Atmega8), and one of the