Sounds like vision...
google: vision automation
@bjacobse Although you have 230VAC in your garage, I would go for the option @gohan mentioned; a reed switch with a magnet. The node itself can be carried around with the mouse trap without all the wire hassle and need for an power adapter.
If you use the reed switch on an interrupt pin, it can be used to wake up the node and send the message. Afterwards you can bring it back to sleep. Saves batteries
Good luck with it.
BTW. never thought of a plastic version for a mouse trap. I only know these ones:
Well it looks as if your 3D-printer works fine
What I would be slightly worried about is if with the given size of the rods the stiffness of the structure would be enough.
Hope to see more from this project in the near future.
get yourself a boost converter. Something like this:
DC-DC 0.9V -> 5V
I remove the USB connector, disable the LED's and it increases the battery voltage to 5VDC.You need an extra cap on the 5VDC output as it will otherwise compromise the working of the nrf24L01+.
I use 5V pro-mini's as well on batteries and my NiMH batteries last at least one month, doing a somewhat similar thing as what you have in mind.
I have to power a pressure sensor which is used to monitor the ground-water level around my house. This sensor takes slightly less power than your water sensor.
I do agree with @mfalkvidd a 3.3V pro-mini would be better for this as you do not have to get the 5VDC down to 3.3VDC for the nrf24L01+, but the 5V version is the next best option in my opinion.
Serial input will come from a windows based PC. Probably the same as the one that acts as the datalogger.
The actuator could be any actuator-node.
To give you some more info:
I have some lights in my shed (mancave actually.... ) that should turn on when pressing a button, somewhere nearby, i.e. near the door. This button is connected to a node that sends the command to the actuator node. setdestination will play a role in this node.
There's also an automation scheme to turn on (and more important: off) the lights. As the shed is quite far away it is very handy to turn off the lights when I have returned to my home and forgotten to turn of the lights (for whatever reason). For this purpose I will use this specific node. Once I manage to controll the lights in the shed, I will be able to controll some more things around.
I didn't think of using message.destination... I used it in the past to have 2 nodes talking to each other. Now I need some code to get serial input translated to messages.
I think I know where I can find such code for that.
If that idea works I'll post the sketch.
In a MySensors network a controller is connected with a gateway to read messages from sensor nodes and send messages to actuators.
In my MySensors network I use a serial gateway mainly for reading the messages and for the sake of simplicity I would like to keep it that way. (I use a labview application for logging purposes).
As my network grows I want to add some actuators, but I do not want to control them via the gateway as described before.
Would it be possible to send the control-messages around using another node than the gateway using serial communication? Or in other words: would it be possible to send messages in a similar way as would be done via the gateway but now using a dedicated node for that?
I read through the forum but could not find a real answer unfortunately
Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.