kliment / Sprinter

Firmware for RepRap printers and similar devices
432 stars 329 forks source link

over current in Y_ENDSTOP port #201

Open sangjoo opened 12 years ago

sangjoo commented 12 years ago

define Y_MIN_PIN 20 in pins.h

is same PB0_SS_PCINT0 in Teensy2.0++ (A90USB1286)

I think the PB0_SS_PCINT0 port is crashed intenally.

I found this pin has over current arround 80mA When this pin make to Ground . So A90USB1286 was over heated.

kliment commented 12 years ago

On 08/05/2012 09:52 AM, sangjoo wrote:

define Y_MIN_PIN 20 in pins.h

is same PB0_SS_PCINT0 in Teensy2.0++ (A90USB1286)

I think the PB0_SS_PCINT0 port is crashed intenally.

I found this pin has over current arround 80mA When this pin make to Ground . So A90USB1286 was over heated.


Reply to this email directly or view it on GitHub: https://github.com/kliment/Sprinter/issues/201 I don't understand what the problem is. The endstop pins are pulled high by the chip, with a weak pullup (many kOhms). When connected to ground, much less current should flow. Only thing I can think of is hardware damage to the chip. Do you have another idea?

kliment commented 12 years ago

On 08/05/2012 10:57 AM, sangjoo wrote:

this is not normal condition. one pin's current is current arround 80mA


Reply to this email directly or view it on GitHub: https://github.com/kliment/Sprinter/issues/201#issuecomment-7508666 Unless something is explicitly setting it high, you have a hardware problem. I don't see what it has to do with Sprinter.

sangjoo commented 12 years ago

This is not normal condition. need to compare with other X_ENDSTOP and Z_ENDSTOP. These pins only current 0.15mA. I think Y_ENDSTOP pin was not only input mode. somewhere in code it's pin set to high-level with ouptut.

kliment commented 12 years ago

On 08/05/2012 11:15 AM, sangjoo wrote:

This is not normal condition. need to compare with other X_ENDSTOP and Z_ENDSTOP. These pins only current 0.15mA. I think Y_ENDSTOP pin was not only input mode. somewhere in code it's pin set to high-level with ouptut.


Reply to this email directly or view it on GitHub: https://github.com/kliment/Sprinter/issues/201#issuecomment-7508752 Now I understand what you mean. So you are saying the Y min endstop is the same as the SS pin? That would cause this behaviour as the SS pin is set high if SD support is enabled. But it would also make the SD card not work at all if an endstop is connected. Maybe it's an error in the pin definitions? Is there any other pin that is defined as 20 in the pindef?

sangjoo commented 12 years ago

Could I know full name of the SS pin? what's mean the SS pin?

In belows, y_stop pin is not used in microSD. I think SDCS : chip select SDCD : card detect

in your comment, SS pin is set high if SD support is enabled. So, I think SS pin is same as SDCS pin. But need to test with active level.

pindef -- AT90USB1286 -- microSD 20, pb0 y_stop 21, pb1 sclk, SDCLK 22, pb2 mosi, SDDI 23, pb3 miso, SDDO 24, pb4 25, pb5 26, pb6 sdcs, SDCSH 27, pb7 sdcd, SDCD

for your information. http://reprap.org/mediawiki/images/d/d5/Printrboard_RevB_Schematic150.png http://reprap.org/wiki/File:Printrboard_RevB_Schematic150.png