Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Help!
#1
Power modulation of tags
Archive: 32 posts
What i want to do is to have a timer hooked up to a tag so that the analog strengh of the tag fades up from 0% to a number, say 65%. I know that this can often be done on the receiving end, but in my case i need it to be done on the transmitting end. Is this possible? Another way of looking at this is as an average of two analouge signals, but that dsen't seem to be helping me. | 2011-06-15 19:00:00 Author: Unknown User |
hold on. explain more clearly, and what is it for so we can have a better understanding of your dilemma. | 2011-06-15 21:09:00 Author: Unknown User |
I have it set so that a tag sensor is on a hologram (actually 3 of each, RGB) and i want to fade it from one color to another. The hologram doesn't seem to support every color by default so i have it set to respond to the magnetic key strength, so that each of the three holograms can be at a different strength. for example, a 100% battery with a red tag and a 50% battery with a green tag will give me orange, which for some reason doesn't work normally. Anyways say i want that orange to fade into a dark purple (R=50%, B=100%). I plan to do thins using a timer set to start count up and then hook it up to the key(s). Does this help? | 2011-06-15 21:30:00 Author: Unknown User |
You can limit the analog signal to a certain value by putting it through an AND gate. For 65%, just put a 65% battery into an AND gate, hook up the timer, and output the AND to the tag. The max value would then be 65% going through the tag.....(that help?) If you need to vary the limiting value, it's more complex. | 2011-06-15 21:40:00 Author: SSTAGG1 Posts: 1136 |
What i want to do is to have a timer hooked up to a tag so that the analog strengh of the tag fades up from 0% to a number, say 65%. I know that this can often be done on the receiving end, but in my case i need it to be done on the transmitting end. Is this possible? This circuit limits the analogue signal the tag can receive from 0% to 68.75%. You'd need to lengthen the positional sequencer until you can place a battery at increments of five percent to get the number you're after. http://i92.photobucket.com/albums/l37/Corporeal/36cad8d0.jpg | 2011-06-15 21:41:00 Author: Ayneh Posts: 2454 |
Both those solutions would work exept for the fact that it it is limiting, not scaling. assuming it is a 10 second scale for the timer, and a reading was taken every second it would be: 0 10 20 30 40 50 60 65 65 65 65 what i want it to be is more like: 0 6.5 13 19.5 26 32.5 39 45.5 52 58.5 65 I've alredy tried the and switch thing but the problem is that if it has full RGB it is innitally white. The other process would have the same effect. | 2011-06-15 22:05:00 Author: Unknown User |
I'll refer you to rtm223's logic blog Analogue Logic 4: Basics of Sampling & Scaling (http://www.lbpcentral.com/forums/entry.php?2325-Analogue-Logic-4-Basics-of-Sampling-amp-Scaling). The circuit can become complicated based on what you want to do EXACTLY. For instance do you want the times to go up then back down, or only go up, or only go down? Do you want them to do that behavior once or over and over again? | 2011-06-15 22:19:00 Author: RoharDragontamer Posts: 397 |
Both those solutions would work exept for the fact that it it is limiting, not scaling. assuming it is a 10 second scale for the timer, and a reading was taken every second it would be: 0 10 20 30 40 50 60 65 65 65 65 what i want it to be is more like: 0 6.5 13 19.5 26 32.5 39 45.5 52 58.5 65 By playing with the length of the timer and the positional sequencer it should be easy to produce such a sequence. The circuit in my previous post would ouput those values up to 65 if the timer were set to around 16-17 seconds and a reading taken every second. Am I correct in thinking you could double the length of the sequencer and halve the timer and get the same results? | 2011-06-15 22:30:00 Author: Ayneh Posts: 2454 |
@Ayneh, pretty sure your circuit would work by replacing the sequencer with a battery set to a 65% signal strength. However, that would still make it a limiter not a scaler. How about taking a regular timer set to say 10 seconds, then another timer set to 6.5 seconds that resets them both. You'll only get 0-65 from the original timer that way every 6.5 seconds. Just scale up times according to your desires. A 15.4 second full timer with a 10 second reset will yield 0-0.649 every 10 seconds. | 2011-06-15 22:35:00 Author: RoharDragontamer Posts: 397 |
@Ayneh, pretty sure your circuit would work by replacing the sequencer with a battery set to a 65% signal strength. However, that would still make it a limiter not a scaler. You'll have to explain the difference between a "limiter" and "scaler" to me since all the suggested circuits in this thread have the same effect as far as I can tell. | 2011-06-15 22:56:00 Author: Ayneh Posts: 2454 |
So i just finished reading the thing that i was linked to, and realized that this may be a bit compliced. 65 is a completely arbatrary value, and i don't have enough termo space to implement what was in the page i was linked to (although it will be useful for other realated things. I don't have enough time now but i will see if i can posf a good pictur of what i want to do tomarro. Who knows... the might ve a completelh different meathod of doing this that i completely forgot about. | 2011-06-16 03:25:00 Author: Unknown User |
I think I have a fairly simple way to produce this. Instead of using timers, why not simply store the value, and then adjust it to whichever value you need. Feedback it so you can gradually increase/decrease intensity of each colour band, or simply reset it to a preset value. It's not terribly complex (hardly a budge on the thermo), but works quite well. If you need a model of this setup, you could probably pull it off with my health/cash system (sig), and I already use tags and tag sensors to detect each value, so some help there. | 2011-06-16 04:23:00 Author: SSTAGG1 Posts: 1136 |
this is what i have. It is currently set up assuming that the analogue input to the microchip will scale the battery power (which it doesn't) http://i8.lbp.me/img/ft/318cdd5bb1306875671515e23133697f7cb4c0f6.jpg (http://http://i8.lbp.me/img/ft/318cdd5bb1306875671515e23133697f7cb4c0f6.jpg) | 2011-06-16 17:43:00 Author: Unknown User |
I dunno what you're trying anymore, but if you wanted the tag value to scale up with the timer, simply put the timer directly into the tag. | 2011-06-16 19:59:00 Author: SSTAGG1 Posts: 1136 |
what you are saying makes sense, but if it was that simple i wouldn't be asking. Let me clairafy the picture above. All three batteries are at a different power level. I think that for this example the power levels are something like 26,13, and 83. Nothing even at all. This represents a color (RGB; multiply by 2.26 to get the value for the color that I got from the computer). What I want is for this color to fade in from nothing. This requires that the colors retain a constant ratio so that the hue is not changed, only the brightness. this same peice of hologram is being used for many other things like this so I cannot adjust the brightness of the hologram itself. As you can see (hopefully) from the picture, I have this going several (if all goes well it could easily be over 1000 times) times, so thermo space is a big issue. | 2011-06-16 20:40:00 Author: Unknown User |
Hmm.. I'll give this a go when I have the time. Nice challenge. Although I don't know why you don't go with Ayneh's "limiter" suggestion. Does it look that much different from getting the values at the target value at the very same time? Sure, it some color channels would arrive at the target earlier, but is it really important? (like a gameplay element, not a cosmetic one) | 2011-06-16 23:33:00 Author: hesido Posts: 166 |
I have it set so that a tag sensor is on a hologram (actually 3 of each, RGB) and i want to fade it from one color to another. The hologram doesn't seem to support every color by default so i have it set to respond to the magnetic key strength, so that each of the three holograms can be at a different strength. for example, a 100% battery with a red tag and a 50% battery with a green tag will give me orange, which for some reason doesn't work normally. Anyways say i want that orange to fade into a dark purple (R=50%, B=100%). I plan to do thins using a timer set to start count up and then hook it up to the key(s). Does this help? If I were you I would stare at the screen for about 5 minutes, realize this will take too long, and resort to simplifying it to one lighty up piece of holo and call it good Then again, I never was very good with logic. | 2011-06-17 00:12:00 Author: Jayhawk_er Posts: 403 |
the main reason that I don't go with a limiter is that I am a perfectionist. That aside the entire level is about this type of things. Think of several squares of these lighting in succession. It doesn't work because the brain compares the ones that are being lit to the ones that are already lit, and notices that they are different. | 2011-06-17 00:40:00 Author: Unknown User |
Could you take a picture of the custom colour and then just make a single hologram with the picture of that colour? Would mean issue is fading in, which is easy. Switching from 1 colour to another may also work by simply fading in/out the 2. Otherwise, to keep the same ratio, you'd have to change the max timer value of each one (2x longer if 1/2 value, etc..). | 2011-06-17 04:55:00 Author: SSTAGG1 Posts: 1136 |
One thing that I am not going to do with this level is change the hologram (ex. putting a sticker on it). I think that if I really need to than I can use the timer thing; I can see how it works (one timer set to count down and hooked up to the other timer; do some math to get the length of the other one...) !! *slaps head because of obvious simple solution* Put the battery in a microchip (set to something like 54%) then have two timers. One receives input from the sequencer (or something else depending) and outputs to the power of the microchip with the battery on it. It is set to count down for the desired transition time. The battery leads to another timer (not on the battery microchip) set for the same amount of time as the original timer and is set to adjust speed based on the input. Haven't tried it but I cannot think why it wouldn't work. Edit: IT WORKS!!!!! Here's a pic: http://i1.lbp.me/img/ft/fb1a290e4c53872d2513f0461c32e64dbc647f5e.jpg | 2011-06-17 14:16:00 Author: Unknown User |
Nice! Since lower values would cause the timer to go slower and in proportion, everybody gets there on the same time. I wonder how precise the results are, there may be small errors due to rounding etc etc?? I'm currently making a type writer, I was planning on users to change the font colors by mixing the holograms like seen here. I don't need the fade effect tho. I wished we'd have a textureless hologram for this type of work, tho (I hope the sticker panel is mixable, but since it will not be transparent, it may not do the job) | 2011-06-17 15:05:00 Author: hesido Posts: 166 |
If you had read that Logic blog you would see that there are no inaccuracies due to rounding; it is similar to the method that he used to store an analogue value. As I am currently trying to keep the nature of my project a secret, I cannot say what it is, but in my opinion it is cooler than a typewriter. | 2011-06-17 15:12:00 Author: Unknown User |
I hope the sticker panel is mixable, but since it will not be transparent, it may not do the job I know it will feature translucency, but whether that will be variable by signal input (like the Brightness of holo) I don't know. It may not be what you want, though. I am unsure whether it will act as a light source, or else the front layer will just obscure the layers behind it and not add to the total color. You may want to check out the turorial in my sig about reducing the texture in holo. | 2011-06-17 15:25:00 Author: Antikris Posts: 1340 |
I plan to use 75%of the theemo for logic and the other 25% for my holos so i don't think this will work for me. | 2011-06-17 15:41:00 Author: Unknown User |
...I cannot say what it is, but in my opinion it is cooler than a typewriter. I'm sure it is way cooler. Didn't want to imply my typewriter was cooler than your secret project! @antikris: Thanks! I know about your tutorial, I've actually used it a couple of times after seeing it in your thread. | 2011-06-17 18:34:00 Author: hesido Posts: 166 |
I'm not saying that you implied that it was cooler. I happen to think that it is very cool. But if you spend upwards of 40 hours making good logic than somethinh has too be very cool, which i have done. I'm not displaying my thoughts very clearly am I... | 2011-06-17 20:09:00 Author: Unknown User |
I would really like to see your device in action. Perhaps a video will do? | 2011-06-17 21:55:00 Author: synchronizer Posts: 287 |
I would like to see it in action too. Logic is very abstract. You can't see it until it is all done. Plus, i don't know how to make a video. | 2011-06-17 22:21:00 Author: Unknown User |
If the idea is to make a LCD screen or something you'll run into complexity issues fast. Even with low resolutions like 50x50 it would require 7500 individual pieces of holo. I was hanging around on a friend's moon while they were trying to make the same thing, | 2011-06-17 23:17:00 Author: Ayneh Posts: 2454 |
I'm not going above 15x15. And that is pretty much what i am trying to do. (I mean exactly) the complexity is manageable and i can make some really cool things, so i think i have a good balance for the size. It is taking a while but not too long. Just curious, are thee any other LCD screens out there? I was just wondering if i am the only peson crazy enough to do this. Ps. It works really well. | 2011-06-17 23:24:00 Author: Unknown User |
I'm not going above 15x15. And that is pretty much what i am trying to do. (I mean exactly) the complexity is manageable and i can make some really cool things, so i think i have a good balance for the size. Nice. 15x15 is still massively complex so I'm impressed! | 2011-06-17 23:36:00 Author: Ayneh Posts: 2454 |
The screen itself isn't that complex. And once you have the kays on a.grid ona microchip things get pretty easy (or at least easier than without) I wouldn't concier complex to be the right word. Tedeious is what it is. And a little laggy if you are trying to do a X/Y grid of all of them and use coustom colors for all of them, but doing that is still just tedious, not complex. | 2011-06-17 23:51:00 Author: Unknown User |
LBPCentral Archive Statistics
Posts: 1077139
Threads: 69970
Members: 9661
Archive-Date: 2019-01-19
Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.