Shop OBEX P1 Docs P2 Docs Learn Events
MimsMirrorZero and MimsMirrorOne (it blinks rgb) (48 leds on a single propeller) — Parallax Forums

MimsMirrorZero and MimsMirrorOne (it blinks rgb) (48 leds on a single propeller)

Clock LoopClock Loop Posts: 2,069
edited 2018-01-18 09:21 in Customer Projects
Are two circuits I designed with the propeller chip that both use rgb leds to do both emission of light, and detection of light.

The names were chosen due to the shape of the leds along with the concept Forrest Mims made popular, led detection.


MimsMirrorZero; 0
Running program: Redwars.


The first design, MimsMirrorZero is a circular shape with 8 rgb leds in circular formation around a prop.
On the rear of the pcb is a crystal, eeprom, caps. Each output has a 100ohm resistor in series with one of the leds, or the common.
The commons also route to the prop, thus 4 legs x 8 leds = 32 input/output to leds.
No multiplexing was done intentionally due to desire for quick detection response times.
Every prop output is used in MimsMirrorZero for leds.
Please see attached video for demonstration.
If your video is black, change the quality, and rewind to beginning.
Zero is almost exactly the same size in diameter as a quarter.

The program the props are running in the video only turns on 1 led per step. I only run a single cog, and turn each lead on and then off sequentially.
The duration of each led's on time is set in the program. I step through each led in a roation turning each led on and then off.
My peak measurement in current draw was pathetic, 8ma peak. But this measures draw outside the inrush limiters, not between the prop and cap.
Average peak draw was 7ma for this video. Most any leg could push was through 200ohm (100ohm on led, and 100ohm on common)
16.5ma peak, not even including vf of leds. (3.0vf for blue and green, 2.1vf for red) 2.1vf red = 12ma 3.0vf blue/green = 3ma.
So it seems thats why im seeing 7ma average peak draw.

What happens if I tweak the resistors to the limits of the cree leds.. do I need sunglasses?

Zero's Parts List:
1-propeller- http://www.digikey.com/product-detail/en/P8X32A-Q44/P8X32A-Q44-ND/1136007
1-5mhz smt crystal- http://www.digikey.com/product-detail/en/NX8045GB-5MHZ-STD-CSF-3/644-1202-1-ND/3894081
1-eeprom- http://www.digikey.com/product-detail/en/CAT24C256WI-GT3/CAT24C256WI-GT3OSCT-ND/2704982
35-100ohm- 0603 resistors. (more if other configs used) http://www.digikey.com/product-detail/en/ERJ-3GEYJ101V/P100GTR-ND/135659
2- 10k- 0603 resistors.(more if other configs used) http://www.digikey.com/product-detail/en/ERJ-3GEYJ103V/P10KGTR-ND/135662
4- 1uf- 0603 capacitors - http://www.digikey.com/product-detail/en/CC0603ZRY5V7BB105/311-1372-2-ND/2103110
(I used 4 - 68uf- 0603 polar caps $$$- http://www.digikey.com/product-detail/en/F980G686MMA/478-8636-1-ND/4006125 )
8- Cree RGB smt leds - http://www.digikey.com/product-detail/en/CLVBA-FKA-CC1F1L1BB7R3R3/CLVBA-FKA-CC1F1L1BB7R3R3CT-ND/2650499
2- 2 ohm 0603 power supply resistors - (inrush limiter) http://www.digikey.com/product-detail/en/ESR03EZPJ2R0/RHM2DTR-ND/4051230
The inrush limiters are only used when using high uf smt capacitors and should really be around 2 ohm or so?. I used 1/2 because its all I had around.
These LEDS require a very very low soldering temperature.
Full documentation will be edited in here as I produce it, code, schematics, images, etc...


MimsMirrorOne; 1

(this area is reserved for MimsMirrorOne, which will be populated in 1 week.)


The connection layout of both Zero and One follows proper design so that parallel programming(see link) and communication can be done with any number of MimsMirror Zero's and One's. link:= http://forums.parallax.com/showthread.php/127983-55-Parallax-Propeller-s-Parallells-Processing-of-Permanent-Perturbations.

****************END TRANSMISSION**************

TERMS OF USE: MIT License & Licensed under the TAPR Open Hardware License (www.tapr.org/OHL)

"Permission is hereby granted, free of charge, to any pers...........................
..............................OMITTED FOR FORUM............................................. ..
.................. OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "

Comments

  • Clock LoopClock Loop Posts: 2,069
    edited 2018-01-18 08:40
    MimsMirrorZero - Red Wars

    This is a first demonstration of a game type program that utilizes the detection of red and emission of red between 4 Zeros.

    I call it red wars. I have to start the zeros off with some form of red light, so I used a lighter as you can see. Sometimes I had to restart them right away, and other times, they kept going between each other.

    The only connection they have between each other is the led emission and detection, no wires, except power.
    The speed of the rotation and duration is set by the real.random object it is kept withing a certain duration to make the zeros stay alive for the most part.
    You don't want them too chatty, but sometimes they keep themselves going for a while.

    If a prop transmits red without activating another, the war will stop.

    This is an example of using the same led as emitter and detector in the same circuit.

    With some random type intelligence, and basic "rules of life"

    Optic communication between intelligent 8-core beings?


    FUN?
    √√



    This forum has decimated old threads, so the code i put in code blocks here, IS GONE.






    ****************END TRANSMISSION**************

    TERMS OF USE: MIT License & Licensed under the TAPR Open Hardware License (www.tapr.org/OHL)

    "Permission is hereby granted, free of charge, to any pers...........................
    ..............................OMITTED FOR FORUM............................................. ..
    .................. OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "
  • Clock LoopClock Loop Posts: 2,069
    edited 2014-02-25 02:39
    ZOMG
    MY ZEROS are infected with RED.


    Zero's Parts List:
    7.99$ -1-propeller- http://www.digikey.com/product-detai...Q44-ND/1136007
    0.76$ -1-5mhz smt crystal- http://www.digikey.com/product-detai...2-1-ND/3894081
    0.73$ -1-eeprom- http://www.digikey.com/product-detai...SCT-ND/2704982
    0.10$ea= 3.50$-35-100ohm- 0603 resistors. (more if other configs used) http://www.digikey.com/product-detai...0GTR-ND/135659
    0.10$ea= 0.20$ -2- 10k- 0603 resistors.(more if other configs used) http://www.digikey.com/product-detai...KGTR-ND/135662
    0.10$ea= 0.40$ -4- 1uf- 0603 capacitors - http://www.digikey.com/product-detai...2-2-ND/2103110
    0.83$ea= 3.32$ -(I used 4 - 68uf- 0603 polar caps $$$- http://www.digikey.com/product-detai...6-1-ND/4006125 )
    0.65$ea= 5.20$ -8- Cree RGB smt leds - http://www.digikey.com/product-detai...3CT-ND/2650499
    0.10$ea= 0.20$ -2- 2 ohm 0603 power supply resistors - (inrush limiter) http://www.digikey.com/product-detai...DTR-ND/4051230

    Total: 22.36$ Not including engineering/assembly/shipping/stocking/PCB.

    Assembly skill level required(with my pcb): LETHAL- its too small.


    ****************END TRANSMISSION**************

    TERMS OF USE: MIT License & Licensed under the TAPR Open Hardware License (www.tapr.org/OHL)

    "Permission is hereby granted, free of charge, to any pers...........................
    ..............................OMITTED FOR FORUM............................................. ..
    .................. OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "
  • Clock LoopClock Loop Posts: 2,069
    edited 2018-04-07 04:41
    Der video of 4- Zeros (which you already know)
    and 4- Ones having it out over RED.

    The Direction the leds chase in is random, and each colors length is also chosen at random.

    What you see in this video is completely random with core laws, like any system, its hysteresis needs to find the right resonance.

    If both zeros and ones turn off completely, it was luck.
    The hysteresis of this system of 8 prop chips communicating via red leds, sometimes allows it all to turn off, and other times its very active and chaotic.

    The response time could be improved with better code, better leds, etc..



    Processing...

    Emergence : 4 Zeros and 4 Ones communicate with red photons.

    Ones are linear 7 rgb led devices with identical properties to the zero. One can do what a zero can do, except use the 8th led programming.
  • xanaduxanadu Posts: 3,347
    edited 2014-03-06 09:08
    Nice, your breadboard will probably start charging a cover and open up a VIP line.
  • Clock LoopClock Loop Posts: 2,069
    edited 2018-01-18 08:37
    I have tested expanding a zero into double the leds to be a zeroHD.
    It works very well.

    This is a MimsMirror:ZeroHD
    It has a total of 16 RGB leds, making this propeller chip control 48 individual leds directly.




    As you can see by the video each led can be lit individually.
    The limitation is that some Leds directly next to each other cannot be lit simultaneously.
    The prop can be communicated with and programmed.
    To communicate with the prop one a communication monitor would need to be programmed to look for communication in between the led output (because all 32 pins on the prop are used for leds.

  • Clock LoopClock Loop Posts: 2,069
    edited 2018-01-18 08:50
    The forum change over killed old threads so im going thru worth while projects and fixing them.


    If the forum killed this project links, go here to find it.

    https://hackaday.io/acser


    Moderators, feel free to move this to Projects...
    I suppose this one can be considered robotcs also, feel free to move it.
Sign In or Register to comment.