Hi,
I recently have put together the XY Plotter kit but unfortunately it doesn’t work perfectly. I cannot get any response from the pen holder mechanism. This is what happens - when I send an image from the Android app as soon as the code lines (analogWrite(motorPwm,70)
) are hit the entire sketch resets. So the meduino resets & initializes the motors again making them go back to 0,0. I have checked the motor connections but no luck there. Here’s what I have tried:
- Regardless of whether I connect the solenoid wires to M1 or M2 of the base shield the M2 forward LED is on. So I switched the
motorDrc
andmotorPwm
pins to 7 & 6 in the Arduino sketch respectively but no luck there either - Used my own Arduino in place of the Meduino, no luck
- Modified the sketch to simply
analogWrite
to the motor with some delay of 10 ms but it keeps resetting the board
When attaching the solenoid shaft to the pen holder with zip-tie should the spring be in most compressed position? Can someone please help?
Regards,
Satyajit
///////////////////////////////////////////
// EDIT - 7th May //
//////////////////////////////////////////
I decided to measure the voltage across both the M1 & M2 pins on the base shield and it turns out the voltage across (M1+/M1-) and (M2+/M2-) is 0V. Is it supposed to be like that? Doesn’t this mean that the solenoid is not being powered by the base shield? Do I have a bad base shield?
Can someone please help?
Regards,
Satyajit