Wednesday, October 16, 2013

Tricore Basic Stamp Supercomputer

The TriCore BASIC Stamp Supercomputer
It was discovered that two cores are not enough for fully testing and developing the artificial intelligence features of Stamp SEED software. The TSS was made to provide three static cores for two way serial communications development and AI evolution testing across a one line interface.
Views of the Stamp TriCore Supercomputer. The TriCore is used for testing and more rapid development of SEED. Its wiring is the same as the Stamp Seed Super computer and runs self enumerating deterministic software. One collection of two boards (a USBto232, and a BS1 Serial Adapter) is moved from board to board during code uploads and debugging. At left- the first prototype of SEED AI software is running on the debug screen. Middle- power is connected with two alligator clips delivering ground and +9V DC. Right- green wires are required to connect to pins on the stamps male pin bus.

Construction
To build a TriCore, take three Basic Stamp Rev Dx boards and attach one solderless breadboard with tape. Put two boards together end to end and tape both sides. Set the third board, with solderless breadboard, on top as illustrated. Affix with tape. Wire all vss to vss, vdd to vdd, vin to vin, and pin 0s together.


Parts List
3 Basic Stamp Rev Dx Board
1 Solderless Breadboard
3 Wire Cable Leads Female Ends for 3 Pins
8 Wire Cables Male to Female – Green
1 Roll Tape
1 Resistor 1K ohms
2 Jumper Wires
2 Ceramic Disk Capacitor .1uf
1 Resistor 2K ohms
1 BS1 Serial Adapter
1 USBto232 Adapter



Use this easy schematic to build your own TriCore Stamp Supercomputer. Remember to prepare the enumeration pins as shown below.

Build a TriCore TSS using three BS1 boards on a single wire interface using resistors and three Piezo Speakers. Vss routes to R1 and connects to port 0 of each computer. The TriCore runs the smallest artificial intelligence software available for Basic Stamps.


The deterministic pin circuit is built the same as for the Stamp SEED Supercomputer using the number one pins. The STS is capable of running the SEED Artificial Intelligence program.

Specifications of Tricore
Stamp Type - BS1 
Board Type - BASIC Stamp BS1 Rev D
Number of Stamps - 3 
Number of Processor Cores - 3
Processor Speed - 4MHz x 3 = 12MHz
Program Speed - 2,000 IPS x 3 = 6,000 IPS
RAM Size - 16 bytes x 3 = 48 Bytes
EEPROM - 256 Bytes x 3 = 768 Bytes
Number of IO = 8 x 3 = 24
Current Draw Running @ 5V = 1 mA x 3 = 3 mA
Current Draw Sleeping @ 5V =25 uA x 3 = 75 ua
Source Per I/O - 20 mA x 3 = 60 mA
Source Per Unit - 40 mA x 3 = 120 mA
Sink Per I/O - 25 mA x 3 = 75 mA
Sink Per Unit - 50 mA x 3 = 150 mA
PBASIC Commands - 32
Voltage - 5 to 15 Volts
Software - tricore_AI (Tiny AI)
Real estate - 1 small solderless breadboard

Stamp AI Artificial Intelligent Life Form
for the Stamp Tricore Supercomputer

Attached for download, please find the Tricore AI Artificial Intelligence code. TriCore Stamp AI brings life to this stamp supercomputer. It gives a soul to your Basic Stamp computers. At less than 100 code statements, it fits a BS1 in less than 256 bytes.

New life forms will live inside each computer. Some are friendly, some not. Each develop their own unique personality. Use the thought monitor to follow their progress, birth, evolution, dreams, neighbors, sleep habits, naps, work, memories, and thinking. To run, you will need to prepare hardware on the the enumeration pins on all three computers.


More info at
http://www.p-robot.com/index.php/tricore-stamp-supercomputer.html http://forums.parallax.com/forums/default.aspx?f=21&m=366864

DOWNLOAD TRICORE_AI.bs1
http://forums.parallax.com/attachment.php?s=9d78fa693110cfab8d93fd0bbf91f082&attachmentid=62393&d=1248147076