-
Posts
4869 -
Joined
-
Days Won
5
Posts posted by Ghostchips
-
-
/*
Morse code - Transmitter
modified on 14 Apr 2019
by Saeed Hosseini @ Electropeak
https://electropeak.com/learnSubsequintly modfiyed by some idiot who can't even spell
and replaced the loop with a message saying "Go away"
So other people could tell someoen to go away...*/
const int led = 13;
const int buz = 8;String code = " ";
int len = 0;
char ch;
char new_char;
int unit_delay = 250;
void dot()
{
Serial.print(".");
digitalWrite(led, HIGH);
digitalWrite(buz, HIGH);
delay(unit_delay);
digitalWrite(led, LOW);
digitalWrite(buz, LOW);
delay(unit_delay);
}void dash()
{
Serial.print("-");
digitalWrite(led, HIGH);
digitalWrite(buz, HIGH);
delay(unit_delay * 3);
digitalWrite(led, LOW);
digitalWrite(buz, LOW);
delay(unit_delay);
}void A()
{
dot();
delay(unit_delay);
dash();
delay(unit_delay);
}
void B()
{
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
}
void C()
{
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dash();
delay(unit_delay);
dot();
delay(unit_delay);
}
void D()
{
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
}
void E()
{
dot();
delay(unit_delay);
}
void f()
{
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dash();
delay(unit_delay);
dot();
delay(unit_delay);
}
void G()
{
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dot();
delay(unit_delay);
}
void H()
{
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
}
void I()
{
dot();
delay(unit_delay);
dot();
delay(unit_delay);
}
void J()
{
dot();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
}
void K()
{
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dash();
delay(unit_delay);
}
void L()
{
dot();
delay(unit_delay);
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
}
void M()
{
dash();
delay(unit_delay);
dash();
delay(unit_delay);
}
void N()
{
dash();
delay(unit_delay);
dot();
delay(unit_delay);
}
void O()
{
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
}
void P()
{
dot();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dot();
}
void Q()
{
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dash();
delay(unit_delay);
}
void R()
{
dot();
delay(unit_delay);
dash();
delay(unit_delay);
dot();
delay(unit_delay);
}
void S()
{
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
}
void T()
{
dash();
delay(unit_delay);
}
void U()
{
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dash();
delay(unit_delay);
}
void V()
{
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dash();
delay(unit_delay);
}
void W()
{
dot();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
}
void X()
{
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dash();
delay(unit_delay);
}
void Y()
{
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
}
void Z()
{
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
}
void one()
{
dot();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
}
void two()
{
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
}
void three()
{
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
}
void four()
{
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dash();
delay(unit_delay);
}
void five()
{
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
}
void six()
{
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
}
void seven()
{
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
}
void eight()
{
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dot();
delay(unit_delay);
dot();
delay(unit_delay);
}
void nine()
{
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dot();
delay(unit_delay);
}
void zero()
{
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
dash();
delay(unit_delay);
}
void morse()
{
if (ch == 'A' || ch == 'a')
{
A();
Serial.print(" ");
}
else if (ch == 'B' || ch == 'b')
{
B();
Serial.print(" ");
}
else if (ch == 'C' || ch == 'c')
{
C();
Serial.print(" ");
}
else if (ch == 'D' || ch == 'd')
{
D();
Serial.print(" ");
}
else if (ch == 'E' || ch == 'e')
{
E();
Serial.print(" ");
}
else if (ch == 'f' || ch == 'f')
{
f();
Serial.print(" ");
}
else if (ch == 'G' || ch == 'g')
{
G();
Serial.print(" ");
}
else if (ch == 'H' || ch == 'h')
{
H();
Serial.print(" ");
}
else if (ch == 'I' || ch == 'i')
{
I();
Serial.print(" ");
}
else if (ch == 'J' || ch == 'j')
{
J();
Serial.print(" ");
}
else if (ch == 'K' || ch == 'k')
{
K();
Serial.print(" ");
}
else if (ch == 'L' || ch == 'l')
{
L();
Serial.print(" ");
}
else if (ch == 'M' || ch == 'm')
{
M();
Serial.print(" ");
}
else if (ch == 'N' || ch == 'n')
{
N();
Serial.print(" ");
}
else if (ch == 'O' || ch == 'o')
{
O();
Serial.print(" ");
}
else if (ch == 'P' || ch == 'p')
{
P();
Serial.print(" ");
}
else if (ch == 'Q' || ch == 'q')
{
Q();
Serial.print(" ");
}
else if (ch == 'R' || ch == 'r')
{
R();
Serial.print(" ");
}
else if (ch == 'S' || ch == 's')
{
S();
Serial.print(" ");
}
else if (ch == 'T' || ch == 't')
{
T();
Serial.print(" ");
}
else if (ch == 'U' || ch == 'u')
{
U();
Serial.print(" ");
}
else if (ch == 'V' || ch == 'v')
{
V();
Serial.print(" ");
}
else if (ch == 'W' || ch == 'w')
{
W();
Serial.print(" ");
}
else if (ch == 'X' || ch == 'x')
{
X();
Serial.print(" ");
}
else if (ch == 'Y' || ch == 'y')
{
Y();
Serial.print(" ");
}
else if (ch == 'Z' || ch == 'z')
{
Z();
Serial.print(" ");
}
else if (ch == '0')
{
zero();
Serial.print(" ");
}
else if (ch == '1')
{
one();
Serial.print(" ");
}
else if (ch == '2')
{
two();
Serial.print(" ");
}
else if (ch == '3')
{
three();
Serial.print(" ");
}
else if (ch == '4')
{
four();
Serial.print(" ");
}
else if (ch == '5')
{
five();
Serial.print(" ");
}
else if (ch == '6')
{
six();
Serial.print(" ");
}
else if (ch == '7')
{
seven();
Serial.print(" ");
}
else if (ch == '8')
{
eight();
Serial.print(" ");
}
else if (ch == '9')
{
nine();
Serial.print(" ");
}
else if(ch == ' ')
{
delay(unit_delay*7);
Serial.print("/ ");
}
else
Serial.println("Unknown symbol!");
}void String2Morse()
{
len = code.length();
for (int i = 0; i < len; i++)
{
ch = code.charAt(i);
morse();
}
}void setup() {
Serial.begin(9600);
pinMode(led, OUTPUT);
pinMode(buz, OUTPUT);
Serial.println("I am ready...");
}void loop() {
// put your main code here, to run repeatedly:
G();
Serial.println("G");
delay(1000);
O();
Serial.println("O");
delay(3000);
A();
Serial.println("A");
delay(1000);
W();
Serial.println("W");
delay(1000);
A();
delay(1000);
Serial.println("A");
Y();
Serial.println("Y");
delay(3000);
I();
Serial.println("I");
delay(3000);
A();
delay(1000);
Serial.println("A");
M();
Serial.println("M");
delay(3000);
T();
delay(1000);
Serial.println("T");
R();
delay(1000);
Serial.println("R");
Y();
delay(1000);
Serial.println("Y");
I();
delay(1000);
Serial.println("I");
N();
delay(1000);
Serial.println("N");
G();
Serial.println("G");
delay(3000);
T();
delay(1000);
Serial.println("T");
O();
delay(1000);
Serial.println("O");
delay(3000);
S();
delay(1000);
Serial.println("S");
L();
delay(1000);
Serial.println("L");
E();
delay(1000);
Serial.println("E");
E();
delay(1000);
Serial.println("E");
P();
Serial.println("P");
delay(5000);
}- 4
-
If you're close by, go anyway & see who shows up.
-
I'm pretty sure he died by now.
Rule of thumb, if someone goes missing for 6 months, they're not coming back. -
More video, but of playing around with an exhaust sensor.
I still remember her voice after all these years & half expect her to tell me the time soon after the temp'.- 4
- 1
-
There are 6 and 12 volt bulbs listed as 'for scooter' on aliexpress. The ones that have 1 side for dip & both sides for high beam seem reasonable.
https://www.aliexpress.com/item/32719482964.html
Or.... https://www.aliexpress.com/item/32995409361.html
Might be able to get one sooner from the likes of trademe. I looked but only found stop-tail LED.
A winter or 2 back i put stop-tail LED bulbs into the headlight buckets of the model T. Worked remarkably well.- 1
- 1
-
Millercycle for rotories?
- 3
-
If JB weld or something will hold the dirt out, do it.
I once replaced the top of a model A distributor with a popsical stick with wires shoved through little holes. Based that one on stories on the internet. There was a video of someone doing it somewhere but i can't find it now
/Ling- 2
-
- Popular Post
- Popular Post
I spent more money than i should have to acquire some plastic plugs. They were far more attractive than the copper & plastic, and less bulky.
And they make this really satisfying noise when being unplugged, like stirring macaroni cheese or something.
Found i could buy them for 1/4 the price direct from china. Or i could buy them for 400 times the china price at B.n.T.
i recall seeing them in a workshop a long time ago and i wasn't even allowed to look at them because they were 'too good for my eyes' or something.
I have since figured out the people at that workshop are dicks & need to be corporeally punished.So up yours NZ, i am good enough to see plugs.
And if you don't like it, fuck you.
https://youtu.be/u3GwSzpvNq0
A terrible video- 9
- 1
-
What causes that blow up? Seized bearing, seized triangle in housing? Or maybe a combination, and then the concentric gear thing strips?
-
11 hours ago, AllTorque said:
The old pics in your build thread don’t work. Can you put up a pic of the whole car so we know what all the people are talking about in your hidden camera vids?
OK, i tried to replace as many pictures as i could, sorry about them being mostly massive though.
Wow that's an old photo.
It made a friend half it's size.- 5
- 1
-
- Popular Post
- Popular Post
-
i've heard that's just ATF.
- 2
-
- 3
- 2
- 2
-
I used to pour half a small tin black pepper in a radiator that was beyond fixing every week.
Worked fine for 3 years but the pepper that leaked out left a mess on the underside of the car.- 3
- 1
-
What if you use the t57 rods & 2 bearings in the same rod to make up width like people do when putting replaceable shells in babbitt fords?
I think the trick with the model T was to use 2 MG bearings side by side in the big end.- 4
-
-
On 21/02/2020 at 19:21, Muncie said:
Costs $2 a litre. I get it free. So free plus makes car goes further.. i ran up to 15 litres in a tank of 91 before it got hard to start and the loss of power was quite noticeable.
butter zone is 5 litres.
Where are you getting it for that price? It's mega expensive at the hardware store.
Keen to try some slick50. They say there'd be enough teflon in it to allow you to limp home if you ran out of oil in the outback or something.
As for me? I add a lid full of ATF to 10 litres of fuel in older low compression engines, They seem to appreciate it, less valve noise and the engine temp drops. (my theory is it becomes an upper cylinder lube and lubes the valve stems a little bit, probably cushions the valve landing on the seat too.)- 1
-
14 hours ago, igor said:
Are you going to share that information?
Eventually
-
- Popular Post
- Popular Post
On related note to the "taking pix of people taking pix of my car", Is it bad that i sometimes leave my dashcam running to hear all the strange things people say about my car?
- 5
- 7
-
How hard would it be to re-form a rod to fit?
I have a few T conrods i'll likely never use. -
9 minutes ago, rotor_dude said:
also, 17/18 inch minilites
Pretty sure i've seen those & they look dumb. Like giant 'early MX5' wheels.
-
And people used to laugh at me for liking old school orig' and modgies over the 'big chrome things'.
Who's laughing now.- 2
- 1
-
Pretty sure that photo is faked as you don't have more than 1 working light on the front.
- 2
- 1
-
Think what that car is worth now....
Random slightly cool stuff you built but not worth its own thread, thread
in Other Projects
Posted
@RUNAMUCK
The morse code to signal the whirly bird that it's too late for antics