Shop OBEX P1 Docs P2 Docs Learn Events
World's 1st 3-Dimensional Stamp Computer (3DSC). Upgrade: 4D Morphing Computer - Page 5 — Parallax Forums

World's 1st 3-Dimensional Stamp Computer (3DSC). Upgrade: 4D Morphing Computer

1235»

Comments

  • MacoreMacore Posts: 41
    edited 2010-02-24 02:48
    Hey how do I use this Built in Mic for the Prop Demo Board? Thinking about a retro "Color Organ" (yes, I dug up the name). Turning on and off the LEDS is a snap. I am not sure how to go about taking the Mic input and putting filters on it to get say three ranges. If I use a RC filter doesn't that just work for a specific frequency? How about feeding the whole signal into a 3 channel A/D converter and doing it digitally. Open for suggestions here as have just started thinking this out. Oh and how can I move this thread to the Propeller Forum?

    Your 4D Morphing Computer could really dance if you made the LEDs be the Servo Motors instead *winks*

    Thanks!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Often the joy is not so much in the having, its in the building...
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-02-24 04:41
    Macore: Fascinating!

    Using a demo board mic will involve software as the hardware is already connected.
    One way to do this is to sample the microphone and condition the number stream.
    Then scale it to the range of the LED. You'll need to find the LED range. This is
    relatively easy to do, but first decide on how that range will be established. Then
    match up the the two sets of number scales. Here's a hint. You can go from bright
    to dim (or off) by adjusting a blink rate frequency, or by using Pulse Width Modulation.
    Using both techniques I have made LEDs into variable brightness. The Youtube movie
    about Penguin Santa shows the PWM technique, and a program in the book for the
    PE Kit will vary the blink rate.

    http://forums.parallax.com/showthread.php?p=764212
    it.youtube.com/watch?v=2zDg6NfXpUo

    There's a youtube movie, and a full writeup
    in Penguin Tech, about Rudolph the Red LED
    Penguin.

    http://forums.parallax.com/showthread.php?p=760066

    humanoido

    Post Edited (humanoido) : 2/24/2010 4:48:51 AM GMT
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-02-24 06:07
    4D Morphing Computer (3DSC) Application Note 022410
    Exploring Air Pressure with a Propeller Coprocessor
    Setting up air pressure as the 4th dimension, determine if variances in air pressure show with movable cores and at what speed does the detection become visible? What effects do acceleration (or deceleration) have on the pressure gradient? How does this equate to wind or a breeze? Can you think of some spinoff technology for useful applications? Can you make an anemometer? (An anemometer is a device for measuring the wind speed, and is one instrument used in a weather station.) Creating an anemometer is the first step in converting the 3DSC into a weather station. The setup uses a Parallax KPA Pressure sensor interfaced to a Propeller Coprocessor board. The initial sensor wiring is shown in the photo. The Propeller Demo Board should mount on and under the one of the upper two BS1 cores. Fasten the 3DSC base securely to compensate the added weight.

    We can describe pressure gradient acceleration mathematically with the following equation:

    F(m/s^2)=abs[noparse][[/noparse](1/D)*((P1-P2)/n)]

    where:

    D = density of air (average density of surface air is 1.29 kilograms per cubic meter)
    P2 = pressure at point 2 in Newtons/m2 (N m^-2)
    P1 = pressure at point 1 in Newtons/m2 (N m^-2)
    n = distance between the two points in meters

    From this equation we can determine wind acceleration between two points in meters per second squared by knowing three variables: the density of the moving air; the change in pressure between the points of interest in newtons; and the distance between the two points in meters. For example, to determine the wind speed between two points for moving air with a density of 1.29 kilograms per cubic meter, a pressure difference of 400 Newtons/m2, and a distance of 300,000 meters, the following calculations would be performed:

    F(m/s^2)=abs[noparse][[/noparse](1/1.29)*(400/300,000)]=0.00103m/s^2

    From the calculated value of acceleration we can determine wind speed, V, from the formula:

    V = V0 + Ft

    Where V0 is the initial velocity of the wind and t is the time during which F is applied.

    attachment.php?attachmentid=68056
    Photo shows the first Propeller coprocessor addition to the 4D Morphing Computer. A Propeller Demo
    Board is interfaced to a Parallax KPA Pressure Sensor. See text for mounting details.


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    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 9:24:39 AM GMT
    631 x 485 - 56K
  • Chip CoxChip Cox Posts: 73
    edited 2010-02-24 09:40
    Humanoido,
    I think you might want to put a spy cam on that thing and see what it's doing while you are away at work. It looks like it built a child in that picture ( the propeller ). You've built a replicator !!!! LOL
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-02-24 11:21
    Chip Cox said...
    Humanoido, I think you might want to put a spy cam on that thing and see what it's doing while you are away at work. It looks like it built a child in that picture ( the propeller ). You've built a replicator !!!! LOL
    Sounds like there's an application or two in your mind - Twin Scanning Spy Cam Vision, and Birthing Growth Replicator! scool.gif

    With the addition of one servo, the Parallax TSL1401 Linescan Imaging Sensor Daughterboard has the potential to conjure up an image - or use it as a single line scanner.

    attachment.php?attachmentid=68060MakeThumbImage.aspx?ID=%2fPortals%2f0%2fImages%2fProd%2f2%2f283%2f28317-M.jpg&PORTALID=0&W=120&H=120

    www.parallax.com/Store/Sensors/ColorLight/tabid/175/CategoryID/50/List/0/Level/a/ProductID/566/Default.aspx?SortField=ProductName%2cProductName

    Explaining the Growth Replicator is going to be more interesting. On topic, how about a BS2 HomeWork Board and a Basic Stamp One Board as coprocessors, in addition to the Prop Demo Board? The Prop Proto Board is another ideal candidate for some growth.

    humanoido

    Post Edited (humanoido) : 2/24/2010 11:39:26 AM GMT
    203 x 170 - 12K
  • skylightskylight Posts: 1,915
    edited 2010-02-24 15:26
    My stamp never came back and i've been living up on the roof for a few months as the water level is lapping at my feet, if it doesnt come back soon i'll know what it felt like to be an extra in the film Waterworld freaked.gif
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-02-25 14:52
    4D Morphing Computer (3DSC) Application Note 022510
    Adding Speech Recognition

    App adds a Parallax SayIt Module connected to a base mounted BS2 coprocessor
    for speech recognition and issuing commands to regulate programs. Connection
    visual provided. GUI and sample program downloads are available at the Parallax
    page.

    humanoido

    www.parallax.com/StoreSearchResults/tabid/768/txtSearch/sayit/List/0/SortField/4/ProductID/589/Default.aspx

    attachment.php?attachmentid=68087
    Wiring for the SayIt Module to BS2

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    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/25/2010 4:44:14 PM GMT
    342 x 144 - 10K
    1.jpg 10.3K
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-02-25 16:18
    4D Morphing Computer (3DSC) Application Note 022610
    Adding a BASIC Stamp 2 Coprocessor

    App Adds a BS2 as a coprocessor to the original 3-stamp network. The key: communicates at pre-established BS1 maximum serial baud rates, yet it can also communicate at faster bauds with sensors directly attached. Permits attaching more sensors to the 4D Morphing Computer. Sensors will mount onto D1, D2 or D3 with flexible cables. The path of data is serial from the sensor to the coprocessor (BS2) to any one of three BS1s. The BS2 is a 20Mhz processor capable of becoming a master to coordinate cores. The coprocessor is mounted onto the 3DSC base. This app introduces a new schematic. Note the BS2 is static while the other cores are movable. Allows many new sensor add-ons.

    attachment.php?attachmentid=68091
    Updated schematic reflects the new added BS2 coprocessor. The BS2
    adds a 2K EEPROM for an additional 500 programming statements at
    4,000 IPS. This significantly boosts power and capability of the 3DSC.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    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/25/2010 4:37:28 PM GMT


    445 x 283 - 110K
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-03-03 03:15
    Updated schematics.

    Note the added dimension servos and the Dimension Level Pictorial.
    The DLP simply provides the location of the servos and the dimension terminology.
    The coprocessor is included as it has become an upgrade to the original 3DSC.
    For greater clarity, a full size schematic is posted but not shown on this page.
    Resolution is improved over the previous posted schematic.
    Note: new designations are for the upgraded 4D Morphing Computer.

    attachment.php?attachmentid=68292

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    humanoido
    *Stamp SEED Supercomputer *Basic Stamp Supercomputer *TriCore Stamp Supercomputer
    *Minuscule Stamp Supercomputer *Tiny Stamp Supercomputer *Penguin with 12 Brains
    *BASIC Stamp Supercomputing Book *Three Dimensional Computer *StampOne News!
    *Penguin Tech *Penguin Robot Society *Toddler Humanoid Robot Project
    *Ultimate List Prop Languages *Prop-a-Lot *Prop SC Computer - coming soon!
    *Prop IB Hypercomputer - under development *Robotic Space Program

    Post Edited (humanoido) : 3/3/2010 7:01:38 PM GMT
    857 x 621 - 296K
    610 x 444 - 184K
  • MoskogMoskog Posts: 554
    edited 2010-03-03 07:27
    Awesome project. Can you please post your updated code?
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-03-04 02:06
    Moskog: Thanks. Updated software is in the works. The flowchart is shown
    below. This will be a generic program that can be easily applied to
    most applications.

    humanoido

    ‘ 4D Morphing Computer (3DSC) Software
    ‘ **********************************
    ‘ A generic version by humanoido 03.04.10
    ‘ Two ways to program. 1) direct code loaded into the dimension 
    ‘ or 2) passing serial commands over the network
    
    ‘ BS1
    ‘ Initialize
    ‘ Remember to activate the required dimensions by loading in the required code
    ‘ Refer to the program comments
    
    ‘ Light Actuation
    Dimension One Light
    Dimension Two Light
    Dimension Three Light
    
    ‘ Sound Actuation
    Dimension One Sound
    Dimension Two Sound
    Dimension Three Sound
    
    ‘Servo Actuation
    Dimension Two Servo Movement Continuous
    Dimension Two Servo Movement Clockwise
    Dimension Two Servo Movement Counter-Clockwise
    Dimension Three Servo Movement Continuous
    Dimension Three Servo Movement Clockwise
    Dimension Three Servo Movement Counter-Clockwise
    
    ‘ Random Movement
    Dimension Three Servo Random Movement and Reset
    
    ‘Ramping Up
    Dimension Two Servo Movement Ramping Up
    
    ‘Ramping Down
    Dimension Two Servo Movement Ramping Down
    
    ‘ Morphing in Multiple Dimensions
    D1 and D2 Servo Morphing
    
    ‘ Slow Mo
    Dimension Three Servo Slow Motion
    
    ‘ High Speed
    Dimension Three Servo Rapid Movement
    
    ‘ Coprocessor Demo
    ‘ Coprocessor passes a command to D1 which passes to D2 which passes to D3
    
    ‘ The generic code is divided up into eight programs.
    ‘ Observe the loading of multiple programs as required to activate all dimensions. 
    ‘
    ‘ Lighting
    ‘ Sound
    ‘ Movement
    ‘ Random
    ‘ Ramping
    ‘ Extreme
    ‘ Morphing
    ‘ Coprocessor
    
  • 5ms?5ms? Posts: 21
    edited 2010-05-22 00:51
    Hi humanoido.
    How's the 3DSC coming along?
    scool.gif Put me down for 2
  • 5ms?5ms? Posts: 21
    edited 2010-05-22 01:20
    When is the next edition of the ''BASIC STAMP ONE NEWS'' coming out? jumpin.gif
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-05-26 07:50
    5ms? said...
    Hi humanoido. How's the 3DSC coming along? Put me down for 2
    If it becomes a product, I'll put you on the list. [noparse]:)[/noparse] The 3DSC is currently in a software upgrade phase since adding the BS2 coprocessor. This has opened up all sorts of new apps and I wanted to dedicate the proper amount of time to document it. It's always very cool to try out some of the projects and I never know exactly what direction added hardware will produce. So stay tuned!
    5ms? said...
    When is the next edition of the ''BASIC STAMP ONE NEWS'' coming out?
    The BASIC STAMP ONE NEWS is typically released when a new and significant BS1 project is completed and enough material is accumulated regarding the BS1 processor. In fact, this project is in the works currently, though I am not sure about the exact release date. Since Penguin Robot was recently discontinued, with no word on any replacement, my 37 Penguin projects and the book can be discontinued or put on hold. This should free up more time for BSON and 3DSC.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    humanoido
    *Stamp SEED Supercomputer *Basic Stamp Supercomputer *TriCore Stamp Supercomputer
    *Minuscule Stamp Supercomputer *Tiny Stamp Supercomputer *Penguin with 12 Brains
    *BASIC Stamp Supercomputing Book *Three Dimensional Computer *StampOne News!
    *Penguin Tech *Penguin Robot Society *Toddler Humanoid Robot Project
    *Ultimate List Prop Languages *Prop-a-Lot *Propalot Stuff *Prop SC Computer
    *Prop IB Hypercomputer - under development *Hobby Space Program
  • soshimososhimo Posts: 215
    edited 2010-07-14 03:40
    You still have 6 more dimensions to go (according to string theory)! Maybe it will form into a Calabi-Yau manifold? That would be something!

    Nice project humanoido!
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-07-14 09:23
    soshimo said...
    You still have 6 more dimensions to go (according to string theory)! Maybe it will form into a Calabi-Yau manifold? That would be something! Nice project humanoido!
    Thanks soshimo. Adding dimensions is a possible expansion. Six dimensions could be accomplished with BASIC Stamps or Propeller chips, and servos. It would be interesting to investigate even larger number of dimensions using the multiple Propeller chips from the Super Mini Computing Machine "UltraSpark 40." Backpacked, this would add 320 tiny paralleled RISC processors simultaneously representing many Universe paralleled dimensions. I think a high energy particle dynamics accelerator machine could be simulated as well. A Calabi-Yau space would be a good start.

    attachment.php?attachmentid=71799
    The UltraSpark 40, with 320
    tiny RISC processors could be
    adapted for added dimensions
    in a Calabi-Yau manifold.


    simple.wikipedia.org/wiki/Calabi-Yau_manifold
    "A Calabi-Yau space is a mathematical construction used by physicists to describe parts of nature that are too small to see with the human eye. Most people know that there are three space directions and one time direction in the universe - these directions are called dimensions. Physicists use Calabi-Yau spaces in studying high energy physics of which string theory is a part, to add 6 or 7 or other numbers to build up more dimensions to the universe. The study of Calabi-Yau spaces is part of a mathematical theory known as "manifold theory."

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    humanoido
    *Stamp SEED Supercomputer *Basic Stamp Supercomputer *TriCore Stamp Supercomputer
    *Minuscule Stamp Supercomputer *Tiny Stamp Supercomputer *Penguin with 12 Brains
    *BASIC Stamp Supercomputing Book *Three Dimensional Computer *StampOne News!
    *Penguin Tech *Penguin Robot Society *Humanoid Toddler Robot
    *Ultimate List Prop Languages *Prop-a-Lot *Propalot Stuff *Prop SC Computer
    *Prop Super Mini Computing Machine *Hobby Space Program *Smartest BoeBot at
    http://forums.parallax.com/forums/default.aspx?f=6&m=469004


    Post Edited (humanoido) : 7/14/2010 9:42:42 AM GMT
    180 x 224 - 46K
    1.jpg 46.2K
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-10-17 07:13
    4D Morphing Computer (3DSC) Application Note 101710
    Determining Parallax Distance Analysis & How Changing Baseline Affects Accuracy

    The objective is to take advantage of two 3DSC moving cores with varying baselines as detection sensors measure parallax and collect data for the development of more accurate robotic vision. This experiment is accomplished using simple low cost infrared sensors.

    This application is hobby and for pure academics. It is developed for my personal study of robot vision and how vision is affected by the parallax of two optical vision sensors separated by some distance. I am curious if the distance of sensor separation can increase the accuracy of the object's distance determination. I am also interested in how a change in parallax can affect other system variables. The descriptions are only a simple summation and anyone contemplating a reproduction of this application will need to provide additional elements.

    Project Overview

    Materials
    3DSC
    (2) IR Detector 350-00014
    IR Transmitter Assembly Kit 350-00017
    220 Ohm Resistor

    Method
    Two cores are set up to move and create data sets for a changing baseline. An infrared emitter point source is distanced from the 3DSC within the range of the transmitter detector pair. Readings of angle to greatest intensity are taken from each detector, thus determining the distance to the transmitter. Vary the baseline and repeat. Compare the results. Some manual angle measurements may be required.

    Setup
    Mount one IR receiver (using a small directional provided telescope shield) on one core and another on the remaining movable core. Plug the receivers into the solderless breadboards. Keep the point IR source transmitter stable. Repeat the experiment a varying point source distances. Note how the parallax will significantly vary as the distance is less.

    attachment.php?attachmentid=74497&stc=1&d=1287322304

    Circuit Feeds
    The circuit uses wire leads fed to pins on the BS2 Coprocessor and the established software found with the Parallax Infrared Emitting Diode & 40 kHz Infrared Detector Stamp™ Weekend Application Kit. The BS1 is enabled as a spatial motivator while the BS2 handles the IR processing.

    Sample Code
    The sample code below is for simple experimenting.
    [SIZE=1]' Proximity Detection.bs2
    IR_detect  var  bit
    low 7
    loop:
      pause 50
      freqout 7, 1, 38500
      IR_detect = in8
      if IR_detect = 0 then not_detected
        debug home, "Output is high, no object detected."
        goto loop
      not_detected:
        debug home, "Output is low, object is detected. "
        goto loop[/SIZE]
    
    [SIZE=1]' Distance Detection.bs2
      counter    var    nib
      IR_outputs  var    byte
      IR_freq    var    word
      output 7
      main:
        IR_outputs = 0
    ' Load sensor outputs into l_IR_outputs and r_IR_outputs
        ' using a for...next loop,and a lookup table, and bit
        ' addressing.
        for counter = 0 to 4
          lookup counter,[37500,38250,39500,40500,41500], IR_freq
          freqout 7,1, IR_freq
          IR_outputs.lowbit(counter) = ~in8
        next
        ' Display l_IR_outputs and r_IR_outputs in binary and ncd
        ' format.
        debug home, "Readings from IR detector", cr
        debug "Binary IR_outputs: ", bin5 IR_outputs, cr
        debug "Object is in zone: ",dec5 ncd(IR_outputs)
      goto main
    [/SIZE]
    
    Sources
    IR Diode Info Sheet (.pdf)
    PNA4601M Information (.pdf)
    Infrared Decoding and Detection appnote (.zip)
    Parallax Infrared Receiver
    Parallax IR Transmitter Assembly Kit
    309 x 207 - 6K
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-02-09 03:07
    4D Morphing Computer (3DSC) Application Note 020911
    Creating a Specimen Stage for a DIY SMD Microscopy Imager

    The objective is to make good use of the top platform and incorporate
    the servos as positioning devices so that the specimen can be moved
    electronically without touching the platform to maintain stability and
    finer positioning at higher magnifications.

    For more information refer to the project forum under the heading
    Build Your Own SMD Microscope


    http://forums.parallax.com/showthread.php?129170-Build-Your-Own-SMD-Microscope&p=975411#post975411

    Programming tips and options for the platform stage in one plane
    • Use 1 or 2 servos
    • Utilize the top platform
    • Control with computer keyboard
    • Program various rates in PBASIC
    • Weight stabilize the base
    • Induce fine tune slow mo
    • Center with high speed slew
    • Develop increment positioning
    • Make use of (+/-) motions
    In increment positioning, you tap a key which moves the board a tiny distance
    and then stops. Repeat the key tap.

    With (+/-) motions, you tap the minus or plus key to reverse direction.
Sign In or Register to comment.