Loading...
  Show Posts
Pages: 1 ... 17 18 [19] 20 21 ... 26
271  International / Software / Re: Comunicazione seriale tra Arduini on: August 02, 2012, 03:13:42 pm
Proprio così. Solo che ho usato una fotoresistenza perchè il mio rifornitore non aveva fototra sistor, ma da quanto ho capito cambia poco. Ho notato però un particolare nello schema col led: il led ad alta luminosità si accende di 1/10 rispetto al normale, spegnendosi quando si tappa la fotoresistenza. Inoltre l' arduino non mi rivela proprio del seriale (usando serial.available). Appena posso posto gli schemi. Cosa pensi possa essere testato? Io ho pensato al fatto che la fotoresistwnza faccia passare pochi ampere, come si è visto col led ( anche se come tensione.di uscita mi dava 5V)
272  International / Software / Re: Comunicazione seriale tra Arduini on: August 02, 2012, 10:38:03 am
Il circuito va bene a metà. mi spiego meglio: il led si spegne quando io tappo la fotoresistenza, ma la comunicazione seriale non funziona. Forse ho sbagliato a collegare qualcosa nel circuito? io ho messo ' RX al posto del + del led.  smiley-sad-blue smiley-cry
273  Using Arduino / Networking, Protocols, and Devices / Re: IR connection on: July 30, 2012, 04:25:04 am
I think it work because the tx board prints ø on serial monitor. But i don' understant how i can send what I want...
274  International / Software / Re: Comunicazione seriale tra Arduini on: July 28, 2012, 06:50:49 am
Grazie mille per il link! Ultima domanda e poi non ti rompo più Testato: quale dei tre sensori presenti nei video devo usare?
275  Using Arduino / Networking, Protocols, and Devices / Re: IR connection on: July 28, 2012, 06:32:54 am
I test the sketch ant it work, but i don't understand how i can send messages. For example, how do i sent '2'? Help me please...  smiley-sad-blue
276  International / Software / Re: Comunicazione seriale tra Arduini on: July 27, 2012, 06:39:31 am
ok, perfetto. e per l'amplificazione come dovrei fare? Posso usare anche un amplificatore come questo? http://elettromarco.altervista.org/pagina-641235.html
277  Using Arduino / Networking, Protocols, and Devices / Re: IR connection on: July 27, 2012, 02:41:23 am
ok, but i don't understand how i can send different messages...  smiley-sad
278  Using Arduino / Networking, Protocols, and Devices / Re: IR connection on: July 26, 2012, 03:13:57 pm
Ok. Thank a lot. only a question... What is this???:
 
Code:
) Mode
  bitWrite(TCCR1A, WGM10, 0);
  bitWrite(TCCR1A, WGM11, 0);
  bitWrite(TCCR1B, WGM12, 1);
  bitWrite(TCCR1B, WGM13, 0);

  // Toggle OC1A and OC1B on Compare Match.
  bitWrite(TCCR1A, COM1A0, 1);
  bitWrite(TCCR1A, COM1A1, 0);
  bitWrite(TCCR1A, COM1B0, 1);
  bitWrite(TCCR1A, COM1B1, 0);

  // No prescaling
  bitWrite(TCCR1B, CS10, 1);
  bitWrite(TCCR1B, CS11, 0);
  bitWrite(TCCR1B, CS12, 0);

  OCR1A = 210;
  OCR1B = 210;
I don't understand what it means... can you help me  smiley-sad-blue?
279  Using Arduino / Networking, Protocols, and Devices / Re: IR connection on: July 26, 2012, 09:06:14 am
Yes, something like this! But can turn on 4 different pin with those code?
280  Using Arduino / Networking, Protocols, and Devices / Re: IR connection on: July 26, 2012, 08:36:21 am
Thank a lot paulS. How can i do this?
281  Using Arduino / Networking, Protocols, and Devices / Re: IR connection on: July 26, 2012, 07:50:46 am
I think a serial connection (if it is possible) like this, but the RX doesn't receve anything.
my code is this:
Code:
void setup(){
  Serial.begin(9600);
  pinMode(13,OUTPUT);
}
void loop(){

  if (Serial.available()>0){

    if(Serial.read()=='2'){
      digitalWrite(13, HIGH);
   
    }
 
  }
}
Code:
void setup(){
  Serial.begin(9600);
  pinMode(13,OUTPUT);
}
void loop(){
  digitalWrite(13,HIGH);
  Serial.print('2');
}
282  Using Arduino / Networking, Protocols, and Devices / Re: IR connection on: July 26, 2012, 07:17:18 am
thanks countrypaul for the answer! I want to turn on 4 led. For example: an arduino send '1': the 2 arduino reads '1' and turn on pin 13. it's impossible?
283  Using Arduino / Networking, Protocols, and Devices / IR connection on: July 26, 2012, 06:39:35 am
hello everybody! Today I had some problems with a Infrared connection between two adruino boards. i don't want use the ken shriff librarie's. I' ve a phototransistor (2 pin) and a TSOP (3 pin). Can you help me to solve this problem?
Thank a lot!!!
284  International / Software / Re: Comunicazione seriale tra Arduini on: July 26, 2012, 01:53:13 am
Bel link, ma io non volevo usare la libreria di ken smiley-fat (anche se molto probabilmente sarò obbligato) questo era solo un prototipo per passare al bluethoot oppure alla frequenza modulata. Comunque come dovrei fare per la connessione usando un fototransisor a 2 pin? and about the sketch?
285  International / Software / Re: Comunicazione seriale tra Arduini on: July 25, 2012, 12:32:48 pm
Scusami tantissimo no... testato era proprio quello quello che volevo fare un on/off smiley-cry comunque penso di avere un foto transistor a 2 pin! smiley Dovrei ancora usare il seriale? che sketch dovrei usare? e che schema? Grazie a tutti e sopratutto a testato! smiley-grin
Pages: 1 ... 17 18 [19] 20 21 ... 26