?

Log in

No account? Create an account
May. 7th, 2018 @ 08:26 pm Amazing progress
Current Mood: impressedimpressed

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.
About this Entry
Glowing LED
[User Picture Icon]
From:spiral_meter
Date:May 8th, 2018 09:56 pm (UTC)
(Permanent Link)
i am so fucking lost. are you sure you're speaking English?

b
(Reply) (Thread)
[User Picture Icon]
From:fub
Date:May 9th, 2018 07:26 pm (UTC)
(Permanent Link)
About ten years ago, I did a lot of hobby projects with electronics -- mostly LEDs and microcontrollers, programmable chips.
In short, this entry was me being amazed that something that would have cost EUR 200 back then, can now be done for EUR 8!
(Reply) (Parent) (Thread)
[User Picture Icon]
From:spiral_meter
Date:May 9th, 2018 10:44 pm (UTC)
(Permanent Link)
i remember when those laser pointers were like a million dollars but now you can get one for like five. everyone with a cat has one.

b
(Reply) (Parent) (Thread)