Zwilorg
Member level 5
Good day,
I am having a weird error.
I assembled together a some parts (Max IC for reading temperature, a stepper motor, LCD, a bunch of buttons, LEDs, Rs232 connection)
Everything is running at 5V except the Max IC which is on 3.3V and the motor at 20V 4Amp.
The logic part of the drive of the motor also works at 5V.
The pic reads the temperature from the thermocouple and acts as an encoder by reading the steps of the stepper motor.
The problem is as follows:
When i connect everything except the motor all runs fine. The values that the PIC sends over Rs232 and the ones i read on the LCD are correct.
However when i connect the logic part of the motor the temperature value goes to half (even less sometimes) and the position of the motor sometimes has spikes from 300 to 1300 then going back to 300.
Anyone has any idea about this problem?
Maybe i could use some sort of relay to separate the Pic from the drive, no?
Thank you in advance
I am having a weird error.
I assembled together a some parts (Max IC for reading temperature, a stepper motor, LCD, a bunch of buttons, LEDs, Rs232 connection)
Everything is running at 5V except the Max IC which is on 3.3V and the motor at 20V 4Amp.
The logic part of the drive of the motor also works at 5V.
The pic reads the temperature from the thermocouple and acts as an encoder by reading the steps of the stepper motor.
The problem is as follows:
When i connect everything except the motor all runs fine. The values that the PIC sends over Rs232 and the ones i read on the LCD are correct.
However when i connect the logic part of the motor the temperature value goes to half (even less sometimes) and the position of the motor sometimes has spikes from 300 to 1300 then going back to 300.
Anyone has any idea about this problem?
Maybe i could use some sort of relay to separate the Pic from the drive, no?
Thank you in advance