Navigation

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

    Topics created by SuperKris

    • SuperKris

      Old school phone as doorbell and domoitcs interface!
      My Project • • SuperKris  

      6
      6
      Votes
      6
      Posts
      1582
      Views

      Yveaux

      @superkris well, at least someone did : https://hackaday.com/2018/11/20/retro-wall-phone-becomes-a-doorbell-and-so-much-more/#more-333555 Congrats!
    • SuperKris

      Virtual switches that never go off and controllers
      Development • • SuperKris  

      5
      0
      Votes
      5
      Posts
      783
      Views

      mfalkvidd

      @superkris there are probably other ways, but I would use millis.
    • SuperKris

      What are the best settings for MY_RF24_PA_LEVEL?
      Troubleshooting • • SuperKris  

      9
      0
      Votes
      9
      Posts
      6985
      Views

      skywatch

      I realise this is an old thread but the topic is still valid today. I would advise to set all nodes to MIN to start with and see how it goes. Then increase one step at a time until you get good communications. Don't forget interference from microwave ovens, wifi, bluetooth. That's why you should allow a few days between tries to get the best solid communication with the least power. If you have a lot of highest power ones you are creating an electronic 'smog' that can affect other devices and possibly your health.
    • SuperKris

      NRF24L01 radio problems. (Bermuda triangle shit)
      Hardware • • SuperKris  

      3
      0
      Votes
      3
      Posts
      2364
      Views

      SuperKris

      I for sure learned to double check any print terminal i take out of sample boxes. Damn... The 230V part of the board has a 5.08mm pitch for all lanes. I cut out the PCB pads and via's of the experimental board on both sided for insulation. The decoupling for 5V was done with 470u and 100n as close as possible to the Arduino. Same for the radio with 47u and 100n. There is only 1 real way to do this. Same goes for all the other connections. There are no other components in there. Except for the psu output and the radio voltage i cant think of anything that causes the issue with the radios.
    • SuperKris

      How do i sent "virtual switches" from node to Controller?
      My Project • • SuperKris  

      25
      0
      Votes
      25
      Posts
      5765
      Views

      tboha

      @SuperKris you already solved the problem with Pin0 and 1 (did you?). Here is possibly another solution (from 2.0 API MY_DISABLED_SERIAL Disabled Enable this in sketch if you want to use TX(1), RX(0) as normal I/O pin so #define MY_DISABLED_SERIAL should free Pin 0 and Pin 1.
    • SuperKris

      How is a message from the controller written to a digital pin?
      Development • • SuperKris  

      12
      0
      Votes
      12
      Posts
      2504
      Views

      martinhjelmare

      Well you could store the boolean variables for the valves in an array, and use the sensor child id as the index of the variables in the array. You can also use the setSensor setter on the message variable (MSG_V1) to change which sensor child id the message belongs to. That way, you only need to declare one message variable. You can use two setters on the same line like this: // Set child id 1 to 0 to simplify using it as index in an array #define CHILD_ID1 0 // Set child id 2 to 1 which is the next index after index 0. #define CHILD_ID2 1 // Declare an array of type boolean of size 2. boolean VALVES[2]; // Declare the message with CHILD_ID1. MyMessage MSG(CHILD_ID1, V_LIGHT); void setup() { ... } ... void incomingMessage(const MyMessage &message) { if (message.type == V_LIGHT) { // Set array element at index message.sensor to boolean value from message payload. VALVES[message.sensor] = message.getBool(); // Set child id to child id of message.sensor and payload to either 1 or 0 for message, and send message. gw.send(MSG.setSensor(message.sensor).set(message.getBool() ? 1 : 0)); } } Sorry... there was a lot of edits. Now I'm done....
    • SuperKris

      Irrigation computer with MySensor. Noob needs some help.
      My Project • • SuperKris  

      5
      0
      Votes
      5
      Posts
      2784
      Views

      Dwalt

      @SuperKris Have you read through the project thread on the irrigation controller? It is a long thread but there was some discussion on sending 'sprinkler on' times from Domoticz.