ADVANCED TECHNIQUES FOR DESIGN ENGINEERS
■ BY FRED EADY
Discuss this article in the Nuts & Volts forums at http://forum.nutsvolts.com.
CONTROL GADGETS WITH
YOUR SMART PHONE
There weren’t any high level compilers or “inos” for the early PIC
microcontrollers. I recall attending the very first Microchip MASTERS
Conference and writing assembler to complete the class demo projects.
By the time I went to that MASTERS Conference, I had written so much
PIC assembler that I could code the demo assembler projects on the fly
without having to reference the assembler manual.
Easier is always better with it comes to programming. So, when BASIC and C started to float in and apply
pressure to assembler coding, I was ready to jump ship.
Suddenly, I could replace a dozen lines of assembler with
a single line of C or BASIC. Although I couldn’t just
discard what I knew about PIC registers and mnemonics,
things did seem to get easier with the advent of compilers.
I PLEDGE ALLEGIANCE ...
... to the PIC microcontroller of Microchip in
Arizona. For it can be manipulated with chipKIT
magic. The “ino” in Arduino has come to the PIC
by way of Digilent and MPIDE. Being from the
old school, a “sketch” is something that is not
quite all there. However, an ino sketch seems to
contain everything including the magic of ino
Digilent’s Pmods are like candies in a box of
chocolates. Unlike Forrest Gump’s mother’s view
of chocolates, you know exactly what you’re
getting with a Digilent Pmod. One of my favorite
Pmods is the PmodUSBUART. Just provide a six-pin SIP female header appropriately attached to
■ PHOTO 1. Our Cerebot MX3ck is equipped with
a Digilent Wi-Fi Pmod. What you see is all of the
hardware we need to monitor and control
gadgets with a smart phone.