skip to main |
skip to sidebar
The Headless Pi-Man
By Bobby Neal Winters
As
those of you who have sampled this blog recently will be aware, lately
I’ve been into building a robot. I am progressing in that and will
report on that shortly. My account wouldn’t be complete if I didn’t
share what got started on that was the Raspberry Pi. I originally
saw--was shown--Raspberry Pi on Facebook over Christmas Break.
I
googled it. Raspberry Pi was backordered, but the Arduino processor
showed up on the search. The rest is history, as they say.
But
I’m nothing if not stub..tenacious. I got my Raspberry Pi and have been
trying to work it in amongst the Arduino/Robotics. I may eventually
try to marry them, but we have to see whether they get along first.
The
Raspberry Pi is a computer based on an ARM chip...blah, blah, blah.
I’ve seen it described as the motherboard from a smartphone with some
nice connectors glued to it. They sell two varieties. You want Model B
and you can get it for $35 here. You will also want to get the SD card with the operating system on it; that will cost you $13.
And
you will need a TV at first. It will have to have either an HDMI
connector or a RCA jack connector. These are the two ways that the
Raspberry Pi connects directly
with monitors. The Pi was designed to appeal the the hacker mentality.
Since Christmas break, I’ve learned a lot about this psychology.
There
are folks who will spend hundreds of hours to find a way to do
something outside of the constraints of the system. (Be kind to them
because you will want them to be your friends come the Zombie
Apocalypse.) For these folks--and to make it as cheap as possible--the
Pi has been designed so that you can make it work with things you might
have laying around: keyboard, mouse, TV, ethernet hub, cell phone
charger, etc.
I
must confess that this peculiarity of working with anything BUT a
computer monitor has cost me the most. All of the TVs in my home are
being watched by someone. After a couple of misadventures with monitors
designed for use with backup cameras and CCTV such as this. I got a cheap little TV
for $100. The bright side of this is that it can be used later for
something else. My youngest daughter is already lobbying for it.
This
is all going to be filed under “I” for Irony in the Twilight Zone,
however, because I believe I am going to be running my Pi headless.
That’s right, headless.
As
it is a Linux box, you can use secure shell (SSH) to connect to it
remotely. As it is such a small little fellow, running a GUI on it
makes it run slowly. The light little browser that comes on it doesn’t
do the things I like.
But
it is a Linux box so I can put it on my network and set it up as a
server. The only thing I needed the monitor for was to get its IP
address so I could connect to it remotely.
However,
in the course of this, I have resurrected my Ubuntu box so I may put
together a Linux network: A little computer farm in my own office.
There will be more entries as madness descends.
Snow Day: Downton Abbey, Engineers, and a Chest Cold
By Bobby Neal WintersYou
may recall the Multimedia PC I built one piece at a time. I made a big
deal about it. I didn’t make such a big deal out of the fact that it
suddenly stopped working. (I now believe the power supply went out, but
the truth of that remains to be seen.) It turns out that building a
video recorder isn’t such a big need when you’ve got Netflix.In
any case, it went out and I wasn’t in any hurry to get it fixed until a
friend who’d loaned me the second season of Downton Abbey on
DVD--before we discovered it was on Netflix--wanted his discs back. It
was then I remembered they were stuck in the Multimedia PC which
couldn’t be opened because it was broken and which couldn’t be fixed
because I didn’t have the time. The solution at that point was to buy
my friend a replacement set of DVDs and to wait until I had time to fix
my Multimedia PC.Summer
came and went. The wind whipped in flipping the days on my calendar.
Children dressed first in Halloween costumes and then as pilgrims came
by. A large man in a red suit struggled down a chimney and a naked baby
in a top hat crawled by.Then we got a snow day and I finally had time to mess with the computer.It
actually took less than half an hour to get the DVD out. All I had to
do was take the DVD-Drive out of one and put it into another. I pressed
a button and out it popped. I walked around the house with the DVD on
my finger saying “Donna Noble has been saved.” (It’s an obscure Dr. Who
reference, okay, and not particularly germane to the event, but its
obscurity covers that.) Anyway,
on the heels of that victory, I thought I would try to fix the
Multimedia PC. If I get it started, I think I might put Debian Linux on
it so it can talk to my little Raspberry Pis. The symptom that the PC
exhibits is that you press the button and it won’t come on. To me that
suggests the power supply. The reason I think this isn’t so much
because I know a lot but because that would be the easiest and cheapest
thing to fix.In
order to test this hypothesis, I thought I ought to plug it in. (Hey, I
got a PhD, folks. The brilliance just flows.) I needed a power cord for
that. (That PhD just keeps giving and giving.) I’d used the Multimedia
PCs cord on another computer, so I borrowed one from my coffee pot.Yes,
you read that correctly. A computer uses the same power cord as a
coffee pot. This is because good engineers, like Scotty said, are always
just a wee bit conservative. Wee bit, hell, once they have something
that works they never change it.I
am old enough to remember the first printers for PCs. You needed a
screw-driver to hook them to the back of your computer. It never
occurred to the engineers who designed them that there would be offices
without screwdrivers. Seriously.Eventually
we got the aptly named thumbscrews and those were around for years
until they were replaced by USB printers. This is because, like the
coffee pot power cord, they worked.I
am sitting now at my Itty-bitty Ubuntu box tapping out this article
after having fought with a chest cold for several days. I am exhausted
but my mind is somehow clear. I am being battered by images around me.
USB printers, USB hard drives, USB thumb drives, my Arduino connected
to the USB port, and a USB chargeable flashlight. The future is becoming clear to me. I see it all.One day I will awake to perk my coffee to a USB coffee pot.