Hello everyone!
This project has been sitting on my desk, waiting to be finished for a while now, and I'd like to wrap things up by finally ordering the PCBs.
As I'm a beginner with little experience when it comes to circuit and PCB design, I'd appreciate your feedback on both the schematic and the board layout before placing the order.
A couple of things that I'm specifically unsure about:
-
Which capacitance value between GND and V+ is a good choice? The board generally consumes about 140mA peak current and is powered with 5-6V at it's input. This then gets regulated to a continous 5V by the LDR. I have no real idea on how to estimate a ballpark number for a suitable capacitance.
-
Should I add a small capacitor in parallel to motor to compensate noise created by the brushes?
-
Since I aimed to reduce the board's footprint by strategically placing the components, some copper traces are quite long (especially those of the SD card). I chose a 0.45mm trace width for the most part to reduce the resistance, but reduced the width to 0.254mm when passing in between the pins of the Arduino nano (for clearance). Since there are no particularly high currents flowing in the system, I would assume that's fine, but I'd like to hear other opinions on that.
-
Can/should I add any kind of transient absorption for the relay and/or the motor? The two flyback diodes should take care of dissipating the kickback current, but I have been measuring voltage spikes of about 9V at the relay's output pins in my prototype circuit regardless. I'm using this standalone relay unit. Would it make sense to add another diode in parallel to the output of the relay...? I tried adding various capacitors (electrolyt and ceramic, various values) parallel to the relay output, but that didn't change anything.
Unfortunately, I don't have access to an oscilloscope, so I have no accurate data on the spike's shape or duration. The transient might also be higher than the measured 10V, as I don't know how quickly my multimeter can pick it up. I just measured across the terminals with my multimeter during switching, both with and without a load attached to the output of the relay. In both cases I read a spike (10V with no load attached and about 8V with the motor being turned on/off).
As the whole unit is powered by a 18650 battery, I don't have the option of separating the motor and controller circuit. The concept is to make the entire system run autonomously on one battery and a solar charger.
I appreciate any feedback, thank you in advance!
Tom
Solar_Watering_System_V2.0.pdf (15.1 KB)