Tuesday, July 21, 2009

מנוע של מכונת כביסה ישנה

מצאתם מכונת כביסה ישנה ועלה לכם רעיון למחזר את המנוע למטרה כלשהי? הגעתם (אולי) למקום הנכון!
הפירוק של המנוע הוא פשוט: יש לנתק בזהירות את מחבר הפלסטיק שמאגד את החוטים, ולפתוח את הבורג/אום שמחזיקים את גוף המנוע לשלדת המכונה. המנוע בידינו.
מנוע של מכונת כביסה הוא לא פרייאר. הוא צריך לדעת להסתובב במהירויות שונות (כיבוס, סחיטה וכו') ובכיוונים שונים. בד"כ תמצאו מנוע של עד שלושת-רבעי כח סוס (כ-450 וואט) שפועל על זרם חילופין. ממה שקראתי, יש שני סוגים עיקריים של מנועים: מנוע פחמים ומנוע בלי פחמים. מנוע בלי פחמים ("רוטור כלוב") מופעל ע"י קבל, ושם יש שני ליפופי מנוע (שני סלילים): לכביסה - מהירות נמוכה ולסחיטה - מהירות גבוהה. זו מעין החלאה חשמלית של שני מנועים.
במנוע עם פחמים ("רוטור מלופף"), ויסות המהירות נעשה דרך מתח המוזרם ל"פחמים". הפחמים בהם מדובר הם שני מקלות שחורים שיושבים על הרוטור שהוא החלק המסתובב במנוע. במנוע כזה יש גם "טכו-מטר" שבודק את המהירות. הוא יושב על ציר המנוע בצד האחורי, ומשם זה הולך ל"בקר" (כרטיס אלקטרוני) שלפי המהירות הוא משנה את המתח בפחמים ואלו כאמור גורמים לשינוי המהירות.

המנוע שאני פירקתי היה שייך למכונת כביסה פיליפס-ווירלפול והיה מנוע פחמים. אם יש לכם מנוע בלי פחמים, אין לי מושג איך להפעיל אותו.
או קיי, אז יש לנו מנוע פחמים אבל ניתקנו אותו מהבקר האלקטרוני של מכונת הכביסה ששולט על מהירות המנוע. מסתבר אבל שיש אפשרות להפעיל את המנוע ללא בקר בחיבור ישיר לחשמל רגיל של 220 וולט, ואז לקבל פעולת מנוע במהירות מלאה.
איזה חוטים צריך לחבר לאן? זו כבר לא שאלה פשוטה וחיפוש די מתמשך בגוגל לא היה לי לעזר רב. למחבר היו מחוברים 7 חוטים. מה שהצלחתי להבין זה שחוט אחד (הקיצוני) הוא הארקה, זוג חוטים אחד הולך לטכו-מטר מה שלא רלבנטי במקרה שלנו ושני הזוגות הנותרים הם עבור שני סלילים שקיימים במנוע. לא יודע למה שניים. בקיצור, מה שצריך לעשות זה לחבר זוג חוטים של אחד הסלילים לחשמל. אצלי הזוגות של הסלילים היו חום + חום/לבן, וירוק + ירוק/חום. את שני הזוגות הנוספים צריך לחבר ביניהם כדי לסגור מעגלים.
1. חום (הארקה)
2. ירוק/חום
3. חום
4. ירוק
5. חום/לבן
6. שחור (טכו-מטר)
7. אדום (טכו-מטר)
וביתר פירוט: 1 להארקה, 2 ו-4 לחשמל, 3 מחובר ל-5, 6 מחובר ל-7.
שיהיה בהצלחה.
אין לי כמובן אחריות על כלום וברור שרק טכנאי מדופלם רשאי לנסות בבית

Tuesday, June 2, 2009

גימטריה #1

מסתבר שלפי חכמת הגימטריה המילה אל שווה למילה לא

Thursday, May 7, 2009

Actionscript 3 - Adding a Text Label with Hand cursor on mouse over

So you have an Actionscript 3.0 project and you want to add a simple text label that behaves like a standard HTML link with hand cursor on mouse over, underline, click events, etc.?
This should have been a fairly simple task, but it turns out to be a tricky one. To make a long story short, here's the bottom line:

private var lbl:TextField;

/* add the following to the constructor or some other function */

var btn:Sprite=new Sprite();
btn.buttonMode=true;
lbl = new TextField();
lbl.width = 120;
lbl.height = 20;
lbl.text = "My Label";
var newFormat:TextFormat = new TextFormat();
newFormat.color = 0x00FFFF;
newFormat.size = 14;
newFormat.bold = true;
newFormat.font = "Arial";
newFormat.underline = true;
lbl.setTextFormat(newFormat);
lbl.selectable = true;
lbl.mouseEnabled = false; btn.addEventListener(MouseEvent.MOUSE_OUT,onBrowseLblMouseOut); btn.addEventListener(MouseEvent.MOUSE_OVER,onBrowseLblMouseOver);
btn.addEventListener(MouseEvent.CLICK,onBrowseLbl);
btn.useHandCursor = true;
btn.addChild(lbl);
this.addChild(btn);

Then add the event handlers, for example:

private function onBrowseLblMouseOver(event:MouseEvent) : void
{
var newFormat:TextFormat = new TextFormat();
newFormat.color = 0x454545;
newFormat.size = 14;
newFormat.bold = true;
newFormat.font = "Arial";
newFormat.underline = false;
lbl.setTextFormat(newFormat);
}

Sunday, April 12, 2009

Keepaboo LifeBook Widget

Another fine release from the Keepaboo Corporation...
Check it out.

Keepaboo baby book

Tuesday, March 3, 2009

Experiment in Technical Analysis Theory

If you search the Web for an investment strategy to improve your trading results, you will soon be advised that "the trend is your friend". This seems to be a good start, for all you need is identify the trend and you are all set. This insight, roughly speaking, is 50% of Technical Analysis theory which aims to be capable of nothing less than predicting the future prices of securities, currency, commodities and whatever.

The rest of Technical Analysis theory is all about price patterns. Technicians search for archetypal patterns, such as the head and shoulders or double top reversal patterns, study indicators such as moving averages, and look for forms such as lines of support, resistance, channels, and more obscure formations such as flags, pennants or balance days [see Technical Analysis @ Wikipedia]. And why should we assume that price patterns are expected to re-occur in the future? because, we are told, history tends to repeat itself.

So how do technicians identify trends and price patterns? well, they use charts. Lots of them. Colorful, eye-catching charts. This is why Technical Analysis is also called charting.

Criticism of technical analysis theory is very wide. I'm bringing no news here when I claim that Technical Analysis fails to prove its case, that is to predict future prices. Indeed, the very basic assumptions of Technical Analysis are dubious, to say the least. Is the trend really a friend? which trend are we talking about here? of this hour? day? week? month? year? At any time circle, price movement is at some point reversed. How can we tell if this is the end of the trend or only a short break before the trend continues? A more truthful statement would probably be "the trend is your friend (until it isn't)". The same goes for the other core-assumption of Technical Analysis: "History tends to repeat itself (but sometimes it isn't)".

My claim is that Technical Analysis is basically a bluff based on a trick of the eye, like a cheap magic performed by the neighborhood clown in a children birthday party, hiding the pigeon in his pants. This statement deserves some elaboration I guess, so here it is.

I must admit: when I look at the colorful technical charts I'm usually convinced. The lines seem to clearly indicate what could be good entry and exit points. Take the very basic indicator - the simple Moving Average ("MA") - as an example. Whenever the price line crosses above the MA line I should go long, and close the position when the price line crosses below. How simple! Let's get rich!

However, as always the case with moi, doubts are crawling and knocking on my head. With all these colorfull charts everything seems to be too simple. Can it be the case that my eyes are fooling me? That what seems to be buying & selling triggers on the charts are actually more a result of random movements than of patterns & trends? I decided to check this out, by making a small experiment. Let's try to run these nice charts on random numbers rather on real prices and see how the technical indicators would look like. My experiment is available for the reader review in a form of small widget that generates random-based price line (in blue) with a simple 7-day MA indicator on top of it (in red). Play with it, but beware! if you have an itch to put your money on my random stock remember - it's just a Bluff...

As a reference to our random chart, let's start with some real charts. Click the well-known symbols below to load their charts.

MSFT
GOOG
AAPL
YHOO



Now, let's turn to our random chart. Click to Reload the radnom chart.


`