Logo
Published on

Waspr Project - Trying Arduino

Authors

January 18 2019 - Trying Arduino

Back in Berlin, after Christmas, I receive my gifts from Menschdanke. The arduino kit consists of an arduino controller, and a pile of sensors, motors, buttons, and more electronic components that I have no idea what they're for. Also included is a CD (which I have nowhere to put it), and a link to the most up-to-date documentation of the kit.

I download the documentation and start reading. It's quite a tome, but it basically has a chapter for each type of sensor (and every other strange gadget in the kit) where it explains what each one is for and how to use them. The first chapters are about just how to write and install a small program on the arduino, how to connect leds, and switch them on and of, or change their color. Quite easy.

I find the topic of multi-color leds especially interesting. These are leds which have three leds inside: one red, one blue and one green. Controlling the intensity that is given to each led you can get any color. If you light the blue one full and the red one to half, and the green one is left off, the color of the combination will be something like purple. If you turn them all fully on you get white. And so on.

I write a program that changes the intensity of the leds, iterating over all possible combinations. I put the program in the arduino, and voilá:

Finally some progress. It's not much, but it's good to celebrate every score. Even if it only serves to get the opponet confused.