Hein (fub) wrote,

  • Mood:

Amazing progress

I think my last electronics project was about… ten years ago? I used the PIC microcontrollers from Microchip, which I programmed in assembly and that I used a cobbled-together serial port programmer hardware to transfer the program to the microcontroller itself. There was the BASIC Stamp, which allowed you to program the PIC in BASIC, but that was crazy expensive, as were the C compilers and USB programmer boards for the chips. So it was all quite low-level stuff that I did, because it was hard work.
There were competing microcontroller platforms, but those were pricier and I had already invested in my PIC development environment, so moving to another platform was not trivial.

I have an idea for a project, interfacing with a PC, and a bit of searching around brought me to the Trinket by Adafruit, which is an Arduino-compatible microcontroller development board that is cheap enough that you could simply leave it inside your project! It connects to USB, and the Arduino software is a free C compiler and programmer driver. Ok, you need to install a special USB driver, but then you can just connect the microcontroller to the USB, load up C code in the IDE and click a few buttons to upload the compiled code to the chip. Press a button on the chip board itself, and it connects as a USB keyboard and starts typing out messages (if that is the code that you uploaded).
That is amazing for only about an hour of work. I can’t even begin to imagine how that would work out with the “old-fashioned” PICs I used to use. And it’s all open source and open hardware, which I think is a big factor in how popular the platforms are, and thus how much development is done on the supporting technologies.

Crossposted from my blog. Comment here or at the original post.
Tags: electronics

  • Supergeil

    I can’t stop thinking about this German supermarket commercial of six years ago. Especially since in German the slang term…

  • Happy Easter!

    There used to be a program on Dutch public TV that commissioned short art movies for smaller children. This is their Easter special. I make a point…

  • Thou art more lovely and more tempered

    We have some silicon molds for chocolates, which we use to make the occasional sweet. You know, melting chocolate, making ganache, pouring it in,…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded