MimsMirror: Zero. It needs a program/suggestions.
Clock Loop
Posts: 2,069
Please see project thread:
http://forums.parallax.com/showthread.php/154191-MimsMirrorZero-and-MimsMirrorOne-(it-blinks-rgb)
Posting here for feedback, as projects seems to be dead.
MimsMirror: Zero. It needs a program/suggestions.
-once all colors work, color based communication.
-Smooth fades.
-MORE COLORS.
-Intelligent conversations using multiple colors.
-Detector limited to rgb, but rctime can give differing values based on intensity, so color could be decoded if rc values for intensity of each rgb, on each led. (calibrated using another zero?)
-etc...
Please suggest, make a program, comment.
Thank you.
The current program is very very basic because I haven't had much time with it, right now my head is too full of too many ways it could go.
I don't have time to do all this, got a MimsMirror: One, on the way... theres another can of worms as far as program directions, and possibilities.
PLEASE, HELP. This can be breadboarded, and the leds pointed at eachother!
If you make a program for it, I will run it, if you let me know what it should do, I'll even record it if its worth recording, and my videos are fairly boring, showing that the Zero's do in fact "ignite" when seeing red.
I understand spin, pretty well, but not prop asm, so if you write something in asm, don't expect me to keep up.
The method I am using to do detection of led works pretty well, a better engine could be made for the hardware, probably, but the rctime is already a asm object, and does very well.
I don't have blue and green working with rctime due to their high VF, ....during my initial pre-pcb design testing, my findings were that blue and green could possibly be dead detectors due to such a high VF.
I calculated a need for a 25 ohm resistor on the green and blue leds, just to get 15ma at 3.3v.
I'll keep working at getting blue and green to detect better, (i may need a parallel cap with each led) or something, but what I am not doing is making a program.
Too busy with hardware right now. But I can run a program, much easier than staring down code for 4 hours.
I know its hard to code for virtual hardware, you can make one with a prop and 8 rgb leds, and proper resistors for the vf of those leds. (it just won't be in my shape) you can simulate communications by having two props with 8 rgb leds each, pointing at eachother down the centerline of a breadboard. etc...
and....
http://forums.parallax.com/showthread.php/154191-MimsMirrorZero-and-MimsMirrorOne-(it-blinks-rgb)
Posting here for feedback, as projects seems to be dead.
MimsMirror: Zero. It needs a program/suggestions.
-once all colors work, color based communication.
-Smooth fades.
-MORE COLORS.
-Intelligent conversations using multiple colors.
-Detector limited to rgb, but rctime can give differing values based on intensity, so color could be decoded if rc values for intensity of each rgb, on each led. (calibrated using another zero?)
-etc...
Please suggest, make a program, comment.
Thank you.
The current program is very very basic because I haven't had much time with it, right now my head is too full of too many ways it could go.
I don't have time to do all this, got a MimsMirror: One, on the way... theres another can of worms as far as program directions, and possibilities.
PLEASE, HELP. This can be breadboarded, and the leds pointed at eachother!
If you make a program for it, I will run it, if you let me know what it should do, I'll even record it if its worth recording, and my videos are fairly boring, showing that the Zero's do in fact "ignite" when seeing red.
I understand spin, pretty well, but not prop asm, so if you write something in asm, don't expect me to keep up.
The method I am using to do detection of led works pretty well, a better engine could be made for the hardware, probably, but the rctime is already a asm object, and does very well.
I don't have blue and green working with rctime due to their high VF, ....during my initial pre-pcb design testing, my findings were that blue and green could possibly be dead detectors due to such a high VF.
I calculated a need for a 25 ohm resistor on the green and blue leds, just to get 15ma at 3.3v.
I'll keep working at getting blue and green to detect better, (i may need a parallel cap with each led) or something, but what I am not doing is making a program.
Too busy with hardware right now. But I can run a program, much easier than staring down code for 4 hours.
I know its hard to code for virtual hardware, you can make one with a prop and 8 rgb leds, and proper resistors for the vf of those leds. (it just won't be in my shape) you can simulate communications by having two props with 8 rgb leds each, pointing at eachother down the centerline of a breadboard. etc...
and....
Comments
If you attach your code as a project, it would be easier for us to see what you're doing.
I wonder if you'd have better luck using the LEDs as sensors if you used sigma delta ADC technique instead of RC time?
I know I have a bunch of RGB LEDs and I've been meaning to try using a LED as a sensor so this project might be a fun way of trying it out.
I'm interested in seeing how you've made your MimsMirrorZeros. Could you take a couple of pictures showing how you've soldered the parts?
They don't have to be as small as you've made them do they? Do think one could breadboard the parts together to make a couple of these?
Sorry about the whole code, I figured the main loop was good. Yes, the rctime was made by yet another awesome person who contributed it into the obex.
Its written in assembly.
http://obex.parallax.com/object/495
This rctime can even detect a finger/metal touch. Its pretty nifty.
Not sure about the sigmadelta, will look into it, unless someone else gets to it before me.
The other two objects in the main code are the real random object: by CHIP!
http://obex.parallax.com/object/498
And the fullduplex serial object, but my code comments this out, because its just used as debug.
http://obex.parallax.com/object/245
And heres the main code
My boardhouse promised me the gerbers but hasn't produced yet. I have asked multiple times.
I haven't made a circuit diagram yet, but its pretty simple. each led has a 100 ohm resistor on each leg, and the common of the rgb leds is + that also has a resistor going to a leg on the prop. (Vpos1)
Nothing complicated about the design at all, actually. Its so simple its dumb, the key is to find your VF of each led and use a resistor that limits it right at its max current. (dont go bigger than 33ma for any single prop leg) (you will only pwm the thing anyway) The idea is to make the resistor as large as you can, and still be able to have the rctime object see light properly. So you don't really want 33ma going through a led, half or 1/4 that... But if the led can handle it, then burn baby burn. (the cree leds have 25ma max(blue/green), 50ma(red) *when only one is lit, at 1/10 duty, etc....(which is not much)
IT CAN be built on a breadboard.
IT CAN be VERY LARGE, with VERY LARGE BRIGHT LEDS (but the vf might be different, etc, so not sure on different PARTS)
(very large, meaning, bigger circle, but then the leds get spread apart, so the whole device becomes less active, due to less sense and emit density.
More material, pics, schematics, archive, gerber, etc... will come in time, I really just got started on these... fresh outta the oven. I still have MimsMirror:One to get going also...
I working on it!