Friday, August 2, 2013

processing exercise: arc()

processing exercise: arc()
processing exercise: arc()

size(400, 300);
smooth();
strokeWeight(3);

//arc(a, b, c, d, start, stop)
arc(50, 50, 100, 100, 0, PI*0.5);
arc(150, 50, 100, 100, 0, HALF_PI);
arc(250, 50, 100, 100, 0, TWO_PI);
arc(350, 50, 100, 100, 0, PI);

//arc(a, b, c, d, start, stop, mode)
noFill();
arc(50, 200, 80, 80, 0, PI+QUARTER_PI, OPEN);
fill(255, 0, 0);
arc(150, 200, 80, 80, 0, radians(300), CLOSE);
fill(0, 255, 0);
arc(250, 200, 80, 80, 0, PI+QUARTER_PI, CHORD);
fill(0, 0, 255);
arc(350, 200, 80, 80, 0, PI+QUARTER_PI, PIE);

Tuesday, July 30, 2013

The Arduino Starter Kit Video Tutorials

A selection of video tutorials made by Massimo Banzi(Arduino co-founder) for creating projects using the Arduino Start Kit.





The Arduino Starter Kit (Official Kit from Arduino with 170-page Arduino Projects Book)



The Official Arduino Starter Kit is here! This kit walks you through the basics of using the Arduino in a hands-on way. You'll learn through building several creative projects. The kit includes a selection of the most common and useful electronic components with a 170-page book of 15 projects. Starting the basics of electronics, to more complex projects, the kit will help you control the physical world with sensor and actuators.

The projects in the kit are:

- 01 : GET TO KNOW YOUR TOOLS an introduction to the concepts you'll need to use this kit
- 02 : SPACESHIP INTERFACE design to control panel for your startship
- 03 : LOVE-O-METER measure how hot-blooded you are
- 04 : COLOR MIXING LAMP produce any color with a lamp that uses light as an input
- 05 : MOOD CUE clue people in to how you're doing
- 06 : LIGHT THEREMIN create a musical instrument you play by waving your hands
- 07 : KEYBOARD INSTRUMENT play music and make some noise with this keyboard
- 08 : DIGITAL HOURGLASS a light-up hourglass that can stop you from working too much
- 09 : MOTORIZED PINWHEEL a color wheel that will have your head spinning
- 10 : ZOETROPE create a mechanical animation you can play forward or reverse
- 11 : CRYSTAL BALL a mystical tour to answer all your tough question
- 12 : KNOCK LOCK tap out the secret code to open the door
- 13 : TOUCHY-FEEL LAMP a lamp that responds to your touch
- 14 : TWEAK THE ARDUINO LOGO control your personal computer from your Arduino
- 15 : HACKING BUTTONS create a master control for all your devices!

Once you've mastered this knowledge, you'll have a palette of software and circuits that you can use to create something beautiful, and make someone smile with what you invent. Then build it, hack it and share it. Because Arduino is you!

Sunday, July 28, 2013

Arduino Esplora Board



The Arduino Esplora is a microcontroller board derived from the Arduino Leonardo. The Esplora differs from all preceding Arduino boards in that it provides a number of built-in, ready-to-use setof onboard sensors for interaction. It's designed for people who want to get up and running with Arduino without having to learn about the electronics first.


The Esplora has onboard sound and light outputs, and several input sensors, including a joystick, a slider, a temperature sensor, an accelerometer, a microphone, and a light sensor. It also has the potential to expand its capabilities with two Tinkerkit input and output connectors, and a socket for a color TFT LCD screen.

Like the Leonardo board, the Esplora uses an Atmega32U4 AVR microcontroller with 16 MHz crystal oscillator and a micro USB connection capable of acting as a USB client device, like a mouse or a keyboard.

In the upper left corner of the board there is a reset pushbutton, that you can use to restart the board. There are four status LEDS : ON [green] indicates whether the board is receiving power supply L [yellow] connected directly to the microcontroller, accessible through pin 13 RX and TX [yellow] indicates the data being transmitted or received over the USB communication

The board contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable to get started.

The Esplora has built-in USB communication; it can appear to a connected computer as a mouse or keyboard, in addition to a virtual (CDC) serial / COM port. This has other implications for the behavior of the board; these are detailed on the getting started page.

The board includes: Analog joystick with central push-button, 4 push-buttons, Linear pot, mic, light sensor, temp sensor, 3-axis accelerometer, buzzer, RGB LED, 4 TinkerKit (2 In, 2 Out), TFT display connector

Arduino Esplora Board

Arduino Esplora Board

Arduino Esplora Board

For a step-by-step introduction to the Esplora, check out the Getting Started with Esplora guide.