Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
P

Peter Gonczy

@Peter Gonczy
About
Posts
2
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Dooya DC1802 sniffing and repeat
    P Peter Gonczy

    I really get stucked at it and need some help.
    My main goal is to control my shutters with my arduino uno. I have this dooya dc1802 remote.
    What i can achive now is that:

    • list itemIm using this sketch https://github.com/sui77/SimpleRcScanner to receive the timings.

    • Then paste the timings here https://test.sui.li/oszi/
      and what i get is this:0_1553813721928_cf35f7d7-a976-4a25-9521-26fdac3b356f-image.png
      0_1553813761267_0deae841-f80c-4529-a752-ed463e8fa508-image.png

    And this is where i get stucket and don't know what to di whit this data. I already tried using the modified rc-switch lib with timing arrays without success, or simply put these High low changes manually lie this

    
    
    int TRANS = 10;
    
    
    void setup() {
      Serial.begin(9600);
      Serial.println("Ready...");
      pinMode(TRANS, OUTPUT);
    }
    
    void loop() {
      Serial.println("Start...");
      
      for(int i = 0; i<4; i++){
        digitalWrite(TRANS, LOW);
        delayMicroseconds(7800);      
        digitalWrite(TRANS, HIGH);
        delayMicroseconds(4660);
        digitalWrite(TRANS, LOW);    
        delayMicroseconds(1510);
        sendData();
      }
      Serial.println("Stop...");
      delay(5000);
      
      //stop
      
      
    }
    
    void sendData(){  
      for (const char* p = "0101110000110100110001111010010100111100"; *p; p++) {
        
        if (*p != '0'){
          digitalWrite(TRANS, HIGH);
          delayMicroseconds(660);
          digitalWrite(TRANS, LOW);
          delayMicroseconds(410);
        }else{
          digitalWrite(TRANS, HIGH);
          delayMicroseconds(310);
          digitalWrite(TRANS, LOW);
          delayMicroseconds(760);
        }
      }
      
    }
    

    But nothing works.

    My Project
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular