Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. numanx
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by numanx

    • numanx

      [SOLVED] Problems with ESP8266 and NRF24L01+
      Hardware • • numanx  

      24
      1
      Votes
      24
      Posts
      17247
      Views

      George Laynes

      This thread has been a life saver for me. Just wanted to drop a line for anyone else who might be despairing why despite numerous tests, the radio would still not work on the NodeMCU. In my case, it was NodeMCU v3 from Lolin and I had two traces not workingbetween GPIO13 and GPIO12 - there was no continuity of the trace between the ESP-12E chip and the board pins. I had to solder those two traces together and now - everything works! Thank you for inspiring me to look for this problem.
    • numanx

      Multiple Servos
      Hardware • • numanx  

      9
      0
      Votes
      9
      Posts
      3037
      Views

      numanx

      Found this on arduino.cc forum. I think there should be a way for creating different servo objects for each servo but I don't know how to do that. Any sugestion from @mfalkvidd ? #include <Servo.h> Servo myservo[6]; int pinAttch = 0; // variable to store pin attachment int servWrite = 0; // variable to store servo writing void setup() { Serial.begin(9600); for(pinAttch = 2; pinAttch < 7; pinAttch++) { myservo[pinAttch].attach(pinAttch); } } void loop() { for(servWrite = 2; servWrite < 7; servWrite++) { myservo[servWrite].write(80); delay(2000); } exit(0); }```
    • numanx

      UPS Monitoring
      Hardware • • numanx  

      3
      0
      Votes
      3
      Posts
      1408
      Views

      dbemowsk

      Personally I would use optocouplers. Using optocouplers gives you galvanic isolation of the two systems and prevents one system from negatively affecting the other. Not that it would under normal operation, but if something were to happen to either the UPS or to the node, you wouldn't get a back-feed of bad power into the other system. I have used the approach that @gohan mentions on my garage door opener node, but I only did that after testing the optocoupler approach and failed. Since you have LEDs that are being driven, the optocoupler approach should be no problem.
    • numanx

      Multiple Sensors on Gateway
      Troubleshooting • • numanx  

      5
      0
      Votes
      5
      Posts
      2303
      Views

      numanx

      @gohan I understand what you are saying but if I am doing in that way I will spam the controller with the interrupts(flaps) right now it works like this if pin=0 send the state of the pin(the next update is when pin state changes), if pin=1 send the state and wait for 10 seconds for the next update. For the moment I have found a solution with millis[if(time%frequency==0)]: time=millis()/1000; if(time%10 ==0) Any suggestion for improving this part?