loading
9 Comments

Tell us about yourself!

Complete Your Profile
  • alexandera51 commented on smching's instructable Digispark DIY: The smallest USB Arduino3 months ago
    Digispark DIY: The smallest USB Arduino

    one more question how can i program the attiny85 digispark usb with my tablet?

    i have a question, how can i use serial with the attiny85 so i can see a sensor reading or so? please help me want to build a remote control bt i need to see some ir signals to program the chip. thanks

    View Instructable »
  • Make A Wi-fi Webcam From An Old Android Phone

    i Love the project but I have one question, can I watch the cellphone cam from a different WiFi server, like if I got my cell at home and I am in other place with different internet server?

    View Instructable »
  • alexandera51 commented on vamsikurre's instructable Arduino based remote translator3 months ago
    Arduino based remote translator

    #include const int RECV_PIN = 12;const int ACT_PIN = 11;int repeat = 1;unsigned long currcode;unsigned long prevcode;//settop box codes PIONERconst unsigned long Bpower = 0xFD00FF;const unsigned long Bchleft = 0xFD20DF;   ///PIONERconst unsigned long Bchright = 0xFD609F;const unsigned long Bvolup = 0xFD807F;const unsigned long Bvoldw = 0xFD906F;const unsigned long Bmute1 = 0xFDB04F;const unsigned long Binfo = 0xFD708F;const unsigned long Bguia = 0xFD40BF;const unsigned long Bsalir = 0xFD30CF;const unsigned long Batras = 0xFD18E7;const unsigned long Badelante = 0xFD58A7;const unsigned long Bplay = 0xFD9867;const unsigned long Bstop1 = 0xFDA857;const unsigned long Brec = 0xFD6897;const unsigned long Bprevch = 0xFD48B7;const unsigned long Bok = 0xFDA05F;const unsigned long Bch106 = 0x...see more »#include const int RECV_PIN = 12;const int ACT_PIN = 11;int repeat = 1;unsigned long currcode;unsigned long prevcode;//settop box codes PIONERconst unsigned long Bpower = 0xFD00FF;const unsigned long Bchleft = 0xFD20DF;   ///PIONERconst unsigned long Bchright = 0xFD609F;const unsigned long Bvolup = 0xFD807F;const unsigned long Bvoldw = 0xFD906F;const unsigned long Bmute1 = 0xFDB04F;const unsigned long Binfo = 0xFD708F;const unsigned long Bguia = 0xFD40BF;const unsigned long Bsalir = 0xFD30CF;const unsigned long Batras = 0xFD18E7;const unsigned long Badelante = 0xFD58A7;const unsigned long Bplay = 0xFD9867;const unsigned long Bstop1 = 0xFDA857;const unsigned long Brec = 0xFD6897;const unsigned long Bprevch = 0xFD48B7;const unsigned long Bok = 0xFDA05F;const unsigned long Bch106 = 0xFD08F7;const unsigned long Bch1602 = 0xFD8877;//tv and cable codesunsigned long Apower = 0xE17A48B7;unsigned long Achleft = 0xE17A30CF;   ///PIONERunsigned long Achright = 0xE17AD02F;unsigned long Avolup = 0xE17A38C7;unsigned long Avoldw = 0xE17AD827;unsigned long Amute1 = 0xE0E0F00F;unsigned long Ainfo = 0xE17AC837;unsigned long Aguia = 0xE17A12ED;unsigned long Asalir = 0xE17A50AF;unsigned long Aatras = 0xE17A2CD3;unsigned long Aadelante = 0xE17AAC53;unsigned long Aplay = 0xE17A6C93;unsigned long Astop1 = 0xE17A4CB3;unsigned long Arec = 0xE17ACC33;unsigned long Aok = 0xFE17AA857;unsigned long Aprevch = 0xE17A8877;unsigned long Ach106 = 0xFD08F7;unsigned long Ach1602 = 0xFD8877;unsigned long Ach1 = 0xE17A807F;unsigned long Ach0 = 0xE17A00FF;unsigned long Ach6 = 0xE17A609F;unsigned long Ach2 = 0xE17A40BF;IRrecv irrecv(RECV_PIN);IRsend irsend;decode_results results;void setup(){  Serial.begin(9600);  irrecv.enableIRIn();  pinMode(ACT_PIN, OUTPUT);  irrecv.blink13(true);}void loop() {  if (irrecv.decode(&results)) {    if (results.decode_type != UNKNOWN )    {      if (results.value != REPEAT )      {        currcode = results.value;      }      else if (results.value == REPEAT )        if (currcode == Bchleft)        {          digitalWrite(ACT_PIN, HIGH);          Serial.println("CHLEFT");          irsend.sendNEC(Achleft, 32);          delay(200);        }        else if (currcode == Bpower)        {          //for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("POWER");            irsend.sendNEC(Apower, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Bchright)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("CHRIGHT");            irsend.sendNEC(Achright, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Bvolup)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("volumeUP");            irsend.sendNEC(Avolup, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Bvoldw)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("volumeDown");            irsend.sendNEC(Avoldw, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Bmute1)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("Mute");            irsend.sendNEC(Amute1, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Binfo)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("Info");            irsend.sendNEC(Ainfo, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Bguia)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("Guide");            irsend.sendNEC(Aguia, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Bsalir)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("Exit");            irsend.sendNEC(Asalir, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Batras)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("Bwd");            irsend.sendNEC(Aatras, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Badelante)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("Fwd");            irsend.sendNEC(Aadelante, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Bplay)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("Play / Pause");            irsend.sendNEC(Aplay, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Bstop1)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("Stop");            irsend.sendNEC(Astop1, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Brec)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("Rec");            irsend.sendNEC(Arec, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Bok)        {          for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("ok");            irsend.sendNEC(Aok, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Bprevch)        {          //for (int i = 0; i < repeat; i++)          {            digitalWrite(ACT_PIN, HIGH);            Serial.println("PrevCh");            irsend.sendNEC(Aprevch, 32);            delay(200);            digitalWrite(ACT_PIN, LOW);          }        }      /////////////////////////////////////        else if (currcode == Bch106)        {          for (int i = 0; i < repeat; i++)          {                        Serial.println("CH106");            irsend.sendNEC(Ach1, 32);            delay(100);            irsend.sendNEC(Ach0, 32);            delay(100);            irsend.sendNEC(Ach6, 32);            delay(100);            irsend.sendNEC(Aok, 32);                      }        }      /////////////////////////////////////        else if (currcode == Bch1602)        {          for (int i = 0; i < repeat; i++)          {                        Serial.println("CH1602");            irsend.sendNEC(Ach1, 32);            delay(100);            irsend.sendNEC(Ach6, 32);            delay(100);            irsend.sendNEC(Ach0, 32);            delay(100);            irsend.sendNEC(Ach2, 32);            delay(100);            irsend.sendNEC(Aok, 32);            delay(100);            digitalWrite(ACT_PIN, LOW);          }        }        else        {          //do nothing        }    }    prevcode = currcode;    irrecv.resume();    irrecv.enableIRIn(); //trust me this has to be done again  }}and i got the error after i compile.i dont know hot to fix it i want to do it with attiny85it works perfect with the arduino nanobut i dont know wich pin to use for the ir receiver and the ir sender. if you can help me please. thanks soo much is was image so far it like I say I want to do it with a attiny85 just can't he it work, here's my code,

    and she I try touplod the sketch it says 'Serial' was not declared in this scope, and I Don't know what pins to used for the it receiver and it send, maybe you can help me fixing my code please, if I get it work I will post it with the PCB pics and all, to honor you. thanks again

    View Instructable »
  • alexandera51 commented on vamsikurre's instructable Arduino based remote translator3 months ago
    Arduino based remote translator

    i just love it, it help me a lot to understand more about programing, i new on arduino so it really helps me.now i will like to do it with a attiny 85 but i dont know how to program the ir led and the receiver. i made a few changes on the scketch so it can work with my remote and it work perfect with my nano.if you can please give me a little help to do it with the attiny85 i will apreciate it a lotthanks so much for the instructable its awesome.

    i just love it, it help me a lot to understand more about programing, i new on arduino so it really helps me.now i will like to do it with a attiny 85 but i dont know how to program the ir led and the receiver. i made a few changes on the scketch so it can work with my remote and it work perfect with my nano.if you can please give me a little help to do it with the attiny85 i will apreciate it a lotthanks so much for the instructable its awesome.

    when i get it done with the attiny85 i will post some pics here, thanks again

    View Instructable »
  • alexandera51 commented on webgeeks's instructable Arduino Attiny Programming Shield4 months ago
    Arduino Attiny Programming Shield

    i did it with your tutorial and another instructables Tito I made mine and it works so great, I'm so happy I can make a lot of little projects that I have in mind a long time ago, I was using the nano but with the at tiny its better, just need a Tutorial about using the attiny328 like the 84 here's a pic of my shield.

    View Instructable »