Navigation

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

    popunonkok

    @popunonkok

    5
    Reputation
    44
    Posts
    804
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    popunonkok Follow

    Best posts made by popunonkok

    • Is "RF signal level" supported between MySensors and Domoticz?

      If i look at my newly built temperature sensor node in the Devices "tab" in Domoticz it reports value 12 in the "RF signal level". Does this mean that I have really good connection between my node and gateway or is this not supported?

      I have searched but could not find a answer.

      Ps sorry for the many questions in the beginning, just getting started.

      //Peter

      posted in Domoticz
      popunonkok
      popunonkok
    • RE: Basic Temperature sketch, nothing happends. Dim green led on Nano.

      Since I did not even get garbage in the serial monitor I started with your second tips, adding the Debug lines.
      I then got one single line of garbage in the serial monitor. Garbage even though I had baud set to 115200 in the serial monitor.

      I then added the line

      #define MY_BAUD_RATE 9600
      

      I den got this:

      ��`��������`f���`f`��0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0
      41 MCO:BGN:BFR
      116 TSM:INIT
      130 TSF:WUR:MS=0
      148 RF24:write register, reg=0, value=14
      196 RF24:write register, reg=3, value=3
      237 RF24:write register, reg=4, value=95
      280 RF24:write register, reg=5, value=76
      323 RF24:write register, reg=6, value=39
      366 RF24:write register, reg=16, value=115
      411 RF24:write register, reg=29, value=6
      453 RF24:read register, reg=6, value=39
      495 RF24:read register, reg=5, value=76
      537 RF24:write register, reg=2, value=2
      579 RF24:write register, reg=1, value=0
      621 RF24:write register, reg=28, value=3
      664 RF24:flushRX
      681 RF24:flushTX
      699 RF24:write register, reg=7, value=112
      743 TSM:INIT:TSP OK
      764 TSM:FPAR
      778 RF24:STP LIS
      795 RF24:write register, reg=0, value=14
      838 RF24:OPEN WPIPE,RCPT=255
      869 RF24:write register, reg=10, value=255
      914 RF24:write register, reg=16, value=255
      959 RF24:SND:TO=255,LEN=7
      986 R
      

      Looks promesing but then it does not come any more serial prints.
      Its wierd, I only got this serial print above when I program it. Not if I unplug/plug to the computer. Only when programming it.

      If I program it again it stops at the same line. I guess that is some kind of "send/use the NRF24L0" line, am I right?

      I probably should desolder it and test with a different NRF24L01. (Why didnt I solder a header instead of the NRF24L01 directly. 😃

      posted in General Discussion
      popunonkok
      popunonkok
    • RE: Is "RF signal level" supported between MySensors and Domoticz?

      Well for me this is either a Domoticz question or a Mysensors question, i dont know which one.

      So for me the subforum "Mysensors/Domoticz" is just as good as "Domoticz/Mysensors".

      But if I come up empty here I might as well ask on the Domoticz forum.

      posted in Domoticz
      popunonkok
      popunonkok
    • Pin Change Interrupt on "any" pin.

      I found this page:

      http://playground.arduino.cc/Main/PinChangeInterrupt

      Iv seen it on other places as well. Is there anyone here that is expert on Arduino and deep sleep/interrupt.

      Is it possible to sleep the Node and then wake up and run a "send-data-loop" if there is a change on any pin. Not just pin 2 and 3 (Arduino Pro Mini)

      //Peter

      posted in General Discussion
      popunonkok
      popunonkok
    • PCB idea, another basic node board.

      Hi

      I have a PCB board Idea that I plan to create. I would like to share my idea here and also will ask if some one is willing to pitch in on design ideas.

      I seen 2 PCB boards that in different ways fits my needs. So my idea now is to make my own PCB by merging the main ideas of those two boards in a way that fits me.

      The inspirational boards Im talking about.

      Easy/Newbie PCB for MySensors
      https://www.mysensors.org/hardware/newbie-pcb

      My Slim 2AA Battery Node
      https://www.mysensors.org/hardware/slim-node

      My idea is to take some of the Dynamic/Basic/simple part from the Newbie node and make it a bit slimmer towards the Slim node.

      In order to use a standard Arduino Pro mini Im going to use a wider cable duct as housing. Im planing on using a 25*16mm
      http://www.clasohlson.com/se/Kabelkanal/Pr365306000

      I was thinking about making the board about 23x100mm. I was hoping to manage to "panelize" the design so that I could get 3 PCBs from a single 100x100mm PCB.
      My idea is to order my PCB from DirtyPCB, a protopack would then give about 30 pcbs for $16.95 plus shipping.

      Im not sure if it will have to be 100mm long
      I think I will have to use 90degrees female pin headers for the Booster in order to get the board not to become to thick.

      I am an absolut noob at making PCBs, have only made one before. It was a MySensor PCB and it worked like a charm and it was really fun to make.

      The image is just a test with loads of unused space. The Arduino part is a pro MICRO, a Adafruit version with same pinout if I have understod correct. I hope to find the time to make my own parts. Im using DipTrace to design the board.

      alt text

      Iv got many things that I dont know about this board.

      • Width of different routes
      • How to Panelise a board to 3 small board
      • More...

      If some one have some pointers on usual noob mistakes that would be great.

      //Peter

      posted in General Discussion
      popunonkok
      popunonkok

    Latest posts made by popunonkok

    • RE: Open/closed instead of on/off, Payload

      @Boots33
      One more question: The closed door with a lock symbol. Is that door just closed or closed AND locked?

      I will probably wait with this main question since it seems to be related to an beta update.

      posted in Domoticz
      popunonkok
      popunonkok
    • PCB idea, another basic node board.

      Hi

      I have a PCB board Idea that I plan to create. I would like to share my idea here and also will ask if some one is willing to pitch in on design ideas.

      I seen 2 PCB boards that in different ways fits my needs. So my idea now is to make my own PCB by merging the main ideas of those two boards in a way that fits me.

      The inspirational boards Im talking about.

      Easy/Newbie PCB for MySensors
      https://www.mysensors.org/hardware/newbie-pcb

      My Slim 2AA Battery Node
      https://www.mysensors.org/hardware/slim-node

      My idea is to take some of the Dynamic/Basic/simple part from the Newbie node and make it a bit slimmer towards the Slim node.

      In order to use a standard Arduino Pro mini Im going to use a wider cable duct as housing. Im planing on using a 25*16mm
      http://www.clasohlson.com/se/Kabelkanal/Pr365306000

      I was thinking about making the board about 23x100mm. I was hoping to manage to "panelize" the design so that I could get 3 PCBs from a single 100x100mm PCB.
      My idea is to order my PCB from DirtyPCB, a protopack would then give about 30 pcbs for $16.95 plus shipping.

      Im not sure if it will have to be 100mm long
      I think I will have to use 90degrees female pin headers for the Booster in order to get the board not to become to thick.

      I am an absolut noob at making PCBs, have only made one before. It was a MySensor PCB and it worked like a charm and it was really fun to make.

      The image is just a test with loads of unused space. The Arduino part is a pro MICRO, a Adafruit version with same pinout if I have understod correct. I hope to find the time to make my own parts. Im using DipTrace to design the board.

      alt text

      Iv got many things that I dont know about this board.

      • Width of different routes
      • How to Panelise a board to 3 small board
      • More...

      If some one have some pointers on usual noob mistakes that would be great.

      //Peter

      posted in General Discussion
      popunonkok
      popunonkok
    • RE: Open/closed instead of on/off, Payload

      @kimot
      Im using custom icon for my door, however, you can't use custom icon for the switchtype contact. At least not on v3.5877

      @Boots33
      Sorry didn't see the Contact type 2 positions up.
      I see that the Door Contact has a lock on its icon. How does it look when your pysical door is open? Just gray?

      posted in Domoticz
      popunonkok
      popunonkok
    • RE: 💬 Easy/Newbie PCB for MySensors

      I managed to change my PCB order, I saw that one of the updates to rev9 was the ability to use Pin 2 as GPIO instead of going to the Radio where it is unused. So now I have a order for Rev9 instead.

      I will try to desolder the led or resistor and the voltageregulator.

      Thanks for sharing your design.

      posted in OpenHardware.io
      popunonkok
      popunonkok
    • RE: Pin Change Interrupt on "any" pin.

      Thanks for you answers!

      @DavidZH
      In this particular case I dont want to send data periodically. It is a Door/Lock node. I just want it to wake up when there is a change on one of the pins, run a Loop and then fall back to sleep.

      If I could use more pins I could have 1 node monitor 2 doors/locks.

      Will we see the result of your work (Multiple pin interrupts AND timed interrupts) her on mySensors later?

      Would be great!

      posted in General Discussion
      popunonkok
      popunonkok
    • RE: Open/closed instead of on/off, Payload

      HMmmm...

      I have presented the Switch as s_door.

        present(PRIMARY_CHILD_ID, S_DOOR);
      

      My Message looks like this:

      MyMessage msg(PRIMARY_CHILD_ID, V_TRIPPED);
      

      I sould have written this in my first post but it was a quick post, sorry about that.

      However, in Domotics i don't get Door Contact as Switch type, only Contact.
      When I chose Contact, it says Open/Close but then I dont get to choose Icon, it only shows to arrows.
      So to chose Contact kind of solved my problem but I like my Door Icon. 😃

      I see that @Boots33 uses V3.6765. I guess thats a Beta. I only uses Stable versions so the latest is v 3.5877

      I Guess that it could be a new switch type but I would guess not. The strange thing is that I see that the switchtype Contact is not avalible on @Boots33 screen shot.

      Thanks anyway for both answers.

      posted in Domoticz
      popunonkok
      popunonkok
    • Open/closed instead of on/off, Payload

      Hi

      I have trouble finding the right info about switch type for a door reed switch.

      I have a node that detects door state and lock state.
      However they both shows up in Domoticz as on/off, not open closed.

      But in many Mysensors/Domoticz screenshots I see logs that has the words open/Closed instead.

      I thought Iwould find the info here.
      https://www.mysensors.org/download/serial_api_20
      But that did not help.

      So where do I find info on this subject?

      This could also be a Domoticz question but I havent found a Switchtype in there that helps me with this.

      posted in Domoticz
      popunonkok
      popunonkok
    • Pin Change Interrupt on "any" pin.

      I found this page:

      http://playground.arduino.cc/Main/PinChangeInterrupt

      Iv seen it on other places as well. Is there anyone here that is expert on Arduino and deep sleep/interrupt.

      Is it possible to sleep the Node and then wake up and run a "send-data-loop" if there is a change on any pin. Not just pin 2 and 3 (Arduino Pro Mini)

      //Peter

      posted in General Discussion
      popunonkok
      popunonkok
    • RE: 💬 Easy/Newbie PCB for MySensors

      Hmmm... Ok...

      I had only read that the boosters helpt to drain the battery completely, had missed that they "messed" with the radio.

      It will be really interesting to see what kind of battery life I can get out of 2 or 4 AA batteries on different types of nodes.

      When I look at the Specs for the Pro Mini board the supply voltage is 3.35 - 12v.
      I guess that means that without a Booster 2 AA batteries wont be able to run the Pro mini for a long time at all.

      posted in OpenHardware.io
      popunonkok
      popunonkok
    • RE: 💬 Easy/Newbie PCB for MySensors

      Iv just orderd Rev8.

      I have a primary question, might have a couple more later on.
      In the info about the board it says:

      "BAT: Short this if you are using batteries as power supply. It will activate booster circuit and feed the radio directly from the batteries and not voltage regulator"

      It says about the same on the image of the board.

      My question is. Why would I want to powewr the radio directly from battery and not from the Booster? Wouldent that make the radio not to function like it sould when the voltage dropps?

      posted in OpenHardware.io
      popunonkok
      popunonkok