THE HAND BOOK OF BASIC STAMP SUPER COM- PUTING
by Humanoido
US$49.95
Special Big Brain Book Offer: Free!
87 pages
USA Published
This is the first Handbook of BASIC Stamp Super computing. It includes
build information, schematics, parts lists, photos, and information to
construct three new BASIC Stamp Supercomputers.
It also includes many
applications and project ideas, and a BASIC Stamp tutorial that covers
hardware and software and actual working programs - included for testing
and for running replicated consciousness with inherent native intelligence.
Download the index here
http://forums.parallax.com/attachmen...chmentid=63831
Download the book here
www.p-robot.com/index.php/handbook-of-basic-stamp-supercomputing.html
and here
Handbook_Supercomputing_V1.pdf
Handbook of BASIC Stamp Supercomputing
Hosted by Penguin Robot Society (New Super Site) and Parallax
www.p-robot.com/
www.parallaxinc.com
The Handbook of BASIC Stamp Supercomputing
First Edition September 2009
Table of Contents
Table of Contents
Cover Photo 1
Introduction 2
Contents 3
Evolutionary 7
Why Build a Stamp Supercomputer? 7
About the Stamp BS1 7
List of Features 8
Configuration & Computing Power 8
Overall Design 9
Design Similarities to the BSS 9
Skyscraper Tower Construction 10
Skyscraper Personal Space 11
Protective Ground Field - EMI/RFI Shielding 11
SSS Schematics 12
Building Enumeration Circuits 12
Decoupling Capacitors 13
Additional BS1 Schematics 13
BS1 without a Brown out Detector 13
BS1 Serial Adapter 13
Stamp 1 Project Board Schematic rev C 14
The SIP BS1 module rev. A details 14
OEM BS1 Stamp Rev. A 15
BS1 IC Module schematic Rev B 15
Brownout Detector 16
SIP form BS1 rev. b with pin details 16
BS1 version D board 16
Wiring 17
Supercomputer Assembly Instructions 17
Testing 18
Parts List & Cost Guide (2009) - Basic Stamp SEED 18
Control Panel 18
Deterministic RC Circuits 18
Peripherals 19
Optional Base Station Bstat 19
Other Components, Tools and Supplies 19
Output 19
Power LED 19
Banner 19
Control Panel with Input Array 20
Wiring the Control Panel Pushbutton with LED 20
Wiring & Reading Toggle Switches/ LEDs 20
– Assorted Example Circuits 21
Switch Software 21
All Computers - Pin Assignments 21
Computer 1 Port Assignments 21
Computer 2 through 9 Port Assignments (8 computers) 22
Computer 10 Port Assignments (1 computer) 22
Global Computer Ports (Availability Depends on Projects) 22
Powering Up the Boards 22
Running a Single Board 22
Peripherals 22
Programming Section (SEED) Artificial Intelligence 23
Life Form – Self Evolving Enumerated Deterministic Programming 24
How the Code Works 24
Artificial Intelligence Software for the Stamp SEED Supercomputer 25
Artificial Intelligence Software 25
Code Posting 25
Sample Screens 25
Only One Program 25
Life Form 25
Unique 25
Life Span 25
Birth 25
Self Enumerating 25
Self Deterministic 25
Memory & Recall 25
Napping & Random Dreaming 25
Dream Watching 26
Sleep & Fuzzy Clock 26
Talking to Neighbors 26
Listening to Neighbors 26
Getting to Know Neighbors 26
Remembering Neighbors 26
Thinking & Working 26
End of Life 26
Personalities 26
Restrictions 26
Becoming Sick 26
Personified Maladies 26
Psychotic Breakdown 26
Fitful Sleep 27
Sudden Death 27
Brain Amnesia 27
No Resuscitating Situation 27
Alternate Identity Syndrome 27
Stroke 27
Stuttering 27
Code Fit 27
Processor Type 27
Changing the Code 27
Flow Control 27
Running the Code & Watching Evolution 28
The Story of Supercomputer Life – Comments by Dr. Humanoido 28
Life form Screens 28
Stamp_ai.bs1 Code Listing 29
Introduction 29
Features 29
Life Cycle Performance 29
Phases of SEED’s Minuscule AI 30
History 31
Phase 0 Preparing the Enumeration Pins 31
Typical Pin 1 Resistance Code Chart 32
Phase I Formation and Birthing Process 32
Variable Examples 33
Phase II Personal Introduction, Flowchart 34
Some Program Elements 34
Phase III Self Enumeration - Creating a Self Aware Identity 34
Phase IV Thought Monitor 34
Phase V Self Determination 34
Phase VI Early Memory – Remembering Self Identity 35
Phase VII Nap 35
Phase VIII Dream 35
Phase IX Developing a Sense of Time (Fuzzy Clock) 36
Phase X Sleep 36
Phase XI Conversation – Introduction to Neighbors 37
Phase XII Conversation – Listen to Neighbors 37
Phase XIII Memorizing the Identity of Neighbors 37
Phase XIV Long Term Memory – Recall Identity of Neighbors 37
Phase XV Finding Purpose in Life – Do Work/Thinking 37
Phase XVI Speak Plan Piezo Language 38
Phase XVII End of Life Cycle – Suspended Animation/Hybernation 38
Self Modifying Code 38
Personal Sick Leave 39
What happens when the program ends? Does the life form die? 40
How to save or preserve the state of the life form? 40
Multiple Ways to Program a Stamp Supercomputer – Wait then Retrieve Method 40
The Software – Self Modifying Code 40
The Language 41
Brain Scanning 41
EEPROM Write Limitation 41
Computer Enumerating Pin Circuits – Theory and Practicality 41
Circuit 42
Part List for Enumerating Pin Circuit 42
SDEP.BS1 Program 42
Syntax - POT Pin, Scale, Variable 43
Variable 43
Pot 43
Finding the best Scale value 43
EEPROM (a directive at compile time, not at run time) 43
Base Station (Bstat) 45
History 45
Wireless Communications Transceiver 45
Transmitter and Receiver Specifications 46
Transmitter Supply Current 46
Receiver Supply Current 46
Theory of Operation 47
PDN 47
RSSI (receiver only) 47
Calibration 47
Source Code BASIC Stamp® 1 Example Programs 47
TxCode_v_1.0.bs1 48
RxCode_v_1.0.bs1 48
Power Distribution 48
Power Draw 48
Piezo Speakers and Current Draw 48
Sleep Nap and Wake 49
Demo Software 49
transmit.bs1 49
Receive.bs1 49
Software Section 50
SERIN Options of Driving the BS1 50
SEROUT Options 50
Paralleled Demo Programs 51
Computer 1 Network Code 51
Computer 2 Network Code 51
Computer 3 Network Code 51
Piezo Speaker Test Programs 52
First Program 52
Second Program 52
Piezo Language (PLAN) Expanded Option 52
PLAN Command List 53
Audible Command List 53
Representations 53
Hardware Control 53
Applications Section: Ideas and Details 53
Application 1: Twinkle Power Lights! 53
twinkle.bs1 54
Application 2: Adding Push Buttons and Toggle 54
Application 3: Build a Jacob’s Ladder of Sound! 54
Application 4: Solving the Riddle of Pullup and Pulldown 54
Application 5: Using Pin for Input/Output - Sharing Pins (NV38) 54
Circuit: Display Status of I/O Pin - Detect Switch Input, Output to LED 55
Application 6: Create a Physically Rising Chromatic Scale 55
Application 7: Create Ten-Note Chords 55
Application 8: Build a Bstat Base Station 55
Application 9: Add a Parallax 2x16 Serial Green Screen 56
Application 10: Add a Parallax 2x16 Parallel Green Screen 56
Application 11: Demonstrating the Hidden Low Power Mode 56
Application 12: Long Term Memory Using EEPROM 57
WRITE.bs1 Program 58
LPM Discovery! (Hidden Low Power Mode) 59
Application 13: Handling RAM as Short Term Memory 59
Application 14: Setting the Ports 60
Application 15: Developing Stamp Supercomputer Math 61
Mathematical Functions List, Math Examples 61
Application 16: Mystery of the Vanishing EEPROM 62
Application 17: Setting the Format of Pins 62
Application 18: Creating a Variable or Pin Alias 62
Application 19: Reference a specific bit within a byte or word variable 62
Application 20: Determining Program Memory 62
Application 21: Performing Memory Dump 63
Application 22: Transmitting/Receiving Serial Messages Between BS1 Computers 63
Serial Transmitter Code 63
Syntax & Function Study 63
SERIN.bs1 Program 63
Application 23: Build a Minuscule Stamp Supercomputer 64
Minuscule Stamp Supercomputer Code 64
Application 24: Serial Communications by Computer Name 64
Transmitter Code 64
Receiver Code 65
Application 25: One Talks and Many Will Listen 65
Application 26: Number Talking and Listening, number_talker.bs1 Program 65
number_listener.bs1 Program 65
Application 27: Direct Addressing by Personal Name 65
Chip_talker.bs1 Program 65
Chip_listener.bs1 Program 66
Application 28: Build Your Own Basic Stamp One Serial Interface 66
Application 29: Build a TriCore Stamp Supercomputer 66
Simplified Stamp TriCore Supercomputer STS schematic 67
Self Enumeration Schematic 67
TriCore Supercomputer AI Software Listing, TriCore_AI.bs1 Program 67
Application 30: Putting Your Supercomputer to Sleep, Sleep.bs1 Program 71
Single Processor Specifications by Parallax 71
Actual Conditions Single Processor 71
Actual Conditions Ten Processors 71
Ten Processor Specifications 71
Comparative Speed 72
Upgrades and Improvements 72
Cocooning for Transport 72
Cocooning Procedure 72
Coming Out of the Cocoon 72
Resources and Links 73
Parallax Basic Stamp 1 Applications Source 73
A Growing family of Supercomputers 73
The Basic Stamp Supercomputer family 73
Stamp Baby Supercomputer Announcement 06.10.09 73
Short Guide to PBASIC 1 Instructions - Programming the BS1 Supercomputer 74
By Request - Interview with Dr. Humanoido 75
Project Developer - the Series of Basic Stamp Supercomputers 75
Basic Stamp 1 Instruction List 76
PBASIC Programming Guidelines for the Stamp 1 83
Control Codes and Printing Characters 85
Sources 86
The Completed Stamp Seed Supercomputer 87