Arduino Powered Etch A Sketch

Project “Etch Your Sketch” is an Arduino powered kit capable of reproducing on a standard Etch A Sketch. A .NET application converts the image to “black pixels” then sends a output of code to the Arduino. The Arduino, powers two stepper motors connected to the Etch A Sketch to reproduce a version [Read more...]

Popularity: 6% [?]

Simple Arduino Gmail Notifier Project

Simple python script checks for mail using imaplib and tells the arduino via serial connection. Arduino activates a simple servo motor rotating the flag.

Code:

import serial
import time
import imaplib, re

ser = serial.Serial(3)
print "Starting on " +ser.portstr;
conn = imaplib.IMAP4_SSL("imap.gmail.com", 993)
while (True):
conn.login('YOUR GMAIL USERNAME','YOUR PASSWORD')
unreadCount = int(re.search("UNSEEN (\d+)", conn.status("INBOX", "(UNSEEN)")[1][0]).group(1))
if(unreadCount > 0):
print str(unreadCount) + " new mails!"
ser.write("M")
else:
print "no mail :( "
ser.write("N")
time.sleep(5)

And on the arduino:

#include

int outPin = 2; // Output connected to digital pin 2
int mail = LOW; // Is there new mail?
int val; // Value read from the serial port
Servo motor;
void setup()
{

Serial.begin(9600);
Serial.flush();
motor.attach(outPin);
}

void loop()
{
// Read from serial port
if (Serial.available())
{
val = Serial.read();
Serial.println(val);
if (val == 'M') mail = HIGH;
else if (val == 'N') mail = LOW;
}

// Set the angle of the servo
if(mail)
motor.write(0);
else
motor.write(90);
}

via Redit

Popularity: 2% [?]

DIY Arduino: Interfacing Memsic 2125 Tutorial

arduino-memsic-2125

Great little tutorial about interfacing the Arduino microcomputer to a Memsic 2125 Accelerometer. Calculating g-forces you can detect tilt, acceleration, rotation, and vibration.

[Read more...]

Popularity: 37% [?]

Arduino + Wii Nunchuck, Control Webcam

Project which uses the Wii nunchuck and an Arduino to control a servos mounted to a basic USB webcam. Using an I2C connection, the Arduino allows the camera to mock hand movements of the nunchuck.

[Yezzer via HackADay]

Popularity: 60% [?]

Arduino Mega Spotted In The Wild

arduino-mega

Arduino Mega features a ATMEGA1280

  1. 128KB of Flash
  2. 4KB RAM
  3. 4KB EEPROM
  4. 53 Digital IO
  5. 4 HW UARTs
  6. 14 PWMs
  7. I2C bus
  8. 16 Analog Input pins

No date of its release is known, but expect it soon, this is no mock up board. [Source]

Popularity: 27% [?]