Loading...
  Show Posts
Pages: [1] 2 3 ... 8
1  International / Hardware / Re: usare arduino come telecomando (domotica) on: June 15, 2013, 12:30:16 pm
ciao,
la librerie che ti serve è:
#include <IRremote.h>
http://www.righto.com/2009/08/multi-protocol-infrared-remote-library.html

non ti serve un sensore per trasmettere ma un  led ir (infrarosso)

p.s.
invece per acquisire i codici dai telecomandi devi avere ad esempio un tsop4838
2  International / Hardware / espandere le uscite di arduino con MCP23017 permette PWM? on: June 15, 2013, 09:21:31 am
Ciao
Secondo voi settando
Code:
mcp.pinMode(0, OUTPUT);

ho solo la possibilità di :

Code:
mcp.digitalWrite(0, HIGH);
o
mcp.digitalWrite(0, LOW);

oppure inserendo un valore numerico posso produrre un pwm?
se si con quale intervallo?
tra 0 e 255 oppure come ne caso del Tlc5940 tra 0 e 4095

Grazie
3  Using Arduino / LEDs and Multiplexing / Re: Using TLC5940 to control 12V Strip Led. on: April 02, 2013, 10:01:53 am
need a MOSFET driver to up the Vgs to 20V.

exactly!  for this reason  I am going to use a BC547 to drive my buz11.
and it  seems to to do his job  smiley


thanks for all  yours  aids
4  Using Arduino / LEDs and Multiplexing / Re: Using TLC5940 to control 12V Strip Led. on: April 02, 2013, 08:12:32 am
Do you know if this is enough to give you full brightness?
thanks now I understand the tlc5940  limits the current as by resistance on pin 20, for  this reason I had a low brightness!

thank you very much

@  mjkzz
 afaIk  buz11 have 30 A and  50 V for   max power 75 W
5  Using Arduino / LEDs and Multiplexing / Re: Using TLC5940 to control 12V Strip Led. on: April 01, 2013, 07:17:17 am
How have you wired them up?
as suggested on pdf,
but in my opinion     it not working correct, it doesen't  give the full power.

Now I was thinking about a circuit with BC547 and Buz11
6  Using Arduino / LEDs and Multiplexing / Re: Using TLC5940 to control 12V Strip Led. on: March 30, 2013, 09:08:06 am

I measured about 30 mA per colour for two sections of the strip ( total of six 5050 leds).


I would suggest  for your project NeoPixel .
7  Using Arduino / LEDs and Multiplexing / Using TLC5940 to control 12V Strip Led. on: March 28, 2013, 01:42:51 pm
Hello all

as suggested on http://www.ti.com/lit/an/slva280/slva280.pdf

I had at my disposal some buz11 it work but  does not arrive at maximum intensity.
probably dosen't conduct enough.

which MOSFET  do you recommend?

thank you very much
8  International / Hardware / Re: Tlc5940 e buz11 on: March 19, 2013, 08:02:49 am
Ciao,
Seguendo lo schema del pdf confermo che  il led viene pilotato,
Il gate del buz11  connesso con  una resistenza da 10k al + 5v   smiley-eek-blue
Ho però notato una fastidiosissimo tremolio...   non so ancora  a casa sia dovuto  smiley-cry
9  International / Hardware / Re: Tlc5940 e buz11 on: March 16, 2013, 06:09:58 pm
Pensavo: Se usassi un MOSFET   canale P tipo: FQP7P06 o con + Corrente di drain es FQP27P06 ecc.?
purtroppo se non sbaglio  sul gate vuole  10V per condurre.
10  International / Hardware / Re: Tlc5940 e buz11 on: March 16, 2013, 04:14:32 am
Ti ringrazio,
Come carichi maggiori intendevo delle strisce di led di circa 3 m.
Purtroppo non sono ancora  capace di saldare i TSSOP.

In compenso Google mi ha trovato:
http://www.ti.com/lit/an/slva280/slva280.pdf
11  International / Hardware / Tlc5940 e buz11 on: March 15, 2013, 10:54:58 am
Salve,
Come posso pilotare  il pwm del Tlc5940 per carichi maggiori, ha senso ad esempio usare un buz11

Grazie
12  International / Software / Re: PWM frequencies e <OneWire.h> on: March 06, 2013, 01:55:09 pm
Grazie al tuo suggerimento incrementando la funzione che legge la temperatura da:

Code:
delay(1000); 
a
Code:
delay(100000);

. . .

e ...  sembra funzionare !smiley-razz
13  International / Software / PWM frequencies e <OneWire.h> on: March 06, 2013, 01:19:27 pm
Ciao,

Volendo ridurre il rumore della ventolina stavo provando come suggerisce questa modifica:

http://playground.arduino.cc/Main/TimerPWMCheatsheet


Code:
TCCR0A = _BV(COM0A1) | _BV(COM0B1) | _BV(WGM01) | _BV(WGM00);
TCCR0B = _BV(CS00);
e modificando wiring.c

purtroppo legando l' intervento della ventolina con la lettura della temperatura utilizzando un  DS18x20:
OneWire  ds(10);

questa mi da 85 gradi di fisso, naturalmente se commento le righe di sopra la temperatura viene letta correttamente

Cosa mi suggerite?

grazie

p.s. confermo che la ventolina a bassa velocità effettivamente non fa rumore
14  International / Software / Re: Dissipazione e calore on: March 02, 2013, 09:36:58 am
Potresti utilizzare un controllo di tipo "curva climatica" dei termoregolatori:
...
 avrai un controllo costante e puntuale sulla temperatura desiderata!
Ciao ,
E' esattamente quello che avevo i mente  smiley
Mi daresti un esempio per capire se quanto ho già scritto è circa / quasi quanto tu dici?  smiley-eek-blue
15  International / Software / Re: Dissipazione e calore on: March 01, 2013, 11:36:18 am
Ciao,
Per ora mi sono orientato verso questo:

Code:
void loop() {
   float tmp;
 
  lcd.setCursor(0, 1);
  // stampa temperatura
  tmp = temperatura();
  lcd.print(tmp);
  if(tmp<25) {
   
    lcd.setCursor(0, 2);
    lcd.print("Ventola Spenta");
    lcd.setCursor(10, 3);
    lcd.print(tmp);
}
 
  else
  {
    lcd.setCursor(0, 2);
    lcd.print("Ventola ACCESA!");
    lcd.setCursor(10, 3);
    lcd.print((tmp-20)*5);
   analogWrite(ventola, (tmp-20)*5);

  }
}



attualmente il termometro indica stabilmente 29 gradi

anche se vorrei capire cosa fa il pwm con un numero + grande di 255 ma non dovrebbe capitare.
Pages: [1] 2 3 ... 8