the code is correct, as is the wiring. its just test code written to test the solenoids,
void m1(IO) {
analogWrite(solenoidValve1, 255);
}
also, the for wiring, it is wired into "moter 1" of the image, all the other wiring is fine, as it works perfect for the other lane. maybe i just have a bad chip?
ive tripple-checked, init variable, set pin, set to output, and turn to full
load.
wire coresponds to initialized variable, and goes to proper control pin on the shield,
even the shield recognises that it is recieving a signal to move the motor, as it lights with an indicator light.
im pretty sure i said all that already, but, okay. was just trying to save the time that i already spent. even the indicator led that shows the board is being controlled properly lights up at the appropriate time.
I will check the connectivity between the port and the chip i guess, thank you.
Perhaps because the L293 drops too much voltage. Measure the effective coil voltage and power by 15V instead of only 12V. Or use a modern H-bridge with almost no voltage drop.
Or even simpler two 2N2222 transistors and 2 diodes. Use base resistors in the range 150 to 390 ohms (not critical) and a 2N2222 will happily drive 100mA load.
Other small switching BJTs are available.
Don't omit the free-wheel diode across the load. The circuit for relay/solenoid driving isn't hard to search for.
The darlington motor drivers like L293 and L298 drop lots of volts in operation and doesn't seem appropriate here.