World’s First 3D Stamp Computer
A 3D Stamp Computer to Explore a Multidimensional Universe
The 3DSC Shows Numerous Space-Time Dimensional Effects
See listing for more details
This lightweight portable battery operated project is
the worlds first Three Dimensional Stamp Computer.
Intro
The 3DSC was originally posted in the Basic Stamp Supercomputer thread as spinoff technology to the BSS. It has now become a mature project of its own, and worthy of its own thread so it is moved here. It is likely such a project can be interfaced the the BSS itself. The line is not a distinctive one, as what can be applied to the 3D Stamp Computer can be applied to the BSS as well. In particular, the Baby Stamp Supercomputer and the Master Offloader Machine are perfect candidates for this project. More on this later.
Downloads
The full construction plans and article with all the software is found in the premier issue of StampOne News! found here. http://forums.parallax.com/showthread.php?p=798852
and please do not miss this link
www.robotinfo.net/penguin/SO01.html
Idea
I was looking at the Basic Stamp Supercomputer and there in front were multiple platform levels of various stamp computers with incredible power, and the magnitude hit me - thinking there’s three or more interacting dimensions. Up to this point, I was thinking only in terms of quantity, i.e. clusters and paralleled processing.
Background
According to Einstein, a space-time continuum exists in multi dimensional Universe. So why not have the supercomputer do a kind of (simple) demonstration or simulation and recreate the effects of space-time with, say three or more dimensions of choice? Using common components and the Parallax Basic Stamp One, it would be affordable and the entire project could be completed in a reasonable period of time.
Process
Taking the BSS spinoff one step further, a complete yet simple entity was created in one evening, which is now called the 3D Stamp Computer or simply 3DSC. It actually works! - Using three driving computational and controlling engines and thinking in three dimensions not limited to space only, it was programmed with some very interesting ideas, the results of which are absolutely spectacular!
The Dimensions
Using light, sound, computation, space, and time, some demonstration programs were written that are absolutely mind blowing. I felt a kind of awesome feeling like back in the university when being introduced to the world of Albert Einstein with time travel, the Universe, dimensional space time concepts and physics that can inspire the mind and the soul into the excitement of expanded thinking on new levels.
Power
Simply put, the project takes you to a place where literally no one has gone before - the power of multidimensional computing is the ability to use time and space in various relationships with hardware, calculation, computation, sound, light, sequence, phase, actuation, waveform, oscillation, harmonics, sensors and inter-dimensional communications to develop new creative concepts.
This photo details all three Parallax Stamp microcontrollers
and illustrates the hand held portability.
Software
The 3D computer uses a numerous programs to achieve demonstrations of the initial effects. It also includes a full token ring network software where any stamp can communicate with the others. There is no designated Master, although one stamp becomes the initiator in the start up sequence.
Starter Demonstration Code
This project has demo codes. The first and most simple duplicates the action of light and sound in 3D. The LEDs appear to flicker in step with the sound which varies its rate. Below: load this same code into each dimension and turn on the boards at different times. The delay of light and sound will produce interesting combined effects.
Code:' 3D COMPUTER BY HUMANOIDO 03.10.09 V1.0 ' 3D COMPUTER LEVELS 1,2,3 ' LOAD THIS CODE INTO EACH DIMENSION ' PIN 1 LED, PIN 2 PIEZO ' EXAMPLE OF SOUND, LIGHT, PHASE ' {$STAMP BS1} Mains: ' Main Code FOR B0 = 1 TO 8 ' Variable B0 sound 20 iterations FOR B1 = 100 TO 118 STEP 2 ' B1 duration PAUSE 20 ' delay for sound and light LOW 1 ' LED off SOUND 2, (B1,B0)' Sound off the Piezo speaker SOUND 2, (B1,B0)' Sound off the Piezo speaker HIGH 1 ' LED on NEXT B1 ' Next duration NEXT B0 ' Next iteration GOTO Mains ' Loop
Load this simple demonstration code into each dimension and turn on each dimension, pause, and turn on the next to stagger the sequencing.
Three Dimension Channel Stereo
This code will create three dimensions of light and sound. This is a three channel stereo demo in all three dimensions. Each Stamp computer decides the timing for piezo speakers and LEDs. There are three programs. Load each program into its designated dimension to make a computer controlled sequence. Dimension one is the lowest level.
Code:Load this into dimension one. ' {$STAMP BS1} ' 3 Channel Stereo Level 1 Mains: ' Main Code B0=255 ' Max Delay B1 = 100 ' Tone LOW 1 ' LED off SOUND 2, (B1,B0)' Sound off the Piezo speaker HIGH 1 ' LED on PAUSE 500 ' Light on duration GOTO Mains ' Loop Load this into dimension two. ' {$STAMP BS1} ' 3 Channel Stereo Level 2 Mains: ' Main Code B0=50 ' Delay B1 = 90 ' Tone LOW 1 ' LED off SOUND 2, (B1,B0)' Sound off the Piezo speaker HIGH 1 ' LED on PAUSE 100 ' LED duration GOTO Mains ' Loop Load this into dimension three. ' {$STAMP BS1} ' 3 Channel Stereo Level 3 Mains: ' Main Code B0=10 ' Delay B1 = 110 ' Tone LOW 1 ' LED off SOUND 2, (B1,B0)' Sound off the Piezo speaker HIGH 1 ' LED on PAUSE 100 ' LED duration GOTO Mains ' Loop
Schematic
I had sketched (chicken scratched) the proverbial schematic out late at night using a sheet of recycled paper and borrowed time - and the next morning took some tech time to churn out this more professional looking schematic. This is the first 3D Stamp Computer ever invented.
Hardware
I invented the Overhanging Tower. It allows spaced boards to overhang from each other 180 degrees apart at max for high density. The greatest function however is the ability to adjust the spacing along a pivot axis created by the spacers. This provides decreasing or increasing space separation from one dimension to the next. With a relatively small vertical footprint, and computing on the cheap, the 3D Stamp Computer assembly is kept simple and small. Peripherals and party lines interface though in-use pins and are brought out using male-female lead cable.
Applications for Beat Frequency
- Making New Tones
- Improving the quality of small piezo speakers
If the beat frequency is in the mid-frequency region, the human ear will perceive
it as a third tone, called a "subjective tone" or "difference tone". They can be made
prominent by using two high, clear tones like the notes of a piezo speaker using
SOUNDOUT. With two piezos you can produce a "trio for two piezos." One important
role of subjective tones is the missing fundamental effect whereby a correct sense of
pitch for a musical sound may be maintained even if the poor fidelity of the sound
reproduction has filtered out some of its lower harmonics. This is one way to improve
the quality of small piezo speakers driven by Basic Stamps. Adjust B1, the tone number,
closer together to increase the length of time in between beats in these starter programs.
The program is working when the LED is active.Code:Load this code into level 3. ' {$STAMP BS1} ' Beat Frequency Level 3 HIGH 1 ‘ LED on Mains: ' Main Code B0=10 ' Delay B1 = 110 ' Tone SOUND 2, (B1,B0)' Sound off the Piezo speaker GOTO Mains ' Loop Load this code into level 2. ' {$STAMP BS1} ' Beat Frequency Level 2 HIGH 1 ' LED on Mains: ' Main Code B0=255 ' Delay B1 = 100 ' Tone SOUND 2, (B1,B0)' Sound off the Piezo speaker GOTO Mains ' Loop
Switching Off Dimensions
While working on developing code or just tuning the speakers with some
dimensions and not others, the need may arise to turn off one of the dimensions.
This program will do exactly that!
Code:' 3D COMPUTER Turn Off the Dimension ' BY HUMANOIDO 03.15.09 V1.0 ' {$STAMP BS1} END
Basic Stamp Boards
The slightly larger Stamp 1 Project Board makes up the base. The other two Stamp 1’s are Basic Stamp Rev Dx boards placed in dimension two and three. Dimension three is the top most location. The software is downloaded with two small interface boards. One is a 3-pin to serial converter. The other is a serial to USB converter. Plug these together for seamless operation.
Networking Interdimensional Communications
To communicate from one dimension to another, serial commands, SERIN and SEROUT are used. The rule is any one stamp can talk while the others listen. However, sensors, input, output, light, sound and other processes may continue to run as programmed. The code that follows is an example of this type of communications. The dimensions are divided into bottom, middle, and top.
There is one program for each dimension. The hardware and software is compatible open-source mode with the ports resistor connected to ground. The ON designates 2400 BAUD. On the BS1, serial communication is set to: no-parity, 8-data bits and 1-stop bit at 2400 Baud (a choice of four different speeds: 300, 600, 1200 or 2400 Baud).
The new program shown is the network code in Token Ring style, designed for the first dimension, located at the highest physical level platform on the 3DSC. DIM1 starts the network by sending a message before receiving a cue. Thereafter, DIM1 only transmits when cued by DIM3, the bottom dimension.
Code:Load the code below into the first level, DIM1. ' {$STAMP BS1} ' DIM1.bs1 3DStamp Computer 3DSC ' {$PBASIC 1.0} ' This is DIM1 Top Level 1 Code INPUT 0 ' set pin 0 to input PAUSE 1000 ' give other 2 time to wake up GOSUB Snd ' subr sound/light SEROUT 0,ON2400,("DIM2",10,13)' cue next Loop: ' begin main loop SERIN 0,N2400,("DIM1",10,13) ' wait for cue GOSUB Snd ' snd/light SEROUT 0,ON2400,("DIM2",10,13) ' cue next GOTO Loop ' again Snd: ' sound/light B0 = 30 ' Sound Delay B1 = 120 ' Tone HIGH 1 ' LED on SOUND 2, (B1,B0) ' Piezo speakr PAUSE 500 ' LED duration LOW 1 ' LED off RETURN ' Back Now load the code below into the second level, DIM2. ' {$STAMP BS1} ' DIM2.bs1 3D Stamp Computer 3DSC ' {$PBASIC 1.0} ' DIM2 Level 2 Middle code INPUT 0 ' pin 0 to input Loop: ' begin main loop SERIN 0,N2400,("DIM2",10,13) ' wait for cue GOSUB Snd ' subr sound/light SEROUT 0,ON2400,("DIM3",10,13) ' cue next GOTO Loop ' again Snd: ' Make sound/light B0=20 ' Sound Delay B1 = 110 ' Tone HIGH 1 ' LED on SOUND 2, (B1,B0) ' Sound Piezo spkr PAUSE 500 ' LED duration LOW 1 ' LED off RETURN ' End of subr Load this code into the third level, DIM3. ' {$STAMP BS1} ' DIM3.bs1 3D Stamp Computer 3DSC ' {$PBASIC 1.0}' DIM3 - Level 3 Bottom code INPUT 0 ' pin 0 to input Loop: ' begin main loop SERIN 0,N2400,("DIM3",10,13) ' wait for cue GOSUB Snd ' subr snd/light SEROUT 0,ON2400,("DIM1",10,13) ' cue next GOTO Loop ' again Snd: ' sound/light B0=10 ' Sound Delay B1 = 100 ' Tone HIGH 1 ' LED on SOUND 2, (B1,B0) ' Piezo speaker PAUSE 500 ' LED duration LOW 1 ' LED off RETURN ' End subroutine
Applications (What Does It Do?)
The Three Dimension Stamp Computer does experiments with sound and light. With these experiments, we can show numerous space-time representations using sound, space, and effects. A partial list is given below.
Sound
Light
Space
Time
Phase
Hardware
Sequence
Actuation
Waveform
Oscillation
Harmonics
Calculation
Resonation
3DSensors
3D Network
Computation
Beat Frequency
Additive Synthesis
3D Motion Mechanics
Improve Sound Quality
Three Dimension Channel Stereo
Inter-dimensional Communications
Constructive & Destructive Interference
Input Two Dimensions to Create Another
For the complete article, read the StampOne News magazine
posted at the Stamp Forum or follow the link given above.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
humanoido
*Stamp SEED Supercomputer *Basic Stamp Supercomputer *TriCore Stamp Supercomputer
*Minuscule Stamp Supercomputer *Three Dimensional Computer *Penguin with 12 Brains
*Penguin Tech *StampOne News! *Penguin Robot Society
*Handbook of BASIC Stamp Supercomputing
*Ultimate List Propeller Languages
*New Prop Computer - coming soon!
Post Edited (humanoido) : 2/24/2010 10:20:08 PM GMT



Reply With Quote




Bookmarks