U2 which is a SPX1117 has the tab connected to GND while the tab is actually Vout (3V3) thus shorting 3v3 to GND. Diodes on the silk are incorrect too, however, i fixed that in assembly.
I have had the following board made (https://easyeda.com/editor#id=|5199a48344e54083986d89e646be21ba|0c1847fa165742ae9f65d44d6042f223|fde959f19c7c4522b1fe0bf86f31f06b) however, I must have done something dumb as it just crashes my USBasp or Arduino as ISP as soon as i plug it in. I cannot seem to work it out though. I have soldered up two boards with almost all components and another with just the ATMega328PB, C3, M, C4 and the ISP Header. It has no shorts that i can detect with the multi-meter between any two pins on the IC or between GND and VCC.
Any help would be greatly appreciated!
@BartE Thanks so much! That explains just about everything i needed. Glad the see that message.sender exists as it was integral to my plan of attack!
Thanks again, I really appreciate it!
I'm trying to make a node which is solar powered to control a few relays to automate our sprinklers. In order to get power consumption to a reasonable, sustainable level i will need to sleep the nodes.
In order to allow the nodes to sleep without missing their messages to change state i am considereing employing a middle man node which the controller changes the state of the sprinkler on then the actual sprinkler nodes wake up, request the sprinkler state from the middle man node and change their state to suit. If the middle man node doesn't hear from the sprinkler node for a set period of time (say 10 mins) it changes the state of the sprinkler back to the original and pushes this change to the gateway (and thus controller) in the same way a button would.
Here is a crappy diagram of what im trying to achieve-
dropbox link it that doesn't work https://www.dropbox.com/s/amhwu6maicnxi5p/middle man node diagram.png?dl=0
I'm encountering one main issues implementing this approach-
1- using the Requesting data function- how do i specify the varible i want? say the middle na node has an array of 20 sprinklers, what sprinkler node they are attached to, and their state. can i send the request for var1 meaning sprinkler one for the current node (node n) and then in the middle man node extract the destination node (the sprinkler node) id along with which custom variable requested (1 to 5) to tell which of the multiple attached sprinklers to turn on? Is there an example sketch using the request data function to get data from another node i can see (i couldn't find one)?
it is mainly the "handle the reply message yourself in the destination node" and extracting the node and sensor id from the state request message recieved by the middle man node parts i cannot solve. Can i just construct the msg using the constructors here http://www.mysensors.org/download/sensor_api_15#MyMessage ? judging from the message stucture the sending nodes id isn't included in the header, how is the middle man node to determine who to send the data back to?
sorry for all the questions, they seem little and i could probably resolve them myself if anyone has some examples of a node getting and receiving a variable from another node. Thanks for any and all input everyone!
BTW- Currently i have the nodes built and was planing on waiting for a controller to implement the smart sleep feature in mysensors 1.5, however i have given up on waiting. Adding the feature to domotics was beyond my abilities (i tried) unfortunately).
I am making a bunch of solar powered solinoids utalising MySensors and Domoticz. I am trying to reduce the power consumption of my nodes but obviously cannot send them to sleep. The new smartSleep feature seems like a perfect solution, however i cannot seem to find any controllers which support this. Does anyone know of any?
Tl;dr- Any smartsleep compatible controllers?