Arduino Add – On

TTL Serial JPEG Camera,

The camera comes with, manually adjustable focus, auto white-balance, auto brightness and auto contrast. It also has a motion detection built in. Which means you can get alerted when something moved in the frame. It only uses two digital pins or TLL serial port.

 

Screen Shot 2015-10-22 at 5.27.20 PM Screen Shot 2015-10-22 at 5.27.27 PM

 

 

 

http://www.adafruit.com/product/397

Loops and Arrays of LEDs

AvWqbaURr0GilqBWAi4CGyuVGnWkS30Zmfd0H-caykCq

 

int ledPins[] = { 3, 5, 6, 9, 10 };
int pinCount = 5;
int ledFade[5];
int i;
int prevTime;
int interval = 700;
int fadeSpeed = 5;
int prevFadeTime;
void setup() {
/*
for (int thisPin = 0; thisPin < pinCount; thisPin++) {
pinMode(ledPins[thisPin], OUTPUT);
}
*/
Serial.begin(9600);
Serial.println();
Serial.println(“Begin”);
}

void loop() {

int currentTime = millis();
if (currentTime – prevTime >= interval) {
ledFade[i] = 255;
i++;
if (i == 5) {
i = 0;
}
prevTime = currentTime;
Serial.println(currentTime);
for (int n = 0; n < pinCount; n++) {
Serial.print(n + 1);
Serial.print(“\t”);
Serial.println(ledFade[n]);
}
}

if (currentTime – prevFadeTime >= fadeSpeed) {
for (int n = 0; n < pinCount; n++) {
if (ledFade[n] >= 1) {
ledFade[n] = ledFade[n]-1;
}
}
prevFadeTime = currentTime;
}

// display section:
for (int n = 0; n < pinCount; n++) {
analogWrite(ledPins[n], ledFade[n]);
}

}

Arduino LED Meter

AtvcxmGc-AmqTHf5qSg-Ob4YH4RrIbK3KAJ8b8eFBim3

 

int ledPin1 = 10;
int ledPin2 = 12;
int ledPin3 = 11;
int ledPin4 = 9;
int ledPin5 = 13;
void setup() {
pinMode(ledPin1, OUTPUT);
pinMode(ledPin2, OUTPUT);
pinMode(ledPin3, OUTPUT);
pinMode(ledPin4, OUTPUT);
pinMode(ledPin5, OUTPUT);
}

void loop() {
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// The analog pin reads from 0 to 1023.
// This commands maps those numbers from 4 to 0
// So 0 becomes 4 and 1023 becomes 0
int mappedSensorValue = map( sensorValue, 0, 1023, 7, 0);
//Here we test the mappedsensorvalue. If it is greater then 1 we turn
// on the LED on Pin 2 and then see if it is greater then 2.

if (mappedSensorValue > 1 ) {
digitalWrite (ledPin5, HIGH);
if (mappedSensorValue > 2) {
digitalWrite (ledPin4, HIGH);
if (mappedSensorValue > 3) {
digitalWrite ( ledPin3, HIGH);
if (mappedSensorValue > 4) {
digitalWrite ( ledPin2, HIGH);
if (mappedSensorValue > 5) {
digitalWrite ( ledPin1, HIGH);
} else { //If it is not greater we start turning LEDs off.
digitalWrite ( ledPin1, LOW);
}
} else {
digitalWrite ( ledPin2, LOW);
}
} else {
digitalWrite ( ledPin3, LOW);
}

} else {
digitalWrite ( ledPin4, LOW);
}

} else {
digitalWrite ( ledPin5, LOW);
}
}

Arduino Robot

This guide shows you how to quickly and easily build an Arduino-based robot. Robotics is an exciting and fun hobby that has become very affordable in recent years. What would have required a lot of money and experience to do a few decades ago is now affordable, easy, and most of all, FUN!

Simple Arduino Robot

dsc_3028_brightened-medium1

The parts used in this guide can all be purchased together in the Funduino UNO Robotics Kit, but you can follow along with a different kit just as easily as long as you have similar components.

Keep in mind that this tutorial shows just one way to make a robot — you’re limited only by your budget and imagination. If you want to buy more sensors, or a nicer chassis, go for it! The entire process may take an hour or two, so get ready to have some fun!

 

http://makezine.com/projects/building-a-simple-arduino-robot/

Arduino Project by Dheera Venkatraman

 

 

MIT student Dheera Venkatraman has developed a new way for users to wirelessly unlock their doors with simple Google Now-like commands.

The Maker created an app — which is aptly dubbed “Sesame” — via Google Now that lets those adorning an Android Wear watch on their wrist to utter the words “OK Google, Open Sesame” to open a door. That is, of course, after the door is rigged with some “simple yet trivial” hardware.

 

To bring this idea to life, Venkatramann modded his door with an Arduino Uno (ATmega328), a Bluetooth module and a servo, which allows the lock to be activated via its accompanying app. The servo is attached to the door latch, while the Bluetooth module awaits a trigger signal and communicates with the Arduino over serial. Once the process is complete, the Arduino activates the servo to open the door.

 

 

0

 

Android Wear app lets you unlock doors by actually saying “open sesame”