Pages: 1 ... 8 9 [10]
 on: Today at 08:40:48 am 
Started by arduinoadrian - Last post by arduinoadrian
Sorry, no its is not open source.

 on: Today at 08:39:39 am 
Started by alexalbert2000 - Last post by johnwasser
Are you going for:
Control the MaxSonar Sensors to Range Simultaneously
(works for most instances)
Sequentially Read Each MaxSonar®
(Always Works)

 on: Today at 08:37:30 am 
Started by patricio_74 - Last post by patricio_74
Saludos.Gracias por responder.Referente a lo que me comentas,parto de solo los dos componentes mencionados:
-Arduino Uno(sin clemas);
-Sensor fotoelectrico(salida rele):
Segun mencionas;¿ debería por tanto integrarle bornas a Arduino con el fin de poder realizar la conexión?.
Gracias por la propuesta de código para el conteo.

Un saludo.

 on: Today at 08:37:03 am 
Started by alb12 - Last post by alb12
Ok, je n'avais pas vu ça dans ce sens.
Ce que je voudrais, c'est savoir quand le carillon sonne. smiley-wink

 on: Today at 08:36:26 am 
Started by Shiki225 - Last post by raschemmel
I don't know why that delay doesn't work inside the FOR loop. That's a question for more advanced programmers. Good luck with that. It seems a mystery but there is probably some simple explanation .

 on: Today at 08:34:16 am 
Started by DaveO - Last post by SurferTim
If your code uses dns to resolve the domain name of the server, the dns server is not localnet, and the dsl is down, that code will never connect. If the internet part is down, the length of the delay will not matter. If your code can't connect, it can't connect.

Actually, you are lucky. Normally PaulS will refer you to Please post all your code.

 on: Today at 08:34:08 am 
Started by lazarus00 - Last post by PaulRB
Did it work 100% before the change?

EDIT: you changed the sketch since my original reply! You made a correction from "(matrix)" to "(matrix [ i ])". I wondered if that was an error. Did you make the corresponding change in my suggested version?

 on: Today at 08:33:46 am 
Started by y27648909 - Last post by y27648909
hi, i want to control a servo motor by using a IR remote.
here is my code:
#include <IRremote.h>  
#include <Servo.h>
const int irReceiverPin = 30;            
IRrecv irrecv(irReceiverPin);            
decode_results result;                
const int ledPin =  13;
Servo myservo;

void setup()
  pinMode(ledPin, OUTPUT);


void showIRProtocol(decode_results *result)
  Serial.print("Protocol: ");
  switch(result->decode_type) {
   case NEC:
   case SONY:
   case RC5:
   case RC6:
     Serial.print("Unknown encoding");  

  Serial.print(", irCode: ");            
  Serial.print(result->value, HEX);    
  Serial.print(",  bits: ");          

void loop()

  if (irrecv.decode(&result)) {        

  if(result.value == 0x490){
    digitalWrite(ledPin, HIGH);
    if(result.value == 0xC90){

from the serial monitor, i can get the same IR code and protocol name every time pressing the same button.
for example :  Protocol : $ony,  IR code : AAAA
 however, once i add this
, the protocol become unknown and i cannot get the same IR code.
It becomes:   Protocol: Unknown, IR code: FDSAS65
                          Protocol: Unknown, IR code: QWEW1451
and i delete the above code, the IRcode and protocol will back to normal.
pls help!!

 on: Today at 08:33:32 am 
Started by Quick_questions - Last post by raschemmel
Why not a stepper ?

 on: Today at 08:32:56 am 
Started by jimallen60 - Last post by AWOL
I guess the error messages were too long to post also?

Pages: 1 ... 8 9 [10]