Today’s Arduino lesson

To record my self-education in progress, I’m going to post what I learn as I go along.

Today’s lesson: programming an Arduino to flash LEDs.

There are so many tutorials on the Web (and on the Internet, too, of course) that I’m not here to teach the general reader the art/science of programming.

Instead, I’m going to record how I learn in order to help my future self should I suffer a debilitating mental setback and need information about how my brain used to work in case it assists me in rewiring my mental circuitry.

First of all, I’ll record the recent purchase of equipment from RadioShack (thanks to Tim at the Huntsville Commons location!) I added to my pile of stuff in the study/lab:

  • ARDX – the Experimenter’s Guide for Arduino (product number 276-252)
  • PIR Motion Sensor by Parallax Inc (product number 276-135)
  • RadioShack standard server (product number 2730766)
  • RadioShack micro server (product number 2730765)

For today’s lesson, I’ll only use the ARDX.

20131015_095947

 

Since I’ve already played with the Arduino lighting up a single LED, I’m jumping ahead in the ARDX to the second experiment — playing with eight LEDs!

Yes, I know this is too much fun for one person, let alone an Internet full of them!

Anyway, here’s the circuit diagram we’re going to use:

20131015_100225

 

Next order of business — getting the parts bags out so I can be ready to pull parts as needed:

20131015_103309

 

Okay, now’s it the old plug-n-pray that my big fumble fingers and half-blind eyes can see to place the parts in the right holes on the breadboard.

Do a visual double-check (and a triple-check of the double-check) and I’m ready for the software side of things:

20131015_105817

 

It’s off to the Arduino programming environment I go!

I grabbed the code for this experiment off the company’s website, http://ardx.org/CODE02, and pasted it into the Arduino coding section, naming the “sketch” CIRC02:

20131015_111222

I verified that the code is functional by compiling it — successful!:

20131015_112150

I then plugged the Arduino to my notebook PC via USB cable and let it boot up:

20131015_112412

Finally, I uploaded the code from the notebook PC to the Arduino:

20131015_112421

 

And here’s what the code produced.

On to the next task — figuring out what this code can do for my yard art sculpture!

Weekly schedule — new and improved!

After attempting to stick to the new and revised schedule I posted recently, I couldn’t take it anymore…the likes, the receipts, the fiefdom empire building.

Here’s the newly revised schedule that’s much closer to reality and more comfortable saying what I truly think:

Newly revised weekly schedule

I’ve gotta face the facts.  For me, there’s only one phrase that means anything:

Life is a party — pass it on!

Be Ready To Sail

Here’s that parody video I made for Claire Lynch and her bandmate, Mark Schatz, back in 2011.

 

Here’s Mark’s dance video that inspired my little viddy.

 

[Mark Schatz in action with other giants of bluegrass such as Bela Fleck and Jerry Douglas playing Chick Corea’s “Spain”.]

But don’t forget BOY DANCE PARTY!!!

Word. Lyrics du jour

Strange euphemistic symbol of the day: inmate.

– – – – –
Hey you, it’s me again
I tried to call yesterday
And the words I had to say to you
Somehow they all slipped away
Please talk to me, whatever is wrong
You know I’d help you out
How will I know if you won’t say
What this silence is about?
‘Cause I’m going out of my mind
And I don’t think it’s fair
Just when things seem to be fine
You changed them, didn’t care
‘Cause the least you could do
Is to talk this through
And I’m going out of my mind
Over you
Hey you, you haven’t called
I guess you’re still busy
Guess I think more of you than you do of me
And that’s not how I want it to be
[ From: http://www.metrolyrics.com/going-out-of-my-mind-lyrics-amy-studt.html ]
‘Cause I’m going out of my mind
And I don’t think it’s fair
Just when things seem to be fine
You changed them didn’t care
‘Cause the least you could do
Is to talk this through
And I’m going out of my mind
Over you, yeah
Hey you, it’s me again
It’s me again
‘Cause I’m going out of my mind
And I don’t think it’s fair
Just when things seem to be fine
You changed them didn’t care
‘Cause the least you could do
Is to talk this through
And I’m going out of my mind
Over you

– – – – –
More lyrics in my thoughts: Keep on the sunny side of life!