acheter viagra en pharmacie comprare viagra in internet cialis en ligne viagra maroc prix venta cialis cialis prix en pharmacie prix viagra suisse comprar levitra cialis lyon viagra comprar sin receta medicament impuissance cialis resultados viagras sin recetas pilule viagra pour femme sildenafil nombres comerciales acheter kamagra gel viagra prix kamagra en pharmacie cialis en pharmacie sans ordonnance super viagra viagra generique pas cher acheter cialis france cialis prix pharmacie viagra en andorra vente viagra generique commande cialis generique viagra acheter en ligne foro tadalafil vente cialis en belgique viagra andorra comprar levitra contra reembolso pharmacie cialis tadalafil comprimidos remboursement viagra cialis pharmacie prix precio viagra 25 mg levitra au maroc comprar sildenafil generico levitra ordonnance levitra prezzi venta sildenafil viagra france ordonnance forum viagra pour femme viagra femminile naturale forum achat viagra sildenafil farmacias ahumada acheter cialis moins cher viagras pour femme viagra prix belgique cialis sans ordonnance cialis espagne viagra pour femme cialis 20mg prix cialis espana prix viagra belgique sildenafil 50 mg venta libre cialis commande cialis indicaciones viagra medicinale cialis instrucciones sildenafil vendo remboursement cialis vendo viagra original viagra paris viagra france viagra prix maroc prix levitra pharmacie achat viagra pour femme tadalafil en mexico achat viagra luxembourg acheter tadalafil sildenafil donne achat vardenafil diferencia cialis viagra kamagra thailande viagra marche pas viagra es con receta cialis 20 mg originale pilule viagra viagra super achat cialis 5mg viagra generique belgique vente viagra cialis levitra donde comprar viagra pharmacie france viagra belgique cialis medicament andorre viagra acheter cialis pas cher viagra a vendre montreal levitra femme viagra original online viagra roma achat de viagra cialis 5 precio cialis paris cialis generico contrareembolso acheter cialis 5mg comprar sildenafil sin receta viagra receta medica tarif cialis 20mg prix cialis andorre farmaco viagra tadalafil generico españa vendo cialis milano tarif cialis cialis tunisie cialis generique suisse viagra prix en pharmacie cialis meilleur prix cialis non generique viagra rapide commande viagra viagra pfizer prix viagra sur le net precios viagra cialis vente en ligne veritable viagra sildenafil venta sin receta pilule cialis viagra riddim sildenafil tabletas cialis achat france levitra remboursement viagra generique en ligne cialis achat internet cialis au meilleur prix viagra commande acheter cialis pharmacie viagra precios cialis precios acheter viagra pfizer viagra meilleur prix viagra generique canada cialis vente medicament viagra achat levitra sildenafil costo acheter cialis sans ordonnance sildenafil nombre comercial kamagra pharmacie levitra ricetta medica achat viagra montreal achat cialis precios cialis cialis per donne acheter sildenafil acheter viagra 20mg cialis erbe acheter cialis en suisse forum cialis sur internet cialis generique france sildenafil en bolivia sildenafil masticable sildenafil precio viagra necesita receta medica vendo cialis roma sildenafil 50 mg venta cialis retina viagra sin receta viagra bon prix cialis montreal le viagra cialis berlin acheter viagra suisse andorra viagra vente viagra belgique cialis pas cher prix cialis france cialis femme sildenafil marcas acquistare viagra sicuro cialis de 5 mg viagra maroc viagra precio ecuador cialis o simili veritable cialis precio viagra 100 mg sildenafil efectos en mujeres viagra pfizer achat acheter viagra en espagne acheter viagra en france cialis 5 prix prix viagra france medicamento cialis viagra alternativo kamagra sans ordonnance cialis marca viagra 25 mg prix du viagra viagra tunisien cialis generique avis commander viagra generique vardenafil generico sildenafil pour femme kamagra generique marcas sildenafil forum viagra en ligne prix cialis pharmacie cialis pharmacie andorre vrai cialis moins cher cialis comprare tadalafil prix viagra a vendre quebec acheter viagra andorre comprare cialis viagra reseller tadalafil pas cher precio de cialis cialis 20mg vente cialis en france cialis 20mg pas cher sostituto viagra sildenafil 50 mg precios tadalafil precio medicamento sildenafil 50 mg viagra ou acheter remede impuissance trouver du levitra cialis sur internet cialis a vendre cialis pour femme viagra generique sur le net farmacias viagra sin receta levitra pas cher vente viagra en france acheter viagra femme generique du cialis leivtra moins cher viagra le vrai viagra sottobanco levitra moins cher vente cialis belgique cialis mujer prix cialis maroc sildenafil 100 mg tarif viagra acheter kamagra 100mg viagra belgique sans ordonnance cialis genericos cialis ca marche acheter viagra sur internet cialis original livraison rapide achat viagra cialis comprar cialis generico contrareembolso viagra farmacia andorra sildenafil comprimidos viagra sin receta españa sildenafil mexico offerte viagra cialis originale viagra avec ordonnance cialis belgique vente kamagra viagra le prix acheter viagra generique viagra naturale femminile acheter cialis internet cialis moins cher en pharmacie vendita viagra originale vardenafil generique cialis veritable achat viagra forum farmaco cialis 20 mg viagra pasteque vente levitra viagra temoignage viagra generique pharmacie viagra prix de vente viagra milano acheter cialis en belgique levitra indien cialis venta libre comprar levitra en españa acheter cialis 5 milligrams vendo sildenafil procurer du viagra viagra livraison 24h tadalafil genericos avis cialis generique levitra viagra cialis differenze cialis en suisse vente cialis france cialis prise quotidienne acheter kamagra oral jelly prix viagra en pharmacie levitra contrassegno levitra senza ricetta acheter du cialis viagra moins cher medicament cialis 20mg andorre cialis levitra sur le net commande viagra france viagra vente libre sildenafil pfizer comprare cialis in italia acheter cialis paris kamagra achat viagra sous ordonnance cialis en vente libre viagra prix officiel levitra medicament acheter cialis en ligne viagra andorre prix viagra levitra effet secondaire sildenafil peru acheter cialis en espagne commande levitra viagra livraison express comprare viagra originale viagra generique forum sildenafil receta sildenafil en la mujer precio cialis 5 mg forum cialis generique comprare cialis originale viagra a vendre cialis 5 mg prix levitra originale achat cialis france acheter cialis forum tadalafil mexico tadalafil dosis compro viagra online levitra generique viagra compresse levitra prezzo levitra en suisse cialis forum al femminile cialis precio prezzi levitra acheter viagra pas chere commander cialis en france achat cialis 20mg achat viagra internet kamagra en ligne cialis generique canada levitra prix pharmacie viagra en vente libre achat viagra femme cialis prix generique sildenafil precio viagra receta order viagra viagra inde farmaco levitra cialis 10mg viagra pasti viagra generique achat

Archive for October, 2008

Phreaknic Talk

Wednesday, October 29th, 2008

So our little talk was the first one at the con and it was the bees knees.  Here is the video from the talk, slides will be up soon.


The Extraordinary Journey from Fundamental Electronics to Fabulous Enchanted Systems with Arduino’s and Magical Potions from droops on Vimeo.

PHREAKNIC!!

Friday, October 24th, 2008

Morgellon and I met up last night and went over our talk, in the overall score he beat me 5 to 1, but we still have two more events.  Some of the watchers of our practice got into the grab bag early and ended up with a LCD and a few Freeduinos.  They promised to come back to our table for the soldering and the such.

Pictures and videos of incriminating situations abound, just as soon as we get back to a safe an fast internet connection.

Arduin-o-lution!

Tuesday, October 21st, 2008

BEHOLD!… the Arduino USB board has evolved from the old “Decemilia” to the new “Deumilanove”!  Just like a fine wine, the Arduino keeps getting better over the course of time.

The new Deumilanove offers a few improvements over previous Arduinos including:

  • automatically selects the appropriate power source (USB or external adaptor), eliminating the need for a power selection jumper.
  • easy to cut trace for disabling the board’s auto-reset (and a solder jumper for re-enabling it)
  • Read the complete overview of the Arduino Duemilanove:

http://www.arduino.cc/en/Main/ArduinoBoardDuemilanove

(Be sure to scroll down to the bottom of the page to download an audio file of how to pronounce “Duemilanove“!)

Processing color selector

Wednesday, October 15th, 2008

I am working on having processing read and act on data from the ardunino, this is a simple test and code should be up soon, i am working on a code repo for Morgellon and I to share projects.


Arduino / Processing Color Selector from droops on Vimeo.

This is for our talk at Phreaknic, the ardunio reads 3 linear pots and outputs serial data that looks like this:

X 56
Y 67
Z 10
X 59
Y 89
Z 10

Processing takes this, splits it up, and makes the pretty colors.

More Drum Kit!

Saturday, October 11th, 2008

So here’ s my little version of the drum kit.  I’ve just used sample code from arduino.cc, but it’s more than enough to get the project up and running.  Expect to see it evolve over time, and if you plan on being at Phreaknic you can play with it there!


Arduino Knock Sensor Drum Kit v1.01 from Morgellon on Vimeo.

  • Read how to use a piezo buzzer as a knock sensor

http://arduino.cc/en/Tutorial/Knock

  • Read how to make a piezo buzzer play various tones, instead of just one!

http://arduino.cc/en/Tutorial/PlayMelody

Here’s the sample code I used, with a few tweaks added:

int ledPin = 13;      // led connected to control pin 13
int knockSensor = 0;  // the knock sensor will be plugged at analog pin 0
byte val = 0;         // variable to store the value read from the sensor pin
int statePin = LOW;   // variable used to store the last LED status, to toggle the light
int THRESHOLD = 100;  // threshold value to decide when the detected sound is a knock or not

// TONES  ==========================================
// Start by defining the relationship between
//       note, period, &  frequency.
#define  c     3830    // 261 Hz
#define  d     3400    // 294 Hz
#define  e     3038    // 329 Hz
#define  f     2864    // 349 Hz
#define  g     2550    // 392 Hz
#define  a     2272    // 440 Hz
#define  b     2028    // 493 Hz
#define  C     1912    // 523 Hz
// Define a special note, ‘R’, to represent a rest
#define  R     0

// SETUP ============================================
// Set up speaker on a PWM pin (digital 9, 10 or 11)
int speakerOut = 9;
// Do we want debugging on serial out? 1 for yes, 0 for no
int DEBUG = 1;

void setup() {
pinMode(ledPin, OUTPUT); // declare the ledPin as as OUTPUT
pinMode(speakerOut, OUTPUT);
Serial.begin(9600);       // use the serial port
}

// MELODY and TIMING  =======================================
//  melody[] is an array of notes, accompanied by beats[],
//  which sets each note’s relative length (higher #, longer note)
int melody[] = {  C,  b,  g,  C,  b,   e,   C,  c  };
int beats[]  = { 16, 16, 16,  8,  8,  16,  16, 16  };
int MAX_COUNT = sizeof(melody) / 2; // Melody length, for looping.

// Set overall tempo
long tempo = 10000;
// Set length of pause between notes
int pause = 1000;
// Loop variable to increase Rest length
int rest_count = 100; //<-BLETCHEROUS HACK; See NOTES

// Initialize core variables
int tone = 0;
int beat = 0;
long duration  = 0;

// PLAY TONE  ==============================================
// Pulse the speaker to play a tone for a particular duration
void playTone() {
long elapsed_time = 0;
if (tone > 0) { // if this isn’t a Rest beat, while the tone has
//  played less long than ‘duration’, pulse speaker HIGH and LOW
while (elapsed_time < duration) {

digitalWrite(speakerOut,HIGH);
delayMicroseconds(tone / 2);

// DOWN
digitalWrite(speakerOut, LOW);
delayMicroseconds(tone / 2);

// Keep track of how long we pulsed
elapsed_time += (tone);
}
}
else { // Rest beat; loop times delay
for (int j = 0; j < rest_count; j++) { // See NOTE on rest_count
delayMicroseconds(duration);
}
}
}

void loop() {
val = analogRead(knockSensor);    // read the sensor and store it in the variable “val”
if (val >= THRESHOLD) {
// statePin = !statePin;           // toggle the status of the ledPin (this trick doesn’t use time cycles)
digitalWrite(ledPin, HIGH); // turn the led on or off
Serial.println(”Knock!”);       // send the string “Knock!” back to the computer, followed by newline
for (int i=0; i<MAX_COUNT; i++) {
tone = melody[i];
beat = beats[i];

duration = beat * tempo; // Set up timing

playTone();
// A pause between notes…
delayMicroseconds(pause);
}
delay(10);                      // short delay to avoid overloading the serial port
}
digitalWrite(ledPin, LOW);
}

Processing is Crazy

Wednesday, October 8th, 2008


Metamorphosis from Glenn Marshall on Vimeo.

Drum Kit!

Tuesday, October 7th, 2008

I totally ripped this off from Morgellon, but it sounded fun and I wanted to try it. He is going to build his own version of this that I am sure is going to be cooler.  I had to call him and ask some questions as he is most definitely the hardware end of our crazy love triangle. I want to dump the data into processing and have it animate the drums being hit, but that is for another day.


Arduino Knock Sensor Drum Kit v1 from droops on Vimeo.

When a drum is struck, a knock sensor (backwards peizo) talks to the arduino and activates an led ot change the color of the drum (blue), after a delay the blue led goes out and the drum becomes orange again.  I used a pullup resistor between the pins of the knock sensor, but i didnt get any different results with different values, so its probably dependent on the peizo that you use.

/*
droop's drum kit

dailyduino.com

droops - gmail

thanks for the idea josh!!
*/

int knockPin = 3; //pin for incoming knock sensor
int knockVal; //value from knock sensor
int knockLedPin = 10; //bue led
int normalLedPin = 4;  //orange led
int lightBlue = 2000; //counter for keeping blue light on
int limit = 1000; //how sensitive the knock sensor is, lower = higher sensitivity based on piezo and pull down resistor
int blueTime = 2000; //how long the blue led stays on

void setup(){
  pinMode(knockLedPin, OUTPUT);
  pinMode(normalLedPin, OUTPUT);
  pinMode(knockPin, INPUT);
  Serial.begin(9600);
  digitalWrite(knockLedPin, LOW);
  digitalWrite(normalLedPin, HIGH);
}

void loop(){

  knockVal = analogRead(knockPin); //read the knock sensor

  if (knockVal < limit){
    lightBlue = 0; //drop the value to activate the led
    Serial.println(knockVal);  //dump to serial for debugging
  }

  //this keeps the blue light on after a knock is registered
  if(lightBlue < blueTime){
    digitalWrite(normalLedPin, LOW);
    digitalWrite(knockLedPin, HIGH);
    lightBlue++;
  } else {
    digitalWrite(knockLedPin, LOW);
    digitalWrite(normalLedPin, HIGH);
  }  

}

Sensing the Light…

Saturday, October 4th, 2008

Recently, I posted about using a solar panel as a method for charging a battery that powers the Arduino.  Although using a solar cell as a power source is the most obvious use, it is not the only use!

I found a post over at little-scale that shows how to use a solar cell with an Arduino as a photo sensor.  The code looks very similar to reading a pot, or other such device on an analog input.  Although, there a few caveats to doing this noted by little-scale:  The solar panel used in this example was rated at 2V and 25mA.
• Do not use a solar panel rated in excess of 5V. Doing so may damage the Arduino
• If data values appear incorrect, try scaling the byte ‘data’ in the Arduino sketch as it is captured. The analog inputs read data at 10 bit. However, a single, serially-printed value can only hold 8 bits of information.
• The data range with this particular solar panel is 0 < 6 using power-efficient, indoor lighting at night.

The next question after HOW could be WHY? There a many different applications that spring to my mind, from practical to abstract. I am also curious if you could still use a panel as a sensor and power source, by having one trace going to the analog input, and another going to the power source.

I have also decided to include a few examples from practical to abstract, to get your thoughts flowing on this subject.  The first example is a “practical” one from youtube user, ringsofdeath.  The second is a more “abstract” one from youtube user, 5imian.  I hope you enjoy the videos and they get the juices flowing!

  • Read the blog post at Little-Scale on “solar sensing”

http://little-scale.blogspot.com/2008/03/connecting-solar-panel-to-arduino.html

  • View a “practical” example of solar sensing on YouTube

http://www.youtube.com/watch?v=oThoa_zHTkk&NR=1

  • View an “abstract” example of solar sensing on YouTube

http://www.youtube.com/watch?v=L5iPpLnZeyU



  • Viagra ordre
  • Cialis en ligne
  • Levitra en ligne
  • Propecia acheter
  • Viagra acheter
  • Acheter cialis
  • Ordre levitra
  • Ordre propecia
  • En ligne viagra
  • Vente cialis
  • Levitra bon marche
  • Propecia en ligne
  • Viagra online
  • Buy cialis
  • Order Levitra
  • Buy propecia
  • Buy viagra
  • Cheap cialis
  • Cheap Levitra
  • propecia online
  • Viagra prescription
  • Cialis online
  • Buy Levitra
  • Order propecia