The Alpha Geek – Geeking Out

Microcontrollers

Microcontrollers

Project #2 – Lens – LED – Mk2

LensLEDMk2

1 X Arduino UNO Rev3

1 X Cable

1 X Project #2 – Lens – LED – Mk1

LensLEDMk2.1.ino

// ***** Don Luc *****
// Software Version Information
// 2.1

#include <Adafruit_NeoPixel.h>

// Which pin on the Arduino is connected to the NeoPixels?
#define PIN            6

// How many NeoPixels are attached to the Arduino?
#define NUMPIXELS      2

Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);

int delayval = 500; // delay for half a second

void loop() {

  for(int i=0;i<NUMPIXELS;i++){
    // pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
    pixels.setBrightness(125);
    pixels.setPixelColor(i, pixels.Color(50,150,50)); // Moderately bright green color.
    pixels.show(); // This sends the updated pixel color to the hardware.
    delay(delayval); // Delay for a period of time (in milliseconds).
    
  }
}

setup.ino

void setup() {
  pixels.begin(); // This initializes the NeoPixel library.
}

Don Luc

Project #1 – The AcceleroSynth – Mk1

Apr 3, 2012 @ 15:03


We are finally ready for our first electronics project, The AcceleroSynth. It is an microcontroller-based (Arduino) music synth that is controller by a 3 axis analog accelerometer. It will be both a hardware and a software synth. This is the announcement for the project and in the coming days I will post the BOM (Bill of Material), schematics and Arduino code with the first assembly video. The project will first be assembled on a protoboard, then a soldered version will be built either on a perfboard or on an Arduino ProtoShield. If there is enough demand either a PCB or an Arduino Shield will be built for the project and sold here. More on that later. The first installment on the building of the project should be up on a few days.

Don Luc

Tomorrow’s Video – An Introduction to Microcontrollers

Mar 28, 2012 @ 22:12

I’m hard at work… Actually make that “I think” that tomorrow’s video post will be an introduction to microcontrollers. I will dig some stuff out of the drawers tomorrow and as usual make it up as I go and it will probably be about microcontrollers.

Sleep tight…

Don Luc

Categories
Archives