Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
For slow speed operation 100k is fine. For faster operation the resistors may need to be smaller.Please confirm if R4 should be 15 or 100k???
I have doubts now due different opinions.
Are you measuring at the Arduino output or the optocoupler input? The LED in the opto will drop around 1.5-2V and the resistor will drop the rest. You should still see 5V if you measure between the Arduino output and ground. If not, the Arduino can't provide enough current to drive the opto.1-The voltage from the Arduino is about 5V but as soon as the Opto is plugged into the circuit, it drops to about 1.5v! Why?
Where are you measuring the voltage? Across the collector and emitter of the opto? Measure between the gate and source of the MOSFET, since this is the voltage you want. With 15K and 10K resistors and a 12V supply, you should see slightly below 4.8V at the gate with the opto turned on.2- However, the Opto is still working fine since on the other side of it utilizing a 12v for now, it shows about 12 with Opto inactive and when the Opto kicks in it drops to 12(source) - (1.5 from Arduino with Opto active) = 10.5!!! Why is the Arduino voltage being deducted from the 12v source?
Once again, where are you measuring? Measure across the solenoid coil. If that's where you're seeing 1V, measure across the source and drain of the MOSFET. You should see a high voltage (near 12V) across the source/drain with the MOSFET off, and a low voltage (<1V) with it on.3- The Mosfet is also functionin but sending just 1V to the solenoids!!!???
That's fine. Resistors in series add their resistances together.I am using a 10k and a 5k in series for the R4, that is not the problem or is it?