NEMA 17 Stepping Motor (62 oz-in 5mm single shaft)
10K Trimmer Potentiometer (Through Hole)
16x2 LCD (Liquid Crystal Display)
White Prototyping Breadboard (2x30 columns of tie strips and 2x2 rows of power strips)
Clear Prototyping Breadboard (2x30 columns of tie strips and 2x2 rows of power strips)
Single Red Through Hole LED (Light Emitting Diode)
Single Green Through Hole LED (Light Emitting Diode)
Single Yellow Through Hole LED (Light Emitting Diode)
Everyone knows the first program is called the "Hello World" project. The Hello
World program is intended for the newbie programmer get their feet wet and be as
simple as possible. This is why, in the embedded realm, the Hello World programs
is to simply turn on an LED. Joe didn't want to settle for the typical Light up,
or blink the LED. He wanted to literally make a single LED communicate. How would
a single LED communicate? Using morse code, obviously.
So, how did Joe do this? Joe programmed the microcontroller to turn on and off an
LED in a sequence that communicates "Hello World". Joe is using the delay library
to add time between the LED on and off appropriate for morse code interpretation.
The letters that spell Hello World are made into functions that within these call
the dash and dot functions. The dash and dot functions call LEDon and LEDoff functions
which send the high and low to the port pin.
Joe was kind enough to send this video along with the program code. Thank you Joe!!
Have you made a project that you would like to show and tell on newbiehack.com? It
helps all of the newbies out there. Remember, you were one too.