Show Posts
Pages: [1] 2 3 ... 6
1  General Category / General Discussion / I can't get no Satisfaction: Quick Student Questionnaire! on: Today at 10:17:01 am
Hi there,

I am working on a Engineering Design project using Arduino and I have few questions I would like you to answer. Fill free to jump questions, and only fill the ones you think are more appropriate.

https://docs.google.com/spreadsheet/viewform?formkey=dDNCb2hHbUpWYkJWRktPMEg1Vll1T1E6MA&ifq

Many thanks!
2  Using Arduino / Programming Questions / Re: Coin Acceptor + Arduino UNO R3 - programing issue on: July 31, 2013, 01:07:59 pm
Hey did you manage to write some code? Got stuck with this too..
I never used interrupts before and don't have much time to finish this now.. Any example code?

Thanks!
3  International / Hardware / Esiste una shield con più output di questa? on: July 13, 2013, 12:44:24 pm
Ciao,

sto cercando una shield simile a questa (http://logos-electro.com/ard-srg-ips4x4-3/), ovvero che mi permettà di collegare solenoidi da 24 volt ad arduino, ma che abbia un numero maggiore di output. Ho visto che queste shield possono essere daisy-chained, ma visto il costo l'impresa diventerebbe molto dispendiosa..

Qualcuno conosce di meglio?

Grazie!
4  Development / Other Hardware Development / Re: discussion on supporting the TI CC3000 WiFi module on: May 28, 2013, 06:28:46 pm
Any news??
5  Using Arduino / General Electronics / Re: Lipo Rider Pro - Bridge Rectifier Generator.. on: February 25, 2013, 08:47:40 am
Could I just use one of these voltage regulator in line with my dynamo and lipo rider, or I would need to build a small circuit?
I am not too sure...

thanks!
6  Using Arduino / General Electronics / Lipo Rider Pro - Bridge Rectifier Generator.. on: February 21, 2013, 08:26:28 am
I am trying to connect a Lipo Rider Pro (which will power my arduino) to a dynamo/generator. To do this I am using an old wind up torch.. the AC generator goes into a bridge rectifier (http://www.diodes.com/_files/products_inactive_data/ds21211_R5.pdf) which converts the power to DC but it gives a bit too much for what the Lipo can handle. I am measuring around 8 volts at full speed, and the Lipo can only get MAX 6.5..

I know this a nooooob question: what could I use to limit the current to the Lipo's range? 4.5 to 6.5, optimal 5v 500mA

https://digitalmeans.co.uk/shop/seeedstudio-lipo_rider_pro?keyword=no-ajax-mode

http://www.seeedstudio.com/wiki/index.php?title=Lipo_Rider_Pro#Specification

Thanks!
7  Using Arduino / General Electronics / Re: Wind Up Arduino, dynamo generators.. on: February 18, 2013, 11:59:07 am
hi lefty, thanks a lot for your answer.

I don't know much about voltage regulators, could you maybe advise on which one should I try? Should it be 5volts or 9 volts? and how many Amps? mmmh really not sure.

The dynamo I would try to use is a really small one i savaged from a wind up radio. I could maybe try and use the circuit and the battery that came with it but I am not sure that could work.. on the battery it saus: Ni-MH Cell 2.4volts 300mAh

What do you think?
Has anybody else tried this before?

Thanks!
8  Using Arduino / General Electronics / Wind Up Arduino, dynamo generators.. on: February 18, 2013, 09:13:49 am
Can you power an arduino with a dynamo? Something like a wind up torch?

Thanks for any help!
9  Using Arduino / Project Guidance / Re: Wifi/bluetooth sound help (DIY AirPlay?) on: February 16, 2013, 07:34:01 am
Someone has used a Raspberry to to this.. but it's a little bit messy though. Still cheaper then buying the Apple airport, but you need a raspberry + a usb wifimodule + a usb soundcard. http://lifehacker.com/5978594/turn-a-raspberry-pi-into-an-airplay-receiver-for-streaming-music-in-your-living-room

Is there anything that contains all these together?
10  Using Arduino / Project Guidance / Wifi/bluetooth sound help (DIY AirPlay?) on: February 16, 2013, 07:27:03 am
Hey,

as part of a project i am developing I am trying to find the best way to fit wireless sound transmission in an object. What I am looking for is something similar to the many speakers that use the AirPlay protocol, so that people can use their apple devices to play music wirelessly.

Has anybody made their own diy airplay system? I am sure that 79£ for an airport express is definitively much more expensive than what the technology actually costs, right?

thanks
11  Using Arduino / Programming Questions / Re: Boolean and millis: doing it wrong? on: December 18, 2012, 09:23:37 pm
Just introduced your bit...

Code:
//Milano 0.1

int buttonPin = 4;
int ledPin = 9;
int fanPin = 10;
boolean lastButton = LOW;
boolean currentButton = LOW;
int ledpwmLevel = 0;
int lastLEDtime = 0;
boolean fanOn = false;

void setup()
{
  pinMode(buttonPin, INPUT);
  pinMode(ledPin, OUTPUT);
  pinMode(fanPin, OUTPUT);
  Serial.begin(9600);
}

boolean debounce(boolean last)
{
  boolean current = digitalRead(buttonPin);
  if (last != current)
  {
    delay(5);
    current = digitalRead(buttonPin);
  }
  return current;
}

void loop()
{
  currentButton = debounce(lastButton);
  if (lastButton == LOW && currentButton == HIGH)
  {
     fanOn = true;
    analogWrite(fanPin, 255);
    Serial.println("FANISON");
   
   
    ledpwmLevel = ledpwmLevel + 85;
    Serial.println("BUTTON");
  }
 
  if (ledpwmLevel > 255)
  {
    ledpwmLevel = 0;
    lastLEDtime = millis();
  }
  analogWrite(ledPin, ledpwmLevel);



if (ledpwmLevel  == 0 && fanOn && millis() - lastLEDtime > 5000)

//if (fanOn && ((millis() - lastLEDtime) > 5000))


{
  fanOn = false;
  analogWrite(fanPin, 0);
      Serial.println("FANISOFF");

}
 
  lastButton = currentButton;


}
12  Using Arduino / Programming Questions / Re: Boolean and millis: doing it wrong? on: December 18, 2012, 06:46:22 pm
Hi Peter,

Thanks for your suggestion, pretty good indeed!
Now, the fan stays on all the time which is amazing. But I leave the light on one of the pwm steps for more then 5 seconds then the fan will not go on when the leds go of.. does that make any sense?
13  Using Arduino / Programming Questions / Re: Boolean and millis: doing it wrong? on: December 18, 2012, 06:24:47 pm
That would be perfect.. but how do you do it? Did you do anything similar before?
Checking the 5 seconds thing...  smiley-red and how would you turn the fan on then if you remove the fanOn variable then?
14  Using Arduino / Programming Questions / Boolean and millis: doing it wrong? on: December 18, 2012, 05:43:54 pm
Hi there,

I am still trying to figure out the best way to do this: I have some led (pin9) being dimmed by a button (pin4) and a cooling fan(pin 10) which needs to be on when the leds are on, and also to STAY on for some seconds when the leds are switched off.
I am using boolean debounce and millis, but for some odd reason this only works the first time that I run it on the arduino, if I press the button again the fan doesn't switch on until the leds are off.. pretty confusing. Stupid mistake?

Code:
//Milano 0.1

int buttonPin = 4;
int ledPin = 9;
int fanPin = 10;
boolean lastButton = LOW;
boolean currentButton = LOW;
int ledpwmLevel = 0;
int lastLEDtime = 0;
boolean fanOn = false;

void setup()
{
  pinMode(buttonPin, INPUT);
  pinMode(ledPin, OUTPUT);
  pinMode(fanPin, OUTPUT);
  Serial.begin(9600);
}

boolean debounce(boolean last)
{
  boolean current = digitalRead(buttonPin);
  if (last != current)
  {
    delay(5);
    current = digitalRead(buttonPin);
  }
  return current;
}

void loop()
{
  currentButton = debounce(lastButton);
  if (lastButton == LOW && currentButton == HIGH)
  {
    fanOn = true;
    analogWrite(fanPin, 255);
    ledpwmLevel = ledpwmLevel + 85;
    Serial.println("BUTTON");
  }
  
  if (ledpwmLevel > 255)
  {
    ledpwmLevel = 0;
    lastLEDtime = millis();
  }
  analogWrite(ledPin, ledpwmLevel);


if (fanOn && millis() - lastLEDtime > 5000)

{
  fanOn = false;
  analogWrite(fanPin, 0);
}
  
  lastButton = currentButton;


}
15  Using Arduino / Programming Questions / Re: PWM dimming + Fan output on: December 17, 2012, 09:03:00 pm
hey thanks dude.
i am gonna test it in a second, but just by clicking on the "play" button.. there seems to be some issue with the debounced thing you introduced. How does that work? the end bit seems great though! thanks a lot
Pages: [1] 2 3 ... 6