Hello @wrendral. I have been operating a similar project for over a year now and experienced many issues. I operate about 20 custom made valves over a distance of 150 meters using NRF 2401L+, into an ethernet gateway. As @iguaan questioned do you intend to use PA/LNA module. My first advice would be to use a lower frequency radio. You will get it to work at 2.4GHz over that distance in open air but trees will definitely affect and even block the signal. How many valves do you intend to operate or is it just one? If more than one I would set up a repeater at the valve site which would talk to your base station and then you could use radios with PCB antennas on the valves. Be aware of the cheap omni antennas ( you should be using an omi or yagi antenna over that distance) as they vary depending on supplier. I have thrown out many after testing with an antenna analyser. (they caused various intermittent issues). What type of latching solenoid valve are you using? @Grubstake makes a good suggestion which I have also implemented, use a motor driver, it interfaces to the cpu and drives 12V. Also has protection. Switching 2A thru your solenoid may eventually burn out the relay contacts. @ejlane FYI, a latching solenoid needs reverse polarity switching to change states. Your suggestion is good but only switches on off. Also @wrendral is controlling a 12V step up inverter to supply the solenoid and save power by only turning it on via Q1 as required. Are you using J3. The radio is usually hooked up to D10,D11,D12,D13 to keep things standard and not use software emulated SPI interface. I would also wire up the radio IRQ even if you dont use it initially, if you are making a pcb. I assume your using 3.3V Pro mini therefore you can feed your 3.3V supply to VCC2 not Raw where it gets regulated again. Or feed VDD into raw. I would also put small electrolytics and .01uf caps close to the input and output of your regulator. It will work with out them but you may get intermittent issues when you start switching loads and running switching inverters. Just precautions for reliability! Your concept is ok. Good luck. I look forward to seeing how you go.
Best posts made by bitbyter
This user hasn't posted anything yet.
Latest posts made by bitbyter
RE: PCB verification request for latching valve controller