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.
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
My Slim 2AA Battery 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
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.
Iv got many things that I dont know about this board.
If some one have some pointers on usual noob mistakes that would be great.
Im using custom icon for my door, however, you can't use custom icon for the switchtype contact. At least not on v3.5877
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?
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.
Thanks for you answers!
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!
I have presented the Switch as 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.
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.
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.
I found this page:
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)
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.
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?